Skip to content

Latest commit

 

History

History
330 lines (205 loc) · 15.5 KB

CHANGELOG.md

File metadata and controls

330 lines (205 loc) · 15.5 KB

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[0.8.1] - 2023-04-06

This patch contains a number of bug fixes to v0.8.0.

Implemented enhancements:

  • Only upload code cov once in CI #190 (cffls)

Fixed bugs:

  • PyCardano does not correctly load nested PlutusData from cbor where the keys are unions of PlutusData #193
  • [Bug fix] Return a value directly if its type is 'Any' on deserializing #195 (cffls)
  • Fix recursive deserialization of cbor bytes #194 (nielstron)
  • Fix error when adding multiple redeemers #192 (cffls)
  • Fix redeemer initalization #189 (nielstron)

[0.8.0] - 2023-03-29

This patch contains a number of bug fixes and enhancements.

Implemented enhancements and bug fixes:

Closed issues:

  • Verification and Signing Keys Bug #184
  • Error: The seed must be exactly 32 bytes long #159
  • Move to hashlib for hashing #153

Merged pull requests:

[0.7.3] - 2023-02-05

Implemented enhancements:

Fixed bugs:

Closed issues:

  • Docs for adding arbitrary datum value to .add_output method #116

Merged pull requests:

[0.7.2] - 2022-12-03

Implemented enhancements:

Fixed bugs:

  • Move execution unit estimation to the very last part of tx building #136 (cffls)

[0.7.1] - 2022-11-23

A major improvement of this version is the enforcement of static typing on some modules. Special thanks to daehan-koreapool!

Implemented enhancements:

Fixed bugs:

  • decodeVerKeyDSIGN: wrong length, expected 32 bytes but got 0 #113

Closed issues:

  • Document how to add reference_inputs when using TransactionBuilder #118
  • config option to choose local cardano-node for transactions #102

Merged pull requests:

[0.7.0] - 2022-10-16

Added

  • Support HDWallets and mnemonic phrases. (#85)

Fixed

  • Fix key error when there are duplicates in reference scripts.
  • If merging change into existing outputs is enabled, do not enforce min_utxo on changes.
  • Make script estimation more accurate.

[0.6.3] - 2022-10-02

Added

  • Support cbor serializable for UTxO. (#84)

Fixed

  • Add required signers as part of fee estimation.
  • Fix insufficient min_utxo amount when using Blockfrost context.

Changed

  • Change the default calculation of min_lovelace to Vasil era. This is a backward compatible change, and it will reduce the amount of min_lovelace required for transactions.

[0.6.2] - 2022-09-03

Fix dependencies.

[0.6.1] - 2022-09-03

Added

  • Add coins_per_utxo_size in blockfrost chain context

Fixed

[0.6.0] - 2022-08-28

v0.6.0 is update for Vasil hard fork.

Added

  • Support for reference inputs (CIP31).
  • Support for inline datum (CIP32).
  • Support for reference scripts (CIP33).
  • Vasil changes for Ogmios.
  • Vasil changes for blockforst.
  • Add type "RawPlutusData", which is used as the default type for datum deserialized from cbor.
  • TransactionOutput now has two new fields, datum and script, which could be added to the transaction output.
  • Blockfrost chain context now supports custom API url.

Changed

  • Improved the format of transaction representation.
  • Method add_script_input in TransactionBuilder no longer requires script field to be set. If absent, the transaction builder will try to find it from chain context.
  • Similarly, method add_minting_script in TransactionBuilder no longer requires script field to be set. If absent, the transaction builder will try to find it from chain context.

[0.5.1] - 2022-07-09

Added

  • Policy json serializer (#58)

Fixed

  • Fix min lovelace when the input is Value type

[0.5.0] - 2022-06-15

Added

  • Staking certificates.
  • Add an option to merge change into already existing output. (#38).
  • Enable UTxO query with Kupo (#39).
  • Add 'add_minting_script' to txbuilder.
  • Add usage guides for Plutus (#46).
  • Add message signing and verification (CIP8) (#45).

Changed

  • amount in TransactionOutput will be converted to type Value even when an int is passed in (#42).
  • Add unknown fields to ArraySerializable if more values are provided.

Fixed

  • Prevent 'Transaction.from_cbor' from dropping data in datum.
  • Add fake fee to fake transaction when fee is 0.

[0.4.1] - 2022-05-03

Changed

  • Use specific version of blockfrost-python

Fixed

  • Don't add min_lovelace to unfulfilled_amount when change address is not provided

[0.4.0] - 2022-04-29

Added

  • Support mint redeemer
  • Add execution units estimation
  • Fee Estimation Improvement (#27)
  • Add blockfrost support for transaction evaluation

Changed

  • Refactor transaction builder to a dataclass
  • Upgrade Blockfrost to 0.4.4

Fixed

  • Do not modify multiassets when being added or subtracted
  • Restore empty datum in redeemer

[0.3.1] - 2022-03-31

Some minor improvements in transaction builder.

Added

  • Add more details to the message of expection when UTxO selectors failed.
  • Validate output value is non-negative.

[0.3.0] - 2022-03-21

Added

  • Incorporate change split logic #7.
  • Plutus
    • Datum support for transaction inputs and transaction outputs.
    • New function add_script_input in tx builder to support spending of Plutus script input.
    • Add collateral to tx builder for script transaction.
    • Add plutus_script_hash that calculates the hash of a Plutus script.
    • Include script execution steps and memory into fee calculation.
  • Add build_and_sign to tx builder.

Changed

  • Remove positional argument index from Redeemer's constructor.

[0.2.0] - 2022-03-13

This release added essential features for Plutus script interactions.

Added

  • Plutus data
    • Serialization, deserialization, and customization of plutus data and redeemer
    • Plutus cost model
    • Calculation of script data hash
    • JSON compatibility
  • Extended key support

Changed

  • Sort multi-assets based on policy id and asset names

Fixed

  • Fail tx builder when input amount is not enough to cover outputs and tx fee

[0.1.2] - 2022-02-20

Added

  • Metadata and native script to docs
  • A full stack example (flask + PyCardano + BlockFrost + React + Nami wallet)
  • Continuous integration
  • Ogmios backend support

Changed

Fixed

  • Minor fix in native token example