Skip to content

Releases: dahomey-technologies/Dahomey.Cbor

1.7.1

31 Dec 00:18
3cd8617

Choose a tag to compare

Support .net core 3.0 and 3.1

1.7.0

31 Dec 00:13
ff3eca7

Choose a tag to compare

Support .net core 3.0 and 3.1

1.6.0

16 Dec 09:43
6e535b5

Choose a tag to compare

  • Polymorphism support by discriminator refactoring:
    • BREAKING CHANGE: CborOptions.DiscriminatorConvention and SerializationRegistry.DefaultDiscriminatorConvention have been removed. Multiple discriminator conventions are now supported based on DiscriminatorConventionRegistry (accessible via SerializationRegistry.DiscriminatorConventionRegistry)
    • BREAKING CHANGE: Default discriminator is now based on type full qualified name
    • BREAKING CHANGE: CborDiscriminatorAttribute is now handled by AttributeBasedDiscriminatorConvention. This new convention support any discriminator type, not only string like before. AttributeBasedDiscriminatorConvention has to be registered manually via DiscriminatorConventionRegistry.RegisterConvention
    • Discriminator is now handled as a MemberMapping/MemberConverter
    • Possibility to set an order an member mappings, including the discriminator
  • Added support for CborRequiredAttribute with different policies
  • Added support for anonymous types (Cbor.DeserializeAnonymousType)

1.5.0

29 Oct 23:36

Choose a tag to compare

Added support for indefinite length arrays and maps
Implemented [Feature Request] Allow different ways of serializing a map to cbor #48

1.4.10

19 Sep 22:06

Choose a tag to compare

Map byte[] to Cbor ByteString
Fix EnumConverter for Mono

1.4.9

17 Sep 19:55

Choose a tag to compare

  • fix: non ASCII strings are not supported
  • fix: default protected constructor is not chosen over a non default public constructor
  • fix: non default constructor parameters are not correctly matched to mapped members

1.4.8

16 Sep 20:47

Choose a tag to compare

fix Bug : non first position discriminator is not supported #29

1.4.7

13 Sep 22:29

Choose a tag to compare

  • Support non UTC DateTimes
  • Auto detect non default constructor

1.4.6

12 Sep 13:37

Choose a tag to compare

Add Discriminator Serialization policy (auto/always/never)
fix Force discriminator serialization #27

1.4.5

11 Sep 20:44

Choose a tag to compare

Fix: support null dictionary