Skip to content

Releases: alecthomas/voluptuous

0.15.2

02 Jul 19:08
Compare
Choose a tag to compare

Fixes:

  • 522 Fix regression with ALLOW_EXTRA and Any validator

Full Changelog: 0.15.1...0.15.2

0.15.1

02 Jul 19:08
Compare
Choose a tag to compare

Fixes:

  • 515 Fix Remove not removing keys that do not validate
  • 516 Improve validator typing to allow non-number formats for min and max
  • 517 Remove Maybe validator typing
  • 518 Use typing.Container for In validator
  • 519 Don't enforce type for unused description attribute
  • 521 Type schema attribute as Any

Full Changelog: 0.15.0...0.15.1

0.15.0

23 Jun 21:10
Compare
Choose a tag to compare

Fixes:

  • #512: Add Any type to defaults
  • #513: Only calculate hash once for Marker objects

Changes:

  • #514: Remove python 3.8 support

New Contributors:

Full Changelog: 0.14.2...0.15.0

0.14.2

03 Feb 11:18
1fcf849
Compare
Choose a tag to compare

New:

  • #507: docs: document description field of Marker

Fixes:

  • #506: fix: allow unsortable containers in In and NotIn validators (fixes #451) (bug introduced in 0.12.1)
  • #488: fix(typing): fix type hint for Coerce type param (bug introduced in 0.14.0)
  • #497: fix(typing): allow path to be a list of strings, integers or any other hashables (bug introduced in 0.14.0)

Changes:

  • #499: support: drop support for python 3.7
  • #501: support: run tests on python 3.11
  • #502: support: run tests on python 3.12
  • #495: refactor: drop duplicated type checks in Schema._compile
  • #500: refactor: fix few tests, use pytest.raises, extend raises helper
  • #503: refactor: Add linters configuration, reformat whole code

New Contributors:

Full Changelog: 0.14.1...0.14.2

0.14.1

17 Nov 11:08
Compare
Choose a tag to compare

Changes:

  • #487: Add pytest.ini and tox.ini to sdist
  • #494: Add python_requires so package installers know requirement is >= 3.7

New Contributors:

Full Changelog: 0.14.0...0.14.1

0.14.0

12 Nov 17:04
Compare
Choose a tag to compare

Note: The library now has a new minimum Python version of 3.7. due to the use of Postponed Evaluation of Annotations (PEP-563).

Fixes:

  • #470: Fix a few code comment typos
  • #472: Change to SPDX conform license string

New:

  • #475: Add typing information
  • #478: Fix new type hint of schemas, for example for Required('key')
  • #486: Fix new type hints and enable mypy
  • #479: Allow error reporting on keys

Changes:

  • #476: Set static PyPI project description
  • #482: Remove Travis build status badge

New Contributors:

Full Changelog: 0.13.1...0.14.0

0.13.1

07 Apr 15:40
2466ee2
Compare
Choose a tag to compare

Fixes:

  • #439: Ignore Enum if it is unavailable
  • #456: Fix email regex match for Python 2.7

New:

  • #457: Enable github actions
  • #462: Convert codebase to adhere to flake8 W504 (PEP 8)
  • #459: Enable flake8 in github actions
  • #464: pytest migration + enable Python 3.10

New Contributors:

  • @epenet Thank you for setting up the Github actions

Full Changelog: 0.13.0...0.13.1

0.13.0

07 Apr 15:36
Compare
Choose a tag to compare

Changes:

  • #450: Display valid Enum values in Coerce

0.12.2

30 Mar 11:32
Compare
Choose a tag to compare

Fixes:

  • #439: Revert Breaking Maybe change in 0.12.1
  • #447: Fix Email Regex to not match on extra characters

0.12.1

06 Dec 22:57
Compare
Choose a tag to compare

Changes:

  • #435: Extended a few tests (Required and In)
  • #425: Improve error message for In and NotIn
  • #436: Add sorted() for In and NotIn + fix tests
  • #437: Grouped Maybe tests plus added another Range test
  • #438: Extend tests for Schema with empty list or dict

New:

  • #433: Add Python 3.9 support

Fixes:

  • #431: Fixed typos + made spelling more consistent
  • #411: Ensure Maybe propagates error information
  • #434: Remove value enumeration when validating empty list