Releases: GridPlus/gridplus-sdk
Releases · GridPlus/gridplus-sdk
v4.0.0
🚀 Major Features
EIP-7702 Support
- feat: Add support for EIP-7702 (delegation transactions)
- Add comprehensive EIP-7702 serialization tests
- Update transaction schemas and validators
Bitcoin Enhancements
- feat: Add Bitcoin xpub support
- feat: Add x/y/zpub helper functions
- Fix address offset calculation
- Improve Bitcoin address derivation and validation
ESM Adoption
- feat: Adopt Pure ESM build with Vite 7 and Vitest 3
- Adopt ES modules for better tree-shaking and modern JavaScript compatibility
- Add module interoperability tests for both CJS and ESM
Viem Integration
- feat: Migrate from ethers.js to viem for Ethereum interactions
- Add viem signed transaction helper
- Improve EVM test compatibility with Lattice simulator
- Update transaction parsing and validation utilities
Documentation
- docs: Comprehensive v4.0.0 documentation update
- Add migration guide from v3 to v4
- Update signing documentation with new examples
- Enhance address documentation
- Improve calldata decoding tutorials
🐛 Bug Fixes
- fix: Correct address comparison in personal message signing
- fix: Fix address offset calculation
- fix: Fix issues with EIP-712
vparameter - fix: Fix ESM imports for secp256k1
- fix: Fix parse derivation path
- fix: Fix issue with fetching addresses by derivation path
- fix: Fix types in ESM projects
- fix: Add istanbul code coverage and remove unreferenced transaction-parsing utils
- fix: Resolve all ESLint warnings
🔄 Refactoring
- refactor: Standardize test seed usage and remove deprecated test infrastructure
- Migrate from ethers.js to viem throughout codebase
- Update transaction parsing utilities
- Improve code organization and structure
- Remove unused imports and dead code
📊 Statistics
- 115 files changed
- 10,852 insertions(+), 5,907 deletions(-)
- Major version bump: v3.x.x → v4.0.0
⚠️ Breaking Changes
This release includes breaking changes. Please refer to the migration guide for details on upgrading from v3 to v4.
Key Breaking Changes:
- Migration from ethers.js to viem
- Updated API signatures for signing operations
- Changes to transaction parsing and validation
🔗 Related Issues & PRs
This release consolidates work from multiple PRs including:
v3.4.0
v3.3.0
v3.2.0
v3.1.1
v3.1.0
v3.0.1
v3.0.0
What's Changed
- adds client interoperability for apis by @netbonus in #577
- adds async client state by @mrcnk in #576
- swaps out .d.ts files .ts files by @netbonus in #578
- automatically fetches calldata from
sign()by @netbonus in #579 - updates build system by @netbonus in #580
- swaps cbor lib for bignumber handling by @netbonus in #582
New Contributors
Full Changelog: v2.7.0...v3.0.0