🚀 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: