Skip to content

Releases: bloxbean/cardano-client-lib

0.7.1

17 Dec 08:19

Choose a tag to compare

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

02 Oct 03:15

Choose a tag to compare

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

18 Sep 11:23

Choose a tag to compare

🎉 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 returning CompletableFuture<TxResult>
  • Value Class Improvements: Added utility methods add() and subtract() with multi-asset support
  • MetadataBuilder: New methods to simplify metadata creation
  • Made addWitnessToTransaction method 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 requires TxBuilderContext parameter for enhanced signing context

Full Changelog: v0.7.0-beta4...v0.7.0

0.7.0-beta4

12 Jun 05:11
de704de

Choose a tag to compare

0.7.0-beta4 Pre-release
Pre-release

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

11 Jun 14:24

Choose a tag to compare

  • Fix native script parse error in Preview when indefinite-length array is used (#503)

Full Changelog: v0.6.5...v0.6.6

0.7.0-beta3

05 Jun 14:09

Choose a tag to compare

0.7.0-beta3 Pre-release
Pre-release

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

26 Mar 10:50
1ba2e3e

Choose a tag to compare

What's Changed

Full Changelog: v0.6.3...v0.6.4

0.7.0-beta2

18 Mar 16:09
88efab5

Choose a tag to compare

0.7.0-beta2 Pre-release
Pre-release

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

08 Jan 07:54
6fb5988

Choose a tag to compare

0.7.0-beta1 Pre-release
Pre-release

Key Highlights

  1. New Wallet API (Preview)
    A wrapper around the existing Account API 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 with QuickTx api.

    Examples: For examples, please check these integration tests

    Note: This API is in preview. It should not be used in production yet.

  2. [CIP 129] Gov Identifiers Implementation
    Implementation of the CIP 129 standard for governance identifiers.

  3. New completeAndWaitAsync methods in the QuickTx API
    These methods return a CompletableFuture to 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)
  4. Refactoring of Value class : To include new utility methods. add, subtract (#457)

  5. New methods in MetadataBuillder : To simplify the creation of different types of metadata (#467)

Breaking Change

  • TxSigner.sign method signature update:
    The TxSigner.sign method now requires a TxBuilderContext parameter. If you build a transaction first and then sign it with a TxSigner, you must include the TxBuilderContext as 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

  • @juv made their first contribution in #478

Full Changelog: v0.6.2...v0.7.0-beta1

0.6.3

13 Dec 11:35

Choose a tag to compare

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