Repository navigation
v1.1.2 - Fix SignalEffectException in Authentication
🐛 Bug Fixes
- Fixed SignalEffectException during authentication operations - Wrap multi-signal updates in
batch()to prevent reactive cycles - Applied fix to 6 locations:
signOut,verifyMagicCode,signIn,signUp, and both_restoreAuthStatebranches
What Changed
This patch release resolves reactive dependency cycle errors that occurred when updating currentUser and isAuthenticated signals sequentially. Using batch() ensures atomic updates without triggering intermediate effect cycles.
Files Changed
lib/src/services/authentication_service.dart- Added batch() wrappers and signals_core importpubspec.yaml- Version 1.1.2CHANGELOG.md- Release notes
Full Changelog
See CHANGELOG.md for complete details.