Releases: ch-robinson/dotnet-avro
10.1.0
This feature release includes an improvement to the schema builder:
- When generating schemas for enum types, the schema builder uses the
[DefaultValue]
attribute to set the"default"
field of the generated schema (#289, h/t @jonasby).
10.0.0
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
- The Chr.Avro CLI no longer supports .NET Core 3.1 or .NET 5. We end support for out-of-support .NET versions at every major release.
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
andTimeOnly
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
9.6.0
9.5.1
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
9.4.1
This patch release fixes two bugs related to dynamic object serialization:
9.4.0
9.3.2
This patch release fixes an issue with the Schema Registry serdes:
9.3.1
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
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 thenetcoreapp3.1
andnet5.0
targets will be removed in the next major release.