Releases: wyfo/apischema
Releases · wyfo/apischema
v0.18.3
v0.18.2
What's Changed
- fix: fix discriminator bug in recursive type by @wyfo in #596
- fix: catch re.error in re.Pattern compilation to raise ValidationError instead by @wyfo in #597
- build: use pyproject.toml by @wyfo in #598
- feat: drop Python 3.7 support by @wyfo in #601
- feat: support LiteralString by @wyfo in #604
- fix: fix inherited discriminator schema by @wyfo in #602
- Add support for Python 3.13 by @cdce8p in #640
New Contributors
Full Changelog: v0.18.1...v0.18.2
v0.18.1
v0.18.0
Highlights
- Limited Python 3.11 support, PEP 646, 655, 673 and 681 will be supported in the next release
What's Changed
- Refactor schema and constraints by @wyfo in #350
- Remove various deprecations by @wyfo in #351
- Add pyserde to benchmark by @wyfo in #361
- Fix some typos in docs by @Rogdham in #373
- CI: remove Python 3.6 testing and add/fix Python 3.11 support by @klauer in #515
- Remove hacks for 3.6 support by @wyfo in #519
- Deserialization should be done after coercion by @aubustou in #501
- Fix error message for the json schemas of non str-keyed mappings. by @pchanial in #412
- Fix NameError for subscriptions with custom Type by @LdwgWffnschmdt in #468
- Fix UncheckedTuples not failing for wrong amount of arguments by @wyfo in #521
- Update all requirements by @wyfo in #523
- Remove typical benchmark because 3.11 not supported by @wyfo in #526
- Fix deserializer registration not resetting cache by @wyfo in #384
- Fix deserialization of integer allowing bool by @wyfo in #385
- Fix schema deserialization 'type' value output by @wyfo in #386
New Contributors
- @Rogdham made their first contribution in #373
- @LdwgWffnschmdt made their first contribution in #468
- @Germandrummer92 made their first contribution in #513
Full Changelog: v0.17.5...v0.18.0
v0.17.5
v0.17.4
What's Changed
- fix typing for optional arguments in interfaces by @vmeurisse in #337
- Fix variadic tuple substitution in schema by @wyfo in #344
- Fix tuple deserialization. by @pchanial in #343
- Fix frozenset deserialization. by @pchanial in #342
- Fix subprimitive validation using primitive instead of class instance by @wyfo in #345
New Contributors
- @vmeurisse made their first contribution in #337
- @pchanial made their first contribution in #343
Full Changelog: v0.17.3...v0.17.4
v0.17.3
v0.17.2
v0.17.1
v0.17.0
Highlights
- apischema is now compiled! It results in a big performance improvement, as shown on the new benchmark of the documentation. Compiled parts are still optional, and apischema remains a pure Python library.
- CI/CD has been improved a lot, everything is automated now!
- Breaking change Arbitrary exception raised during serialization are no more converted to ValidationError (#244) because of a security issue
What's Changed
- Cythonize (de)serialization methods and enable errors customization by @wyfo in #235
- Remove arbitrary exception conversion to ValidationError by @wyfo in #244
- Rename ValidationError "msg" to "err" by @wyfo in #246
- Ignore compilation failure at build by @wyfo in #247
- Add allowed types to deserialization by @wyfo in #239
- Improve Generic documentation about default type_name by @wyfo in #249
- Improve error message when missing type_name by @thomascobb in #250
- Add versioning to documentation by @wyfo in #265
- Use precommit for static checks by @wyfo in #269
- Add catch_value_error helper for converters by @wyfo in #270
- Avoid unnecessary copies in (de)serialization by @wyfo in #274
- Add Github action to publish documentation by @wyfo in #275
- Add compatibility with graphql-core>=3.0.0 and ignore older versions by @wyfo in #278
- Fix ForwardRef issue in Python 3.9.8 by @wyfo in #280
- Fix regression introduced by #280 by @wyfo in #283
- Refactor CI/CD by @wyfo in #286
- Include additional properties in TypedDict deserialization by @wyfo in #292
- Override dataclass constructor to improve performance by @wyfo in #295
- Add benchmark by @wyfo in #296
- Add location to serialization type check errors by @wyfo in #298
- Support OpenAPI discriminator by @wyfo in #301
- Include pyx files in package_data by @wyfo in #302
New Contributors
- @thomascobb made their first contribution in #250
- @dependabot made their first contribution in #287
- @pre-commit-ci made their first contribution in #290
Full Changelog: v0.16.1...v0.17