Skip to content

v3.15

Latest
Compare
Choose a tag to compare
@Fatal1ty Fatal1ty released this 23 Nov 17:05
· 8 commits to master since this release

Changes

  • Improved Union and basic types deserialization (#256), highlighted changes:
    • Expected int | float or float | int value can now be passed through without coercion and losing precision
    • Expected str value will be guaranteed to be a string version of the input value (#42)
    • Expected bool value will be guaranteed to be a boolean using standard truth testing procedure for the input value
    • Expected NoneType will be guaranteed to be None regardless of the input value
  • Introduced JSON Schema plugin system (#265), see updated documentation
    • Added built-in DocstringDescriptionPlugin to use a docstring as a description (#222)
  • Added support for recursive Union types (#206)
  • Configured MANIFEST.in to include tests folder in the sdist (#262)
  • Dropped support for Python 3.8 (#258)