Skip to content

Releases: Emurgo/cardano-serialization-lib

9.1.4 "Less Crypto in Our Crypto"

10 Jan 23:24
Compare
Choose a tag to compare

Release PR: #323

Changes:

  • TransactionBuilder performance is improved by removing unnecessary cryptographic operations

9.1.3 "Duplicate Key"

10 Jan 12:39
Compare
Choose a tag to compare

Release PR: #318

Single change:

  • Allow entries with duplicate keys when deserializing transaction metadata

9.1.2 "isValid"

07 Nov 11:18
Compare
Choose a tag to compare

Release PR: #251

Single change that handles new optional transaction flag is_valid - #208

9.1.1 "Canonical"

03 Nov 22:02
Compare
Choose a tag to compare

Release PR: #246

Single change that fixes AssetName to have canonical CBOR ordering implemented for it.
(See related issue: #240)

9.1.0

25 Sep 22:37
Compare
Choose a tag to compare

Release PR: #212

Includes a single change, fixing that the max size limit is checked on output values and not outputs themselves

9.0.0

19 Sep 12:37
Compare
Choose a tag to compare

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:

  1. maxTxSize was defined at the Shelley era = 16384 bytes (see here)
  2. maxValueSize was defined at the Alonzo era = 5000 bytes (see here)

8.1.0

03 Sep 15:07
58efd6f
Compare
Choose a tag to compare

Breaking change

Includes the updated definition of CostModel in the Alonzo binary specification (#193).

Alonzo Release

05 Aug 12:22
0825673
Compare
Choose a tag to compare

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 to AuxiliaryData
  • TransactionWitnessSet.scripts() renamed to .native_scripts()
  • set_metadata renamed to set_auxiliary_data
  • hash_metadata rename to hash_auxiliary_data
  • MetadataHash rename to AuxiliaryDataHash / PoolMetadataHash
  • multiple changes to MoveInstantaneousReward

7.1.0

11 Jun 22:02
Compare
Choose a tag to compare

Chore

  • Bump multiple dependencies (including wasm-bindgen to fix builds on webpack 5)
  • Improve validation for Ipv4 and Ipv6

New features

  • Add TransactionUnspentOutput for Cardano Connector CIP
  • Allow (de)serializing Value type

7.0.0

23 Apr 00:55
Compare
Choose a tag to compare

Breaking Change

  • For NativeScripts, delete the script_hash function (use hash instead`)
  • For NativeScripts, the hash function now takes an argument specifying which script namespace to use for the hash