Versioned Saved State with Migrations
Persisted grid state carries a schema version. Ordered migration functions upgrade older state to the current version when it is loaded. This keeps saved views working across releases of the application.
Planned. This page shows the specification from issue #206. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
Three saved views at versions 1, 2 and 3. The current version is 3.
Expected behavior
Older views are upgraded step by step and the trace is shown. A failing migration loads the default state and reports which step failed.
Planned API surface
stateVersionstateMigrationsloadStatestateMigratedstateMigrationFailedAcceptance criteria
- Migrations run in version order exactly once per load (pending)
- Loading state from a future version is rejected with a clear message (pending)
- The original stored state is never modified by the migration (pending)