Releases: alecthomas/voluptuous
Releases · alecthomas/voluptuous
0.15.2
0.15.1
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
0.14.2
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:
- @emontnemery made their first contribution in #495
- @Kontrolix made their first contribution in #488
- @antoni-szych-rtbhouse made their first contribution in #497
Full Changelog: 0.14.1...0.14.2
0.14.1
0.14.0
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:
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:
New Contributors:
- @elprimato made their first contribution in #472
- @ds-cbo made their first contribution in #475
- @KenKundert made their first contribution in #479
- @KapJI made their first contribution in #486
Full Changelog: 0.13.1...0.14.0