Skip to content

Releases: hiero-ledger/hiero-sdk-js

v2.64.0-beta.1

30 Apr 12:55
f11a803
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.63.0...v2.64.0-beta.1

v2.63.0

17 Apr 09:14
5d5c465
Compare
Choose a tag to compare

This release introduces various enhancements to the Hedera JavaScript SDK, including improved browser support, extended ECDSA functionality, better error handling, and internal optimizations.

Enhancements

  • UMD Browser Support: Added a UMD example demonstrating usage of the SDK in browser environments. #3028

  • PrivateKey Recovery ID Calculation: Added PrivateKey.getRecoveryId(r, s, message) method to enable recovery ID (v) calculation from raw ECDSA signature components. This addition allows developers to compute the recovery ID directly, enabling full support for signing and serializing Ethereum transactions (including EIP-155) within the SDK. It enhances compatibility with external Ethereum clients and tooling. #3021

  • Ethereum Address Example: Added an example demonstrating how to sign and recover Ethereum addresses using the Hedera SDK, Ethereum-style signature hashing (EIP-191), and the ecrecover contract. #3029

  • Dynamic Protobuf Generation: Implemented dynamic generation of RequestType.js and Status.js by parsing protobuf definitions. #3018

  • Improved Query Reliability: Enhanced reliability of getReceiptQuery and getRecordQuery, which are single-node requests. These queries now retry up to 10 times with a delay when encountering node-specific issues (e.g., "All nodes are unhealthy") to handle transient network or node health problems more gracefully. #3038

  • Internal Code Optimization: Extracted _makePaymentTransaction function used by both Query and CostQuery for initiating payment transactions. #3017

Bug Fixes

  • TopicUpdateTransaction Bug: Fixed a bug in TopicUpdateTransaction related to the handling of feeExemptKeys and customFees properties when they are unset. Previously, the transaction would include empty arrays for these fields, unintentionally clearing existing values on the topic. This change ensures that unset properties are treated as null, preserving existing topic configurations. #3031

Removed

  • Removed MyHbarWallet gRPC web proxies. #3053

Documentation

  • Updated README.md to reflect support for the UMD package. #3028

v2.63.0-beta.1

02 Apr 11:49
f22107e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.62.0...v2.63.0-beta.1

v2.62.0

01 Apr 13:17
eca814c
Compare
Choose a tag to compare

What's changed

This release enhances account alias handling in the SDK and introduces new testing and documentation improvements for contract queries and transaction verification. It also includes development dependency upgrades to maintain compatibility and security.

Enhancements

  • Improved Account Alias Handling: Added support for hollow account detection (num=0 with alias) in AccountId. This ensures more accurate handling of aliases and improves protobuf conversion logic.

  • Protobuf Conversion Updates: Enhanced AccountId behavior with more explicit conversion rules for:

    • Both AccountId number and alias set
    • Only alias set
    • Only number set
      Comprehensive test coverage has been included.
      Contributed by @ivaylonikolov7 in #2994

Documentation

  • Mirror Node Contract Queries: Added usage documentation to help developers correctly configure sender addresses using ECDSA keys and aliases in contract queries.
    Contributed by @ivaylonikolov7 in #2993

Tests

  • PublicKey Verification: Added unit tests for PublicKey.verifyTransaction, ensuring correct behavior in signature verification.
    Contributed by @0xivanov in #2971

Dependency Upgrades

  • Development Dependencies:
    • Upgraded chromedriver from 133.0.3 to 134.0.5 (including in the cryptography package)
    • Upgraded sinon from 19.0.2 to 20.0.0
    • Upgraded vite from 6.1.0 to 6.1.3 (including in the cryptography package)
    • Upgraded axios from 1.7.7 to 1.8.2 in `/examples/simple_rest_signature_p

Full Changelog: v2.61.0...v2.62.0

v2.62.0-beta.3

31 Mar 13:21
92e69a5
Compare
Choose a tag to compare

This release adds support for generating UMD build files to allow the library to be used directly in browsers via CDN distribution.

Added

  • Generation of UMD build files (dist/) for browser compatibility, enabling direct script usage in HTML.
  • UMD files are available for easy CDN hosting via unpkg.com, simplifying integration and deployment in web projects.

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

v2.62.0-beta.2

25 Mar 16:43
d21c8cb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.62.0-beta.1...v2.62.0-beta.2

v2.62.0-beta.1

20 Mar 14:51
c519342
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.61.0...v2.62.0-beta.1

v2.61.0

18 Mar 16:32
ffe09f1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.60.1...v2.61.0

v2.61.0-beta.2

12 Mar 10:19
df4658f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.60.1...v2.61.0-beta.2

v2.60.1

04 Mar 16:29
9005ceb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.60.0...v2.60.1