Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,74 @@

## Unreleased

- **Windowed tables: the app-driven window of abap2UI5 main `694fb262`**
(#3032, after 1.150.0; derived first from the DEV branch, `186f2c9b`),
which replaced the window of 1.149.0 and 1.150.0. The app loads, sorts,
filters and counts the rows itself; the backend keeps no order.
- [spec/windowed-tables.md](spec/windowed-tables.md) rewritten: `MODEL`
carries the table as the app holds it, `/__WINDOW/<path>` is `{ TOTAL,
COUNT, SIZE, EVENT }` with `TOTAL` the app's total read anew for every
response and at least `COUNT` ([MOD] `window_meta`, [BND]
`window_adopt`); the window request is `[path, event, reason, skip,
top]`, for `SORT` and `FILTER` with the sorters and the filter groups,
both ([WM]); the backend runs it as the app's event with the arguments
`[reason, skip, top]` and the request in `get( )-r_event_data` ([H],
[WIN] `request`, `parse_sort`, `parse_filter`, `count_of`); `__delta`
rows are rows of the table and a whole table value is written. The
sections on the backend's order, the kept and cleared parts and the
two filters are gone; a frontend MUST NOT send a request for a state
without `EVENT`. `spec/request.md`, `response.md`, `sessions.md`,
`core.md`, `profiles/ui5.md` (the arguments, both parts, the
`keepRestart` queue rule), `profiles/semantic.md` (what `app_act {
window }` and `@BINDING_CALL` send) and `profiles/portable.md` follow;
`spec/README.md` cites the branch and the new source [WT] (the
release's fixture app and e2e test).
- Protocol 2 stays, as in the branch, although
[versioning.md](spec/versioning.md) counts a changed meaning as
breaking - new [open question 15](spec/open-questions.md#15-the-app-driven-window-and-the-protocol-number)
(14 is main's, resolved); open questions 12 and 13 updated.
- Schemas: `windowRequest` is `[path, event, MORE|SORT|FILTER, skip,
top]` plus both parts for `SORT` and `FILTER`; a window state is told
by `SIZE` (the reference leaves a `TOTAL` or `COUNT` of 0 out) and may
carry `EVENT`.
- Backend checks: nine `window.*` replace fourteen - `first-window`,
`app-event`, `request-sort-filter`, `request-bounds` (SHOULD),
`total-from-app`, `order-with-the-draft`, `delta-rows`,
`delta-rows-reference` (was `delta-positions-reference`),
`whole-table-written` - 88 checks (71 MUST, 17 SHOULD). Frontend
checks: `window.edit-row-shown` and `window.edit-row-shown-reference`
replace `window.edit-as-delta` and `window.edit-as-delta-reference`
(the reference one now on the recorded `MR_WIN`), `ui5.window-growth`
and `ui5.window-sort-filter` expect the new arguments, new
`ui5.window-no-event` - 87 checks (72 MUST, 15 SHOULD).
- The conformance app WINDOW (ABAP, abaplint- and abap2UI5-linter-clean,
and the cap2UI5 twin) loads its twelve rows itself and echoes what it
was handed (`LAST`, `REQUEST`); new event `TOTAL`, the app's `SORT`,
`FILTER` and `RERENDER` are gone. It took over the windowed table
behind a data reference from the app REF (`MR_WIN`, event `WIN`,
`WIN_DONE`): REF keeps `MR_TAB` and builds on every runtime.
- Traffic recorded with the node-runtime host on a runtime built from
`694fb262` (88 of 88 pass) and that commit's `app/webapp`; cap2ui5
(plugin 0.7.0 on 1.149.0) fails the window checks on the app's start.
The released hosts cannot start the app WINDOW: its eight MUST checks
and the SHOULD `window.request-bounds` are pinned in
`test/lib/expected.mjs` for cap2UI5, and for node-runtime when the
installed runtime has no app-driven window (the released 1.150.0 of
`package.json` and CI), with the place of the fix (the next abap2UI5
release); `traffic.test.mjs` reads the pins of the recording
(`RECORDED_FAILURES`). The node-runtime host and `npm run lint:abap`
(now `scripts/lint-abap.mjs`) leave the app WINDOW out on such a
runtime. The UI5 SPA's window checks are pinned in
`test/frontend.test.mjs` when the checkout has no app-driven
`core/WindowModel.js` (CI's `af05dce`). Outside `window.*` and the
`WINDOW:` scenarios nothing moved; the recorder's UI5 page stand-in
sets `ownsPage` and `ownsHash`, without which the frontend sends no
`HASH`.
- Finding: the agent client (mcp-server `332a0b0`) sends the window
request of 1.149.0 and 1.150.0; the recorder marks those exchanges `malformed`,
and `semantic.recorded-snapshots` fails on it - pinned in
`test/frontend.test.mjs` (`conformance/RESULTS.md`).

- **node-runtime host and CI's UI5 frontend on abap2UI5 1.150.0** (1.149.0
before). `@abap2ui5/node-runtime` 1.150.0 in the host, and the frontend
job checks out the release commit `af05dce` it was built from. The
Expand Down
48 changes: 28 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,29 +53,37 @@ source file and method it was derived from ([spec/README.md](spec/README.md#sour
## Status

- **Protocol 2**, specification revision 0.5, derived from abap2UI5 1.149.0
(its release commit `6f55b04`) - the release that brought windowed
tables ([spec/windowed-tables.md](spec/windowed-tables.md)); the
maintainer decided ten open questions in revision 0.3, question 14 is
resolved, three are open
([spec/open-questions.md](spec/open-questions.md)).
- **Backend suite: 93 checks** (75 MUST, 18 SHOULD; 86 core, 7 UI5 profile).
`node-runtime` (`@abap2ui5/node-runtime` 1.150.0) passes 93/93;
`cap2ui5` (`@cap2ui5/cds-plugin` 0.7.0, on the runtime 1.149.0 it pins)
92/93 with one SHOULD warning and no failure - the two checks of a table
behind a data reference pass with the plugin's `t.ref( )`, new in 0.7.0
(its release commit `6f55b04`), the windowed tables from the app-driven
window abap2UI5 merged to main after 1.150.0 (`694fb262`, #3032), which
replaced the one of 1.149.0 and 1.150.0
([spec/windowed-tables.md](spec/windowed-tables.md)); the maintainer
decided ten open questions in revision 0.3, question 14 is resolved,
four are open ([spec/open-questions.md](spec/open-questions.md)).
- **Backend suite: 88 checks** (71 MUST, 17 SHOULD; 81 core, 7 UI5 profile).
`node-runtime` on a runtime built from abap2UI5 main `694fb262` - what
`traffic/` is recorded against - passes 88/88; on the released
`@abap2ui5/node-runtime` 1.150.0 (`package.json`, CI) and on `cap2ui5`
(`@cap2ui5/cds-plugin` 0.7.0, on the runtime 1.149.0) the app WINDOW
does not start, and its eight MUST checks are pinned with the place of
the fix, the next abap2UI5 release; everything else passes, but
cap2UI5's SHOULD warning `error.details`
([conformance/RESULTS.md](conformance/RESULTS.md)).
- **Schemas** validate all 490 recorded requests, 474 responses and 26 agent
snapshots, checked by the shipped validator and by ajv.
- **Schemas** validate all 408 recorded requests, 383 responses and 22 agent
snapshots, checked by the shipped validator and by ajv (the agent
client's three window requests of 1.149.0 and 1.150.0 as invalid).
- **Portable profile v1** filled from a census of 247 core apps (73.7 % by
controls, 64.8 % run unchanged).
- **Frontend suite: 86 checks** (71 MUST, 15 SHOULD; 69 core, 8 portable,
6 UI5, 3 semantic), scripted from the recorded traffic. The official UI5
SPA of abap2UI5 1.150.0 passes every check that applies (82, 4 skipped;
1.149.0 failed one, a cell behind a data reference sent whole); the
agent client (mcp-server `332a0b0`), the Adaptive Cards renderer and the terminal renderer pass every check that
applies to them (64, 69 and 75 - the terminal's include the router
checks); the Web Components frontend passed 68 of 68 of the 81 checks of
2026-10-03, with one intermittent failure, and was not run again
- **Frontend suite: 87 checks** (72 MUST, 15 SHOULD; 69 core, 8 portable,
7 UI5, 3 semantic), scripted from the recorded traffic. The UI5 SPA of
abap2UI5 main `694fb262` passes every check that applies (83, 4
skipped); the release 1.150.0 that CI pins fails the UI5-profile window
checks (UI5_REL_FAILS, pinned); the Adaptive Cards renderer and the
terminal renderer pass every check that applies to them (69 and 75 - the
terminal's include the router checks); the agent client (mcp-server
`332a0b0`) passes 63 and fails `semantic.recorded-snapshots` - it sends
the window request of 1.149.0 and 1.150.0, pinned as a finding; the Web
Components frontend passed 68 of 68 of the 81 checks of 2026-10-03, with
one intermittent failure, and was not run again
([conformance/RESULTS.md](conformance/RESULTS.md#frontend-suite)).
- **Adaptive Cards renderer** (prototype, [renderers/adaptive-cards/](renderers/adaptive-cards/README.md)):
all 65 portable controls mapped onto Adaptive Cards 1.5, the way back from
Expand Down
Loading