From d2f21823f7f47965e5fe221e56914fecf78ea240 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Tue, 15 Jun 2021 16:17:00 +0100 Subject: [PATCH] In-progress changelog Former-commit-id: a8d7a3b5947cc64fad8b1695ec041c16fe57ddbd [formerly 3dc25fc7b8ee9d744017556b8554fbe70f3b8371] [formerly 0e98927973adb6760e61720c9d7d3e59df5a32de] [formerly 0bf2866e6c908b7be9218e352b9eea54c7d32d5f [formerly c1381c56f546cf49e7bde53e8a26d355578e6e95 [formerly 02d89a09a73d192fdbe3b42b789f511976ad3aa8]]] Former-commit-id: bace291a60e5a70c90dd91f927199885b6dc38ea [formerly 5e4a6d63284aa6d530a6ceddd21354102b099e8c [formerly 49cfeac819cdf917ab92e2a186aca040dd33df6b]] Former-commit-id: 7efe4cbb2393188b26a153650b1a1de2154bf31f [formerly 6f4e1565decea18e79b2d87887f6b6e1b13f63f3] Former-commit-id: ba435078b8178a7d70542f4bafb6aae58cb6336f --- CHANGELOG.md | 9 ++++++++- pwabuilder-sw.js | 2 +- www/js/init.js | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c17e6c7..0966d074 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Changelog -## Critical bugix release 1.4.1 +## In progress log for 1.4.2-RC1 + +* ENHANCEMENT: Add a Content Security Policy preventing contents of a page from connecting to online resourcs +* FIX: Crash in UWP app after updating a ZIM archive +* FIX: Improve handover from local code to PWA code to prevent rogue error message +* FIX: Improve page composition timing for non-MS browsers + +## Release 1.4.1 * FIX: Critical bug where article is not unhidden in time on slow systems in jQuery mode * FIX: Issues with dark mode in Gutenberg ZIMs using SW mode diff --git a/pwabuilder-sw.js b/pwabuilder-sw.js index 01d16c05..e411f33b 100644 --- a/pwabuilder-sw.js +++ b/pwabuilder-sw.js @@ -4,7 +4,7 @@ // App version number - ENSURE IT MATCHES VALUE IN init.js // DEV: Changing this will cause the browser to recognize that the Service Worker has changed, and it will download and // install a new copy -const appVersion = '1.4.1'; +const appVersion = '1.4.2-RC1'; // Kiwix ZIM Archive Download Server in regex form // DEV: The server URL is defined in init.js, but is not available to us in SW diff --git a/www/js/init.js b/www/js/init.js index 20741ac1..6b710e3b 100644 --- a/www/js/init.js +++ b/www/js/init.js @@ -49,7 +49,7 @@ var params = {}; */ var appstate = {}; /******** UPDATE VERSION IN pwabuilder-sw.js TO MATCH VERSION AND CHECK PWASERVER BELOW!!!!!!! *******/ -params['version'] = "1.4.1"; //DEV: Manually update this version when there is a new release: it is compared to the Settings Store "version" in order to show first-time info, and the cookie is updated in app.js +params['version'] = "1.4.2-RC1"; //DEV: Manually update this version when there is a new release: it is compared to the Settings Store "version" in order to show first-time info, and the cookie is updated in app.js /******* UPDATE THIS ^^^^^^ IN service worker AND PWA-SERVER BELOW !! ********************/ params['packagedFile'] = getSetting('packagedFile') || "wikipedia_en_100_maxi_2021-05.zim"; //For packaged Kiwix JS (e.g. with Wikivoyage file), set this to the filename (for split files, give the first chunk *.zimaa) and place file(s) in default storage params['archivePath'] = "archives"; //The directory containing the packaged archive(s) (relative to app's root directory)