Apischema

Latest version: v0.19.0

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

Scan your dependencies

Page 3 of 9

0.16.4

Not secure
Add compatibility with graphql-core>=3.0.0 and ignore older versions (278) by wyfo

0.16.3

Not secure
- Fix Literal deserialization error with unhashable data (272) by wyfo

0.16.2

Not secure
- Add tuple passthrough to PassThroughOptions (255) by wyfo
- Fix check_type errors raised in the upper type (259) by wyfo
- Fix type converter handling when __init__ return is annotated (260) by wyfo

0.16.1

Not secure
- Fix ordering handling of after chaining (228) by wyfo

0.16.0

Not secure
Highlights

- A big thanks to kevinheavey for the entire documentation revision!
- Support Python 3.10 and PEP 604
- Performance improvement with a lot of refactoring and algorithmic optimizations (e.g. passthrough), 171, 191, 204, 205. Next version will go even (a lot) further.
- Conditional skipping of fields in serialization, 174 and 180
- **Breaking change** GraphQL schema use `Enum` names instead of values, 169
- Ordering of fields, 192
- Support of JSON schema 2020-20 and OpenAPI 3.1, 201, and improve schema customization, 215
- **Deprecation** `apischema.conversions.identity` -> `apischema.identity`, 170, and `apischema.metadata.flattened` -> `apischema.metadata.flatten`, 173
- **Deprecation** Remove `Conversion` (de)serialization related parameter (coerce, etc.), 177
- **Deperecation** `apischema.settings.default_schema` is replace by `apischema.settings.base_schema`, 215

Changes

- Support unsupported union members (157) by wyfo
- Put AliasedStr in get_alias instead of ObjectField.alias (158) by wyfo
- Fix settings.coercer not used when set (159) by wyfo
- Add as_names conversion for enums (160) by wyfo
- Change ValidationError serialization to {"loc": [], "msg": ""} (163) by wyfo
- Use Enum names insteadof values for GraphQL (169) by wyfo
- Move identity into main package (170) by wyfo
- Add serialization passthrough feature (171) by wyfo
- Rename metadata.flattened to metadata.flatten (173) by wyfo
- Add conditionally skipped fields and none_as_undefined (174) by wyfo
- Remove Conversion (de)serialization parameters (coerce/check_type/etc.) (177) by wyfo
- Reset cache when default converters/object fields/etc. are modified (179) by wyfo
- Allow default_object_fields to override object fields (181) by wyfo
- Add exclusion of defaults/None in serialization (180) by wyfo
- Add ordering metadata to object fields (192) by wyfo
- Fix NewType conversions (200) by wyfo
- Add JSON schema 2020-20 (new default) and OpenAPI 3.1 (201) by wyfo
- Fix conversion of unspecialized generic types (208) by wyfo
- Add base schema and deprecate default_schema. (215) by wyfo
- Improve recursive types handling in method generation (217) by wyfo

0.15.9

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

Page 3 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.