Skip to content

V52.2: vite-plugin-pwa 2, service worker output unchanged - #116

Merged
dapiced merged 1 commit into
mainfrom
claude/labml-improvements-ipscw1
Oct 9, 2026
Merged

dapiced merged 1 commit into
mainfrom
claude/labml-improvements-ipscw1

Conversation

@dapiced

@dapiced dapiced commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Summary

Second of V52's three major upgrades.

Release notes for 2.0.0. They list two consumer-facing changes:

  • Node 20.19 is now the minimum. V52.1 already raised our floor to 22.12.
  • @vite-pwa/assets-generator 2 is now accepted as a peer. LabML does not use it.

Measured, not assumed. A broken service worker only shows up later, in visitors' browsers. So I built the same commit with 1.3.0 and with 2.0.0 and compared what each build produces:

1.3.0 2.0.0
Precache entries 98 98
Precache size 5 675.73 KiB 5 675.73 KiB
Precached URLs — identical set
sw.js — identical once revision hashes are masked
Workbox runtime workbox-2ff6bd68.js workbox-2ff6bd68.js
manifest.webmanifest — byte-identical

No PWA option changes. README and site docs do not mention the plugin version, so they are unchanged. PLAN.md has a V52.2 row, and CHANGELOG.md is regenerated.

Test plan

  • e2e/offline.spec.ts: the whole lab works offline after the first visit (Chromium)
  • e2e/smoke.spec.ts, e2e/routing.spec.ts
  • src/app unit tests, including the update prompt (ReloadPrompt)
  • lint, typecheck, format:check, build, npm audit gates
  • CI

🤖 Generated with Claude Code

https://claude.ai/code/session_01ELAjHYDyxa5zbbdcke1bMA


Generated by Claude Code

- vite-plugin-pwa 1.3.0 -> 2.0.0 (release notes: Node 20.19 floor,
  assets-generator 2 peer; neither affects this project)
- same build compared on 1.3.0 and 2.0.0: 98 precache entries and
  5675.73 KiB in both, same URLs, sw.js identical modulo revision
  hashes, same workbox runtime file, byte-identical web manifest
- offline e2e and update-prompt unit tests pass unchanged
- PLAN/CHANGELOG: V52.2 delivered

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ELAjHYDyxa5zbbdcke1bMA
@dapiced
dapiced marked this pull request as ready for review October 9, 2026 11:54
@dapiced
dapiced merged commit b8ad12e into main Oct 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants