Skip to content

Releases: hiero-ledger/hiero-sdk-go

v2.1.11

22 Jul 05:37
Compare
Choose a tag to compare

Removed

  • *.AddCustomFee() use *.SetCustomFees() instead

Changes

  • Update Status with new codes

Fixes

  • PrivateKey.LegacyDerive() should correctly handle indicies

v2.1.11-beta.1

09 Jul 05:03
Compare
Choose a tag to compare
v2.1.11-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.1.10

01 Jul 01:22
Compare
Choose a tag to compare

Added

  • All requests should retry on gRPC error INTERNAL if the message contains RST_STREAM
  • AccountBalance.Tokens as a replacement for AccountBalance.Token
  • AccountBalance.TokenDecimals
  • All transactions will now sign-on-demand which should result in improved performance

Fixed

  • TopicMessageQuery not calling Unsubscribe when a stream is cancelled
  • TopicMessageQuery should add 1 nanosecond to the StartTime of the last received message
  • TopicMessageQuery allocate space for entire chunked message ahead of time
    for retries
  • TokenDeleteTransaction.SetTokenID() incorrectly setting tokenID resulting in GetTokenID() always returning an empty TokenID
  • TransferTransaction.GetTokenTransfers() incorrectly setting an empty value

Deprecated

  • AccountBalance.Token use AccountBalance.Tokens instead

v2.1.9

26 Jun 00:44
Compare
Choose a tag to compare

Fixed

  • Client.SetMirroNetwork() producing a nil pointer exception on next use of a mirror network
  • Mirror node TLS no longer producing nil pointer exception

v2.1.8

25 Jun 08:22
Compare
Choose a tag to compare

Added

  • Support TLS for mirror node connections.
  • Support for entity ID checksums which are validated whenever a request begins execution.
    This includes the IDs within the request, the account ID within the transaction ID, and
    query responses will contain entity IDs with a checksum for the network the query was executed on.

Fixed

  • TransactionTransaction.AddHbarTransfer() incorrectly determine total transfer per account ID

v2.1.7

12 Jun 02:23
Compare
Choose a tag to compare

Fixed

  • TopicMessageQuery.maxBackoff was not being used at all
  • TopicMessageQuery.limit was being incorrectly update with full TopicMessages rather than per chunk
  • TopicMessageQuery.startTime was not being updated each time a message was received
  • TopicMessageQuery.completionHandler was be called at incorrect times

v2.1.6

11 Jun 02:41
Compare
Choose a tag to compare

Added

  • Exposed Hbar.Negated()
  • Support for MaxBackoff, MaxAttempts, RetryHandler, and CompletionHandler in TopicMessageQuery
  • Default logging behavior to TopicMessageQuery if an error handler or completion handler was not set

Fixed

  • Renamed ScheduleInfo.Signers -> ScheduleInfo.Signatories
  • TopicMessageQuery retry handling; this should retry on more gRPC errors
  • TopicMessageQuery max retry timeout; before this would could wait up to 4m with no feedback
  • durationFromProtobuf() incorrectly calculation duration
  • *Token.GetAutoRenewPeriod() and *Token.GetExpirationTime() nil dereference
  • Hbar.As() using multiplication instead of division, and should return a float64

v2.1.5

30 Apr 03:22
Compare
Choose a tag to compare

v2.1.5

  • Scheduled transaction support: ScheduleCreateTransaction, ScheduleDeleteTransaction, and ScheduleSignTransaction
  • Non-Constant Time Comparison of HMACs [NCC-E001154-006]
  • Decreased CHUNK_SIZE 4096->1024 and increased default max chunks 10->20

v0.9.4

30 Apr 03:15
Compare
Choose a tag to compare

v0.9.4

Added

  • Scheduled transaction support: ScheduleCreateTransaction, ScheduleSignTransaction, and ScheduleSignTransaction

Fixed

  • Decreased CHUNK_SIZE 4096->1024 and increased default max chunks 10->20

v2.1.5-beta.5

23 Apr 01:58
Compare
Choose a tag to compare
v2.1.5-beta.5 Pre-release
Pre-release

Fixed

  • Non-Constant Time Comparison of HMACs [NCC-E001154-006]
  • Decreased CHUNK_SIZE 4096->1024 and increased default max chunks 10->20
  • Renamed ScheduleInfo.GetTransaction() -> ScheduleInfo.getScheduledTransaction()