Skip to content

v1.1.2 - Fix SignalEffectException in Authentication

Choose a tag to compare

@pillowsoft pillowsoft released this 02 Jan 03:36
· 17 commits to main since this release

🐛 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 _restoreAuthState branches

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 import
  • pubspec.yaml - Version 1.1.2
  • CHANGELOG.md - Release notes

Full Changelog

See CHANGELOG.md for complete details.