Skip to content

Releases: hashgraph/hedera-sdk-java

v2.0.14

02 Sep 03:58
Compare
Choose a tag to compare

Added

  • NftId.[to|from]string() now uses format 1.2.3/4 instead of 1.2.3@4
  • TokenNftInfoQuery.setNftId()

Deprecated

  • TokenNftInfoQuery.byNftId() - Use TokenNftInfoQuery.setNftId() instead
  • TokenNftInfoQuery.byAccountId() with no replacement
  • TokenNftInfoQuery.byTokenId() with no replacement
  • TokenNftInfoQuery.[set|get]Start() with no replacement
  • TokenNftInfoQuery.[set|get]End() with no replacement

v2.0.13

27 Aug 01:51
18b63fb
Compare
Choose a tag to compare

Added

  • Account[Create|Update]Transaction.[get|set]MaxAutomaticTokenAssociations
  • TokenAssociation and TransactionRecord.automaticTokenAssociations
  • AccountInfo.maxAutomaticTokenAssociations
  • TokenRelationship.automaticAssociation
  • New status codes

Fixed

  • TLS connector failing when the networks address book did not have cert hashes

v1.5.1

27 Aug 01:52
Compare
Choose a tag to compare

Added

  • Support for CustomRoyaltyFee
  • AssessedCustomFee.payerAccountIds
  • CustomFractionalFee.assessmentMethod

v2.0.12

19 Aug 07:30
Compare
Choose a tag to compare

Added

  • Support for TLS connections with Hedera Services nodes when network addresses end in 50212 or 443
  • Added FeeAssessmentMethod.
  • Added [get|set]AssessmentMethod() to CustomFractionalFee
  • Added CustomRoyaltyFee
  • Added payerAccountIdList to AssessedCustomFee
  • Added fields to FreezeTransaction
  • Added [min|max]Backoff to Client and Executable

Fixed

  • Bugs in [to|from]Bytes() in TopicUpdateTransaction and TokenUpdateTransaction

Deprecated

  • Deprecated Client.setMax[TransactionFee|QueryPayment](), added Client.setDefaultMax[TransactionFee|QueryPayment]() and Client.getDefaultMax[TransactionFee|QueryPayment]()

v2.0.11

11 Aug 23:37
Compare
Choose a tag to compare

Added

  • ChunkedTransaction.getAllSignatures()

Fixed

  • Transaction.getSignatures() incorrectly building signature list
  • TopicMessageQuery pending messages being discarded on retry
  • ChunkedTransaction.getAllTransactionHashesPerNode() incorrectly building signature map
  • ScheduleInfo.getScheduledTransaction() still not setting max fee appropriately

v2.0.10

04 Aug 23:05
Compare
Choose a tag to compare

Added

  • Client.getRequestTimeout()
  • Client.pingAsync() and Client.pingAllAsync() useful for validating all nodes within the
    network before executing any real request
  • Client.[set|get]MaxAttempts() default max attempts for all transactions
  • Client.[set|get]MaxNodeAttempts() set max attempts to retry a node which returns bad gRPC status
    such as UNAVAILBLE
  • Client.[set|get]NodeWaitTime() change the default delay before attempting a node again which has
    returned a bad gRPC status
  • Client.setAutoValidateChecksums() set whether checksums on ids will be automatically validated upon attempting to execute a transaction or query. Disabled by default. Check status with Client.isAutoValidateChecksumsEnabled()
  • *Id.toString() no longer stringifies with checksums. Use *Id.getChecksum() to get the checksum that was parsed, or use *Id.toStringWithChecksum(client) to stringify with the correct checksum for that ID on the client's network.
  • *Id.validateChecksum() to validate a checksum. Throws new BadEntityIdException
  • Client.[set|get]NetworkName() declare which network this client is connected to, for purposes of checksum validation.
  • CustomFixedFee.[set|get]HbarAmount() makes this fixed fee an Hbar fee of the specified amount
  • CustomFixedFee.setDenominatingTokenToSameToken() this fixed fee will be charged in the same token.

Deprecated

  • *Id.validate() use *Id.validateChecksum() instead

Fixed

  • ScheduleInfo.getTransaction() incorrectly setting max transaction fee to 2 Hbars

v2.0.9

22 Jul 03:34
Compare
Choose a tag to compare

Fixed

  • PrivateKey.legacyDerive() should behave the same as other SDKs

Removed

  • *.addCustomFee() use *.setCustomFees() instead

v1.5.0

22 Jul 03:33
Compare
Choose a tag to compare

Added

  • Implement TokenCreateTransaction.setFeeScheduleKey()

Changes

  • Update Status with new codes

v1.5.0-beta.1

16 Jul 21:41
Compare
Choose a tag to compare
v1.5.0-beta.1 Pre-release
Pre-release

Added

  • Support for NFTS
    • Creating NFT tokens
    • Minting NFTs
    • Burning NFTs
    • Transfering NFTs
    • Wiping NFTs
    • Query NFT information
  • Support for Custom Fees on tokens:
    • Setting custom fees on a token
    • Updating custom fees on an existing token

v2.0.9-beta.2

15 Jul 22:02
Compare
Choose a tag to compare
v2.0.9-beta.2 Pre-release
Pre-release

Fixed

  • TokenUpdateTransaction.clearAutoRenewAccountId()
  • Scheduled TransferTransaction