Skip to content

Releases: hiero-ledger/hiero-sdk-js

v2.82.0

27 Mar 11:09
65ea72b

Choose a tag to compare

What's Changed

This release adds string support for pending airdrop transactions, migrates to ethers v6 to eliminate known security vulnerabilities, updates key dependencies, and fixes a bug in node update transactions.

Enhancements

  • String support for PendingAirdropId: The PendingAirdropId constructor and setter methods (setSenderId, setReceiverId, setTokenId, setNftId) now accept string inputs in addition to object instances. Strings are converted internally using fromString(). #3844

    Usage Example:

    const airdropId = new PendingAirdropId({
        senderId: "0.0.1234",
        receiverId: "0.0.5678",
        tokenId: "0.0.9012",
    });
    
    // Or using setters
    airdropId.setSenderId("0.0.1234");
    airdropId.setReceiverId("0.0.5678");
  • Migration to ethers v6: Ethers v5 contained transitive dependencies (e.g. elliptic) with known security vulnerabilities that would not be fixed upstream. Migrating to ethers v6 resolves these entirely. #3870

Bug Fixes

  • NodeUpdateTransaction description clearing: Fixed a bug where executing a NodeUpdateTransaction without explicitly setting the description field would inadvertently clear the node's existing description. #3889

Dependency Changes

  • Upgraded bignumber.js from 9.1.1 to 10.0.2. #3807
  • Migrated ethers from v5 to v6. #3870
  • Upgraded typescript from 5.7.2 to 5.9.3 (dev dependency). #3871
  • Upgraded @types/node from 24.0.8 to 25.5.0 (dev dependency). #3871

New Contributors

Full Changelog: v2.81.0...v2.82.0

v2.81.0

13 Mar 15:34
000f784

Choose a tag to compare

This release includes a fix for inconsistent handling of multiple transaction bodies within the SDK. The update ensures transactions are built and processed consistently, improving reliability when serializing and verifying transactions.

Bug Fixes

  • Multiple Transaction Bodies Inconsistency: Fixed an issue where transactions could contain inconsistent or mismatched transaction bodies during processing or serialization. The SDK now ensures a single consistent transaction body is used throughout the transaction lifecycle, preventing unexpected validation or verification errors. #3832

Full Changelog: v2.80.0...v2.81.0

v2.81.0-beta.1

20 Feb 14:33
40e60fc

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.80.0...v2.81.0-beta.1

v2.80.0

21 Jan 18:53
e245eaa

Choose a tag to compare

What's Changed

This release focuses on improving correctness and stability in time handling and node health management, addressing edge cases that could lead to incorrect date decoding and excessive node backoff under high concurrency.

Bug Fixes

  • 64-bit Timestamp Overflow: Fixed an issue where validStart and expirationTime (Unix seconds represented as 64-bit values) were incorrectly converted using Long.toInt(). For timestamps greater than 2^32−1 seconds (e.g., year 2125), this caused overflow and incorrect decoding (e.g., decoding as 1988). ExchangeRate and ExpirationTime now correctly preserve 64-bit values. #3641

  • Node Health Backoff Race Condition: Fixed a race condition in node health handling where concurrent failures could repeatedly increase backoff and mark a node unhealthy for an excessive duration. Backoff is now only increased when the node is healthy, preventing runaway backoff under high concurrency. #3647

Full Changelog: v2.79.0...v2.80.0

v2.80.0-beta.3

14 Jan 07:38
fa520c5

Choose a tag to compare

What's Changed

Full Changelog: v2.80.0-beta.2...v2.80.0-beta.3

v2.80.0-beta.2

13 Jan 17:27
6020323

Choose a tag to compare

