Releases: hashgraph/hedera-sdk-java
Releases · hashgraph/hedera-sdk-java
v2.20.0
Added
TRANSACTION_HAS_UNKNOWN_FIELDS
andACCOUNT_IS_IMMUTABLE
inStatus
Fixed
- Misleading logging when an unhealthy node is hit
- Default mirror node for mainnet is now
mainnet-public.mirrornode.hedera.com:443
instead ofmainnet-public.mirrornode.hedera.com:5600
- Default mirror node for testnet is now
testnet.mirrornode.hedera.com:443
instead ofhcs.testnet.mirrornode.hedera.com:5600
- Default mirror node for previewnet is now
previewnet.mirrornode.hedera.com:443
instead ofhcs.previewnet.mirrornode.hedera.com:5600
v2.20.0-beta.1
What's Changed
- Support for HIP-583
v2.18.2
v2.19.0
Added
freezeWith()
andsign()
toContractCreateFlow
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 loadnodes
not clearing when reusing transaction- BIP-39 - unicode mnemonic passphrases are normalized to NFKD
- Renamed allowanceSpenderAccountId to spenderId in TokenNftInfo
v2.18.1
What's Changed
- chore: remove references to ExecutableProcessor from taskfile by @Sean-Tedrow-LB in #1145
- chore(deps): bump slf4j-nop from 2.0.0 to 2.0.2 by @dependabot in #1153
- chore(deps): bump slf4j-simple from 2.0.0 to 2.0.2 by @dependabot in #1152
- chore(deps): bump slf4j-nop from 2.0.2 to 2.0.3 by @dependabot in #1156
- chore(deps): bump slf4j-simple from 2.0.2 to 2.0.3 by @dependabot in #1157
- chore(deps): bump slf4j-api from 2.0.0 to 2.0.3 by @dependabot in #1155
- chore(deps): bump junit-jupiter-engine from 5.9.0 to 5.9.1 by @dependabot in #1151
- chore(deps): bump nullaway from 0.10.0 to 0.10.2 by @dependabot in #1149
- chore(deps): bump protoc from 3.21.5 to 3.21.6 by @dependabot in #1140
- chore(deps): bump grpc-core from 1.49.0 to 1.49.1 by @dependabot in #1138
- chore(deps): bump grpc-netty-shaded from 1.49.0 to 1.49.1 by @dependabot in #1136
- chore(deps): bump grpc-stub from 1.49.0 to 1.49.1 by @dependabot in #1134
- chore(deps): bump protoc-gen-grpc-java from 1.49.0 to 1.49.1 by @dependabot in #1133
- Chore/Feat: Do a lot of things by @Sean-Tedrow-LB in #1158
- Test: Improve code coverage to 77% by @Sean-Tedrow-LB in #1159
- Doc: Alias unsupported by @Sean-Tedrow-LB in #1171
- fix: remove logging when unsubscribing from TopicMessageQuery by @dikel in #1179
- Fix: execute can ignore timeout and block indefinitely by @dikel in #1188
- chore(deps): bump protoc from 3.21.6 to 3.21.7 by @dependabot in #1161
- chore(deps): bump bcpkix-jdk15to18 from 1.71 to 1.72 by @dependabot in #1163
- chore(deps): bump junit-jupiter-params from 5.9.0 to 5.9.1 by @dependabot in #1165
- chore(deps): bump bcprov-jdk15to18 from 1.71 to 1.72 by @dependabot in #1166
- chore(deps): bump com.google.protobuf from 0.8.19 to 0.9.1 by @dependabot in #1180
- chore(deps): bump jabel-javac-plugin from 0.4.2 to 1.0.0 by @dependabot in #1183
- chore(deps): bump grpc-stub from 1.49.1 to 1.50.0 by @dependabot in #1184
- chore(deps): bump protoc-gen-grpc-java from 1.49.1 to 1.50.0 by @dependabot in #1186
- chore(deps): bump grpc-netty-shaded from 1.49.1 to 1.50.0 by @dependabot in #1187
- chore(deps): bump protoc-gen-grpc-java from 1.50.0 to 1.50.2 by @dependabot in #1192
- chore(deps): bump grpc-netty-shaded from 1.50.0 to 1.50.2 by @dependabot in #1193
- chore(deps): bump grpc-core from 1.49.1 to 1.50.2 by @dependabot in #1194
- chore(deps): bump grpc-stub from 1.50.0 to 1.50.2 by @dependabot in #1195
- chore: try fixing the Sonar code coverage by @dikel in #1197
- test: Add HIP-573 example by @dikel in #1191
- HIP 564 - Zero token operations Example + ContractHelper bytecode loa… by @nikola-genov in #1190
- Example HIP-542 #1170 by @nikola-genov in #1204
- Improve android example by @dikel in #1173
- chore: prepare for 2.17.5 release by @dikel in #1208
- chore: fix deployment by @dikel in #1211
Full Changelog: v2.17.4...v2.18.1
v2.18.1-beta.1
Added
TransactionResponse.[get|set]ValidateStatus()
TransactionReceipt.validateStatus()
TransactionRecord.validateReceiptStatus()
TransactionReceipt.transactionId
TopicUpdateTransaction.[get|set]ExpirationTime()
CustomFee.[set|get]AllCollectorsAreExempt()
v2.18.0
2.18.0
Added
TransactionResponse.[get|set]ValidateStatus()
TransactionReceipt.validateStatus()
TransactionRecord.validateReceiptStatus()
TransactionReceipt.transactionId
TopicUpdateTransaction.[get|set]ExpirationTime()
v2.17.4
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
withClient.setNetworkFromAddressBook()
Client.setMirrorTransportSecurity()
Client.mirrorIsTransportSecurity()
SolidityPrecompileExample
- Improved PEM file support via
PrivateKey.fromPem()
Fixed
AccountId
s withaliasEvmAddress
now serialize/deserialize correctly.TokenCreateTransaction
's default fee is now 40 Hbar.validateChecksum()
,toStringWithChecksum()
,hashCode()
,equals()
, andcompareTo()
now function correctly forAccountId
s withaliasEvmAddress
es.- 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 ofhcs.mainnet.mirrornode.hedera.com:5600
v2.17.3
Fixed
- Thread leak in
Client
Client.setTransportSecurity()
now updates mirror network
v2.17.2
Added
ContractUpdateTransaction.clearStaked[Account|Node]Id()
Deprecated
[Contract|Account]CreateTransaction.[set|get]ProxyAccountId()
with no replacementContractCreateFlow.[set|get]ProxyAccountId()
with no replacement
Fixed
ContractCreateFlow.setMaxAutomaticTokenAssociations()
ContractFunctionResult.senderAccountId
now serializes correctlyCustomRoyaltyFee
now clones andtoString()
s correctlyScheduleCreateTransaction.expirationTime
now deserializes correctlyScheduleInfo
now deserializes correctly- Made
StakingInfo.[to|from]Bytes()
public TransactionReceipt.topicRunningHash
nowtoString()
s correctlyTransactionRecord.[prngBytes|prngNumber|tokenNftTransfers]
now serializes/deserializes correctly[Account|Contract]UpdateTransaction.getDeclineStakingReward()
now returns@Nullable Boolean
instead ofboolean
, and no longer throws aNullPointerException
Client.setNodeMaxBackoff()
- Undeprecate
*ContractId.fromSolidityAddress()