From 4d594f58e511d1a3e719cddc13cd74b62dbe3506 Mon Sep 17 00:00:00 2001 From: ekke Date: Tue, 23 Jun 2026 13:37:23 +0000 Subject: [PATCH] =?UTF-8?q?Service=20Worker=20v10=20=E2=86=92=20v11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Evicts the stale shell + module caches at the next deploy so existing clients pick up the permit-iframe auth-required card, the new X-Frame-Options strip, and the import-UX refinements (parse spinner, client_uuid tagging, geometry/delete persistence, sample values + Unicode-bold field names in the mapping dropdown). Co-Authored-By: Claude Opus 4.7 (1M context) --- dist/sw.js | 8 +++++++- public/sw.js | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/dist/sw.js b/dist/sw.js index 03079c0..7e0a591 100644 --- a/dist/sw.js +++ b/dist/sw.js @@ -39,7 +39,13 @@ // staged-upload payload with user_id_upload from SSO); GIS export from // Area/Circle Analysis popups (GeoJSON / SHP via shp-write / KML, with // field-rename modal). New hashed bundle + shp-write chunk. -const CACHE_VERSION = 'v10'; +// v11: Permit-iframe hardening (in-iframe auth-required card replacing the +// 302 redirect, X-Frame-Options strip at both .htaccess and PHP layers); +// import-flow UX refinements (parse spinner, per-feature client_uuid +// tagging, geometry-edit + delete persistence to the staging tables, +// sample values + Unicode-bold field names in the mapping dropdown). +// New hashed bundle + updated embed.php shell. +const CACHE_VERSION = 'v11'; const SHELL_CACHE = `shell-${CACHE_VERSION}`; const MODULES_CACHE = `modules-${CACHE_VERSION}`; const API_CACHE = `api-${CACHE_VERSION}`; diff --git a/public/sw.js b/public/sw.js index 03079c0..7e0a591 100644 --- a/public/sw.js +++ b/public/sw.js @@ -39,7 +39,13 @@ // staged-upload payload with user_id_upload from SSO); GIS export from // Area/Circle Analysis popups (GeoJSON / SHP via shp-write / KML, with // field-rename modal). New hashed bundle + shp-write chunk. -const CACHE_VERSION = 'v10'; +// v11: Permit-iframe hardening (in-iframe auth-required card replacing the +// 302 redirect, X-Frame-Options strip at both .htaccess and PHP layers); +// import-flow UX refinements (parse spinner, per-feature client_uuid +// tagging, geometry-edit + delete persistence to the staging tables, +// sample values + Unicode-bold field names in the mapping dropdown). +// New hashed bundle + updated embed.php shell. +const CACHE_VERSION = 'v11'; const SHELL_CACHE = `shell-${CACHE_VERSION}`; const MODULES_CACHE = `modules-${CACHE_VERSION}`; const API_CACHE = `api-${CACHE_VERSION}`;