From fb4e826cd66a8ebcacf68522ed8b6029845320d6 Mon Sep 17 00:00:00 2001 From: Andrei Kirkouski Date: Thu, 30 Jul 2026 09:17:03 +0200 Subject: [PATCH] chore(facade): bump Web Host CDN default to 1.0.49 Point fe_facade_url default (+ Makefile WEB_HOST_CDN, config tests, README) at web-host.wippy.ai/webcomponents-1.0.49 for the portable theme contract release. Supersedes the unmerged chore/facade-cdn-1.0.48 branch. --- src/facade/Makefile | 2 +- src/facade/README.md | 6 +++--- src/facade/_index.yaml | 2 +- src/facade/config_handler_test.lua | 2 +- src/facade/test/config_dependency_test.lua | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/facade/Makefile b/src/facade/Makefile index fb37d9a..c7ab849 100644 --- a/src/facade/Makefile +++ b/src/facade/Makefile @@ -6,7 +6,7 @@ # Run `make sync` after every Wippy Web Host version bump to pull fresh copies. # Web Host CDN base — update version when Wippy Web Host releases -WEB_HOST_CDN = https://web-host.wippy.ai/webcomponents-1.0.46 +WEB_HOST_CDN = https://web-host.wippy.ai/webcomponents-1.0.49 # Files to sync from CDN into public/@wippy-fe/ CDN_FILES = loading.js diff --git a/src/facade/README.md b/src/facade/README.md index b600a22..0c4d591 100644 --- a/src/facade/README.md +++ b/src/facade/README.md @@ -66,7 +66,7 @@ These fields are NOT configurable via requirements — they are computed at runt | Requirement | Default | Description | |---|---|---| -| `fe_facade_url` | `https://web-host.wippy.ai/webcomponents-1.0.46` | CDN base URL for the Web Host frontend bundle | +| `fe_facade_url` | `https://web-host.wippy.ai/webcomponents-1.0.49` | CDN base URL for the Web Host frontend bundle | | `fe_entry_path` | `/iframe.html` | Iframe HTML entry point path (appended to `fe_facade_url`) | | `fe_mode` | `compat` | `compat` (default — loads `module.js`) or `managed` (loads `managed-layout.js` for declarative multi-panel apps). See [Modes](#modes) above | | `render_engine` | `iframe` | Global page render engine for packaged `view.page` micro-frontends: `iframe` (default — legacy srcdoc iframe) or `fragment` (Web Fragment / reframed realm reflected into a shadow root). `fragment` **requires** the `wippy/views` fragment gateway and a fragment-capable host bundle serving `/@wippy-fe/proxy-fragment.js`. Flows to the host as `hostConfig.renderEngine`; the child app is engine-agnostic (same package renders under either engine). | @@ -378,9 +378,9 @@ Returns an empty body (200 OK) when no variables are configured. Response has `C ```json { - "facade_url": "https://web-host.wippy.ai/webcomponents-1.0.46", + "facade_url": "https://web-host.wippy.ai/webcomponents-1.0.49", "iframe_origin": "https://web-host.wippy.ai", - "iframe_url": "https://web-host.wippy.ai/webcomponents-1.0.46/iframe.html?waitForCustomConfig", + "iframe_url": "https://web-host.wippy.ai/webcomponents-1.0.49/iframe.html?waitForCustomConfig", "login_path": "/login.html", "login_redirect_param": null, "env": { diff --git a/src/facade/_index.yaml b/src/facade/_index.yaml index 1137f32..ad4dd58 100644 --- a/src/facade/_index.yaml +++ b/src/facade/_index.yaml @@ -39,7 +39,7 @@ entries: targets: - entry: wippy.facade:fe_facade_url path: .default - default: https://web-host.wippy.ai/webcomponents-1.0.46 + default: https://web-host.wippy.ai/webcomponents-1.0.49 - name: fe_entry_path kind: ns.requirement diff --git a/src/facade/config_handler_test.lua b/src/facade/config_handler_test.lua index 8a66f52..887dd4a 100644 --- a/src/facade/config_handler_test.lua +++ b/src/facade/config_handler_test.lua @@ -188,7 +188,7 @@ local function define_tests() end) test.it("extracts iframe origin from facade URL", function() - local facade_url = "https://web-host.wippy.ai/webcomponents-1.0.46" + local facade_url = "https://web-host.wippy.ai/webcomponents-1.0.49" local origin = facade_url:match("^(https?://[^/]+)") test.eq(origin, "https://web-host.wippy.ai") diff --git a/src/facade/test/config_dependency_test.lua b/src/facade/test/config_dependency_test.lua index fb2bdb6..2d0e05c 100644 --- a/src/facade/test/config_dependency_test.lua +++ b/src/facade/test/config_dependency_test.lua @@ -9,7 +9,7 @@ local function run() local entry = registry.get(NS .. "fe_facade_url") test.not_nil(entry) test.not_nil(entry.data) - test.eq(entry.data.default, "https://web-host.wippy.ai/webcomponents-1.0.46") + test.eq(entry.data.default, "https://web-host.wippy.ai/webcomponents-1.0.49") entry = registry.get(NS .. "app_title") test.not_nil(entry)