Releases: jpmorganchase/py-avro-schema
Release 3.4.1
- Validation of
DecimalMeta
input parameters "precision" and "scale" to comply with Avro specification - Support decimal types in type unions.
Release 3.4.0
Added support for annotated type hints using typing.Annotated
for all types currently supported by py-avro-schema. See https://docs.python.org/3/library/typing.html#typing.Annotated
Release 3.3.0
Support decimal numeric types using typing.Annotated
to indicate precision and scale. See https://py-avro-schema.readthedocs.io/en/latest/types.html#decimal-decimal.
With many thanks to @dada-engineer for reporting.
Release 3.2.1
Fix default date value when on machines with non-UTC timezones.
Release 3.2.0
Add support for unioned types syntax introduced in Python 3.10: X | Y
With many thanks to @cgtobi.
Release 3.1.0
Add option to create Avro record field names from Pydantic field aliases. With many thanks to @dabdada.
Release 3.0.4
Add tests for lower case list and dict types
Release 3.0.3
Support for Python 3.12
Release 3.0.2
Upgrade typeguard
dependency to version 4.x
Release 3.0.1
Fix not able to generate Avro schema for Pydantic models inheriting from other model classes.
With thanks to @rnathuji for reporting and providing tests reproducing the issue.