2.7.6
Flow Wallet Extension 2.7.6 Release Notes
Version 2.7.6 includes improvements to wallet unlocking functionality, dApp connection handling, UI enhancements, and developer experience improvements. This release focuses on fixing critical issues with wallet unlocking and permission checks, while also adding useful features for development and debugging.
🔒 Wallet Unlock & Authentication Improvements
- Fixed wallet unlock flow: Updated the unlock process to properly navigate to the index page after successful unlock instead of blindly resolving approvals
- Added loading spinner to unlock button: Provides visual feedback during the unlock process
- Improved PrivateRoute component: Now checks if the route matches before checking if the wallet is unlocked, preventing unnecessary authentication checks
- Enhanced permission checks: Updated provider controller to wait for async
Wallet.isUnlocked()
method - Fixed notification handling: No longer clears notifications after unlock
🔌 dApp Connection Improvements
- Improved RPC flow: Refactored the RPC flow to better handle permission checks and wallet connection states
- Fixed ethAccounts method: Marked as SAFE and now properly handles not being logged in
- Reduced unnecessary popups: Fixed issues where the wallet was popping up when visiting certain dApps
- Enhanced debugging: Added console logging for RPC flow to aid in troubleshooting
💼 Wallet Experience Improvements
- Fixed address display: Now preserves ERC-55 formatting instead of converting to lowercase
- Improved wallet loading states:
- Disabled copy address button until loaded
- Updated skeletons on Menu and main wallet tab for better loading experience
- Removed NFT skeletons that weren't working well
- Fixed React issues: Corrected React issues on repeat phrase component
🛠️ Developer Experience Improvements
- Environment badge:
- Added pill on the header to indicate deployment environment (dev, staging, local)
- Badge links to GitHub comparison showing changes since the last tag
- Added environment badge to extension icon
- Build improvements:
- Added dev-ci build commands for CI environments
- Updated CI workflow to use dev build
- Now creates the dev env file during build
- Git workflow improvements:
- Added Husky script to auto-append issue numbers to commit messages
- Refactored environment badge handling and workflow tag fetching
🐛 Bug Fixes
- Fixed dApp connection issue: As above fixes issues when logging into opensea and other dApps when the wallet is locked
- Fixed wallet refresh: Updated
refreshWallets
to include setup of logged-in accounts - Added assertions: Added checks to ensure the user is logged in before attempting to load wallets
- Fixed wallet loading: Checks if main wallet is loaded in key places (fixes issue #643)
- Updated tests: Modified tests to mock
isUnlocked
method
🧹 Code Cleanup
- Removed outdated files: Cleaned up .d.ts files in iconfont
- Improved component consistency: Updated CoinsIcon and unified across components
- Cleaned up settings page: Ensured consistent spacing and alignment for icons
- Added documentation: Added comments explaining code functionality in various components