diff --git a/CHANGELOG.md b/CHANGELOG.md index e4126a68..3b4348ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## In progress release 2.2.0 +## Release 2.2.0 * UPDATE: Sample archive updated to `wikipedia_en_climate_change_mini_2022-10.zim` * ENHANCEMENT: Display media download alert only when the medium is fetched from the ZIM diff --git a/package.json b/package.json index b464e8b6..ff092293 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "kiwix-js-electron", "productName": "Kiwix JS Electron", - "version": "2.1.91-E", + "version": "2.2.0-E", "description": "Kiwix JS packaged for the Electron framework", "main": "main.js", "build": { diff --git a/package.json.nwjs b/package.json.nwjs index 1cc054bf..7a9dc65b 100644 --- a/package.json.nwjs +++ b/package.json.nwjs @@ -1,7 +1,7 @@ { "name": "kiwix_js_windows", "productName": "Kiwix JS Windows", - "version": "2.1.91-N", + "version": "2.2.0-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 47cf2f66..674a0f0e 100644 --- a/scripts/Build-NWJS.ps1 +++ b/scripts/Build-NWJS.ps1 @@ -9,9 +9,9 @@ if (-Not $only32bit) { } else { "Caller requested only32bit build" } -$version10 = "0.68.1" # <<< value updated automatically from package.json if launched from Create-DraftRelease +$version10 = "0.70.0" # <<< value updated automatically from package.json if launched from Create-DraftRelease $versionXP = "0.14.7" -$appBuild = "2.1.91-N" # <<< value updated auotmatically from package.json if launched from Create-DraftRelease +$appBuild = "2.2.0-N" # <<< value updated auotmatically from package.json if launched from Create-DraftRelease # $ZIMbase = "wikipedia_en_100" # Check that the dev has included the correct archive in this branch $init_params = Get-Content -Raw "$PSScriptRoot\..\www\js\init.js" diff --git a/service-worker.js b/service-worker.js index 477c756c..35aefb41 100644 --- a/service-worker.js +++ b/service-worker.js @@ -29,7 +29,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.1.91'; +const appVersion = '2.2.0'; /** * 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 b9cb2821..7ede5e79 100644 --- a/www/js/init.js +++ b/www/js/init.js @@ -50,7 +50,7 @@ var params = {}; */ var appstate = {}; /******** UPDATE VERSION IN service-worker.js TO MATCH VERSION AND CHECK PWASERVER BELOW!!!!!!! *******/ -params['appVersion'] = "2.1.91"; //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.2.0"; //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') || "wikipedia_en_climate_change_mini_2022-10.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)