Skip to content

Releases: TxnLab/use-wallet

v4.1.0

09 May 20:18
Compare
Choose a tag to compare

Changes

Features

  • feat(lute): add signData capability for wallet authentication by @acfunk in #365

Other Changes

  • refactor(examples): remove global shim for Pera Connect in Vite by @acfunk in #368
  • docs(gitbook): add ARC-60 data signing guide with Lute wallet by @drichar in #366

Full Changelog: v4.0.1...v4.1.0

Packages

v4.0.1

01 Apr 20:59
Compare
Choose a tag to compare

Changes

Fixes

  • fix(deps): update peerDependency of use-wallet-react to support react 19.0.0 by @birdmanmandbir in #354

Other Changes

  • docs(gitbook): sync v4 docs from GitBook by @drichar in #357
  • chore(deps): update dependency algosdk to v3.2.0 by @renovate in #349
  • chore(deps): update dependency jsdom to v26 by @renovate in #352
  • chore(deps): update dependency eslint-config-prettier to v10 by @renovate in #351
  • chore(deps): update dependency typescript to v5.8.2 by @renovate in #340
  • chore(deps): update dependency pnpm to v9.15.9 by @renovate in #348
  • chore(deps): update dependency vitest to v3 by @renovate in #355
  • chore(deps): update non-major dependencies by @renovate in #350
  • lute-connect 1.5.1 by @acfunk in #356
  • chore(deps): update wallet dependencies by @renovate in #341
  • chore(deps): lock file maintenance by @renovate in #342

New Contributors

Full Changelog: v4.0.0...v4.0.1

Packages

v4.0.0

13 Feb 20:23
Compare
Choose a tag to compare

Summary

Version 4.0.0 introduces several major improvements and breaking changes, building upon the framework-agnostic foundation established in v3.x.

Major Changes

Breaking Changes

  • Migration to algosdk v3
  • New network configuration system
  • Remove Liquid Auth (Experimental) provider
  • Remove Pera Connect v2 (Beta) provider
  • Update local storage key for v4

New Features

  • Network Configuration
    • Enable runtime connection to custom Algorand nodes
    • Add NetworkConfigBuilder for custom network configurations
  • Wallet Providers
    • Add Defly Web (Beta) extension wallet provider
    • Add auto-connect support for Pera Discover browser

Bug Fixes & Improvements

  • Ensure consistent wallet interface across framework adapters
  • Update wallet dependencies:
    • @blockshake/defly-connect to v1.2.1
    • @perawallet/connect to v1.4.1

Documentation

Full documentation is available at: https://txnlab.gitbook.io/use-wallet/

See the Migration Guide for help upgrading from v3.x.

Packages

v4.0.0-beta.6

30 Jan 17:57
Compare
Choose a tag to compare
v4.0.0-beta.6 Pre-release
Pre-release

Changes

  • fix(core): export NetworkConfigBuilder class by @drichar in #345

Full Changelog: v4.0.0-beta.5...v4.0.0-beta.6

Packages

Install

You can use the beta tag to install the latest v4.0.0 beta version in your project, e.g.,

npm install @txnlab/use-wallet@beta

v4.0.0-beta.5

22 Jan 08:41
Compare
Choose a tag to compare
v4.0.0-beta.5 Pre-release
Pre-release

Changes

Features

  • feat(network): enable runtime connection to custom Algorand nodes by @drichar in #339

Other Changes

  • refactor(liquid): remove Liquid Auth provider by @drichar in #337
  • refactor(network): remove name property and improve network ID types by @drichar in #338
  • chore(core): update local storage key for v4 by @drichar in 72e0c23

Note: This beta release also includes all changes from v3.11.1 and v3.12.0 that were merged from the main branch. See the v3.11.1 and v3.12.0 release notes for details.

⚠️ BREAKING CHANGES

This beta release introduces a new useNetwork hook that contains network-related functionality previously returned by useWallet. If you're upgrading from an earlier v4 beta version, you'll need to update your imports and usage of:

  • activeNetwork
  • setActiveNetwork

which have been moved to useNetwork.

For example:

// Before (v4.0.0-beta.4 and earlier)
const { activeNetwork, setActiveNetwork } = useWallet()
// After (v4.0.0-beta.5)
const { activeNetwork, setActiveNetwork } = useNetwork()

This change only affects projects using earlier v4 beta versions. For detailed implementation examples, please refer to the commit history and files changed in #339

Documentation for the new network configuration features is in progress and will be included in the final v4.0.0 release.

Full Changelog: v4.0.0-beta.4...v4.0.0-beta.5

Packages

Install

You can use the beta tag to install the latest v4.0.0 beta version in your project, e.g.,

npm install @txnlab/use-wallet@beta

v3.12.0

17 Jan 04:48
Compare
Choose a tag to compare

Changes

Features

  • feat(react): return isReconnecting from useWallet by @stefanofa in #330
  • feat(*): replace isReconnecting with unified isReady state by @drichar in #335

Test Updates

  • test(e2e): add examples and docs for end-to-end testing by @No-Cash-7970 in #331
  • test(react): fix React testing warnings with proper act() usage by @drichar in #336

Other Changes

  • chore(deps): update wallet dependencies by @drichar in #333
  • chore(deps): update non-major dependencies, refactor test configs by @drichar in #334
  • chore(deps): update dependency vite to v6.0.7 by @renovate in #325
  • chore(deps): update dependency typescript to v5.7.2 by @renovate in #320
  • chore(deps): update dependency pnpm to v9.15.4 by @renovate in #328
  • chore(deps): lock file maintenance by @renovate in #327

Full Changelog: v3.11.1...v3.12.0

Packages

v4.0.0-beta.4

09 Jan 15:25
Compare
Choose a tag to compare
v4.0.0-beta.4 Pre-release
Pre-release

Changes

Dependencies

  • chore(deps): bump @blockshake/defly-connect from 1.1.6 to 1.2.0 by @drichar in cd914bf
  • chore(deps): bump @perawallet/connect from 1.3.5 to 1.4.0 by @drichar in dac46a2
  • fix(deps): update Defly Connect and Pera Connect to latest versions by @drichar in b12d2e3

Other Changes

Full Changelog: v4.0.0-beta.3...v4.0.0-beta.4

Packages

Install

You can use the beta tag to install the latest v4.0.0 beta version in your project, e.g.,

npm install @txnlab/use-wallet@beta

v3.11.1

18 Dec 22:57
Compare
Choose a tag to compare

Changes

Bug Fixes

  • fix(wallets): prevent WalletConnect v1 session data collision by @drichar in #329

Full Changelog: v3.11.0...v3.11.1

Packages

v4.0.0-beta.3

07 Dec 07:08
Compare
Choose a tag to compare
v4.0.0-beta.3 Pre-release
Pre-release

Changes

Features

  • feat(pera): add auto-connect for Pera Discover browser by @drichar in #323

Note: This beta release also includes all changes from v3.10.1 and v3.11.0 that were merged from the main branch. See the v3.10.1 and v3.11.0 release notes for details.

Full Changelog: v4.0.0-beta.2...v4.0.0-beta.3

Packages

Install

You can use the beta tag to install the latest v4.0.0 beta version in your project, e.g.,

npm install @txnlab/use-wallet@beta

v3.11.0

07 Dec 06:43
Compare
Choose a tag to compare

Changes

Features

  • feat(*): add custom password prompt for KMD and Mnemonic by @PatrickDinh in #322

Other Changes

Full Changelog: v3.10.1...v3.11.0

Packages