From 4d8caef71d4623a29e57d8e7dc154be30d44748f Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Sun, 29 Nov 2026 01:24:06 -0500 Subject: [PATCH 1/2] test: the code-rule and host-list tests follow the hello example's formcite service and the larger family spec --- tests/test_hosts.py | 2 +- tests/validate/test_code_rules.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_hosts.py b/tests/test_hosts.py index 3c68ffa..bd3fa64 100644 --- a/tests/test_hosts.py +++ b/tests/test_hosts.py @@ -96,7 +96,7 @@ def test_spec_extensions_win(self): doc, said = hosts.build(spec, hosts.read_side(hosts.SIDE)) cut = next(h for h in doc["hosts"] if h["id"] == "formcut") self.assertEqual((cut["host_api"], cut["host_api_from"]), ("2", "spec")) - self.assertTrue(any("manifest.extensions: formcut" in line for line in said)) + self.assertTrue(any("formcut" in line.split("manifest.extensions: ", 1)[1].split(", ") for line in said if "manifest.extensions: " in line)) if __name__ == "__main__": diff --git a/tests/validate/test_code_rules.py b/tests/validate/test_code_rules.py index f91e891..cdbb764 100644 --- a/tests/validate/test_code_rules.py +++ b/tests/validate/test_code_rules.py @@ -13,6 +13,7 @@ def setup(hello, edit, js="", body="", permissions=None): def change(m): m["permissions"] = permissions or [] + m.pop("services", None) m["contributes"] = {"panels": [{"id": "main", "title": "Main", "location": "dock"}]} edit(hello, change) From b0b09539391342a7fec1d74782b5ff7e83fb5ec6 Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Sun, 29 Nov 2026 01:24:35 -0500 Subject: [PATCH 2/2] chore(release): 0.12.2 --- CHANGELOG.md | 7 +++++++ README.md | 2 +- backend/app/__init__.py | 2 +- frontend/package-lock.json | 4 ++-- frontend/package.json | 2 +- frontend/src/demo/engine/router.ts | 2 +- frontend/src/shell/version.ts | 2 +- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- 10 files changed, 17 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bdb5a43..cd1b45a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## v0.12.2 · 2026-11-29 + +The engine tests pass again. Nothing a person uses changed. + +- **Fixed, tests only:** the code-rule tests reset the hello example's permissions but kept the `services: ["formcite"]` it gained in 0.12.0, so the checker rightly reported a service without `fcite.addon`, and 19 tests failed. They now remove `services` along with the permissions. +- **Fixed, tests only:** the host-list test looked for `manifest.extensions: formcut` at the start of a joined list. Since the family spec copy was refreshed, more apps declare extensions and FormCut is no longer first. The test now looks for FormCut anywhere in that list. + ## v0.12.1 · 2026-11-27 A host now finds a running FormCite by itself, and the contract says plainly what an older host does. diff --git a/README.md b/README.md index 3cdcc15..c035eb9 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@

- version 0.12.1 + version 0.12.2 Python FastAPI engine TypeScript Tauri 2 diff --git a/backend/app/__init__.py b/backend/app/__init__.py index def467e..76da4a9 100644 --- a/backend/app/__init__.py +++ b/backend/app/__init__.py @@ -1 +1 @@ -__version__ = "0.12.1" +__version__ = "0.12.2" diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 350c0e0..21cdcd9 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "formext", - "version": "0.12.1", + "version": "0.12.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "formext", - "version": "0.12.1", + "version": "0.12.2", "license": "GPL-3.0-only", "dependencies": { "@codemirror/autocomplete": "6.20.4", diff --git a/frontend/package.json b/frontend/package.json index 067cd1d..9bc497e 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "formext", "private": true, - "version": "0.12.1", + "version": "0.12.2", "description": "form.ext: the Form family's extension studio", "license": "GPL-3.0-only", "type": "module", diff --git a/frontend/src/demo/engine/router.ts b/frontend/src/demo/engine/router.ts index 7f874df..bc0d0e3 100644 --- a/frontend/src/demo/engine/router.ts +++ b/frontend/src/demo/engine/router.ts @@ -76,7 +76,7 @@ function decodeFiles(rawFiles: Json): Record { return out; } -on('GET', '/api/health', () => ({ ok: true, app: 'formext', version: '0.12.1 in this page', api: '1', pid: 0, python: null, frozen: false, home: DATA, contract: 'bundled', uptime: Math.round(performance.now() / 100) / 10, live_clients: 0, routers: ['health', 'settings', 'projects', 'live', 'library', 'package', 'preview', 'publish', 'runapp', 'templates', 'validate'], router_errors: {}, frontend: 'demo', demo: true })); +on('GET', '/api/health', () => ({ ok: true, app: 'formext', version: '0.12.2 in this page', api: '1', pid: 0, python: null, frozen: false, home: DATA, contract: 'bundled', uptime: Math.round(performance.now() / 100) / 10, live_clients: 0, routers: ['health', 'settings', 'projects', 'live', 'library', 'package', 'preview', 'publish', 'runapp', 'templates', 'validate'], router_errors: {}, frontend: 'demo', demo: true })); on('GET', '/api/settings', () => ({ ...settings.get(), home: DATA })); on('PUT', '/api/settings', (_m, r) => { const patch = { ...json(r) }; diff --git a/frontend/src/shell/version.ts b/frontend/src/shell/version.ts index 26f3ca7..664d9f5 100644 --- a/frontend/src/shell/version.ts +++ b/frontend/src/shell/version.ts @@ -1 +1 @@ -export const VERSION = '0.12.1'; +export const VERSION = '0.12.2'; diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index cd42782..97f3705 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -1077,7 +1077,7 @@ dependencies = [ [[package]] name = "formext" -version = "0.12.1" +version = "0.12.2" dependencies = [ "objc2", "objc2-app-kit", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index e5868ce..5f7d4c2 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "formext" -version = "0.12.1" +version = "0.12.2" description = "form.ext desktop shell" authors = ["NodeAgentc, Inc."] license = "GPL-3.0-only" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 076897d..9aecd51 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -2,7 +2,7 @@ "$schema": "https://schema.tauri.app/config/2", "productName": "form.ext", "mainBinaryName": "formext", - "version": "0.12.1", + "version": "0.12.2", "identifier": "ai.nodemode.formext", "build": { "frontendDist": "../frontend/dist",