authorgravatar for crazywolf132@gmail.com0x1f99d <crazywolf132@gmail.com> 2026-03-09 14:39:41+11:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-03-08 20:39:41-07:00
log412331aa61a9a38d61f17755d67ed0f8212920d2
treea9fdc446bd206642de97cb038046a23625ddf15c
parentcd1c3df89cfa681622292f7f2a9777f81f8e2f10
signature Signed by PGP key B5690EEEBB952194

fix(web): add missing v7 key to legacy localStorage cleanup list (#594)

When the persisted state key was bumped from v7 to v8 in 689dda59, the v7 key was not added to LEGACY_PERSISTED_STATE_KEYS. Users who ran the app during the ~3-week v7 window retain a stale `t3code:renderer-state:v7` entry in localStorage that is never cleaned up.

1 files changed, 1 insertions(+), 0 deletions(-)

apps/web/src/store.ts+1
...@@ -25,6 +25,7 @@ export interface AppState {...@@ -25,6 +25,7 @@ export interface AppState {
2525
26const PERSISTED_STATE_KEY = "t3code:renderer-state:v8";26const PERSISTED_STATE_KEY = "t3code:renderer-state:v8";
27const LEGACY_PERSISTED_STATE_KEYS = [27const LEGACY_PERSISTED_STATE_KEYS = [
28 "t3code:renderer-state:v7",
28 "t3code:renderer-state:v6",29 "t3code:renderer-state:v6",
29 "t3code:renderer-state:v5",30 "t3code:renderer-state:v5",
30 "t3code:renderer-state:v4",31 "t3code:renderer-state:v4",