Releases: Emurgo/cardano-serialization-lib
9.1.4 "Less Crypto in Our Crypto"
Release PR: #323
Changes:
- TransactionBuilder performance is improved by removing unnecessary cryptographic operations
9.1.3 "Duplicate Key"
Release PR: #318
Single change:
- Allow entries with duplicate keys when deserializing transaction metadata
9.1.2 "isValid"
9.1.1 "Canonical"
9.1.0
9.0.0
Milestone: https://github.com/Emurgo/cardano-serialization-lib/milestone/3?closed=1
Breaking change: TransactionBuilder.new
required two new parameters for max-value-size and max-tx-size (in bytes). It will now use these parameters to not only assert when the tx itself is out of bounds and cannot be built or when an out-of-bounds output is being added, but it also performs a safer change construction, breaking it into multiple outputs in case there are too many native assets.
See this PR for reference: #187
NOTE: maximum transaction and output sizes are protocol parameters that might change!
Current values at the time of this release are:
8.1.0
Alonzo Release
New features
Tentative support for the Alonzo hardfork. As the hardfork has not happened yet, we cannot guarantee there will not be other last minute changes requires (it's up to IOHK, not us)
Important notes
- The
TransactionBuilder
utility struct does not offer support for any Alonzo features at the moment (actively being worked on) - Transactions that don't use any Alonzo-specific functionality (smart contracts) are backwards compatible with Mary (current Cardano version)
- If you want to know how Alonzo works at the binary-specification level, consider watching this video that explains all the changes
Breaking changes
TransactionMetadata
rename toAuxiliaryData
TransactionWitnessSet.scripts()
renamed to.native_scripts()
set_metadata
renamed toset_auxiliary_data
hash_metadata
rename tohash_auxiliary_data
MetadataHash
rename toAuxiliaryDataHash
/PoolMetadataHash
- multiple changes to
MoveInstantaneousReward
7.1.0
Chore
- Bump multiple dependencies (including wasm-bindgen to fix builds on webpack 5)
- Improve validation for
Ipv4
andIpv6
New features
- Add
TransactionUnspentOutput
for Cardano Connector CIP - Allow (de)serializing
Value
type
7.0.0
Breaking Change
- For NativeScripts, delete the
script_hash
function (usehash
instead`) - For NativeScripts, the
hash
function now takes an argument specifying which script namespace to use for the hash