Stateful Serdes, System.Text.Json UnionEncoder, STJ autoUnion mode
NOTE: Unlisted in favor of 2.3.1, which has a critical fix for autoUnion mode's handling of option and list types.
Added
SystemTextJson.UnionOrTypeSafeEnumConverterFactory: Global converter that automatically applies aTypeSafeEnumConverterto all Discriminated Unions that support it, andUnionConverterto all others #69SystemTextJson.Options(autoUnion = true): Automated wireup ofUnionOrTypeSafeEnumConverterFactory#69SystemTextJson.UnionConverter: Port ofNewtonsoftJsonequivalent started in #43 #59 🙏 @NickDarvey
Changed
Serdes: ChangedSerdesto be stateful, requiring a specific set ofOptions/Settingsthat are always applied consistently #70Serdes.DefaultSettings: Updated README.md ASP.NET integration advice to reflect minor knock-on effect #70SystemTextJson: TargetSystem.Text.Jsonv6.0.1,TypeShapev9.0.0#68
See CHANGELOG