Releases: wyfo/apischema
Releases · wyfo/apischema
v0.16.6
v0.15.9
v0.16.5
v0.15.8
v0.16.4
v0.16.3
v0.16.2
v0.16.1
v0.16.0
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, andapischema.metadata.flattened
->apischema.metadata.flatten
, #173 - Deprecation Remove
Conversion
(de)serialization related parameter (coerce, etc.), #177 - Deperecation
apischema.settings.default_schema
is replace byapischema.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