Skip to content

v0.5.96

Choose a tag to compare

@jaspertey jaspertey released this 30 Oct 06:18
e93361d

Upgrading

  • Run kit:update plan|apply for core (re-pinned sha256:1cffa6e7…88fa → sha256:ebeba6a1…b131): Kit/Appearance/useAppearance.ts takes the storage fix below. No other stub changes.

Fixed

  • Blocked browser storage no longer leaves the page blank. useAppearance read and wrote localStorage unguarded (in initializeTheme, on mount and in updateAppearance), so where storage throws on access (site data blocked, some private modes) the app never mounted. Every read and write is now guarded: a failed or unrecognised read falls back to system, and a failed write is ignored (the appearance cookie still carries the choice). The other core stubs that use storage (ComputedValueScope.vue, SplitPane.vue/splitState.ts, DataTable.vue, Workbench.vue/workbenchLayout.ts) were already guarded. The browser suite mounts the app with localStorage and sessionStorage throwing.

What's Changed

  • [0.5.x] Guard useAppearance's localStorage access (blank page when storage is blocked) by @jaspertey in #445

Full Changelog: v0.5.95...v0.5.96