Releases: bloxbean/cardano-client-lib
0.7.1
What's Changed
- fix: Implement withdrawal sorting for correct redeemer indices in multi-withdrawal transactions by @satran004 in #541
- [Backport - 0.7.x] Implement LEDGER and TREZOR derivation by @satran004 in #545
Full Changelog: v0.7.0...v0.7.1
0.6.7
What's Changed
- [Backport] Fix: Add support for inline datum in change outputs when using ScriptTx.withChangeAddress() by @satran004 in #512
Full Changelog: v0.6.6...v0.6.7
0.7.0
🎉 Release Overview
We're excited to announce the official release of Cardano Client Lib 0.7.0! This release brings significant enhancements to wallet management, governance support, and overall library stability.
📋 Changes Since 0.7.0-beta4
Bug Fixes
- #510: Added support for inline datum in change outputs when using
createFromUtxos - #497: Added support for attaching native scripts to transactions
🚀 Key Features in 0.7.0
The 0.7.0 release includes all features introduced during the beta cycle:
Wallet & Account Management
- New Wallet API: Enhanced wrapper around existing Account API with multi-address UTxO scanning and derivation path tracking
- Compatible with QuickTx
Governance & Standards
- Support for governance operations
- CIP-129 Implementation: Full support for governance identifiers (DRepId, CC ID)
API Enhancements
- Async Operations: New
completeAndWaitAsync()methods in QuickTx API returningCompletableFuture<TxResult> - Value Class Improvements: Added utility methods
add()andsubtract()with multi-asset support - MetadataBuilder: New methods to simplify metadata creation
- Made
addWitnessToTransactionmethod public for enhanced transaction building flexibility
⚠️ Breaking Changes
For details on breaking API changes introduced in this version, please refer to the 0.7.0-beta1 release notes.
Key Breaking Change:
TxSigner.sign()method now requiresTxBuilderContextparameter for enhanced signing context
Full Changelog: v0.7.0-beta4...v0.7.0
0.7.0-beta4
What's Changed
- Fix: Native script parsing issue when indefinite-length array is used. by @satran004 in #504
Full Changelog: v0.7.0-beta3...v0.7.0-beta4
0.6.6
0.7.0-beta3
What's Changed
- Update edsa lib dependency to bloxbean fork by @satran004 in #496
- fix: #498 Use dummy key and signature for additional signers instead of generating new dummy accounts by @satran004 in #499
- [FIX] Fixed Value subtractions with extra assets or multi assets in second operand by @nemo83 in #500
Full Changelog: v0.7.0-beta2...v0.7.0-beta3
0.6.4
What's Changed
- Update edsa lib dependency to bloxbean fork by @satran004 in #495
Full Changelog: v0.6.3...v0.6.4
0.7.0-beta2
What's Changed
- #482 Generate Account/Wallet from root prv key by @satran004 in #486
- Enhance UtxoSelectionStrategy for HDWallet by @satran004 in #487
- Wallet as fee payer / collateral payer in ScriptTx + UtxoSelectionStrategy interface change to handle multiple addresses by @satran004 in #491
- Utility methods to convert CIP129 DRepId, cc ids + Fix Ogmios Tx Evaluator and Epoch Params by @satran004 in #493
- Make addWitnessToTransaction method public by @satran004 in #494
Full Changelog: v0.7.0-beta1...v0.7.0-beta2
0.7.0-beta1
Key Highlights
-
New Wallet API (Preview)
A wrapper around the existingAccountAPI that provides the capability to scan multiple addresses under the same wallet for UTxOs. It also keeps track of the derivation path to find the correct signer based on UTxO selection and it's compatible withQuickTxapi.Examples: For examples, please check these integration tests
Note: This API is in preview. It should not be used in production yet.
-
[CIP 129] Gov Identifiers Implementation
Implementation of the CIP 129 standard for governance identifiers. -
New
completeAndWaitAsyncmethods in the QuickTx API
These methods return aCompletableFutureto enable asynchronous waiting, instead of the current blocking implementation:CompletableFuture<TxResult> completeAndWaitAsync() CompletableFuture<TxResult> completeAndWaitAsync(Consumer<String> logConsumer) CompletableFuture<TxResult> completeAndWaitAsync(Consumer<String> logConsumer, Executor executor) CompletableFuture<TxResult> completeAndWaitAsync(Duration checkInterval, Consumer<String> logConsumer) CompletableFuture<TxResult> completeAndWaitAsync(Duration checkInterval, Consumer<String> logConsumer, Executor executor)
-
Refactoring of Value class : To include new utility methods.
add,subtract(#457) -
New methods in MetadataBuillder : To simplify the creation of different types of metadata (#467)
Breaking Change
TxSigner.signmethod signature update:
TheTxSigner.signmethod now requires aTxBuilderContextparameter. If you build a transaction first and then sign it with aTxSigner, you must include theTxBuilderContextas part of the signing process.
Existing Code:
TxSigner signer = SignerProviders.signerFrom(sender);
Transaction transaction = TxBuilderContext.init(utxoSupplier, protocolParamsSupplier)
.build(builder);
Transaction signedTxn = signer.sign(transaction);
New Code :
TxSigner signer = SignerProviders.signerFrom(sender);
var txContext = TxBuilderContext.init(utxoSupplier, protocolParamsSupplier);
Transaction transaction = txContext
.build(builder);
Transaction signedTxn = signer.sign(txContext, transaction);
What's Changed
- #466 Convert JSON object to CBORMetadataMap and JSON Array to CBORMetadataList / New methods in MetadataBuilder by @satran004 in #467
- chore: renamed plus and minus to add and subtract, added utility methods by @nemo83 in #457
- 213 provide hd wallet implementation by @Kammerlo in #363
- #469 CIP 129 Gov Id implemenations by @satran004 in #472
- Koios/Ogmios - IndexOutofBound exception for PlutusV3 cost models by @satran004 in #475
- #446 Support for CompletableFuture in QuickTxBuilder by @satran004 in #476
- Update intro.md by @juv in #478
New Contributors
Full Changelog: v0.6.2...v0.7.0-beta1
0.6.3
What's Changed
- Fix #473 Koios/Ogmios - IndexOutofBound exception for PlutusV3 cost models by @satran004 in #474
Full Changelog: v0.6.2...v0.6.3