- New
Test.Cardano.Binary.TreeDiff
module extracted fromcardano-ledger-binary
. It lives in a new public sublibrarytestlib
. - Add
FromCBOR
instance forTermToken
- GHC-9.6 compatibility
- Remove
development
flag: #372 - Remove
To/FromCBOR
instances forNominalDiffTime
, since they did rounding. Newly added functionsencodeNominalDiffTimeMicro
/decodedNominalDiffTimeMicro
can be used to recover previous behavior. Correct instances that do not perform any rounding will be added in some future version, for nowdecodeNominalDiffTime
andencodeNominalDiffTime
can be used. - Add
decodeNominalDiffTime
andencodeNominalDiffTime
- Add
To/FromCBOR
for allFixed a
, not justNano
andPico
- Removed
Cardano.Binary.Annotated
andCardano.Binary.Drop
modules. They have been replaced by equivalent incardano-ledger-binary
- Removed
Cardano.Binary.Raw
. It has moved into:cardano-crypto-wrapper:Cardano.Crypto.Raw
- Generalized
cborError
andtoCborError
toMonadFail
- Add
ToCBOR
instance forTokens -> Tokens
- Add
To/FromCBOR
instances forTerm
andToCBOR
forEncoding
- Add
To/FromCBOR
instances for 6-tuples and 8-tuples - Remove
FromCBOR
instance forRatio
in favor ofRational
. - Add
To/FromCBOR
instances forDouble
. - Rename
toCBORMaybe
->encodeMaybe
with deprecation. - Rename
decCBORMaybe
->decodeMaybe
with deprecation. - Add
encodeNullMaybe
anddecodeNullMaybe
. - Add
To/FromCBOR
instances forSeq
- Deprecate
serializeEncoding
andserializeEncoding'
in favor ofserialize
andserialize'
respectively, sinceEncoding
now has theToCBOR
instance. - Add
decodeFullDecoder'
that accepts strictByteString
.