Skip to content

2.0.0

Choose a tag to compare

@gcsizmadia gcsizmadia released this 15 Oct 12:51
59783d0
  • CHANGED: target frameworks.
    • REMOVED: netcoreapp3.1
    • ADDED: net8.0 and net9.0
  • UPDATED: nuget package dependencies
    • System.Text.Json
      • netstandard2.0, netstandard2.1, net462 and net6.0: from 7.0.3 to 8.0.5
      • net8.0: 8.0.5
      • net9.0: provided by .NET runtime (currently 9.0.0-rc.2.24473.5)
    • EgonsoftHU.Extensions.Bcl
      • from 2.0.0 to 3.0.1
  • CHANGED: complete rewrite of enum serialization.
    • ADDED: Support for any attribute.
      E.g. JsonStringEnumMemberNameAttribute, EnumMemberAttribute, DescriptionAttribute, DisplayNameAttribute
    • ADDED: Support for custom serialization by providing a base class with access to all the attributes of an enum member.
  • ADDED: AppContext switch to support a safe migration when early-adopting JsonStringEnumMemberNameAttribute (i.e. using a copy of the attribute instead of referencing an RC version of System.Text.Json package)
  • ADDED: JsonSerializerOptionsProvider
    It provides read-only default settings (Default, DefaultWriteIndented) and a writable current setting (Current).

Full Changelog: v1.1.0...v2.0.0