Skip to content

Releases: dahomey-technologies/Dahomey.Cbor

1.20.1

15 Nov 06:47
148752b

Choose a tag to compare

Added .NET 7 support

1.20.0

29 Oct 22:49

Choose a tag to compare

  • Support Polymorphism with discriminator when CborObjectFormat is Array or IntKeyMap
  • Support CreatorMapping (non default constructors) when CborObjectFormat is Array or IntKeyMap
  • Security Issues with Polymorphic support in serialization
    • BREAKING CHANGE: removed DefaultDiscriminatorConvention
    • BREAKING CHANGE: renamed AttributeBasedDiscriminatorConvention into DefaultDiscriminatorConvention
    • Check if declared type is assignable from discriminator type before instantiation

1.19.1

29 Oct 10:20
599a210

Choose a tag to compare

removed Nerdbank.Streams dependency (#106)

1.19.0

28 Oct 21:21

Choose a tag to compare

Introduced CborObjectFormat

  • can serialize class/struct as a string keyed CBOR map (original & default implementation)
  • can serialize class/struct as an integer keyed CBOR map (integer key value defined in CborPropertyAttribute)
  • can serialize class/struct as a CBOR array (array index defined in CborPropertyAttribute)
  • does not yet support Discriminators nor CreatorMappings
  • fix #92

1.18.2

28 Oct 16:53

Choose a tag to compare

  • fix #80 Library is not threadsafe

1.18.1

24 Oct 22:16

Choose a tag to compare

  • Upgraded dependencies versions

1.18.0

24 Oct 22:09

Choose a tag to compare

  • Write DateTime as invariant culture (#93)
  • Skip semantic tags in in CborReader.SkipDataItem (#96)
  • Fix reading issue in PipeReader.FullReadAsync (#101)
  • Add ReadOnlySequence buffer support to CborReader (#102)
  • Allow CborConverterAttribute on struct, interface and enum (#89)
  • Switch to C# 10
  • Removed .NET 5.0 support (no longer supported by Microsoft)
  • Add Cbor.ReadNextItemAsync for reading cbor sequences (#104)
  • Support CreatorMapping in inherited class
  • refactored DateTimeConverter:
    • an ISO datetime with a specified timezone (Z or time offset from UTC) will be parsed as a DateTime with UTC kind
    • an ISO datetime with unqualified timezone will be parsed following a new option UnqualifiedTimeZoneDateTimeKind

1.17.0

04 Jun 21:39
fa5e366

Choose a tag to compare

  • Added C#9 records support

1.16.1

04 Jan 20:13
8cced3c

Choose a tag to compare

strong-name sign assembly

1.16.0

04 Jan 19:45
6281c65

Choose a tag to compare

.NET 6 support