diff --git a/CHANGELOG.md b/CHANGELOG.md index 981daeae9..e2c10a07d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,10 @@ # Changelog +## [2.0.3] - 2026-09-20 +### Fixed +- Web and browser builds can connect to compatible custom sync servers when you choose one. +- Browser extensions no longer request access to the Inner Breeze website. +- Chrome break reminders now follow the app's settings and Rest Now action. + ## [2.0.2] - 2026-09-20 ### Fixed - Habit editor section headings and reminder details now align with their rows. diff --git a/droid/app/build.gradle b/droid/app/build.gradle index ed1e2286f..98a944264 100644 --- a/droid/app/build.gradle +++ b/droid/app/build.gradle @@ -53,8 +53,8 @@ android { applicationId "xyz.waozi.inbe" minSdk 21 targetSdk 36 - versionCode 126 - versionName "2.0.2" + versionCode 127 + versionName "2.0.3" manifestPlaceholders = [ inbeAppLabel: "Inner Breeze", inbeUsesCleartextTraffic: "false" diff --git a/fastlane/metadata/android/en-US/changelogs/127.txt b/fastlane/metadata/android/en-US/changelogs/127.txt new file mode 100644 index 000000000..957bb7fe6 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/127.txt @@ -0,0 +1,4 @@ +Fixed +--- +- Web and browser builds can connect to compatible custom sync servers when you choose one. +- Browser extensions no longer request access to the Inner Breeze website. diff --git a/packaging/chrome-web-store/manifest.json b/packaging/chrome-web-store/manifest.json index 8d8c56c69..f5c0445ab 100644 --- a/packaging/chrome-web-store/manifest.json +++ b/packaging/chrome-web-store/manifest.json @@ -12,11 +12,10 @@ "storage" ], "host_permissions": [ - "https://api.waozi.xyz/*", - "https://inbe.waozi.xyz/*" + "https://api.waozi.xyz/*" ], "content_security_policy": { - "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; connect-src 'self' https://api.waozi.xyz wss://api.waozi.xyz https://inbe.waozi.xyz; object-src 'self'" + "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; connect-src 'self' https: wss: http: ws:; object-src 'self'" }, "icons": { "16": "icons/icon-16.png", diff --git a/packaging/click/control b/packaging/click/control index 037126a22..65cdb258c 100644 --- a/packaging/click/control +++ b/packaging/click/control @@ -1,5 +1,5 @@ Package: inbe.waozi -Version: 2.0.2 +Version: 2.0.3 Architecture: arm64 Maintainer: Waozi Click-Version: 0.4 diff --git a/packaging/click/inbe.metainfo.xml b/packaging/click/inbe.metainfo.xml index 5ae6a32ed..2f4ba0d09 100644 --- a/packaging/click/inbe.metainfo.xml +++ b/packaging/click/inbe.metainfo.xml @@ -28,7 +28,7 @@ inbe - + diff --git a/packaging/click/manifest.json b/packaging/click/manifest.json index ee9743ccf..5afb985bc 100644 --- a/packaging/click/manifest.json +++ b/packaging/click/manifest.json @@ -1,7 +1,7 @@ { "name": "inbe", "title": "Inner Breeze", - "version": "2.0.2", + "version": "2.0.3", "architecture": "arm64", "framework": "ubuntu-sdk-20.04", "description": "Syncable breathing, meditation, and habit practice app.", diff --git a/packaging/firefox-addons/manifest.json b/packaging/firefox-addons/manifest.json index 577dff3dc..8a43ea984 100644 --- a/packaging/firefox-addons/manifest.json +++ b/packaging/firefox-addons/manifest.json @@ -2,17 +2,16 @@ "manifest_version": 3, "name": "Inner Breeze", "short_name": "Inbe", - "version": "2.0.2", + "version": "2.0.3", "description": "Breathing, meditation, habit tracking, and encrypted sync.", "permissions": [ "contextMenus" ], "host_permissions": [ - "https://api.waozi.xyz/*", - "https://inbe.waozi.xyz/*" + "https://api.waozi.xyz/*" ], "content_security_policy": { - "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; connect-src 'self' https://api.waozi.xyz wss://api.waozi.xyz https://inbe.waozi.xyz; object-src 'self'" + "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; connect-src 'self' https: wss: http: ws:; object-src 'self'" }, "icons": { "16": "icons/icon-16.png", diff --git a/packaging/linux/appimage/inbe.appdata.xml b/packaging/linux/appimage/inbe.appdata.xml index fe3366e49..735392e29 100644 --- a/packaging/linux/appimage/inbe.appdata.xml +++ b/packaging/linux/appimage/inbe.appdata.xml @@ -22,7 +22,7 @@ inbe - + diff --git a/packaging/snap/snap/gui/inbe.metainfo.xml b/packaging/snap/snap/gui/inbe.metainfo.xml index c8a7c3fe7..bcd2b1176 100644 --- a/packaging/snap/snap/gui/inbe.metainfo.xml +++ b/packaging/snap/snap/gui/inbe.metainfo.xml @@ -22,7 +22,7 @@ inbe - + diff --git a/packaging/snap/snap/snapcraft.yaml b/packaging/snap/snap/snapcraft.yaml index 146152337..2ab32d05e 100644 --- a/packaging/snap/snap/snapcraft.yaml +++ b/packaging/snap/snap/snapcraft.yaml @@ -6,7 +6,7 @@ description: | meditation, and habit tracking with visual and audio cues, meditation timers, habit counters, session history, and optional sync. -version: '2.0.2' +version: '2.0.3' license: BSD-3-Clause base: core22 confinement: strict diff --git a/scripts/chrome-extension-live-test.mjs b/scripts/chrome-extension-live-test.mjs index f1a0ff177..28a445faf 100644 --- a/scripts/chrome-extension-live-test.mjs +++ b/scripts/chrome-extension-live-test.mjs @@ -3,6 +3,7 @@ import assert from "node:assert/strict"; import { spawn } from "node:child_process"; import { accessSync, constants, existsSync, mkdtempSync, readFileSync, rmSync } from "node:fs"; +import { createServer } from "node:http"; import { tmpdir } from "node:os"; import { join, resolve } from "node:path"; @@ -193,6 +194,15 @@ async function main() { assert.ok(existsSync(join(extensionRoot, "index.html")), "missing built extension page"); const chromium = resolveChromium(); + const syncServer = createServer((request, response) => { + response.writeHead(200, { + "Access-Control-Allow-Origin": "*", + "Content-Type": "text/plain", + }); + response.end(request.url === "/sync-probe" ? "custom sync server reachable" : "unexpected path"); + }); + await new Promise((resolveReady) => syncServer.listen(0, "127.0.0.1", resolveReady)); + const syncServerPort = syncServer.address().port; const stderrLines = []; const args = [ "--headless=new", @@ -261,6 +271,10 @@ async function main() { const readyState = await waitForPageReady(cdp, page); assert.ok(readyState.href.includes("chrome-extension://")); + const customServerResponse = await evaluate(cdp, page, + `fetch('http://127.0.0.1:${syncServerPort}/sync-probe').then((response) => response.text())`, true); + assert.equal(customServerResponse, "custom sync server reachable"); + const pageExports = JSON.parse(await evaluate(cdp, page, `(() => { Module._app_web_test_enable_extension_breaks(60); return JSON.stringify({ @@ -297,6 +311,7 @@ async function main() { if (cdp) cdp.close(); chrome.kill("SIGTERM"); await delay(250); + await new Promise((resolveClosed) => syncServer.close(resolveClosed)); rmSync(userDataDir, { recursive: true, force: true }); } } diff --git a/site/build.sh b/site/build.sh index e01142cdc..2b5dd83ee 100755 --- a/site/build.sh +++ b/site/build.sh @@ -96,7 +96,7 @@ write_web_app_csp_html() { src=$1 dst=$2 cache_version=$(date +%s) - csp="default-src 'self' data: blob:; connect-src 'self' https://api.waozi.xyz wss://api.waozi.xyz https://inbe.waozi.xyz; script-src 'self' 'unsafe-eval' 'unsafe-inline' https://telegram.org; style-src 'self' 'unsafe-inline'; worker-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob:; frame-src https:; img-src data: https:; media-src https:; object-src 'none'" + csp="default-src 'self' data: blob:; connect-src 'self' https: wss: http: ws:; script-src 'self' 'unsafe-eval' 'unsafe-inline' https://telegram.org; style-src 'self' 'unsafe-inline'; worker-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob:; frame-src https:; img-src data: https:; media-src https:; object-src 'none'" meta="" awk -v meta="$meta" -v version="$cache_version" ' diff --git a/site/static/privacy.html b/site/static/privacy.html index c3b2dbacb..7691b83eb 100644 --- a/site/static/privacy.html +++ b/site/static/privacy.html @@ -108,7 +108,7 @@

