- Add
unlessDecoderVersionAtLeast
andguardUntilAtLeast
- Add
ToJSON
/FromJSON
instances forVersion
- Add
decodeFullFromHexText
andserializeAsHexText
- Add
Arbitrary
instance forTerm
totestlib
. - Add
encodeStrictMaybe
/decodeStrictMaybe
andencodeNullStrictMaybe
/decodeNullStrictMaybe
- Fix CBOR instance for
StrictMaybe
. It was never used in Byron, so special serialization is not needed for pre-protocol version2
. - Re-export crypto related encoding and decoding functions for
VRF
,KES
andDSIGN
fromCardano.Ledger.Binary.Plain
- Fix deserializer for
Rational
and allow optionally tag30
starting with protocol version2
- Fix serializer for
Ratio
and encode tag30
starting with protocol version2
- Add new encoder
encodeRatioNoTag
forRatio
- Changed: Starting in version 9, duplicate keys in CBOR sets are not longer allowed. Additionally, the CBOR set tag 258 is permitted but not enforced.
- Add
Arbitrary
instance forTerm
- Renamed:
roundTripAnnFailureRangeExpectation
->roundTripAnnRangeFailureExpectation
roundTripFailureCborRangeExpectation
->roundTripCborRangeFailureExpectation
roundTripAnnFailureRangeExpectation
->roundTripAnnRangeFailureExpectation
- Added:
embedTripFailureExpectation
embedTripRangeFailureExpectation
roundTripRangeFailureExpectation
- First version. Released on an unsuspecting world.