TxnLab / use-wallet

A framework agnostic wallet integration library for Algorand dApps
https://txnlab.gitbook.io/use-wallet
MIT License
82 stars 34 forks source link

feat(*): migrate to algosdk v3.0.0 #314

Closed drichar closed 2 weeks ago

drichar commented 3 weeks ago

Description

This PR initiates the v4.0.0 release by migrating from algosdk v2 to v3. This is a breaking change that requires updates to transaction handling across all packages, establishing the foundation for additional v4 changes.

See the official migration guide for details about the underlying SDK changes.

⚠️ Important: Projects consuming this library will need to update their algosdk dependency to ^3.0.0 as it is a required peer dependency for compatibility with v4.

Details

drichar commented 3 weeks ago

Reviews welcome! I'll leave this PR open for ~24-48 hours, which is hopefully enough time to get some eyeballs on it before merging.

Tagging a few contributors but anyone is welcome to submit a review.

@SilentRhetoric @PhearZero @acfunk @kieranroneill @gabrielkuettel

After merging, I'll publish pre-release packages so developers can test v4's breaking changes in their projects.

Thanks! 🙏

drichar commented 2 weeks ago

The first beta release of v4.0.0 is now available! 🎉

To test the new version in your project, upgrade the appropriate framework adapter using the "beta" tag, e.g.,

npm install @txnlab/use-wallet@beta
yarn upgrade @txnlab/use-wallet@beta
pnpm update @txnlab/use-wallet@beta
bun update @txnlab/use-wallet@beta

Obviously, make sure you have algosdk v3.0.0 installed as it's now a required peer dependency. Please try it out and let me know if you encounter any issues! 🙏