Skip to content

Releases: ch-robinson/dotnet-avro

7.0.1

17 Sep 19:46
Compare
Choose a tag to compare

This patch release includes a couple of small improvements:

7.0.0

10 Aug 19:45
Compare
Choose a tag to compare

This major release introduces a few breaking improvements:

  • Chr.Avro.Confluent now targets Confluent.SchemaRegistry 1.5.0 (#85). Starting with Confluent Platform 5.4.0, the Schema Registry supports additional schema types, and this change includes more informative exceptions should an application try to use a non-Avro schema.

  • The Chr.Avro.Confluent consumer/producer builder extension methods have been adjusted to accept serde builder interfaces instead of concrete types (#87).

  • The schema builder now returns the same instance when building schemas containing both a value type and its nullable counterpart (#92). This resolves possible name collision exceptions when writing schemas containing enums or structs.

6.0.0

13 May 20:34
Compare
Choose a tag to compare

This major release fixes a serialization bug:

  • Prior to 6.0.0, references to generated serialization functions were only keyed by type. This behavior could cause deserialization to fail when mapping different schemas to the same type (#81).

    The fix resulted in a small API change: The References dictionaries on the serde builder case results are now keyed by (Schema, Type) instead of Type.

2.1.2

23 Apr 17:32
Compare
Choose a tag to compare

This patch release backports a bug fix released in 5.0.1:

  • The async Schema Registry serdes no longer cache failed build attempts (#78; h/t @woodlee).

5.0.2

15 Apr 19:19
Compare
Choose a tag to compare

This patch release fixes a serialization bug:

  • In previous versions, enum serialization may have produced corrupt data when serializing unnamed enum values (#82, h/t @woodlee).

4.1.1

15 Apr 19:19
Compare
Choose a tag to compare

This patch release fixes a serialization bug:

  • In previous versions, enum serialization may have produced corrupt data when serializing unnamed enum values (#82, h/t @woodlee).

3.3.1

15 Apr 19:19
Compare
Choose a tag to compare

This patch release fixes a serialization bug:

  • In previous versions, enum serialization may have produced corrupt data when serializing unnamed enum values (#82, h/t @woodlee).

2.1.1

15 Apr 19:19
Compare
Choose a tag to compare

This patch release fixes a serialization bug:

  • In previous versions, enum serialization may have produced corrupt data when serializing unnamed enum values (#82, h/t @woodlee).

5.0.1

09 Apr 18:45
Compare
Choose a tag to compare

This patch release includes two bug fixes:

  • The decimal serdes now support all values from decimal.MinValue to decimal.MaxValue (#77; h/t @shawnmanderson). Previously, overflow exceptions may have been thrown when attempting to serialize or deserialize extremely large values.

  • The async Schema Registry serdes no longer cache failed build attempts (#78; h/t @woodlee).

5.0.0

27 Mar 16:09
Compare
Choose a tag to compare

This major release includes improvments to Chr.Avro.Confluent. Most applications should be able to upgrade from 4.x versions without making any major changes.

Breaking changes

  • Chr.Avro.Confluent serializers with automatic registration enabled will now always post a generated schema to the Schema Registry (#74). Previously, automatic registration only occurred for breaking changes (i.e., when a schema from the Registry could not be mapped to the type being serialized).

    To better communicate this new behavior, we changed the API: registerAutomatically parameters now accept an enum (Never or Always) instead of a boolean.

Bug fixes

  • Prior to 5.0.0, the Schema Registry serializer/deserializer builders did not have matching interfaces (#73).

New features

  • Chr.Avro.Confluent serializers and deserializers now support tombstone records (#71, h/t @mteng; #75). This reduces the amount of code required to interact with compacted Kafka topics.