Releases: Concordium/concordium-java-sdk
Releases · Concordium/concordium-java-sdk
v.8.0.0
- Support for Protocol 7
- Added
ProtocolVersion.V7
corresponding to Protocol version 7 - Added
cooldowns
list toAccountInfo
- Added
availableBalance
toAccountInfo
- Made optional the following
BakerPoolStatus
fields:
bakerEquityCapital
,delegatedCapital
,delegatedCapitalCap
,poolInfo
- Added
BakerDelegationRemoved
andDelegationBakerRemoved
transaction result events - Removed previously deprecated encrypted transfers
(EncryptedTransferTransaction
,EncryptedTransferWithMemoTransaction
,TransferToEncryptedTransaction
)
v.7.2.0
- 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
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
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
- 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 methodscreateIdentityRequest
for creating identity requests andcreateIdentityRecoveryRequest
for creating identity recovery requests. - Added
Credential
class exposing methods required to create, sign and sending a credential deployment transaction.
Release 6.0.0
- 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 toGetBlockTransactionEvents
,GetBlockSpecialEvents
andGetBlockPendingUpdates
. - 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
withCommissionRates
that apply for the current reward period. Requires at least node version 6.1. - Implemented custom JSON serialization of
AbstractAddress
to enableAbstractAddress
as a smart contract parameter, and added classListParam
for conveniently using lists of objects,AbstractAddress
,ContractAddress
andAccountAddress
as smart contract parameters. - Added support for creating and serializing smart contract parameters using the abstract class
SchemaParameter
and a providedSchema
.
Release 5.1.0
- 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
- Fix an compilation error that could occur on some jdks.
Release 5.0.1
See CHANGELOG.md
Release 5.0.0
Support for the GRPCV2 API exposed by the node together with some refactorings and bug fixes.
See the changelog for a detailed overview.