Skip to content

Releases: hashgraph/hedera-sdk-java

v2.9.0

01 Mar 01:18
Compare
Choose a tag to compare

Added

  • owner field to *Allowance classes.
  • Executable.[set|get]GrpcDeadline()

Fixed

  • AccountAllowanceAdjustTransaction now deserializes correctly with Transaction.fromBytes()

v2.9.0-beta.1

15 Feb 02:28
Compare
Choose a tag to compare
v2.9.0-beta.1 Pre-release
Pre-release

Added

  • owner field to *Allowance classes.
  • Executable.[set|get]GrpcDeadline()

Fixed

  • AccountAllowanceAdjustTransaction now deserializes correctly with Transaction.fromBytes()

v2.8.0

15 Feb 02:29
Compare
Choose a tag to compare

Added

  • CREATE2 Solidity addresses can now be represented by a ContractId with evmAddress set.
  • ContractId.fromEvmAddress()
  • ContractFunctionResult.stateChanges
  • ContractFunctionResult.evmAddress
  • ContractStateChange
  • StorageChange
  • New response codes.
  • ChunkedTransaction.[set|get]ChunkSize(), and changed default chunk size for FileAppendTransaction to 2048.

Fixed

  • TransactionId.setRegenerateTransactionId()
  • Transaction.execute(client, timeout)

Deprecated

  • ContractId.fromSolidityAddress(), use ContractId.fromEvmAddress() instead.

v2.8.0-beta.1

01 Feb 03:15
Compare
Choose a tag to compare
v2.8.0-beta.1 Pre-release
Pre-release

Added

  • CREATE2 Solidity addresses can now be represented by a ContractId with evmAddress set.
  • ContractId.fromEvmAddress()
  • ContractFunctionResult.stateChanges
  • ContractFunctionResult.evmAddress
  • ContractStateChange
  • StorageChange
  • New response codes.
  • ChunkedTransaction.[set|get]ChunkSize(), and changed default chunk size for FileAppendTransaction to 2048.
  • AccountAllowance[Adjust|Approve]Transaction
  • AccountInfo.[hbar|token|tokenNft]Allowances
  • [Hbar|Token|TokenNft]Allowance
  • [Hbar|Token|TokenNft]Allowance
  • TransferTransaction.set[Hbar|Token|TokenNft]TransferApproval()

Fixed

  • TransactionId.setRegenerateTransactionId()
  • Transaction.execute(client, timeout)

Deprecated

  • ContractId.fromSolidityAddress(), use ContractId.fromEvmAddress() instead.

v2.7.0

01 Feb 03:16
Compare
Choose a tag to compare

Added

  • Support for regenerating transaction IDs on demand if a request
    responsed with TRANSACITON_EXPIRED

v2.7.0-beta.1

19 Jan 02:38
Compare
Choose a tag to compare
v2.7.0-beta.1 Pre-release
Pre-release

Added

  • Support for regenerating transaction IDs on demand if a request
    responsed with TRANSACITON_EXPIRED

v2.6.0

19 Jan 02:38
Compare
Choose a tag to compare

Added

  • LedgerId
  • Client.[set|get]LedgerId()
  • TransferTransaction.addTokenTransferWithDecimals(), TransferTransaction.getTokenIdDecimals().
  • ledgerId fields in AccountInfo, ContractInfo, FileInfo, ScheduleInfo, TokenInfo, TokenNftInfo, and TopicInfo
  • UNEXPECTED_TOKEN_DECIMALS response code.
  • PublicKey.verifyTransaction() should use the correct protobuf field per key type
  • AccountId.aliasKey, including AccountId.[to|from]String() support.
  • [PublicKey|PrivateKey].toAccountId().
  • aliasKey fields in TransactionRecord and AccountInfo.
  • nonce field in TransactionId, including TransactionId.[set|get]Nonce()
  • children fields in TransactionRecord and TransactionReceipt
  • duplicates field in TransactionReceipt
  • [TransactionReceiptQuery|TransactionRecordQuery].[set|get]IncludeChildren()
  • TransactionReceiptQuery.[set|get]IncludeDuplicates()
  • New response codes.
  • Support for ECDSA SecP256K1 keys.
  • PrivateKey.generate[ED25519|ECDSA]()
  • [Private|Public]Key.from[Bytes|String][DER|ED25519|ECDSA]()
  • [Private|Public]Key.to[Bytes|String][Raw|DER]()
  • DelegateContractId to easily distingish between having a ContractId and DelegateContractId for a key

Deprecated

  • NetworkName, Client.[set|get]NetworkName(), user LedgerId and Client.[set|get]LedgerId() instead.
  • PrivateKey.generate(), use PrivateKey.generate[ED25519|ECDSA]() instead.

v2.6.0-beta.3

04 Jan 04:07
Compare
Choose a tag to compare
v2.6.0-beta.3 Pre-release
Pre-release

Added

  • LedgerId
  • Client.[set|get]LedgerId()
  • TransferTransaction.addTokenTransferWithDecimals(), TransferTransaction.getTokenIdDecimals().
  • ledgerId fields in AccountInfo, ContractInfo, FileInfo, ScheduleInfo, TokenInfo, TokenNftInfo, and TopicInfo
  • UNEXPECTED_TOKEN_DECIMALS response code.

Deprecated

  • NetworkName, Client.[set|get]NetworkName(), user LedgerId and Client.[set|get]LedgerId() instead.

v2.6.0-beta.2

21 Dec 02:30
Compare
Choose a tag to compare
v2.6.0-beta.2 Pre-release
Pre-release

Fixed

  • PublicKey.verifyTransaction() should use the correct protobuf field per key type

v2.6.0-beta.1

21 Dec 00:48
Compare
Choose a tag to compare
v2.6.0-beta.1 Pre-release
Pre-release

Added

  • AccountId.aliasKey, including AccountId.[to|from]String() support.
  • [PublicKey|PrivateKey].toAccountId().
  • aliasKey fields in TransactionRecord and AccountInfo.
  • nonce field in TransactionId, including TransactionId.[set|get]Nonce()
  • children fields in TransactionRecord and TransactionReceipt
  • duplicates field in TransactionReceipt
  • [TransactionReceiptQuery|TransactionRecordQuery].[set|get]IncludeChildren()
  • TransactionReceiptQuery.[set|get]IncludeDuplicates()
  • New response codes.
  • Support for ECDSA SecP256K1 keys.
  • PrivateKey.generate[ED25519|ECDSA]()
  • [Private|Public]Key.from[Bytes|String][DER|ED25519|ECDSA]()
  • [Private|Public]Key.to[Bytes|String][Raw|DER]()

Deprecated

  • PrivateKey.generate(), use PrivateKey.generate[ED25519|ECDSA]() instead.