Skip to content

Releases: hashgraph/hedera-sdk-java

v2.20.0

14 Feb 10:55
26ba653
Compare
Choose a tag to compare

Added

  • TRANSACTION_HAS_UNKNOWN_FIELDS and ACCOUNT_IS_IMMUTABLE in Status

Fixed

  • Misleading logging when an unhealthy node is hit
  • Default mirror node for mainnet is now mainnet-public.mirrornode.hedera.com:443 instead of mainnet-public.mirrornode.hedera.com:5600
  • Default mirror node for testnet is now testnet.mirrornode.hedera.com:443 instead of hcs.testnet.mirrornode.hedera.com:5600
  • Default mirror node for previewnet is now previewnet.mirrornode.hedera.com:443 instead of hcs.previewnet.mirrornode.hedera.com:5600

v2.20.0-beta.1

18 Jan 14:21
Compare
Choose a tag to compare
v2.20.0-beta.1 Pre-release
Pre-release

What's Changed

v2.18.2

29 Nov 09:27
6ac26db
Compare
Choose a tag to compare

Fixed

  • Client.close() now tracks and automatically unsubscribes from Mirror Node Topic Queries

v2.19.0

29 Nov 09:28
f3b2d59
Compare
Choose a tag to compare

Added

  • freezeWith() and sign() to ContractCreateFlow

Fixed

  • Executable.execute(Client client, Duration timeout) now sets gRPC deadline to the underlying gRPC request
  • Transaction sometimes being reported as duplicate when submitting large number of transactions
  • RejectedExecutionException under heavy load
  • nodes not clearing when reusing transaction
  • BIP-39 - unicode mnemonic passphrases are normalized to NFKD
  • Renamed allowanceSpenderAccountId to spenderId in TokenNftInfo

v2.18.1

28 Oct 10:54
a860e75
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.17.4...v2.18.1

v2.18.1-beta.1

04 Oct 00:17
Compare
Choose a tag to compare
v2.18.1-beta.1 Pre-release
Pre-release

Added

  • TransactionResponse.[get|set]ValidateStatus()
  • TransactionReceipt.validateStatus()
  • TransactionRecord.validateReceiptStatus()
  • TransactionReceipt.transactionId
  • TopicUpdateTransaction.[get|set]ExpirationTime()
  • CustomFee.[set|get]AllCollectorsAreExempt()

v2.18.0

04 Oct 00:04
Compare
Choose a tag to compare

2.18.0

Added

  • TransactionResponse.[get|set]ValidateStatus()
  • TransactionReceipt.validateStatus()
  • TransactionRecord.validateReceiptStatus()
  • TransactionReceipt.transactionId
  • TopicUpdateTransaction.[get|set]ExpirationTime()

v2.17.4

19 Sep 20:46
988c92e
Compare
Choose a tag to compare

Added

  • AccountCreateTransaction.[set|get]alias[Key|EvmAddress]()
  • ContractCreateFlow.[set|get]MaxChunks()
  • Status.[to|from]ResponseCode()
  • ContractCreateFlow.[set|get]AutoRenewAccountId()
  • Client now automatically updates the network via a mirror node query at regular intervals. You can set/get the interval with Client.[set|get]NetworkUpdatePeriod()
  • Client can now be set from a NodeAddressBook with Client.setNetworkFromAddressBook()
  • Client.setMirrorTransportSecurity()
  • Client.mirrorIsTransportSecurity()
  • SolidityPrecompileExample
  • Improved PEM file support via PrivateKey.fromPem()

Fixed

  • AccountIds with aliasEvmAddress now serialize/deserialize correctly.
  • TokenCreateTransaction's default fee is now 40 Hbar.
  • validateChecksum(), toStringWithChecksum(), hashCode(), equals(), and compareTo() now function correctly for AccountIds with aliasEvmAddresses.
  • Changed the default transaction fee for AccountCreateTransaction to 5 Hbar.
  • PrivateKey.is[ED25519|ECDSA]() is now correct for ED25519 private keys.
  • Default mirror node for mainnet is now mainnet-public.mirrornode.hedera.com:443 instead of hcs.mainnet.mirrornode.hedera.com:5600

v2.17.3

29 Aug 23:40
Compare
Choose a tag to compare

Fixed

  • Thread leak in Client
  • Client.setTransportSecurity() now updates mirror network

v2.17.2

15 Aug 21:13
Compare
Choose a tag to compare

Added

  • ContractUpdateTransaction.clearStaked[Account|Node]Id()

Deprecated

  • [Contract|Account]CreateTransaction.[set|get]ProxyAccountId() with no replacement
  • ContractCreateFlow.[set|get]ProxyAccountId() with no replacement

Fixed

  • ContractCreateFlow.setMaxAutomaticTokenAssociations()
  • ContractFunctionResult.senderAccountId now serializes correctly
  • CustomRoyaltyFee now clones and toString()s correctly
  • ScheduleCreateTransaction.expirationTime now deserializes correctly
  • ScheduleInfo now deserializes correctly
  • Made StakingInfo.[to|from]Bytes() public
  • TransactionReceipt.topicRunningHash now toString()s correctly
  • TransactionRecord.[prngBytes|prngNumber|tokenNftTransfers] now serializes/deserializes correctly
  • [Account|Contract]UpdateTransaction.getDeclineStakingReward() now returns @Nullable Boolean instead of boolean, and no longer throws a NullPointerException
  • Client.setNodeMaxBackoff()
  • Undeprecate *ContractId.fromSolidityAddress()