Dahomey.Cbor Versions Save

High-performance CBOR (RFC 8949) serialization framework for .Net (C#)

1.24.3

1 month ago

Fix PrimitiveConverterProvider when an enum underlying type is not an Int32

1.24.2

1 month ago
  • Refactored PrimitiveConverterProvider for less allocations
  • Added CharConverter

1.24.1

1 month ago
  • Lazy load converters in PrimitiveConverterProvider (#130)

1.24.0

1 month ago
  • Added ValueTuple support (until 8 items)

1.23.1

1 month ago
  • Optimized CborReader.ReadDataItem (#128)

1.23.0

1 month ago
  • Read number from string (#124)
  • Added .net8 support
  • fix typos in CborReader exceptions

1.22.0

1 month ago
  • Update for serializing and deserializing consecutive objects to and from the same stream. (#116)
    • Added SerializeMultiple & DeserializeMultiple methods.
  • Added default name convention type at CborSettings (#117)
  • Discriminators registered on implemented interfaces (#118)
  • fix Type information in exceptions without context (#119)
  • DateTime from unix timestamp should have UTC kind (#113)
  • Fix conversion of type casting from object (#122)
  • Read current data item (#121)
  • Add ability to set default naming convention (#120 )

1.21.0

7 months ago
  • Support serialization of null (#111)
  • Support serialization/deserialization of custom Linq types (#112)

1.20.1

1 year ago

Added .NET 7 support

1.20.0

1 year ago
  • 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<T> into DefaultDiscriminatorConvention<T>
    • Check if declared type is assignable from discriminator type before instantiation