Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 26, 2025

Bumps @hashgraph/sdk from 2.69.0 to 2.71.1.

Release notes

Sourced from @​hashgraph/sdk's releases.

v2.71.1

What's Changed

Full Changelog: hiero-ledger/hiero-sdk-js@v2.71.0...v2.71.1

v2.71.0

What's Changed

This release introduces enhancements for async client initialization across both web and native (React Native / Expo) environments, support for HIP-1046, and stricter validations across multiple APIs. These updates improve client reliability, developer experience, and transaction safety.

Enhancements

  • setStakedAccountId and setStakedNodeId are now explicitly mutually exclusive. Setting one clears the other.

  • setTransferAccountId and setTransferContractId are now explicitly mutually exclusive. Setting one clears the other.

  • Async Client Initialization (WebClient):
    Added new async initialization methods that fetch the latest address book during setup unless explicitly disabled via scheduleNetworkUpdate = false:

    • WebClient.forMainnetAsync()
    • WebClient.forTestnetAsync()
    • WebClient.forPreviewnetAsync()
    • WebClient.forNameAsync(name)
  • Async Client Initialization (NativeClient):
    Added async initialization methods for React Native / Expo users, also defaulting to auto-updating the address book:

    • NativeClient.forMainnetAsync()
    • NativeClient.forTestnetAsync()
    • NativeClient.forPreviewnetAsync()
    • NativeClient.forNameAsync(networkName)
  • HIP-1046 Support: Enabled in native environments, expanding protocol support. HIP-1046.

  • Contract Deletion:
    Implemented permanentRemoval in ContractDeleteTransaction, enabling permanent contract deletion behavior.

  • Contract Updates:
    Added ability to remove the auto-renew account in ContractUpdateTransaction by setting it to 0.0.0.

  • Contract Creation:
    Validation added to reject gas < 0 in ContractCreateTransaction.

  • Validation Improvements:
    Added validations in hex.js to reject invalid hex string decoding.

  • Networking (Native Clients):
    Native clients now attempt to retrieve node addresses from mirror nodes before falling back to hardcoded values in web environments.

Bug Fixes

  • Fixed a bug where an error status triggered the error callback twice.

... (truncated)

Changelog

Sourced from @​hashgraph/sdk's changelog.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

v2.71.0

Added

  • Async client initialization support for WebClient to allow fetching the latest address book during setup:

    • WebClient.forMainnetAsync()
    • WebClient.forTestnetAsync()
    • WebClient.forPreviewnetAsync()
    • WebClient.forNameAsync(name) #3274

    These methods default to performing an address book update unless scheduleNetworkUpdate is explicitly set to false, improving client reliability.

  • Async client initialization for NativeClient (intended for React Native / Expo users), allowing automatic address book updates at instantiation time. #3285

    • NativeClient.forMainnetAsync()
    • NativeClient.forTestnetAsync()
    • NativeClient.forPreviewnetAsync()
    • NativeClient.forNameAsync(networkName)

    These methods fetch the latest address book unless scheduleNetworkUpdate is explicitly set to false.

  • Support for HIP-1046 (HIP Link): Enabled in native environments to expand protocol capabilities. #3283

  • Implemented permanentRemoval in ContractDeleteTransaction, enabling permanent contract deletion behavior. #3304

  • Added ability to remove auto-renew account in ContractUpdateTransaction by setting it to 0.0.0.

  • Added validation in ContractCreateTransaction to reject gas values less than 0.

  • Added validations in hex.js to reject invalid hex string decoding. #3299

Changed

  • Native clients (React Native / Expo) now attempt to retrieve node addresses from mirror nodes before falling back to hardcoded values in Web environments. #3283
  • Made setStakedAccountId and setStakedNodeId explicitly mutually exclusive. Setting one clears the other.
  • Made setTransferAccountId and setTransferContractId explicitly mutually exclusive. Setting one clears the other. #3299

Fixed

  • Fixed a bug where an error status triggered the error callback twice. #3280

v2.71.0-beta.0

Added

  • Added maxAutomaticTokenAssociations property with integration test #3289

v2.70.0

⚠️ Important Notice
Starting from this version (v2.70.0), we will be releasing all packages under both the @hiero-ledger and @hashgraph namespaces for a transitional period.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@hashgraph/sdk](https://github.com/hiero-ledger/hiero-sdk-js) from 2.69.0 to 2.71.1.
- [Release notes](https://github.com/hiero-ledger/hiero-sdk-js/releases)
- [Changelog](https://github.com/hiero-ledger/hiero-sdk-js/blob/main/CHANGELOG.md)
- [Commits](hiero-ledger/hiero-sdk-js@v2.69.0...v2.71.1)

---
updated-dependencies:
- dependency-name: "@hashgraph/sdk"
  dependency-version: 2.71.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 26, 2025
@dependabot dependabot bot requested review from a team as code owners August 26, 2025 11:23
@dependabot dependabot bot requested a review from acuarica August 26, 2025 11:23
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 26, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 2, 2025

Superseded by #4337.

@dependabot dependabot bot closed this Sep 2, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/tools/whbar-hardhat-example/hashgraph/sdk-2.71.1 branch September 2, 2025 13:17
Copy link

codecov bot commented Sep 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

❗ There is a different number of reports uploaded between BASE (a98ec25) and HEAD (af4dcb5). Click for more details.

HEAD has 42 uploads less than BASE
Flag BASE (a98ec25) HEAD (af4dcb5)
config-service 2 0
37 1
relay 2 0
server 1 0
ws-server 1 0
@@             Coverage Diff             @@
##             main    #4316       +/-   ##
===========================================
- Coverage   95.61%   72.98%   -22.63%     
===========================================
  Files         121      121               
  Lines       19936    19936               
  Branches     1732      669     -1063     
===========================================
- Hits        19061    14551     -4510     
- Misses        849     5363     +4514     
+ Partials       26       22        -4     
Flag Coverage Δ
config-service ?
relay ?
server ?
ws-server ?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 64 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant