v0.5.0
Key Features
- QuickTx : A new declarative-style API to build and submit transaction
- Annotation Processor : Compile time annotation processor to generate cbor serialization code for POJO. POJO <---> PlutusData
- Backend API Changes:
- A new service
ScriptService
with methods to get
- datum by datum hash (Both Json & Cbor)
- PlutusScript or NativeScript by script hash
- Script cbor for Plutus script and Json for Native Script - A new method in
TransactionService
to get tx redeemers by tx hash. - A new method in
AssetService
to get transactions for an asset.
- A new service
- Koios Java Client 1.17.3
Breaking Changes
- 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
- 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
- New high-level api module (QuickTx) by @satran004 in #248
- 0.5.0 alpha fix by @satran004 in #250
- 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
- fix: Handle when multiple multiassets with same policy id is use… by @satran004 in #273
- feat: Added payMintAssetToAddress / payMintAssetToContract methods by @satran004 in #274
- 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
- chore: Fixed failed tests specific to reference inputs by @satran004 in #281
- Fix #280 : Duplicate OSUtil class in core module by @satran004 in #282
- chore: #280 Removed placeholder.txt to fix error in Android by @satran004 in #283
- Add mergeOutputs option to control whether to merge outputs or not by @satran004 in #290
- fix: #289 Added deprecation notice to high-level apis by @satran004 in #291
- fix: #280 Use guava's UnsignedBytes.lexicographicalComparator to avoi… by @satran004 in #292
- Fix: actually CCL is auto-fixing too large metadata strings, changed … by @matiwinnetou in #294
- fix: #295 Class cast exception during evaluateTx. by @satran004 in #296
- chore: Check if same from address is used in multiple Txs by @satran004 in #297
- Added collectFrom() methods with datum for V1 by @satran004 in #304
- feat: #299 Methods to add required signers by @satran004 in #305
- feat: #301 Added withCollateralInputs() to add specific collateral in… by @satran004 in #306
- chore: Bump guava, jackson, yaci, aiken-java-binding versions by @satran004 in #307
- ScriptTx: Method to add utxo without redeemer by @satran004 in #308
- Added endpoints by @Thomar10 in #312
- feat: #313 Added new methods to get PlutusScript, NativeScript by @satran004 in #314
- Added AssetService.getTransactions, added Tuple.toString + equals & hashCode, change AddressProvider visibility by @stikkos in #315
- fix: 316 checking byte[] type by @satran004 in #317
- fix: #316 Latest supported version should be decided based on runtime… by @satran004 in #321
- Skip Tx evaluation if tx output has negative ada amount by @satran004 in #325
- Add used by 'nftio.io' by @calistrum in #327
- Koios Java Client Upgrade to 1.17.3 by @edridudi in #329
- Enhance annotation processor by @satran004 in #331
- Tests for Annotation processor by @satran004 in #333
New Contributors
- @Thomar10 made their first contribution in #312
- @calistrum made their first contribution in #327
Full Changelog: v0.4.3...v0.5.0