Skip to content

Releases: hiero-ledger/hiero-sdk-go

v2.13.0-beta.1

05 Apr 06:35
75fa92d
Compare
Choose a tag to compare
v2.13.0-beta.1 Pre-release
Pre-release

Added

  • AccountAllowanceDeleteTransaction
  • ContractFunctionResult.[gas|hbarAmount|contractFunctionParametersBytes]
  • AccountAllowanceExample
  • ScheduleTransferExample

Deprecated

  • AccountAllowanceAdjustTransaction.revokeTokenNftAllowance() with no replacement.
  • AccountAllowanceApproveTransaction.AddHbarApproval(), use ApproveHbarAllowance() instead.
  • AccountAllowanceApproveTransaction.ApproveTokenApproval(), use GrantTokenNftAllowance() instead.
  • AccountAllowanceApproveTransaction.ApproveTokenNftApproval(), use ApproveTokenNftAllowance() instead.

v2.12.0

05 Apr 06:33
b91bd3b
Compare
Choose a tag to compare

Added

  • AccountInfoFlowVerify[Signature|Transaction]()
  • Client.[Set|Get]NodeMinReadmitPeriod()
  • Support for using any node from the entire network upon execution
    if node account IDs have no been locked for the request.
  • Support for all integer widths for ContractFunction[Result|Selector|Params]

Fixed

  • Ledger ID checksums
  • TransactionFromBytes() should validate all the transaction bodies are the same

Changed

  • Network behavior to follow a more standard approach (remove the sorting we
    used to do).

v2.12.0-beta.1

22 Mar 10:43
Compare
Choose a tag to compare
v2.12.0-beta.1 Pre-release
Pre-release

Added

  • AccountInfoFlowVerify[Signature|Transaction]()
  • Client.[Set|Get]NodeMinReadmitPeriod()
  • Support for using any node from the entire network upon execution
    if node account IDs have no been locked for the request.
  • Support for all integer widths for ContractFunction[Result|Selector|Params]

Fixed

  • Ledger ID checksums
  • TransactionFromBytes() should validate all the transaction bodies are the same

Changed

  • Network behavior to follow a more standard approach (remove the sorting we
    used to do).

v2.11.0

22 Mar 10:41
Compare
Choose a tag to compare

Added

  • ContractCreateFlow
  • Query.[Set|Get]PaymentTransactionID
  • Verbose logging using zerolog
  • *[Transaction|Query].[Set|Get]GrpcDeadline()
  • TransactionRecord.[hbar|Token|TokenNft]AllowanceAdjustments
  • TransferTransaction.AddApproved[Hbar|Token|Nft]Transfer()
  • AccountAllowanceApproveTransaction.Approve[Hbar|Token|TokenNft]Allowance()
  • AccountAllowanceAdjustTransaction.[Grant|Revoke][Hbar|Token|TokenNft]Allowance()
  • AccountAllowanceAdjustTransaction.[Grant|Revoke]TokenNftAllowanceAllSerials()

Fixed

  • HbarAllowance.OwnerAccountID, wasn't being set.
  • Min/max backoff for nodes should start at 8s to 60s
  • The current backoff for nodes should be used when sorting inside of network
    meaning nodes with a smaller current backoff will be prioritized
  • TopicMessageQuery start time should have a default

Deprecated

  • AccountUpdateTransaction.[Set|Get]AliasKey

Removed

  • Account[Approve|Adjust]AllowanceTransaction.Add[Hbar|Token|TokenNft]AllowanceWithOwner()

v2.11.0-beta.1

01 Mar 06:47
Compare
Choose a tag to compare
v2.11.0-beta.1 Pre-release
Pre-release

Added

  • ContractCreateFlow
  • Account[Approve|Adjust]AllowanceTransaction.add[Hbar|Token|TokenNft]AllowanceWithOwner()
  • Query.[Set|Get]PaymentTransactionID
  • Verbose logging using zerolog
  • *[Transaction|Query].[Set|Get]GrpcDeadline()

Fixed

  • HbarAllowance.OwnerAccountID, wasn't being set.
  • Min/max backoff for nodes should start at 8s to 60s
  • The current backoff for nodes should be used when sorting inside of network
    meaning nodes with a smaller current backoff will be prioritized

Deprecated

  • AccountUpdateTransaction.[Set|Get]AliasKey

v2.10.0

01 Mar 06:47
Compare
Choose a tag to compare

Added

  • owner field to *Allowance.
  • Added free AddressBookQuery.

Fixed

  • Changed mirror node port to correct one, 443.
  • Occasional ECDSA invalid length error.
  • ContractIDFromString() now sets EvmAddress correctly to nil, when evm address is not detected

v2.10.0-beta.1

15 Feb 07:08
50fd0a2
Compare
Choose a tag to compare
v2.10.0-beta.1 Pre-release
Pre-release

Added

  • owner field to *Allowance.
  • Added free AddressBookQuery.

Fixed

  • Changed mirror node port to correct one, 443.

v2.9.0

15 Feb 07:06
37a762e
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.
  • AccountAllowance[Adjust|Approve]Transaction
  • AccountInfo.[hbar|token|tokenNft]Allowances
  • [Hbar|Token|TokenNft]Allowance
  • [Hbar|Token|TokenNft]Allowance
  • TransferTransaction.set[Hbar|Token|TokenNft]TransferApproval()

Fixed

  • Requests not cycling though nodes.
  • Free queries not attempting to retry on different nodes.

Deprecated

  • ContractId.FromSolidityAddress(), use ContractId.FromEvmAddress() instead.
  • ContractFunctionResult.CreatedContractIDs.

v2.9.0-beta.2

14 Feb 19:24
Compare
Choose a tag to compare
v2.9.0-beta.2 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

  • Requests not cycling though nodes.
  • Free queries not attempting to retry on different nodes.

Deprecated

  • ContractId.FromSolidityAddress(), use ContractId.FromEvmAddress() instead.
  • ContractFunctionResult.CreatedContractIDs.

v2.9.0-beta.1

01 Feb 04:22
e54c32f
Compare
Choose a tag to compare
v2.9.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

  • Requests not cycling though nodes.
  • Free queries not attempting to retry on different nodes.

Deprecated

  • ContractId.FromSolidityAddress(), use ContractId.FromEvmAddress() instead.
  • ContractFunctionResult.CreatedContractIDs.