diff --git a/README.md b/README.md index 635433e..18e4a44 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ and `@zennotes/shared-domain` packages. The exact archives are vendored under `vendor/zennotes/` with their source identity and checksums (`manifest.json`), and `package-lock.json` pins the complete install. No source checkout is used. The vendored set is the core release -[core-2.89.0-core.hf590792c335f6b1a](https://github.com/ZenNotes/zennotes/releases/tag/core-2.89.0-core.hf590792c335f6b1a) -(desktop commit `d500ea01`, clean tree). Run `npm run +[core-2.90.0-core.h7d82a7cbcca39312](https://github.com/ZenNotes/zennotes/releases/tag/core-2.90.0-core.h7d82a7cbcca39312) +(desktop commit `b1895548`, clean tree). Run `npm run boundaries:check` to verify archives, installed versions, singleton editor/React peers, and imports; it refuses an archive built from a dirty upstream tree unless `ZEN_ALLOW_DIRTY_CORE=1` is set for a local try-out. diff --git a/android/app/build.gradle b/android/app/build.gradle index 88d7a4d..9420152 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -15,8 +15,8 @@ android { applicationId "md.zennotes" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 64 - versionName "1.1.61" + versionCode 65 + versionName "1.1.62" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. diff --git a/package-lock.json b/package-lock.json index e53f5ce..e499c4d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "zennotes-android", - "version": "1.1.61", + "version": "1.1.62", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "zennotes-android", - "version": "1.1.61", + "version": "1.1.62", "dependencies": { "@aparajita/capacitor-secure-storage": "^8.0.1", "@capacitor/android": "^8.6.2", @@ -32,10 +32,10 @@ "@lezer/highlight": "^1.2.5", "@replit/codemirror-vim": "^6.3.0", "@xyflow/react": "^12.12.1", - "@zennotes/app-core": "file:vendor/zennotes/zennotes-app-core-2.89.0-core.hf590792c335f6b1a.tgz", - "@zennotes/bridge-contract": "file:vendor/zennotes/zennotes-bridge-contract-2.89.0-boundaries.h2370f29f5909f515.tgz", - "@zennotes/portable-vault": "file:vendor/zennotes/zennotes-portable-vault-2.89.0-boundaries.h2370f29f5909f515.tgz", - "@zennotes/shared-domain": "file:vendor/zennotes/zennotes-shared-domain-2.89.0-boundaries.h2370f29f5909f515.tgz", + "@zennotes/app-core": "file:vendor/zennotes/zennotes-app-core-2.90.0-core.h7d82a7cbcca39312.tgz", + "@zennotes/bridge-contract": "file:vendor/zennotes/zennotes-bridge-contract-2.90.0-boundaries.h5e0782bf31668626.tgz", + "@zennotes/portable-vault": "file:vendor/zennotes/zennotes-portable-vault-2.90.0-boundaries.h5e0782bf31668626.tgz", + "@zennotes/shared-domain": "file:vendor/zennotes/zennotes-shared-domain-2.90.0-boundaries.h5e0782bf31668626.tgz", "codemirror": "^6.0.1", "dompurify": "^3.4.18", "function-plot": "^1.26.0", @@ -3669,9 +3669,9 @@ } }, "node_modules/@zennotes/app-core": { - "version": "2.89.0-core.hf590792c335f6b1a", - "resolved": "file:vendor/zennotes/zennotes-app-core-2.89.0-core.hf590792c335f6b1a.tgz", - "integrity": "sha512-DZd5TV7A1qX+fXlmwz++a2VK9mTRcXsEhCkO70ElKZw/gkraBoDWyfi/VBMSIWgCFvT7j8f8PKKgnhr1s0nQ0Q==", + "version": "2.90.0-core.h7d82a7cbcca39312", + "resolved": "file:vendor/zennotes/zennotes-app-core-2.90.0-core.h7d82a7cbcca39312.tgz", + "integrity": "sha512-SDA6z+n2u4qVkIuddJ8k1HHzLunX2D8SFnsu5KQmvVozsCe7593/j7hHANn8e/xe9jU+5jy3rGNEpwqoAeucOA==", "license": "MIT", "dependencies": { "@codemirror/autocomplete": "^6.18.3", @@ -3701,8 +3701,8 @@ "@replit/codemirror-vim": "^6.3.0", "@terrastruct/d2": "0.1.33", "@xyflow/react": "^12.11.2", - "@zennotes/bridge-contract": "2.89.0-boundaries.h2370f29f5909f515", - "@zennotes/shared-domain": "2.89.0-boundaries.h2370f29f5909f515", + "@zennotes/bridge-contract": "2.90.0-boundaries.h5e0782bf31668626", + "@zennotes/shared-domain": "2.90.0-boundaries.h5e0782bf31668626", "dompurify": "^3.3.4", "function-plot": "^1.25.3", "gray-matter": "^4.0.3", @@ -3710,7 +3710,7 @@ "hast": "^1.0.0", "highlight.js": "^11.10.0", "jsxgraph": "^1.12.2", - "katex": "^0.16.15", + "katex": "^0.19.1", "mdast": "^3.0.0", "pele": "1.12.0", "prettier": "^3.8.2", @@ -3745,6 +3745,15 @@ } } }, + "node_modules/@zennotes/app-core/node_modules/commander": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-15.1.0.tgz", + "integrity": "sha512-cgnQ88TRrWcC7pVq46RzJVRMktu3W2RcbnoidnfBsl1bmDCBwJS/udcIZpKoCrbAYYaCqsz1yZCVIgbIaU3ddQ==", + "license": "MIT", + "engines": { + "node": ">=22.12.0" + } + }, "node_modules/@zennotes/app-core/node_modules/harper.js": { "version": "2.13.0", "resolved": "https://registry.npmjs.org/harper.js/-/harper.js-2.13.0.tgz", @@ -3754,30 +3763,46 @@ "fflate": "^0.8.2" } }, + "node_modules/@zennotes/app-core/node_modules/katex": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.19.1.tgz", + "integrity": "sha512-jG8uKntjSEcm2EpQOh0XturpPuuC9r3Sq5HLHdsFdWZT27E672SF19QEi+of0/YeOy15lDgRhKvr5614uRrEfA==", + "funding": [ + "https://opencollective.com/katex", + "https://github.com/sponsors/katex" + ], + "license": "MIT", + "dependencies": { + "commander": "^15.0.0" + }, + "bin": { + "katex": "cli.js" + } + }, "node_modules/@zennotes/bridge-contract": { - "version": "2.89.0-boundaries.h2370f29f5909f515", - "resolved": "file:vendor/zennotes/zennotes-bridge-contract-2.89.0-boundaries.h2370f29f5909f515.tgz", - "integrity": "sha512-AAoFutFQV4Gux6Ff68TFttlvK7l/V88peKkzwqNWiNpZhh4th8GcYyyPnVfYJFq7lUZTyW2mPwXD2mZYu+XyAw==", + "version": "2.90.0-boundaries.h5e0782bf31668626", + "resolved": "file:vendor/zennotes/zennotes-bridge-contract-2.90.0-boundaries.h5e0782bf31668626.tgz", + "integrity": "sha512-vIFOYm9qjg/UxI7GiHZQI8cwRSlbvzb0sN7yXWSUC+7j5PiVZT+ecq1+FwAlhLCBhzx+q8TtwiCipQWeXDZxnA==", "license": "MIT" }, "node_modules/@zennotes/portable-vault": { - "version": "2.89.0-boundaries.h2370f29f5909f515", - "resolved": "file:vendor/zennotes/zennotes-portable-vault-2.89.0-boundaries.h2370f29f5909f515.tgz", - "integrity": "sha512-+rw+Vtbwb1HNoaSaZKWzwCPAdOICLl1GmN4ytWwOyFeXzF0YjXmYwGYr9ysJJ7EQyX1Z9g7r1EypVDuCuJq5tA==", + "version": "2.90.0-boundaries.h5e0782bf31668626", + "resolved": "file:vendor/zennotes/zennotes-portable-vault-2.90.0-boundaries.h5e0782bf31668626.tgz", + "integrity": "sha512-x1fjrqfRFY2WWDKRfOTODqnfyOsOwp5mTbE3RydjUqT5ulYmVzcxxMt55pZqBUMKnqvOI9tu7MFbVzJIPasEDw==", "license": "MIT", "dependencies": { - "@zennotes/bridge-contract": "2.89.0-boundaries.h2370f29f5909f515", - "@zennotes/shared-domain": "2.89.0-boundaries.h2370f29f5909f515" + "@zennotes/bridge-contract": "2.90.0-boundaries.h5e0782bf31668626", + "@zennotes/shared-domain": "2.90.0-boundaries.h5e0782bf31668626" } }, "node_modules/@zennotes/shared-domain": { - "version": "2.89.0-boundaries.h2370f29f5909f515", - "resolved": "file:vendor/zennotes/zennotes-shared-domain-2.89.0-boundaries.h2370f29f5909f515.tgz", - "integrity": "sha512-l6LMWV3gHWbxvlJOOCxHIPOhqZq8RY8Af4U/IyCGef3ax6knpGVTvg/lXr+YWW/gd/ZmIQqKlliKstS5pMozhw==", + "version": "2.90.0-boundaries.h5e0782bf31668626", + "resolved": "file:vendor/zennotes/zennotes-shared-domain-2.90.0-boundaries.h5e0782bf31668626.tgz", + "integrity": "sha512-81MR6DnkVD1hNq6tBzJQ/Bl90kMfuDN7TsU8T9I8wFSU1ww/j9ExxWb0ZHIJXIAonqxSHg5kI0tb/nzx/RPYWQ==", "license": "MIT", "dependencies": { "@scure/bip39": "2.4.0", - "@zennotes/bridge-contract": "2.89.0-boundaries.h2370f29f5909f515", + "@zennotes/bridge-contract": "2.90.0-boundaries.h5e0782bf31668626", "hash-wasm": "4.12.0", "lz-string": "^1.5.0" } diff --git a/package.json b/package.json index 8750384..b3fc8e3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "zennotes-android", "private": true, - "version": "1.1.61", + "version": "1.1.62", "type": "module", "description": "ZenNotes for Android — Capacitor shell over the ZenNotes app core", "homepage": "https://zennotes.org", @@ -43,10 +43,10 @@ "@lezer/highlight": "^1.2.5", "@replit/codemirror-vim": "^6.3.0", "@xyflow/react": "^12.12.1", - "@zennotes/app-core": "file:vendor/zennotes/zennotes-app-core-2.89.0-core.hf590792c335f6b1a.tgz", - "@zennotes/bridge-contract": "file:vendor/zennotes/zennotes-bridge-contract-2.89.0-boundaries.h2370f29f5909f515.tgz", - "@zennotes/portable-vault": "file:vendor/zennotes/zennotes-portable-vault-2.89.0-boundaries.h2370f29f5909f515.tgz", - "@zennotes/shared-domain": "file:vendor/zennotes/zennotes-shared-domain-2.89.0-boundaries.h2370f29f5909f515.tgz", + "@zennotes/app-core": "file:vendor/zennotes/zennotes-app-core-2.90.0-core.h7d82a7cbcca39312.tgz", + "@zennotes/bridge-contract": "file:vendor/zennotes/zennotes-bridge-contract-2.90.0-boundaries.h5e0782bf31668626.tgz", + "@zennotes/portable-vault": "file:vendor/zennotes/zennotes-portable-vault-2.90.0-boundaries.h5e0782bf31668626.tgz", + "@zennotes/shared-domain": "file:vendor/zennotes/zennotes-shared-domain-2.90.0-boundaries.h5e0782bf31668626.tgz", "codemirror": "^6.0.1", "dompurify": "^3.4.18", "function-plot": "^1.26.0", diff --git a/src/bridge/host.ts b/src/bridge/host.ts index 7938e3d..dc30079 100644 --- a/src/bridge/host.ts +++ b/src/bridge/host.ts @@ -44,7 +44,7 @@ import { putFile } from './native-fs' * there is no native app to ask; the package reads appInfo() per call, so * nothing captures it before the native answer lands. */ -let appVersion = '1.1.61' +let appVersion = '1.1.62' export async function loadNativeAppVersion(): Promise { try { diff --git a/vendor/zennotes/manifest.json b/vendor/zennotes/manifest.json index 1024d46..702df3f 100644 --- a/vendor/zennotes/manifest.json +++ b/vendor/zennotes/manifest.json @@ -1,43 +1,43 @@ { "name": "@zennotes/app-core", - "version": "2.89.0-core.hf590792c335f6b1a", - "file": "zennotes-app-core-2.89.0-core.hf590792c335f6b1a.tgz", - "sha256": "1d2cd086652e18d0b4c2e3a912a4c3b9283aa35040823a0bd372d557f5c2c8f0", - "integrity": "sha512-DZd5TV7A1qX+fXlmwz++a2VK9mTRcXsEhCkO70ElKZw/gkraBoDWyfi/VBMSIWgCFvT7j8f8PKKgnhr1s0nQ0Q==", - "sourceCommit": "d500ea0134a148bc5214b1d258fe031e52cc517b", + "version": "2.90.0-core.h7d82a7cbcca39312", + "file": "zennotes-app-core-2.90.0-core.h7d82a7cbcca39312.tgz", + "sha256": "6719860e156ba8e0df5de6f8a594720482da23affe25e8f8ce50ab7cbc288c6d", + "integrity": "sha512-SDA6z+n2u4qVkIuddJ8k1HHzLunX2D8SFnsu5KQmvVozsCe7593/j7hHANn8e/xe9jU+5jy3rGNEpwqoAeucOA==", + "sourceCommit": "b1895548261e5ed3550d76921daae1cb4f3cd500", "workingTreeDirty": false, - "sourceLockSha256": "6e8aa4d75ab25f8429b8f9f2826edaf4efa6eedd67e7f0b59aee0710e5685dee", + "sourceLockSha256": "0d5a8957d7cb4d239d7efa7e3b5a154331db998765bbca089a3c645110d6694d", "toolchain": { - "node": "v22.23.5", + "node": "v22.23.4", "typescript": "5.9.3", "tailwind": "3.4.19" }, "dependencies": [ { "name": "@zennotes/bridge-contract", - "version": "2.89.0-boundaries.h2370f29f5909f515", - "file": "zennotes-bridge-contract-2.89.0-boundaries.h2370f29f5909f515.tgz", - "sha256": "57187a5ca07068ee5f531df5118ebc10cf79d4bb0242fa707aa3e76ebbaad724", - "integrity": "sha512-AAoFutFQV4Gux6Ff68TFttlvK7l/V88peKkzwqNWiNpZhh4th8GcYyyPnVfYJFq7lUZTyW2mPwXD2mZYu+XyAw==", - "sourceCommit": "d500ea0134a148bc5214b1d258fe031e52cc517b", + "version": "2.90.0-boundaries.h5e0782bf31668626", + "file": "zennotes-bridge-contract-2.90.0-boundaries.h5e0782bf31668626.tgz", + "sha256": "9bfa0617cc1120e321600c6b79fa596443875b7227e77a76ef5067d105ea0b20", + "integrity": "sha512-vIFOYm9qjg/UxI7GiHZQI8cwRSlbvzb0sN7yXWSUC+7j5PiVZT+ecq1+FwAlhLCBhzx+q8TtwiCipQWeXDZxnA==", + "sourceCommit": "b1895548261e5ed3550d76921daae1cb4f3cd500", "workingTreeDirty": false }, { "name": "@zennotes/shared-domain", - "version": "2.89.0-boundaries.h2370f29f5909f515", - "file": "zennotes-shared-domain-2.89.0-boundaries.h2370f29f5909f515.tgz", - "sha256": "2ef3a60a19bba2159c677e54d182becb94b983d78605929666772c687e4bbcb3", - "integrity": "sha512-l6LMWV3gHWbxvlJOOCxHIPOhqZq8RY8Af4U/IyCGef3ax6knpGVTvg/lXr+YWW/gd/ZmIQqKlliKstS5pMozhw==", - "sourceCommit": "d500ea0134a148bc5214b1d258fe031e52cc517b", + "version": "2.90.0-boundaries.h5e0782bf31668626", + "file": "zennotes-shared-domain-2.90.0-boundaries.h5e0782bf31668626.tgz", + "sha256": "73f279aa9a7aa996faf681b66b170aa9cb19267fe9f11e481cee9d5c3de5116c", + "integrity": "sha512-81MR6DnkVD1hNq6tBzJQ/Bl90kMfuDN7TsU8T9I8wFSU1ww/j9ExxWb0ZHIJXIAonqxSHg5kI0tb/nzx/RPYWQ==", + "sourceCommit": "b1895548261e5ed3550d76921daae1cb4f3cd500", "workingTreeDirty": false }, { "name": "@zennotes/portable-vault", - "version": "2.89.0-boundaries.h2370f29f5909f515", - "file": "zennotes-portable-vault-2.89.0-boundaries.h2370f29f5909f515.tgz", - "sha256": "7996dbfff93e7c5cee66924fe884e2a516151dc340b35c9bc9359dcd2eecd61f", - "integrity": "sha512-+rw+Vtbwb1HNoaSaZKWzwCPAdOICLl1GmN4ytWwOyFeXzF0YjXmYwGYr9ysJJ7EQyX1Z9g7r1EypVDuCuJq5tA==", - "sourceCommit": "d500ea0134a148bc5214b1d258fe031e52cc517b", + "version": "2.90.0-boundaries.h5e0782bf31668626", + "file": "zennotes-portable-vault-2.90.0-boundaries.h5e0782bf31668626.tgz", + "sha256": "94b29cf3096ae211bd577ee797d920fb3b26b862f253426227c5ff1731a4eeef", + "integrity": "sha512-x1fjrqfRFY2WWDKRfOTODqnfyOsOwp5mTbE3RydjUqT5ulYmVzcxxMt55pZqBUMKnqvOI9tu7MFbVzJIPasEDw==", + "sourceCommit": "b1895548261e5ed3550d76921daae1cb4f3cd500", "workingTreeDirty": false } ] diff --git a/vendor/zennotes/zennotes-app-core-2.89.0-core.hf590792c335f6b1a.tgz b/vendor/zennotes/zennotes-app-core-2.90.0-core.h7d82a7cbcca39312.tgz similarity index 63% rename from vendor/zennotes/zennotes-app-core-2.89.0-core.hf590792c335f6b1a.tgz rename to vendor/zennotes/zennotes-app-core-2.90.0-core.h7d82a7cbcca39312.tgz index 1ae3e04..9624e56 100644 Binary files a/vendor/zennotes/zennotes-app-core-2.89.0-core.hf590792c335f6b1a.tgz and b/vendor/zennotes/zennotes-app-core-2.90.0-core.h7d82a7cbcca39312.tgz differ diff --git a/vendor/zennotes/zennotes-bridge-contract-2.89.0-boundaries.h2370f29f5909f515.tgz b/vendor/zennotes/zennotes-bridge-contract-2.89.0-boundaries.h2370f29f5909f515.tgz deleted file mode 100644 index 44abf02..0000000 Binary files a/vendor/zennotes/zennotes-bridge-contract-2.89.0-boundaries.h2370f29f5909f515.tgz and /dev/null differ diff --git a/vendor/zennotes/zennotes-bridge-contract-2.90.0-boundaries.h5e0782bf31668626.tgz b/vendor/zennotes/zennotes-bridge-contract-2.90.0-boundaries.h5e0782bf31668626.tgz new file mode 100644 index 0000000..5154292 Binary files /dev/null and b/vendor/zennotes/zennotes-bridge-contract-2.90.0-boundaries.h5e0782bf31668626.tgz differ diff --git a/vendor/zennotes/zennotes-portable-vault-2.89.0-boundaries.h2370f29f5909f515.tgz b/vendor/zennotes/zennotes-portable-vault-2.90.0-boundaries.h5e0782bf31668626.tgz similarity index 99% rename from vendor/zennotes/zennotes-portable-vault-2.89.0-boundaries.h2370f29f5909f515.tgz rename to vendor/zennotes/zennotes-portable-vault-2.90.0-boundaries.h5e0782bf31668626.tgz index 48b54bf..0b2c2b3 100644 Binary files a/vendor/zennotes/zennotes-portable-vault-2.89.0-boundaries.h2370f29f5909f515.tgz and b/vendor/zennotes/zennotes-portable-vault-2.90.0-boundaries.h5e0782bf31668626.tgz differ diff --git a/vendor/zennotes/zennotes-shared-domain-2.89.0-boundaries.h2370f29f5909f515.tgz b/vendor/zennotes/zennotes-shared-domain-2.90.0-boundaries.h5e0782bf31668626.tgz similarity index 78% rename from vendor/zennotes/zennotes-shared-domain-2.89.0-boundaries.h2370f29f5909f515.tgz rename to vendor/zennotes/zennotes-shared-domain-2.90.0-boundaries.h5e0782bf31668626.tgz index 3487545..24bb53f 100644 Binary files a/vendor/zennotes/zennotes-shared-domain-2.89.0-boundaries.h2370f29f5909f515.tgz and b/vendor/zennotes/zennotes-shared-domain-2.90.0-boundaries.h5e0782bf31668626.tgz differ