Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

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

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps @hashgraph/sdk from 2.60.1 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.60.1 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.60.1...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] <[email protected]>
@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 10:51
@dependabot dependabot bot requested a review from konstantinabl August 26, 2025 10:51
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 26, 2025
@simzzz simzzz merged commit f6dbbf2 into main Sep 2, 2025
98 of 106 checks passed
@simzzz simzzz deleted the dependabot/npm_and_yarn/dapp-example/hashgraph/sdk-2.71.1 branch September 2, 2025 11:23
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.

2 participants