Skip to content

Releases: bloxbean/cardano-client-lib

0.5.0-beta2

27 Aug 14:26
Compare
Choose a tag to compare
0.5.0-beta2 Pre-release
Pre-release

Key Changes

  • New methods in ScriptTx
    - collectFrom(Utxo, RedeemerData, Datum) : For utxos with datum hash
    - collectFrom(Utxo) : To add a regular utxo without datum/datum hash
  • New methods in QuickTxBuilder
    - withRequiredSigners(Address... address)
    - withRequiredSigners(byte[]... bytes)
    - withCollateralInputs(TransactionInput... inputs) : To add specific inputs as collateral to avoid auto selection of collateral inputs
    - ignoreScriptCostEvaluationError(boolean flag) : To determine whether the builder will throw an exception due to an error that occurs during script cost evaluation.
  • Bump versions for Jackson, Guava, Aiken Java Binding, Yaci

Breaking Changes

Please check 0.5.0-alpha.2 release notes for breaking changes.

What's Changed

Full Changelog: v0.5.0-beta1...v0.5.0-beta2

0.5.0-beta1

17 Aug 17:11
Compare
Choose a tag to compare
0.5.0-beta1 Pre-release
Pre-release

Breaking Changes

Please check 0.5.0-alpha.2 release notes for breaking changes.

What's Changed

Full Changelog: v0.5.0-alpha.4...v0.5.0-beta1

0.5.0-alpha.4

13 Jul 00:24
Compare
Choose a tag to compare
0.5.0-alpha.4 Pre-release
Pre-release

Key Changes

  • Pool registration / retirement api
  • Compile time annotation processor for POJO <-> PlutusData code generator (Experimental)
  • Bug fixes

Breaking Changes

Please check 0.5.0-alpha.2 release notes for breaking changes.

What's Changed

  • fix: Handle when multiple multiassets with same policy id is use… by @satran004 in #273
  • refactor: mintAssets api cleanup. QuickTx integration tests with DEVKIT. by @satran004 in #275
  • QuickTx: Api for pool registration, update, retirement by @satran004 in #277
  • Annotation module to convert POJO <--> PlutusData by @satran004 in #278

Full Changelog: v0.5.0-alpha.3...v0.5.0-alpha.4

0.5.0-alpha.3

24 Jun 16:43
Compare
Choose a tag to compare
0.5.0-alpha.3 Pre-release
Pre-release

Breaking Changes

Please check 0.5.0-alpha.2 release notes for breaking changes.

What's Changed

  • feat(quicktx)!: #253 Add option to set a different utxo selection str… by @satran004 in #262
  • Support to verify the transaction content before submission through Verifier(s) by @satran004 in #263
  • feat(address)!: #258 Add getPaymentCredential and getDelegationCreden… by @satran004 in #261
  • Initial implementation of Plutus Blueprint (CIP 57) by @satran004 in #266
  • fix(quicktx): Fixed timeout after transaction submission by @satran004 in #268
  • Quicktx - Unit Tests by @satran004 in #269
  • fix: #257 Add custom json serializer to fix metadata's json serializa… by @satran004 in #270
  • feat(suppliers/local): Local node suppliers implementation by @satran004 in #271

Full Changelog: v0.5.0-alpha.2...v0.5.0-alpha.3

0.5.0-alpha.2

01 Jun 16:01
3a6eac6
Compare
Choose a tag to compare
0.5.0-alpha.2 Pre-release
Pre-release

Key Features

  1. New High-level api (QuickTx)
  2. Koios Java Client 1.17.2
  3. New methods in backend api

Quick Tx examples: https://github.com/bloxbean/cardano-client-examples/tree/0.5.0/src/test/java/com/bloxbean/cardano/client/example/quicktx

Dependency

<dependency>
            <groupId>com.bloxbean.cardano</groupId>
            <artifactId>cardano-client-lib</artifactId>
            <version>0.5.0-alpha.2</version>
</dependency>

Breaking Changes

  1. Package rename

Plutus specific serialization classes are moved from com.bloxbean.cardano.client.transaction.spec.* to com.bloxbean.cardano.client.plutus.spec.* package in plutus sub-module.

Other classes/packages

Existing New
com.bloxbean.cardano.client.backend.model.EvaluationResult com.bloxbean.cardano.client.api.model.EvaluationResult
com.bloxbean.cardano.client.transaction.util.ScriptDataHashGenerator com.bloxbean.cardano.client.plutus.util.ScriptDataHashGenerator
com.bloxbean.cardano.client.transaction.spec.NetworkId com.bloxbean.cardano.client.spec.NetworkId
com.bloxbean.cardano.client.transaction.util.CborSerializationUtil com.bloxbean.cardano.client.common.cbor.CborSerializationUtil
com.bloxbean.cardano.client.transaction.spec.script.Script com.bloxbean.cardano.client.spec.Script
com.bloxbean.cardano.client.util.AssetUtil com.bloxbean.cardano.client.api.util.AssetUtil

What's Changed

  • New high-level api module (QuickTx) by @satran004 in #248
  • Added ability to serialise plutus data to byte array by @matiwinnetou in #221
  • Fix(#223): Added support for Optional types by @satran004 in #225
  • Fix insufficient collateral due to new inputs in change adjustment calculation in balanceTx by @satran004 in #226
  • This change helps to make API more fluid. by @matiwinnetou in #228
  • Fix (#229): Change key sort comparator to compare unsigned bytes and re… by @satran004 in #230
  • Alignment with Koios Java Client 1.17.1 + New Get Transactions API by @edridudi in #236
  • refactor(address): Rename getPaymentKeyHash & getDelegationHash metho… by @satran004 in #237
  • reafactor(core) : #224 Split core module into spec, plutus, coinselec… by @satran004 in #242
  • Move remaining plutus classes to plutus module and remove deprecated classes by @satran004 in #245
  • feat(address) : #243 Create shelley address from credentials. by @satran004 in #244
  • feat(backend-api): #238 getTxOutput(tx,index) in UtxoServicr, UtxoSup… by @satran004 in #241
  • Koios Java Client Alignment with 1.17.2 + Tx UTxOs retrieval Bugfix by @edridudi in #246

Full Changelog: v0.4.3...v0.5.0-alpha.2

v0.4.3

14 Feb 13:19
f027ffa
Compare
Choose a tag to compare

Key Changes

  • Koios Java Client v1.16.3
  • Address class has following new methods
    • getDelegationHash()
    • getPaymentKeyHash()
    • isPubKeyHashInPaymentPart()
    • isScriptHashInPaymentPart()
    • isStakeKeyHashInDelegationPart()
    • isScriptHashInDelegationPart()
  • CIP30UtxoSupplier to parse utxos from front end wallet
  • Updated Plutus V1 / Plutus V2 costmodel constants (As per 14th Feb 2023 release)
  • AddressProvider class to provide different kind of Shelley addresses. AddressService class is now deprecated.

PRs / Other Changes

New Contributors

Full Changelog: v0.4.2...v0.4.3

v0.4.2

31 Dec 14:47
Compare
Choose a tag to compare

Fix #196 : Infinite loop while parsing a large datum

v0.4.1

25 Dec 06:11
Compare
Choose a tag to compare

Key Changes

  • Fixed Koios backend Issue : Wrong Koios Transaction Content Mapping #193
  • A new UtxoSupplier(CIP30UtxoSupplier) implementation to handle utxos from CIP30's wallet.getUtxos()

PRs/Other Changes

Full Changelog: v0.4.0...v0.4.1

v0.4.0

06 Dec 14:44
Compare
Choose a tag to compare

Key Changes

  • Multiple smaller modules which can be added through Gradle or Maven dependencies to a project
  • CIP 27 (Royalty Tokens) Implementation
  • JSON converter for Datum (PlutusData)
  • Koios Provider version 1.16.0 and multiple bug fixes
  • Fix for ScriptDataHash generation logic when empty redeemers and non empty datum #181

PRs / Other Changes

New Contributors

  • @will991 made their first contribution in #168
  • @stake1edge made their first contribution in #172

Full Changelog: v0.3.0...v0.4.0

0.3.0

09 Oct 14:29
Compare
Choose a tag to compare

Key Changes

  • Support for remaining transaction types
    • Update, Mir, PoolRegistion, PoolRetirement
  • Updated Koios backend to support Babbage era
  • Kupo support in Ogmios backend

Note
The jackson-databind (v2.13.4) used in this release has a vulnerability CVE-2022-42003 which was recently found. This issue has been fixed in jackson-databind 2.14.0-rc1.
Once jackson-databind v2.14.0 is available, a new version of cardano-client-lib will be released to include that.

But if the above CVE is applicable to your application, then you can exclude the default jackson-databind (v2.13.4) and include 2.14..0-rc1 in build.gradle/pom.xml to avoid the above CVE.

PRs / Other Changes

Full Changelog: v0.3.0-beta2...v0.3.0