14.0.0 Tower of CIP-129
Breaking Changes
- Removed
TxBuilderConstants
from the public API. Usecardano-cli
,cardano-db-sync
, or third-party APIs to retrieve the latest cost models and protocol parameters. - The
to_bech32()
method for DRep now requires a boolean flag to specify the new CIP-129 format. Additionally, the function's output has been updated to align with the latest CIP-0005 specifications.
Updates
- The
from_bech32()
method for DRep now supports CIP-129 and both versions of CIP-0005. - The
TxInputsBuilder
now includes a new set of functions:add_regular_utxo
,add_plutus_script_utxo
, andadd_native_script_utxo
. We recommend using these functions instead of theadd_***_input
methods, as the new ones handle referenced input fees automatically. - A new
do_not_burn_extra_change
flag has been added to theTransactionBuilderConfigBuilder
. This flag prevents burning extra ADA when it is not possible to create a new change output. By default, this flag is unset, and you need to enable it manually if needed. - Fixed the equality function for
MultiAsset
when the assets list is empty.
Published
https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-browser/v/14.0.0
https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-nodejs/v/14.0.0
https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs/v/14.0.0
https://crates.io/crates/cardano-serialization-lib/14.0.0
Experimental packages with gc support
https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-nodejs-gc/v/14.0.0
https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-browser-gc/v/14.0.0
https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs-gc/v/14.0.0
Full Changelog: 13.2.1...14.0.0