Skip to content

Releases: Concordium/concordium-java-sdk

v.8.0.0

25 Sep 14:08
Compare
Choose a tag to compare
  • Support for Protocol 7
  • Added ProtocolVersion.V7 corresponding to Protocol version 7
  • Added cooldowns list to AccountInfo
  • Added availableBalance to AccountInfo
  • Made optional the following BakerPoolStatus fields:
    bakerEquityCapital, delegatedCapital, delegatedCapitalCap, poolInfo
  • Added BakerDelegationRemoved and DelegationBakerRemoved transaction result events
  • Removed previously deprecated encrypted transfers
    (EncryptedTransferTransaction, EncryptedTransferWithMemoTransaction, TransferToEncryptedTransaction)

v.7.2.0

05 Aug 10:59
Compare
Choose a tag to compare
  • Added MessageSigningDigest class to generate digests for message signing
  • Added support for company identity attributes
  • Deprecated encrypted transfers. They are partially removed since protocol version 7

v.7.1.0

18 Mar 12:24
60357e3
Compare
Choose a tag to compare

Release 7.1.0

This release introduces support for web3IdProofs and node helper methods. See below for more details.

  • Removed unnecessary amount parameter from InvokeInstanceRequest.
  • Added utility functions for converting between CCDAmount and Energy. Present in utility class Converter.
  • Fixed a bug in CustomEvent. Removed unnecessary tag field.
  • Added Web3IdProof class with getWeb3IdProof method to create Presentations. (And supporting classes)
  • Added method getFinalizedBlocksFrom for retrieving finalized blocks starting from a given height.
  • Added method getBlocksAtHeight for retrieving live blocks at a given height.
  • Added method findAtLowestHeight for finding the earliest block satisfying some condition.
  • Added method findAccountCreation for finding the block in which an account was created.
  • Fixed an issue where ConcordiumHdWallet.fromSeedPhrase always produced an invalid seed as hex.
  • Added AcceptableRequest class with acceptableRequest and acceptableAtomicStatement to check if a request satisfies wallet rules.

v.7.0.0

15 Feb 10:04
0230aa8
Compare
Choose a tag to compare

Release 7.0.0

This release introduces a Cis2Client dedicated to interfacing with CIS2 compliant smart contracts.
Moreover there are various bug fixes (see below) and lastly a few minor (although breaking) changes to the API with the purpose of making it easier to use the API. See below for more details.

  • Make the energy parameter for invoking an instance Optional.
  • Parse the underlying reject reasons into AccountTransactionDetails.
  • Introduced Cis2Client for interfacing with CIS2 compliant smart contracts.
  • Support for deserializing contract update transactions.
  • Fix a bug where contract invocations used the wrong format for parameters.
  • Fix a bug in the serialization of AccountIndex
  • Fix a bug that caused getAccountInfo to fail for delegator and baker accounts if they had no stake pending changes.
  • Cleanup the API a bit for configure baker transaction by using PartsPerHundredThousands for determining the commission rates.
  • Fix serialization of ConfigureDelegation transaction
  • Remove AccountNonce in favor of just using the Nonce type across the API.
  • Fix a bug in the serialization of AccountIndex
  • Fix a bug that caused getAccountInfo to fail for delegator and baker accounts if they had no stake pending changes. This change is also propagated to the type level such that Baker and AccountDelegation retains an Optional as opposed to just PendingChange.
  • Fix .equals() for AccountInfo such that all fields are used to deduce equality.

Release 6.1.0

02 Feb 13:04
7488808
Compare
Choose a tag to compare
  • Purge remaining usages of V1 GRPC API.
  • Added support for android through an AAR artifact.
  • Added ConcordiumHdWallet class for deriving Concordium specific keys and randomness from a seed phrase.
  • Added Identity class with methods createIdentityRequest for creating identity requests and createIdentityRecoveryRequest for creating identity recovery requests.
  • Added Credential class exposing methods required to create, sign and sending a credential deployment transaction.

Release 6.0.0

12 Dec 12:37
ad9cc53
Compare
Choose a tag to compare
  • Added method waitUntilFinalized for waiting until a given transaction is finalized.
  • Removed deprecated V1 API from the SDK. Consumers of the (now removed) getBlockSummary endpoint should refer to GetBlockTransactionEvents, GetBlockSpecialEvents and GetBlockPendingUpdates.
  • Added support for GRPC V2 GetWinningBakersEpoch for getting a list of bakers that won the lottery in a particular historical epoch. Only available when querying a node with version at least 6.1.
  • Added support for GRPC V2 GetFirstBlockEpoch for getting the block hash of the first finalized block in a specified epoch. Only available when querying a node with version at least 6.1.
  • Added support for GRPC V2 GetBakerEarliestWinTime for getting the projected earliest time at which a particular baker will be required to bake a block. Only available when querying a node woth version at least 6.1.
  • Added support for GRPC V2 GetBakerRewardPeriodInfo for getting all the bakers in the reward period of a block. Only available when querying a node with version at least 6.1.
  • Added support for GRPC V2 GetBlockCertificates for retrieving certificates for a block supporting ConcordiumBF, i.e. a node with at least version 6.1.
  • Extended CurrentPaydayStatus with CommissionRates that apply for the current reward period. Requires at least node version 6.1.
  • Implemented custom JSON serialization of AbstractAddress to enable AbstractAddress as a smart contract parameter, and added class ListParam for conveniently using lists of objects, AbstractAddress, ContractAddress and AccountAddress as smart contract parameters.
  • Added support for creating and serializing smart contract parameters using the abstract class SchemaParameter and a provided Schema.

Release 5.1.0

21 Sep 19:52
fcfd560
Compare
Choose a tag to compare
  • Fixed a regression that made it harder to deserialize transactions from bytes.
  • toString on CCD amount now displays the amount as micro CCD.
  • Fix bug where Details type was not correctly set when querying status of a block item.

Release 5.0.2

19 Sep 06:00
fdff73b
Compare
Choose a tag to compare
  • Fix an compilation error that could occur on some jdks.

Release 5.0.1

18 Sep 11:30
efd92b0
Compare
Choose a tag to compare

See CHANGELOG.md

Release 5.0.0

01 Aug 12:23
432abd3
Compare
Choose a tag to compare

Support for the GRPCV2 API exposed by the node together with some refactorings and bug fixes.
See the changelog for a detailed overview.