Repository navigation
Bring the site to @cap2ui5/cds-plugin 0.8.0 on runtime 1.151.0 - #41
Merged
Merged
Conversation
0.8.0 hosts abap2UI5 1.151.0, which breaks the wire and the windowed
table, and the site still described 0.6.0 on 1.149.0. It is on cap2UI5's
main but not tagged or on npm, so every page that describes it marks it
"not released yet", as AGENTS.md asks.
- the windowed table is app-driven: window_bind_tab({ val, total, event,
window }), the request in get().r_event_data, no window_get_row( )
- _bind_edit( ) and the *_model_update( ) no-ops are removed, the new
client methods (nav back and tag, pending, start params, timer) added
- in-place changes of a table or structure field are kept; the advice to
assign the whole array is corrected
- protocol 3 on the protocol page: VIEWS / NAV / ACTIONS, ROUTE, the
flags object of an event wire, the loader page and the frontend bundle
- the accelerate key is gone; compression and sessions are the runtime's
- a draft chain is pruned to two rows (draft_keep_per_chain)
- abap2js: itab[ n ], the new window_bind_tab( ); samples 0.5.0
- t.ref( ) of 0.7.0, which the site had skipped
- the default CSP has no 'unsafe-eval' on 1.151.0 (measured), and the
popup classes left the runtime, so the pages that said otherwise say so
Measured where it says measured: cap2UI5's example on the published
runtime 1.151.0, on the wire. No browser was run.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmF5H6WQ7x9qQkEGQmH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The site described plugin 0.6.0 on runtime 1.149.0. This brings it to
@cap2ui5/cds-plugin0.8.0, which hosts@abap2ui5/node-runtime1.151.0 (abap2UI5 1.151.0). No page was restructured; 27 files changed.Release state — read this first
0.8.0 is not released. It was prepared in cap2UI5/cap2UI5#119, which was merged into cap2UI5's
mainwhile this was being written (50013eb), but there is nov0.8.0tag and npm's latest is still 0.7.0 (looked up 2026-11-27). So the site describes a version a reader cannot install yet. Following AGENTS.md, every page that says "since 0.8.0" or describes what differs from 0.7.0 marks it not released yet; the Quickstart andreference/configuration("0.8.0 and runtime 1.151.0") explain it. Those marks have to come off when 0.8.0 is on npm — AGENTS.md now says so.@cap2ui5/samples0.5.0 is in the same state: it exists on a branch of cap2UI5/samples (claude/pensive-euler-a6i8y1), npm has 0.4.0.What changed
.verify-refs-ignoreas history, with its reason.api/client): rewritten for the app-drivenwindow_bind_tab({ val, total, event, window }), the request inget().r_event_data,cs_window_reason,/__WINDOW/<PATH>withTOTAL,COUNT,SIZE,EVENT.window_get_row( ),t_sortandt_filteras parameters are described as gone, with what 0.6.0/0.7.0 did._bind_edit( )and the five*_model_update( )are out of the API tables and the ABAP example onguide/views; a "Removed with 0.8.0" table says what to write instead.check_on_nav_back( ),get_nav_tag( )withnav_app_call({ app, tag }),check_nav_pending( ),get_start_param( ),timer_set( )/timer_stop( ),keep_messages— inapi/client, with a short section onguide/navigation.guide/data-binding,examples/listandapi/app-interfaceno longer say a table must be assigned whole.reference/protocol):S_FRONT.VIEWS/NAV/ACTIONS,S_FRONT.ROUTE, the flags object of an event wire, the loader page and the?z2ui5-bundlefrontend. "The page embeds the whole UI5 frontend" is reworded on the eleven pages that said it in passing.acceleratekey is removed from the table and named only as the key that went; compression, sessions and the queue are attributed to the runtime'scompress( ),withSession( ),exclusive( ).draft_keep_per_chain) onguide/persistence,reference/databaseand the user exit's field table.itab[ n ], the newwindow_bind_tab( ),TRYand a row by key refused. Samples: 0.5.0, 76 of 145, 72 generated and four by hand.plugin/lib/layout withoutcompression.jsandsessions.js, the bundle).Three things outside the checklist, found while checking it:
t.ref( )from 0.7.0 was not on the site at all; it has a short section inapi/app-interfacenow.guide/user-exitsaid the default CSP allows'unsafe-eval'. On 1.151.0 it does not (script-src 'self' 'wasm-unsafe-eval' …, measured), so the section and the troubleshooting entry are corrected.guide/agentsnamedz2ui5_cl_pop_to_confirmas a framework popup. Thez2ui5_cl_pop_*classes left abap2UI5's core in 1.151.0 and are not in the published runtime, which verify-refs flagged; the sentence no longer names the class. The plugin's own README still does.What I verified
npm run checkis green withCAP2UI5_DIRat the branchclaude/pensive-euler-a6i8y1-table-expression(8cf9899) andABAP2UI5_DIRat tag1.151.0.verify-refs --require-checkoutis also green against cap2UI5'smainas it is now, which is what CI checks out.plugin/CHANGELOG.md,plugin/README.md,plugin/index.d.ts, cap2UI5'sAGENTS.mdand the example's apps and tests.runtime accelerations activeany more);Cache-Controlwith and without the hash, and 404 for/z2ui5/webapp/index.html;/__WINDOW/ROWSand the first window of the example app;draft_keep_per_chain: default 2, and 0 and 4 set throughdefineExit(2, 7 and 4 of 7 drafts still answering);cfgfields and the default CSP;abap2json six small classes:TRY,itab[ 1 ],itab[ id = 1 ],window_bind_tab( ),window_get_row( ),_bind_edit( ).^0.6.0, andnpm add -D @cap2ui5/samplesbeside plugin 0.7.0 failing with ERESOLVE — the Quickstart's warning now says that instead of the 0.6.0/0.3.0 pair.What I could not verify
sap.m.Tablein a headless browser, on 0.6.0) is replaced by one that says wire only. Not seen in a browser: the list requesting more rows, a tickingtimer_set( ), and whetherhash_set( )/hash_replace( )leave the URL alone without ahash_attach_changedlistener — on the wire theS_FRONT.NAVrequest goes out either way, and the page says the decision is the browser's.keep_messagesandS_FRONT.ROUTEare described from the CHANGELOG, the type declarations and the tests' helpers; I did not send such a request myself.'unsafe-eval'back for an old UI5 is not run, and the page says so.guide/ecosystem(about 4,600, plus about 2,500 vendored) is my own count without comments and blank lines; the earlier figure may have been counted differently.Not merged, as asked.
Generated by Claude Code