From a1be1e28e42eebe13c0cea550afeff5c51057549 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Fri, 22 Dec 2023 07:10:38 +0000 Subject: [PATCH] Bump app version for release --- CHANGELOG.md | 12 +----------- package-github.appxmanifest | 2 +- package.appxmanifest | 2 +- package.json | 2 +- package.json.nwjs | 2 +- scripts/Build-NWJS.ps1 | 2 +- service-worker.js | 2 +- www/js/init.js | 2 +- 8 files changed, 8 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5194d54c..bcc5a12d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,6 @@ # Changelog -## In-progress release 2.8.9 - -FIXES since 2.8.5 was announced: - -* Accidental disabling of assetsCache with non-Zimit ZIMS -* DarkReader now working properly with Zimit ZIMs using Replay system -* PDFs from the ZIM now have a workaround for Android -* Resolved issue with PDFs in Nautilus ZIMs failing to download -* Zimit reading with Replay now working in Electron and NWJS (nightly) builds - -Main features and fixes of in-progress release: +## Release 2.9.2 * FEATURE: High-fidelity support for Zimit-based archives based on the Replay Web Archive reader (PWA only) * FEATURE: Experimental dark-theme support for Zimit-based archives using the Replay system and DarkReader (PWA only) diff --git a/package-github.appxmanifest b/package-github.appxmanifest index bf7267f7..2f3d3fcc 100644 --- a/package-github.appxmanifest +++ b/package-github.appxmanifest @@ -1,6 +1,6 @@  - + Kiwix JS diff --git a/package.appxmanifest b/package.appxmanifest index 7c4f4d8d..8dfe0ac3 100644 --- a/package.appxmanifest +++ b/package.appxmanifest @@ -1,6 +1,6 @@  - + Kiwix JS diff --git a/package.json b/package.json index c16cf96b..b0802855 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "kiwix-js-electron", "productName": "Kiwix JS Electron", - "version": "2.8.9-E", + "version": "2.9.2-E", "description": "Kiwix JS offline ZIM archive reader packaged for the Electron framework", "main": "main.cjs", "type": "module", diff --git a/package.json.nwjs b/package.json.nwjs index 34aee0a0..ffbb83a7 100644 --- a/package.json.nwjs +++ b/package.json.nwjs @@ -1,7 +1,7 @@ { "name": "kiwix_js_windows", "productName": "Kiwix JS Windows", - "version": "2.8.9-N", + "version": "2.9.2-N", "description": "Kiwix JS Windows for NWJS", "main": "index.html", "domain": "kiwix.js.windows", diff --git a/scripts/Build-NWJS.ps1 b/scripts/Build-NWJS.ps1 index 5ca6a089..8dfd4a1c 100644 --- a/scripts/Build-NWJS.ps1 +++ b/scripts/Build-NWJS.ps1 @@ -12,7 +12,7 @@ if (-Not $only32bit) { } $version10 = "0.72.0" # <<< value updated automatically from package.json if launched from Create-DraftRelease $versionXP = "0.14.7" -$appBuild = "2.8.9-N" # <<< value updated auotmatically from package.json if launched from Create-DraftRelease +$appBuild = "2.9.2-N" # <<< value updated auotmatically from package.json if launched from Create-DraftRelease # Check that the dev has included the correct archive in this branch $init_params = Get-Content -Raw "$PSScriptRoot\..\dist\www\js\init.js" $PackagedArchive = $init_params -imatch 'params\[.packagedFile.][^;]+?[''"]([^\s]+?\.zim)[''"];' diff --git a/service-worker.js b/service-worker.js index 4c2a6d13..60ac465f 100644 --- a/service-worker.js +++ b/service-worker.js @@ -33,7 +33,7 @@ * download and install a new copy; we have to hard code this here because it is needed before any other file * is cached in APP_CACHE */ -const appVersion = '2.8.9'; +const appVersion = '2.9.2'; /** * The name of the Cache API cache in which assets defined in regexpCachedContentTypes will be stored diff --git a/www/js/init.js b/www/js/init.js index 4bc8028b..e2a3f5c0 100644 --- a/www/js/init.js +++ b/www/js/init.js @@ -54,7 +54,7 @@ var params = {}; var appstate = {}; // ******** UPDATE VERSION IN service-worker.js TO MATCH VERSION AND CHECK PWASERVER BELOW!!!!!!! ******* -params['appVersion'] = '2.8.9'; // DEV: Manually update this version when there is a new release: it is compared to the Settings Store "appVersion" in order to show first-time info, and the cookie is updated in app.js +params['appVersion'] = '2.9.2'; // DEV: Manually update this version when there is a new release: it is compared to the Settings Store "appVersion" 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') || ''; // 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)