Skip to content

Releases: jpmorganchase/py-avro-schema

Release 3.4.1

22 Nov 09:32
40687f5
Compare
Choose a tag to compare
  1. Validation of DecimalMeta input parameters "precision" and "scale" to comply with Avro specification
  2. Support decimal types in type unions.

Release 3.4.0

18 Nov 12:12
e6abf7c
Compare
Choose a tag to compare

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

17 Nov 10:47
04a88e5
Compare
Choose a tag to compare

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

16 Nov 12:25
f4bb95a
Compare
Choose a tag to compare

Fix default date value when on machines with non-UTC timezones.

Release 3.2.0

30 Oct 11:14
ac2521b
Compare
Choose a tag to compare

Add support for unioned types syntax introduced in Python 3.10: X | Y

With many thanks to @cgtobi.

Release 3.1.0

23 Oct 12:25
b50bcdb
Compare
Choose a tag to compare

Add option to create Avro record field names from Pydantic field aliases. With many thanks to @dabdada.

Release 3.0.4

20 Oct 15:48
f45daa3
Compare
Choose a tag to compare

Add tests for lower case list and dict types

Release 3.0.3

04 Oct 15:24
4867e56
Compare
Choose a tag to compare

Support for Python 3.12

Release 3.0.2

03 Oct 13:22
1f5a07d
Compare
Choose a tag to compare

Upgrade typeguard dependency to version 4.x

Release 3.0.1

03 Oct 10:37
bae7cfb
Compare
Choose a tag to compare

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.