fix(cache): increment service worker version to force mobile cache refresh

Updated service worker cache version from 0.1.1 to 0.1.2 to force
mobile browsers to invalidate old cached assets. This ensures users
see the latest calendar.js with enhanced error handling.

Also updated version.json to match with relevant changelog entries
for mobile calendar fixes and DeepL integration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
TheFlow 2025-10-24 12:25:40 +13:00
parent f5f514833b
commit ff656dd74d
2 changed files with 8 additions and 12 deletions

View file

@ -5,7 +5,7 @@
* - PWA functionality * - PWA functionality
*/ */
const CACHE_VERSION = '0.1.1'; const CACHE_VERSION = '0.1.2';
const CACHE_NAME = `tractatus-v${CACHE_VERSION}`; const CACHE_NAME = `tractatus-v${CACHE_VERSION}`;
const VERSION_CHECK_INTERVAL = 3600000; // 1 hour in milliseconds const VERSION_CHECK_INTERVAL = 3600000; // 1 hour in milliseconds

View file

@ -1,16 +1,12 @@
{ {
"version": "0.1.1", "version": "0.1.2",
"buildDate": "2025-10-23T23:17:36.828Z", "buildDate": "2025-10-24T00:00:00.000Z",
"changelog": [ "changelog": [
"Blog Validation: ✨ ENHANCED! World-class submission modal with tabbed interface", "Mobile: Fixed calendar page loading issues with enhanced error handling",
"Blog Validation: Overview tab with article preview and progress tracking", "Cache: Service worker v0.1.2 - FORCE REFRESH for mobile cache fix",
"Blog Validation: Documents tab with live word counts and auto-save", "Admin: Improved API error reporting for calendar stats and tasks",
"Blog Validation: Validation tab with publication-specific rules and export", "Backend: DeepL translation API integrated for multilingual submissions"
"Blog Validation: CSP-compliant architecture with event delegation",
"API: New endpoints - by-blog-post lookup, update submission, export package",
"Backend: Multilingual document versioning support",
"Cache: Service worker v1.8.5 - FORCE REFRESH for new modal"
], ],
"forceUpdate": true, "forceUpdate": true,
"minVersion": "1.8.0" "minVersion": "0.1.2"
} }