Releases: Python-Cardano/pycardano
Releases · Python-Cardano/pycardano
v0.7.1
[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:
- Feature request: address.balance() helper function #115
- Improve address type hint #130 (daehan-koreapool)
- Enhance nativescript.py type hint #129 (daehan-koreapool)
- Attempt to improve liskov substitution principle error #128 (daehan-koreapool)
- Support utxo query with kupo for Vasil #121 (henryyuanheng-wang)
- Improve base + blockfrost module maintainability #120 (daehan-koreapool)
- Refactor ogmios.py module maintainability #114 (daehan-koreapool)
- Improve bip32.py type hint #107 (daehan-koreapool)
- Testing more types of HDWallet derived Cardano addresses #103 (daehan-koreapool)
- Fixing inconsistency between generated entropy value type and the expected HDWallet.entropy value type #101 (daehan-koreapool)
- Improve Ogmios backend module #111 (daehan-koreapool)
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:
- Bump websocket-client from 1.4.1 to 1.4.2 #126 (dependabot[bot])
- Bump sphinx-rtd-theme from 1.0.0 to 1.1.1 #125 (dependabot[bot])
- provide examples for adding transaction properties #119 (peterVG)
- Update variable name so it matches downstream code #117 (peterVG)
- Bump pytest from 7.1.3 to 7.2.0 #110 (dependabot[bot])
- Bump pytest-xdist from 2.5.0 to 3.0.2 #109 (dependabot[bot])
- Add python3.11 to CI #108 (cffls)
v0.7.0
v0.6.3
[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 ofmin_lovelace
required for transactions.
v0.6.2
v0.6.1
v0.6.0
[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
andscript
, 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
inTransactionBuilder
no longer requiresscript
field to be set.
If absent, the transaction builder will try to find it from chain context. - Similarly, method
add_minting_script
inTransactionBuilder
no longer requiresscript
field to be set.
If absent, the transaction builder will try to find it from chain context.
v0.5.1
v0.5.0
[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
inTransactionOutput
will be converted to typeValue
even when anint
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.
v0.4.1
v0.4.0
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