From eb4187a7549e05833def2caf7ddbff92d24a64cd Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 30 Sep 2026 12:11:55 +0000 Subject: [PATCH] Bring the site to @cap2ui5/cds-plugin 0.4.0 0.4.0 is on npm since 2026-09-30 and pins runtime 1.146.0; @cap2ui5/samples 0.2.0 needs it (peer ^0.4.0). The site still named 0.3.1, 1.145.0 and ^0.3.x - so check on main went red against cap2UI5 main - and described 0.3's behaviour where 0.4.0 changed it: - Only a field the app binds is sent to the browser and taken back from it; every field is still kept in the draft. The app interface, data binding, persistence and migration pages said every field is model. - defineApp refuses a camelCase field, a #private member and a name the runtime already has a class of. The selection-screen example declared minTotal and onlyOpen, which 0.4.0 refuses; they are min_total and only_open now. - Runtime 1.146.0 carries abap2UI5#2802, the X-CSRF-Token handshake, so the route `cds add approuter` generates works as it is. The deployment page says so and keeps the extra route for 0.3.x; troubleshooting and the roadmap follow. That is read from the frontend's and approuter 23.0.0's code - without XSUAA or IAS here it was not run end to end, and the page says that too. - configuration documents compression and accelerate, and a short Performance section (the runtime's accelerations, Node 24). - A package's apps get one startup line, not one each. verify-refs read the pinned runtime from runtime/package.json, the repository's stand-in, which still says 1.145.0 - so every stale 1.145.0 here passed. It now reads the exact @abap2ui5/node-runtime dependency of plugin/package.json, what a reader installs. Historical mentions no longer name the old number, rather than allowlisting it. The unscoped cap2ui5 is a deprecated placeholder on npm since 2026-09-30 (cap2UI5/cap2UI5#97), not withdrawn: the pages, AGENTS.md and verify-refs' messages say so (was the draft docs#33). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01NwpbkojNzGmuJrFdbwo5JF --- AGENTS.md | 22 ++++++---- HANDOVER.md | 6 +++ docs/.verify-refs-ignore | 1 + docs/api/app-interface.md | 25 +++++++++-- docs/examples/selection-screen.md | 18 ++++---- docs/guide/data-binding.md | 9 ++-- docs/guide/ecosystem.md | 9 ++-- docs/guide/getting-started.md | 15 +++++-- docs/guide/migration-from-abap2ui5.md | 8 +++- docs/guide/persistence.md | 3 +- docs/guide/project-structure.md | 2 +- docs/guide/roadmap.md | 23 +++++----- docs/guide/troubleshooting.md | 9 ++-- docs/reference/configuration.md | 27 ++++++++++-- docs/reference/deployment.md | 62 +++++++++++++-------------- scripts/verify-refs.mjs | 28 +++++++----- 16 files changed, 169 insertions(+), 98 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 4076853..c7e2bd9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -19,7 +19,7 @@ VitePress build. It is also what CI runs, on every pull request - every `require("@cap2ui5/cds-plugin")` or `import { … } from "@cap2ui5/cds-plugin"` **inside a code fence** names only what the package really exports (and two dead packages are reported, in either form: the - port's `abap2UI5/…` and the plugin's withdrawn old name `cap2ui5`), + port's `abap2UI5/…` and the plugin's old name `cap2ui5`, a deprecated placeholder on npm), - every `cds.requires.cap2ui5.