Apischema

Latest version: v0.19.0

Safety actively analyzes 688917 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 9

0.17.3

What's Changed
* Add dataclass passthrough by wyfo in https://github.com/wyfo/apischema/pull/326
* Fix type converter handling when init return is annotated by wyfo in https://github.com/wyfo/apischema/pull/327

**Full Changelog**: https://github.com/wyfo/apischema/compare/v0.17.2...v0.17.3

0.17.2

What's Changed
* Fix support of typing.Any in GraphQL schema by wyfo in https://github.com/wyfo/apischema/pull/317


**Full Changelog**: https://github.com/wyfo/apischema/compare/v0.17.1...v0.17.2

0.17.1

What's Changed
* Add cattrs to benchmark by wyfo in https://github.com/wyfo/apischema/pull/304
* Support arbitrary dictionary keys by wyfo in https://github.com/wyfo/apischema/pull/307
* Fix ValueError handling in custom deserialization by wyfo in https://github.com/wyfo/apischema/pull/308


**Full Changelog**: https://github.com/wyfo/apischema/compare/v0.17.0...v0.17.1

0.17.0

Highlights
- *apischema* is now **compiled**! It results in a big performance improvement, as shown on the new [benchmark](https://wyfo.github.io/apischema/0.17/optimizations_and_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 https://github.com/wyfo/apischema/pull/235
* Remove arbitrary exception conversion to ValidationError by wyfo in https://github.com/wyfo/apischema/pull/244
* Rename ValidationError "msg" to "err" by wyfo in https://github.com/wyfo/apischema/pull/246
* Ignore compilation failure at build by wyfo in https://github.com/wyfo/apischema/pull/247
* Add allowed types to deserialization by wyfo in https://github.com/wyfo/apischema/pull/239
* Improve Generic documentation about default type_name by wyfo in https://github.com/wyfo/apischema/pull/249
* Improve error message when missing type_name by thomascobb in https://github.com/wyfo/apischema/pull/250
* Add versioning to documentation by wyfo in https://github.com/wyfo/apischema/pull/265
* Use precommit for static checks by wyfo in https://github.com/wyfo/apischema/pull/269
* Add catch_value_error helper for converters by wyfo in https://github.com/wyfo/apischema/pull/270
* Avoid unnecessary copies in (de)serialization by wyfo in https://github.com/wyfo/apischema/pull/274
* Add Github action to publish documentation by wyfo in https://github.com/wyfo/apischema/pull/275
* Add compatibility with graphql-core>=3.0.0 and ignore older versions by wyfo in https://github.com/wyfo/apischema/pull/278
* Fix ForwardRef issue in Python 3.9.8 by wyfo in https://github.com/wyfo/apischema/pull/280
* Fix regression introduced by 280 by wyfo in https://github.com/wyfo/apischema/pull/283
* Refactor CI/CD by wyfo in https://github.com/wyfo/apischema/pull/286
* Include additional properties in TypedDict deserialization by wyfo in https://github.com/wyfo/apischema/pull/292
* Override dataclass constructor to improve performance by wyfo in https://github.com/wyfo/apischema/pull/295
* Add benchmark by wyfo in https://github.com/wyfo/apischema/pull/296
* Add location to serialization type check errors by wyfo in https://github.com/wyfo/apischema/pull/298
* Support OpenAPI discriminator by wyfo in https://github.com/wyfo/apischema/pull/301
* Include pyx files in package_data by wyfo in 302

New Contributors
* thomascobb made their first contribution in https://github.com/wyfo/apischema/pull/250
* dependabot made their first contribution in https://github.com/wyfo/apischema/pull/287
* pre-commit-ci made their first contribution in https://github.com/wyfo/apischema/pull/290

**Full Changelog**: https://github.com/wyfo/apischema/compare/v0.16.1...v0.17

0.16.6

Not secure
- Fix regression introduced by 280 (283) by wyfo

0.16.5

Not secure
- Fix ForwardRef issue in Python 3.9.8 (280) by wyfo

Page 2 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.