05 ยท Browser extensions

Permissions with a narrow purpose.

The browser extension uses browser storage for settings and reminder state. Depending on the browser build, it may use alarms, context menus, notifications, and the browser's active-or-idle status to schedule local reminders and quick actions.

-

Inner Breeze does not read your browsing history, page contents, form data, keystrokes, or mouse position. Host access to inbe.waozi.xyz and api.waozi.xyz supports app resources and optional online features.

+

Inner Breeze does not read your browsing history, page contents, form data, keystrokes, or mouse position. The browser extension requests host access to api.waozi.xyz for optional sync with the default server. You can leave sync off or choose a compatible server. A custom server must allow requests from the browser extension.

Consistent with the Chrome Web Store Limited Use requirements, extension data is used only to provide or improve user-facing Inner Breeze features. It is not used for advertising, creditworthiness, or unrelated purposes.

diff --git a/src/core/version.h b/src/core/version.h index c53cf099f..e290e7bd5 100644 --- a/src/core/version.h +++ b/src/core/version.h @@ -3,7 +3,7 @@ #define APP_VERSION_MAJOR 2 #define APP_VERSION_MINOR 0 -#define APP_VERSION_PATCH 2 -#define APP_VERSION_STRING "2.0.2" +#define APP_VERSION_PATCH 3 +#define APP_VERSION_STRING "2.0.3" #endif diff --git a/src/web_boot.js b/src/web_boot.js index eb5c3e1f8..8b2ea7f78 100644 --- a/src/web_boot.js +++ b/src/web_boot.js @@ -107,7 +107,7 @@ function publishExtensionBreakConfig(force) { text = JSON.stringify(config); if (!force && text === extensionBridgeLastConfig) return; extensionBridgeLastConfig = text; - runtime.sendMessage({ type: 'breathing.breakConfig', config: config }, function() { + runtime.sendMessage({ type: 'inbe.breakConfig', config: config }, function() { var lastError = chrome.runtime && chrome.runtime.lastError; if (lastError) console.warn('Inner Breeze extension break sync failed:', lastError.message); }); @@ -117,7 +117,7 @@ window.__inbeExtensionBreakNow = function(breakType) { var runtime = extensionRuntime(); publishExtensionBreakConfig(true); if (!runtime) return; - runtime.sendMessage({ type: 'breathing.breakNow', breakType: breakType | 0 }, function() { + runtime.sendMessage({ type: 'inbe.breakNow', breakType: breakType | 0 }, function() { var lastError = chrome.runtime && chrome.runtime.lastError; if (lastError) console.warn('Inner Breeze extension rest-now failed:', lastError.message); }); diff --git a/windows/inbe.rc b/windows/inbe.rc index efb7c80be..fb1d28a16 100644 --- a/windows/inbe.rc +++ b/windows/inbe.rc @@ -6,8 +6,8 @@ IDI_APP_ICON ICON "inbe.ico" IDI_NOTIFICATION_ICON ICON "inbe.ico" VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,0,2,0 - PRODUCTVERSION 2,0,2,0 + FILEVERSION 2,0,3,0 + PRODUCTVERSION 2,0,3,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -24,11 +24,11 @@ BEGIN BEGIN VALUE "CompanyName", "waozi" VALUE "FileDescription", "Inner Breeze" - VALUE "FileVersion", "2.0.2" + VALUE "FileVersion", "2.0.3" VALUE "InternalName", "inbe" VALUE "OriginalFilename", "inbe-windows-x86_64.exe" VALUE "ProductName", "Inner Breeze" - VALUE "ProductVersion", "2.0.2" + VALUE "ProductVersion", "2.0.3" END END BLOCK "VarFileInfo"