What's Changed

  • chore(deps): bump actions/checkout from 5.0.0 to 6.0.1 by @dependabot[bot] in #3562
  • chore(deps): bump renovatebot/github-action from 44.2.2 to 44.2.3 by @dependabot[bot] in #3611
  • chore(deps): bump dotenv from 16.6.1 to 17.2.3 in /examples by @dependabot[bot] in #3606
  • chore(deps): bump express from 4.21.2 to 4.22.0 in /examples/simple_rest_signature_provider by @dependabot[bot] in #3561
  • chore(deps-dev): bump chromedriver from 142.0.0 to 143.0.3 by @dependabot[bot] in #3607
  • chore(deps): bump next from 15.4.8 to 15.4.10 in /examples/frontend-examples by @dependabot[bot] in #3585
  • chore(deps): bump actions/download-artifact from 6.0.0 to 7.0.0 by @dependabot[bot] in #3588
  • chore: upgrade prettier from 3.6.2 to 3.7.1 by @lfdt-bot in #3594
  • chore(deps): bump actions/setup-node from 5.0.0 to 6.1.0 by @dependabot[bot] in #3565
  • chore(deps): bump step-security/conventional-pr-title-action from 3.2.4 to 3.2.5 by @dependabot[bot] in #3473
  • chore: upgrade eslint from 9.23.0 to 9.39.1 by @lfdt-bot in #3555
  • chore(deps): bump codecov/codecov-action from 5.5.0 to 5.5.1 by @dependabot[bot] in #3342
  • chore: upgrade typedoc from 0.25.13 to 0.28.15 by @lfdt-bot in #3598
  • chore: security upgrade @hiero-ledger/sdk from 2.79.0-beta.12 to 2.79.0 by @lfdt-bot in #3618
  • chore: upgrade express from 4.21.2 to 4.22.1 by @lfdt-bot in #3599
  • chore(deps): bump actions/setup-java from 5.0.0 to 5.1.0 by @dependabot[bot] in #3569
  • chore(deps-dev): bump eslint-plugin-jsdoc from 46.10.1 to 61.5.0 in /examples by @dependabot[bot] in #3604
  • chore(deps-dev): bump eslint-plugin-compat from 4.2.0 to 6.0.2 in /examples by @dependabot[bot] in #3601
  • feat(TCK): implement TokenNFTInfoQuery endpoint by @mariodimitrovv in #3617
  • feat(TCK): implement ScheduleInfoQuery endpoint by @mariodimitrovv in #3592
  • feat(TCK): implement FileInfoQuery endpoint by @mariodimitrovv in #3583
  • chore(deps-dev): bump @types/node from 20.19.25 to 25.0.3 in /examples by @dependabot[bot] in #3603
  • chore(deps-dev): bump protobufjs-cli from 1.0.2 to 2.0.0 in /packages/proto by @dependabot[bot] in #3605
  • feat: integrate solo startup in sdk by @venilinvasilev in #3614
  • feat: use pnpm link for linking packages by @venilinvasilev in #3610
  • chore(release): v2.80.0-beta.1 by @venilinvasilev in #3628
  • chore(release): v2.80.0-beta.1 by @venilinvasilev in #3629
  • chore(release): v2.80.0-beta.2 by @venilinvasilev in #3630

Full Changelog: v2.79.0...v2.80.0-beta.2

v2.79.0

07 Jan 14:07
0f0f23d

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.78.0...v2.79.0

v2.79.0-beta.13

12 Dec 14:11
d172600

Choose a tag to compare

What's Changed

Full Changelog: v2.78.0...v2.79.0-beta.13

v2.79.0-beta.9

09 Dec 19:50
v2.79.0-beta.9
ff76d42

Choose a tag to compare

v2.79.0-beta.7

09 Dec 19:21
v2.79.0-beta.7
e843e36

Choose a tag to compare

What's Changed

  • chore(deps): bump renovatebot/github-action from 43.0.17 to 44.0.5 by @dependabot[bot] in #3560
  • chore: [StepSecurity] Apply security best practices by @stepsecurity-app[bot] in #3557
  • feat(TCK): implement AccountInfoQuery endpoint by @mariodimitrovv in #3533
  • feat: implement ContractCallQuery endpoint by @mariodimitrovv in #3540
  • feat(TCK): implement ContractByteCodeQuery endpoint by @mariodimitrovv in #3545

Full Changelog: v2.78.0...v2.79.0-beta.7