You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Default migrationStep to latest so fresh installs skip migrations (#631)
Previously migrationStep defaulted to 0, forcing every fresh install to
iterate through every migration. Set the default to the latest step (7)
and update other StorageValue defaults to match the post-migration final
state on a fresh install:
- snoozerPosition: .menu -> .position3
- nightscoutPosition: .position3 -> .position4
- remotePosition: .position4 -> .menu
- hasSeenFatProteinOrderChange: false -> true
Add reminder comments at the migrationStep declaration and at the
runMigrationsIfNeeded() block so future authors bump the default and
update affected defaults whenever a new step is added.
0 commit comments