- Export
decodeListLikeEnforceNoDuplicates
#3791 - Add
Show
andEq
forCBORGroup
- Addition of
Test.Cardano.Ledger.Binary.Cddl
spec testing. - Export
toExpr
fromTest.Cardano.Ledger.Binary.TreeDiff
- Export
decodeSetTag
,allowTag
,variableListLenEncoding
, anddecodeSetLikeEnforceNoDuplicates
#3779 - Moved
diffExpr
,diffExprNoColor
,ediffEq
into thetestlib
- Add
ToExpr
instance for:Sized
SignedDSIGN
- Add
Generic
instance forCompactValue
- Add
fieldGuarded
to be able to conditionally construct aField
#3712 - Expose
showDecoderError
fromCardano.Ledger.Binary.Plain
- Add
roundTripCborSpec
androundTripAnnCborSpec
- Adjust output of
showHexBytesGrouped
- Add helper functions:
showMaybeDecoderError
andshowFailedTermsWithReSerialization
- Improve failure reporting when re-serialization does not match for RoundTrip tests.
- Re-export
ToExpr
fromTest.Cardano.Ledger.Binary.TreeDiff
- Changed bounds on plutus-ledger-api
- GHC-9.6 compatibility
- Add
unlessDecoderVersionAtLeast
andguardUntilAtLeast
- Set bound on cborg >=0.2.9
- 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.