Releases: hashgraph/hedera-sdk-java
Releases · hashgraph/hedera-sdk-java
v2.0.14
Added
NftId.[to|from]string()
now uses format1.2.3/4
instead of1.2.3@4
TokenNftInfoQuery.setNftId()
Deprecated
TokenNftInfoQuery.byNftId()
- UseTokenNftInfoQuery.setNftId()
insteadTokenNftInfoQuery.byAccountId()
with no replacementTokenNftInfoQuery.byTokenId()
with no replacementTokenNftInfoQuery.[set|get]Start()
with no replacementTokenNftInfoQuery.[set|get]End()
with no replacement
v2.0.13
Added
Account[Create|Update]Transaction.[get|set]MaxAutomaticTokenAssociations
TokenAssociation
andTransactionRecord.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
Added
- Support for
CustomRoyaltyFee
AssessedCustomFee.payerAccountIds
CustomFractionalFee.assessmentMethod
v2.0.12
Added
- Support for TLS connections with Hedera Services nodes when network addresses end in
50212
or443
- Added
FeeAssessmentMethod
. - Added
[get|set]AssessmentMethod()
toCustomFractionalFee
- Added
CustomRoyaltyFee
- Added
payerAccountIdList
toAssessedCustomFee
- Added fields to
FreezeTransaction
- Added
[min|max]Backoff
toClient
andExecutable
Fixed
- Bugs in [to|from]Bytes() in
TopicUpdateTransaction
andTokenUpdateTransaction
Deprecated
- Deprecated
Client.setMax[TransactionFee|QueryPayment]()
, addedClient.setDefaultMax[TransactionFee|QueryPayment]()
andClient.getDefaultMax[TransactionFee|QueryPayment]()
v2.0.11
Added
ChunkedTransaction.getAllSignatures()
Fixed
Transaction.getSignatures()
incorrectly building signature listTopicMessageQuery
pending messages being discarded on retryChunkedTransaction.getAllTransactionHashesPerNode()
incorrectly building signature mapScheduleInfo.getScheduledTransaction()
still not setting max fee appropriately
v2.0.10
Added
Client.getRequestTimeout()
Client.pingAsync()
andClient.pingAllAsync()
useful for validating all nodes within the
network before executing any real requestClient.[set|get]MaxAttempts()
default max attempts for all transactionsClient.[set|get]MaxNodeAttempts()
set max attempts to retry a node which returns bad gRPC status
such asUNAVAILBLE
Client.[set|get]NodeWaitTime()
change the default delay before attempting a node again which has
returned a bad gRPC statusClient.setAutoValidateChecksums()
set whether checksums on ids will be automatically validated upon attempting to execute a transaction or query. Disabled by default. Check status withClient.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 newBadEntityIdException
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 amountCustomFixedFee.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
Fixed
PrivateKey.legacyDerive()
should behave the same as other SDKs
Removed
*.addCustomFee()
use*.setCustomFees()
instead
v1.5.0
Added
- Implement
TokenCreateTransaction.setFeeScheduleKey()
Changes
- Update
Status
with new codes
v1.5.0-beta.1
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
Fixed
TokenUpdateTransaction.clearAutoRenewAccountId()
- Scheduled
TransferTransaction