Skip to content

v2.69.0-beta.1

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Jul 13:17
· 34 commits to main since this release
f69cd78

What's Changed

This release introduces robust support for dynamic network configuration in browser environments. These enhancements improve SDK reliability, support evolving node infrastructure, and ensure compatibility with mirror node-based discovery mechanisms.

Enhancements

  • Dynamic Address Book Updates in Browser:
    WebClient now supports both manual and automatic updates to the network configuration using data from the Mirror Node API:

    • Use updateNetwork() to manually refresh the list of nodes.
    • Enable scheduleNetworkUpdate: true to automatically refresh the address book on a recurring basis.
  • Mirror Network Initialization:
    Introduced the WebClient.forMirrorNetwork() factory method to initialize clients based on mirror-provided network information. The address book is loaded during initialization for accurate node discovery.

  • Browser-Side Support for AddressBookQuery:
    AddressBookQuery can now be executed in browser contexts, enabling mirror node discovery of grpc_proxy_endpoint values.

  • Browser-Side Support for Smart Contract Queries:
    The following mirror node-based contract queries are now supported in browser environments:

    • MirrorNodeContractCallQuery
    • MirrorNodeContractEstimateQuery
      #3092
  • Fallback Behavior for Production Networks:
    When using Mainnet, Testnet, or Previewnet, the SDK now supports a fallback mechanism:
    If grpc_proxy_endpoint fields are missing or null in the mirror node's address book response, the client will retain and use the hardcoded gRPC web proxy endpoints from the SDK. This ensures stable operation even if the mirror node is misconfigured or incomplete.

Full Changelog: v2.68.0...v2.69.0-beta.1