Skip to content

Releases: ch-robinson/dotnet-avro

10.1.0

30 Nov 14:25
Compare
Choose a tag to compare

This feature release includes an improvement to the schema builder:

10.0.0

03 Nov 19:16
Compare
Choose a tag to compare

10.0.0 is a major release that introduces CLI support for .NET 8, drops CLI support for .NET 5 and earlier, and introduces several new features.

Breaking changes

New features

  • The Chr.Avro libraries target both netstandard2.0 and net6.0. The net6.0 builds include features and performance improvements that are only possible on .NET 6 and above (#269, h/t @fabianoliver).

  • On .NET 6 and above, BinaryReader<T> exposes new zero-copy decoding methods (#267, h/t @fabianoliver; #276).

  • On .NET 6 and above, Chr.Avro supports the DateOnly and TimeOnly types introduced in .NET 5 (#284). These types may be mapped to/from ISO 8601 strings (the default) or the "date", "time-millis", and "time-micros" logical types. For more details, see the types and conversions documentation.

  • The [IgnoreDataMember] attribute may be used to exclude fields and properties from serialization (#287).

  • Chr.Avro.Confluent now targets Confluent.Kafka and Confluent.SchemaRegistry 2.3.0 (#285).

Fixes

  • The schema generator correctly generates nullable schemas for the Uri? type (#278). In previous versions, a nullable union was not generated.

  • Arrays can be deserialized to ArraySegment<T> on .NET Framework (#286). In previous versions, the deserializer would fail to build.

9.6.0

12 Jul 19:53
Compare
Choose a tag to compare

This minor release updates client dependencies:

  • Chr.Avro.Confluent now targets Confluent.Kafka and Confluent.SchemaRegistry 2.2.0 (#265).

9.5.1

18 May 18:08
Compare
Choose a tag to compare

This patch release fixes a serialization bug:

  • Serializers failed to build when mapping record fields with complex default values to classes without matching properties (#255, h/t @nicodeslandes).

9.5.0

06 Apr 17:39
Compare
Choose a tag to compare

This minor release updates client dependencies:

  • Chr.Avro.Confluent now targets Confluent.Kafka and Confluent.SchemaRegistry 2.1.0 (#253).

9.4.1

08 Mar 20:42
Compare
Choose a tag to compare

This patch release fixes two bugs related to dynamic object serialization:

  • Serializers built by the Schema Registry serializer builder would fail to serialize objects requiring dynamic property access (#249).
  • The serializer builder did not properly account for fields and properties from anonymous types (#250).

9.4.0

24 Jan 14:15
Compare
Choose a tag to compare

This minor release updates client dependencies:

  • Chr.Avro.Confluent now targets Confluent.Kafka and Confluent.SchemaRegistry 2.0.2 (#245).

9.3.2

13 Jan 14:58
Compare
Choose a tag to compare

This patch release fixes an issue with the Schema Registry serdes:

  • The async Schema Registry serializer and deserializer would fail to retrieve schemas after an initial request to the registry timed out or was cancelled for some other reason (#244). This is similar to the issue fixed in #80, first released in 5.0.1.

9.3.1

29 Nov 15:42
Compare
Choose a tag to compare

This patch release fixes an issue with union serialization:

  • In previous releases, serializers would fail to build for unions containing the null schema and multiple other schemas (#237, #238, h/t @darren-clark).

9.3.0

10 Nov 14:30
Compare
Choose a tag to compare

This minor release adds support for .NET 7:

  • Chr.Avro.Cli now targets net7.0 (#233). Chr.Avro.Cli follows the .NET support policy, so the netcoreapp3.1 and net5.0 targets will be removed in the next major release.