Releases: Python-Cardano/pycardano
Releases · Python-Cardano/pycardano
v0.9.0
What's Changed
- fix minor inaccuracies in the plutus smart contract tutorial by @chrissiwaffler in #196
- Fix keys in plutus tutorial by @cffls in #200
- Automatically add build_and_sign signers to required_signers by @nielstron in #202
- Simplifies the backend interface (use available classes!) by @nielstron in #206
- Validate field type on serializing by @cffls in #208
- Make use of spent_at and unspent flag by @nielstron in #210
- Only resolve inline datums in kupo by @nielstron in #214
- Per default refetch the chain tip at most every 20 seconds by @nielstron in #211
- Fix _get_script in blockfrost context by @cffls in #218
- Return empty utxo list from blockfrost when an address is never used before by @cffls in #219
- Fix/parse raw plutus data by @nielstron in #220
- Restore ogmios tests by @cffls in #221
- Support potential inputs in txbuilder by @cffls in #223
- Include utxo with datum and script in utxo selection by @cffls in #222
- Fix deep copy of plutus data by @cffls in #225
- implement no type checking flag by @juliusfrost in #230
- Freeze dictionary keys to make them hashable by @nielstron in #228
- Accept cbor and str as input type in submit_tx by @cffls in #231
- Change the default returning type of 'to_cbor' to bytes by @cffls in #232
- Datum hash was assigned to the wrong field when deserializing pre-alonzo tx by @cffls in #233
- Update docker images in integration tests by @cffls in #234
Breaking changes
- On querying an unused address, chain context will now return an empty list instead of throwing an exception. #219
- Before
v0.9.0
,to_cbor
will return a hex string by default, and it also accepts an encoding argument. After v0.9.0, it will no longer accept an argument and will only return cbor bytes. To get cbor hex string, users will need to callto_cbor_hex
. #232
New Contributors
- @chrissiwaffler made their first contribution in #196
Full Changelog: v0.8.1...v0.9.0
v0.8.1
[0.8.1] - 2023-04-06
This patch contains a number of bug fixes to v0.8.0
.
Implemented enhancements:
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)
v0.8.0
[0.8.0] - 2023-03-29
This patch contains a number of bug fixes and enhancements.
Implemented enhancements and bug fixes:
- Allow str addresses as change address in txbuilder #187
- Include API responses in submit_tx method #185
- Specification of the Redeemer Tag necessary? #177
- Error when submit NFT minting tx #165
- Add error handling to blockfrost submit_tx method #188 (bhatt-deep)
- Get UTxO from Transaction ID and Index #186 (juliusfrost)
- Reference UTxOs are UTxOs (not TransactionInputs) #181 (nielstron)
- Add support for complex dictionary types #180 (nielstron)
- Add functions to automatically add required signers and validity range #179 (nielstron)
- Remove the need to specify the RedeemerTag #178 (nielstron)
- Fix timezone info for Ogmios backend #176 (juliusfrost)
- Correctly parse List[X] annotated objects #170 (nielstron)
- Fixed the plutus script returned by blockfrost eabd613 (cffls)
- Change plutus example to inline datum and inline script f5542b4. (cffls)
- [Bug fix] Force set timezone in system start unix to utc 7771a3c (cffls)
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:
- Update tutorial with renamed smart contract language #183 (nielstron)
- Bump blockfrost-python from 0.5.2 to 0.5.3 #162 (dependabot[bot])
v0.7.3
[0.7.3] - 2023-02-05
Implemented enhancements:
- CIP-0008: Allow for signing with stake key directly #154 (thaddeusdiamond)
- Generalize the "plutus" section and introduce alternative languages #145 (nielstron)
- Switch the Plutus introduction to eopsin #144 (nielstron)
- Fix static typing #139 (cffls)
Fixed bugs:
Closed issues:
- Docs for adding arbitrary datum value to .add_output method #116
Merged pull requests:
- Fix typo in documentation pointing to Network.PREPROD #152 (nielstron)
- Bump pytest from 7.2.0 to 7.2.1 #150 (dependabot[bot])
- Fix typo that broke link formatting in the plutus introduction #149 (nielstron)
- Remove mention of pyaiken in plutus docs #147 (nielstron)
- Rename plutus sample contract name to correct "Gift contract" #146 (nielstron)
- Bump isort from 5.10.1 to 5.11.4 #142 (dependabot[bot])
- Bump mypy from 0.990 to 0.991 #133 (dependabot[bot])
v0.7.2
[0.7.2] - 2022-12-03
Implemented enhancements:
- Modified IndefiniteList as subclass of UserList. #138 (bhatt-deep)
- Slight modification ExtendedSigningKey creation from HDWallet #132 (henryyuanheng-wang)
Fixed bugs:
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.