Repository navigation
v2.0.0-alpha.4
Pre-release
Pre-release
·
122 commits
to main
since this release
- Security:
?cwa_force=with any value other thantrueno longer sends the server render into an endless redirect that pinned an SSR process; the parameter is removed whatever its value (#366, 038e1364) - Breaking: live updates subscribe with the Mercure 1.0 protocol (
match=*, andlast_event_idon reconnect), so the API's hub must be Mercure 1.0 (api-components-bundle 2.0.0-alpha.8); a 0.x hub rejects the subscription (#364, 61dd29f8) - A
<CwaComponentGroup>whose location is page data (or any type that cannot own a group) is no longer created or attached, and the admin console warns to pass the page IRI instead: such a group was invisible to visitors, listed as orphaned, and was PATCHed with anundefinedproperty on every admin load (#363, 0a02879d) - A warning in the admin header counts stranded component groups: groups attached to the page, its layout or a component on it whose reference no
<CwaComponentGroup>in the app's templates declares, such as the old group left behind when a reference is renamed or a legacy group located at a draft IRI; the declarations are read from the app's Vue files at build time. Its modal lists their components and merges each one to the end of a shown group or deletes it (#360, 94481372, fee09284) /_cwa/orphanedalso reports stored files: orphaned files nothing references, which can be deleted after a confirmation, unknown files the API cannot prove it wrote, which are only listed, and missing files, whose resource can be viewed; site settings scans files separately and counts both reports in its notice. Needs an api-components-bundle release containing #371 (#362, 60a0d792, 0d76809e)- The module declares its real minimum Nuxt version,
>=4.5.2, so Nuxt warns an app on an older version instead of failing later (e0ef82ed) - View on a never-published orphaned component shows its content instead of a 404 (#359, 292f7885)
- Every
/_cwaadmin page is guarded by thecwa-adminmiddleware: a signed-in non-admin goes home, and a signed-out visitor goes to login from the browser, since with a cross-origin API the server cannot see the session (dd4f8a6d, 5be5b635)