Releases: dahomey-technologies/Dahomey.Cbor
Releases · dahomey-technologies/Dahomey.Cbor
1.20.1
Added .NET 7 support
1.20.0
- 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
1.19.0
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
1.18.1
- Upgraded dependencies versions
1.18.0
- 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
- Added C#9 records support
1.16.1
strong-name sign assembly
1.16.0
.NET 6 support