@plone/aurora 1.0.0-alpha.26 → 1.0.0-alpha.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/catalog.json +73 -0
  2. package/dist/preset.d.ts +25 -0
  3. package/dist/preset.js +14 -0
  4. package/dist/registry-publicui.config.d.ts +8 -0
  5. package/dist/registry-publicui.config.js +14 -0
  6. package/dist/registry.config.d.ts +16 -0
  7. package/dist/registry.config.js +17 -0
  8. package/dist/routes.d.ts +25 -0
  9. package/dist/routes.js +23 -0
  10. package/dist/vite.d.ts +24 -0
  11. package/dist/vite.js +135 -0
  12. package/package.json +93 -46
  13. package/pnpmfile.cjs +20 -0
  14. package/server.js +2 -1
  15. package/{app → src/app}/config/index.ts +1 -2
  16. package/{app → src/app}/config/server.server.ts +2 -4
  17. package/{app → src/app}/entry.client.tsx +12 -1
  18. package/{app → src/app}/entry.server.tsx +7 -0
  19. package/{app → src/app}/i18next.server.test.ts +48 -1
  20. package/{app → src/app}/i18next.server.ts +22 -14
  21. package/{app → src/app}/middleware.server.test.ts +0 -68
  22. package/{app → src/app}/middleware.server.ts +32 -40
  23. package/src/app/root.server.ts +124 -0
  24. package/{app → src/app}/root.test.tsx +36 -7
  25. package/src/app/root.tsx +101 -0
  26. package/.release-it.json +0 -32
  27. package/.stylelintrc +0 -8
  28. package/CHANGELOG.md +0 -450
  29. package/Makefile +0 -82
  30. package/acceptance/tests/anonymous-401-redirect.test.ts +0 -75
  31. package/acceptance/tests/basic.test.ts +0 -14
  32. package/acceptance/tests/hydration.test.ts +0 -106
  33. package/acceptance/tests/multilingual-root-redirect.test.ts +0 -45
  34. package/app/root.tsx +0 -191
  35. package/app/routes.ts +0 -20
  36. package/news/.gitkeep +0 -0
  37. package/public/favicon.ico +0 -0
  38. package/public/icon.svg +0 -13
  39. package/react-router.config.ts +0 -11
  40. package/registry-publicui.config.ts +0 -11
  41. package/registry.config.ts +0 -16
  42. package/tests/setup.ts +0 -6
  43. package/tests/testHelpers.tsx +0 -29
  44. package/towncrier.toml +0 -33
  45. package/tsconfig.json +0 -35
  46. package/vite.config.ts +0 -117
  47. package/vitest.config.ts +0 -32
  48. /package/{app → src/app}/config/index.test.ts +0 -0
  49. /package/{app → src/app}/config/server/content-migrations.server.test.ts +0 -0
  50. /package/{app → src/app}/config/server/content-migrations.server.ts +0 -0
  51. /package/{app → src/app}/config/server/migrations.server.ts +0 -0
  52. /package/{app → src/app}/config/server.server.test.ts +0 -0
  53. /package/{app → src/app}/config/types.ts +0 -0
  54. /package/{app → src/app}/i18n.ts +0 -0
  55. /package/{app → src/app}/okroute.test.tsx +0 -0
  56. /package/{app → src/app}/okroute.tsx +0 -0
  57. /package/{app → src/app}/reset-fetcher.test.tsx +0 -0
  58. /package/{app → src/app}/reset-fetcher.tsx +0 -0
@@ -0,0 +1,101 @@
1
+ import { useEffect, type PropsWithChildren } from 'react';
2
+ import {
3
+ isRouteErrorResponse,
4
+ useRouteError,
5
+ useRouteLoaderData,
6
+ } from 'react-router';
7
+ import { useTranslation } from 'react-i18next';
8
+ import type { RootLoaderData } from '@plone/types';
9
+
10
+ // The client-safe part of the app's root route. Its middleware and loader are
11
+ // in `root.server.ts`.
12
+
13
+ export const handle = {
14
+ // In the handle export, we can add a i18n key with namespaces our route
15
+ // will need to load. This key can be a single string or an array of strings.
16
+ // TIP: In most cases, you should set this to your defaultNS from your i18n config
17
+ // or if you did not set one, set it to the i18next default namespace "translation"
18
+ i18n: 'common',
19
+ };
20
+
21
+ export function Layout({ children }: PropsWithChildren) {
22
+ // React Router doesn't pass the loader data to `Layout`, and it can be
23
+ // undefined in case of an error
24
+ const loaderData = useRouteLoaderData<RootLoaderData>('root');
25
+ const locale = loaderData?.locale || 'en';
26
+
27
+ // Sync the i18n instance's language to the locale detected by the loader,
28
+ // this way, when we do something to change the language, this locale will
29
+ // change and i18next will load the correct translation files
30
+ const { i18n } = useTranslation();
31
+ useEffect(() => {
32
+ if (i18n.language !== locale) i18n.changeLanguage(locale);
33
+ }, [locale, i18n]);
34
+
35
+ return children;
36
+ }
37
+
38
+ // ToDo: improve error page and error handling
39
+ // Inline styles, not Tailwind classes: Tailwind only scans the app and the
40
+ // add-ons, not this package, and a public theme may not use Tailwind at all.
41
+ export function ErrorBoundary() {
42
+ // React Router passes the error as a prop only to an `ErrorBoundary` that is
43
+ // declared in the route file. The app's `root.tsx` re-exports this one, so
44
+ // read the error from the route instead.
45
+ const error = useRouteError();
46
+ let message = 'Oops!';
47
+ let details = 'An unexpected error occurred.';
48
+ let stack: string | undefined;
49
+
50
+ if (isRouteErrorResponse(error)) {
51
+ switch (error.status) {
52
+ case 404:
53
+ message = '404';
54
+ details = 'The requested page could not be found.';
55
+ break;
56
+ case 401:
57
+ message = '401';
58
+ details = 'You are not authorized to view this page.';
59
+ break;
60
+ case 500:
61
+ message = '500';
62
+ details =
63
+ 'The server encountered an internal error. Did you start the backend?';
64
+ break;
65
+ default:
66
+ message = 'Error ' + error.status;
67
+ details = error.statusText || details;
68
+ break;
69
+ }
70
+ } else if (import.meta.env.DEV && error && error instanceof Error) {
71
+ details = error.message;
72
+ stack = error.stack;
73
+ }
74
+
75
+ return (
76
+ <html lang="en">
77
+ <head>
78
+ <meta charSet="utf-8" />
79
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
80
+ <meta name="mobile-web-app-capable" content="yes" />
81
+ </head>
82
+ <body>
83
+ <main
84
+ style={{
85
+ maxWidth: '80rem',
86
+ marginInline: 'auto',
87
+ padding: '4rem 1rem 1rem',
88
+ }}
89
+ >
90
+ <h1>{message}</h1>
91
+ <p>{details}</p>
92
+ {stack && (
93
+ <pre style={{ width: '100%', overflowX: 'auto', padding: '1rem' }}>
94
+ <code>{stack}</code>
95
+ </pre>
96
+ )}
97
+ </main>
98
+ </body>
99
+ </html>
100
+ );
101
+ }
package/.release-it.json DELETED
@@ -1,32 +0,0 @@
1
- {
2
- "plugins": {
3
- "../../packages/scripts/prepublish.js": {}
4
- },
5
- "hooks": {
6
- "after:bump": [
7
- "uvx towncrier build --draft --yes --version ${version} > .changelog.draft",
8
- "uvx towncrier build --yes --version ${version}"
9
- ],
10
- "after:release": [
11
- "rm .changelog.draft",
12
- "pnpm dist-tag add @plone/aurora@${version} latest"
13
- ]
14
- },
15
- "npm": {
16
- "publish": false
17
- },
18
- "git": {
19
- "commitArgs": ["--no-verify"],
20
- "changelog": "uvx towncrier build --draft --yes --version 0.0.0",
21
- "requireUpstream": false,
22
- "requireCleanWorkingDir": false,
23
- "commitMessage": "Releasing @plone/aurora ${version}",
24
- "tagName": "${version}",
25
- "tagAnnotation": "${version}"
26
- },
27
- "github": {
28
- "release": true,
29
- "releaseName": "${version}",
30
- "releaseNotes": "cat .changelog.draft"
31
- }
32
- }
package/.stylelintrc DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "extends": ["stylelint-config-idiomatic-order"],
3
- "plugins": ["stylelint-prettier"],
4
- "rules": {
5
- "prettier/prettier": true,
6
- "order/properties-alphabetical-order": null
7
- }
8
- }
package/CHANGELOG.md DELETED
@@ -1,450 +0,0 @@
1
- # @plone/aurora Release Notes
2
-
3
- <!-- Do *NOT* add new change log entries to this file.
4
- Instead create a file in the news directory.
5
- For helpful instructions, see:
6
- https://6.docs.plone.org/contributing/index.html#change-log-entry
7
- -->
8
-
9
- <!-- towncrier release notes start -->
10
-
11
- ## 1.0.0-alpha.26 (2026-11-22)
12
-
13
- ### Documentation
14
-
15
- - Documented the Quanta tabs: the `segmented` look of `TabList` and the swipeable `TabPanelCarousel`. @sneridagh
16
-
17
- ## 1.0.0-alpha.25 (2026-11-21)
18
-
19
- ### Feature
20
-
21
- - Aurora registers `@plone/controlpanels` as an add-on, so its translations load. @sneridagh
22
-
23
- ### Documentation
24
-
25
- - Documented the new `@plone/controlpanels` package in the package overview and the release order. @sneridagh [#269](https://github.com/plone/aurora/issues/269)
26
- - Added the conceptual guide "Packages for Volto and Plone Aurora", on how `@plone/plate` and `@plone/controlpanels` run in both apps: no framework imports, a provider and a driver, translations, styles, building and the registry as a peer dependency. @sneridagh
27
-
28
- ## 1.0.0-alpha.24 (2026-11-18)
29
-
30
- ### Breaking
31
-
32
- - The page body is now stored in the `main` region of `blocks`, with `"@type": "plate"`, instead of the `__somersault__` block. Content with the old block is renamed when it is read, through the new `contentMigration` utility type, and keeps the new shape once it is saved. The backend must run Plone 6.2 with `plone.restapi` 10.3.0 or later before deploying this version, so that `plate` regions are indexed, checked for link integrity, and get `resolveuid` links. It also needs `plone.volto` 6.2.1 or later with the `plone.volto:aurora` profile applied, so that the Personal tools menu gets the links of Plone Aurora instead of those of the Volto toolbar. With a Nick backend, upgrade to Nick 3.1.0 or later first, which reads the `main` region. See the upgrade guide. @sneridagh [#379](https://github.com/plone/aurora/issues/379)
33
-
34
- ### Internal
35
-
36
- - Allowed up to 10 different pixels in the visual regression screenshots in CI, so anti-aliasing noise no longer fails the nightly run. @sneridagh
37
-
38
- ### Documentation
39
-
40
- - Say Plate.js blocks instead of Plate-native blocks in the docs. @silviubogan [#231](https://github.com/plone/aurora/issues/231)
41
- - Updated the control panel and toolbar how-to guides for the `/@@controlpanel` path. @sneridagh [#429](https://github.com/plone/aurora/issues/429)
42
- - Document the Nick 3.1.0 requirement, and remove the Volto versions, Python support and branch policy from the version policy and the system requirements. @sneridagh
43
- - Documented the `personal_tools` and `more_menu` actions for the Personal tools and More toolbar menus. @sneridagh
44
- - Documented the document model of the `@blocks-schema` endpoint, the `document_model` frontmatter of element docs and of the document model docs, and the `type` query parameter. @sneridagh
45
-
46
- ## 1.0.0-alpha.23 (2026-11-06)
47
-
48
- ### Internal
49
-
50
- - Added `usehooks-ts`, a new dependency of `@plone/quanta`, to the Vite `optimizeDeps` list. @sneridagh
51
- - Installed `plone.restapi` 10.2.0 in the development and acceptance backends, through `KGS` in `variables.mk`, which the acceptance backend now installs too. @sneridagh
52
- - Load the private `@plone/test-addon` add-on when the `PLONE_TEST_ADDON` environment variable is set, as the acceptance `make` targets do. It registers blocks and fields that only the acceptance and visual regression tests use. @sneridagh
53
-
54
- ### Documentation
55
-
56
- - Added the how-to guide "Add a control panel": the backend parts, the icon and description on the site setup page, hiding a control panel, and replacing its form with a page of your own. @sneridagh
57
-
58
- ## 1.0.0-alpha.22 (2026-10-30)
59
-
60
- ### Breaking
61
-
62
- - `REACT_ROUTER_ALLOWED_ACTION_ORIGINS` is now read when the production server starts, not when building. Set it in the environment of the running server. @sneridagh
63
-
64
- ### Bugfix
65
-
66
- - Fixed the interface language staying English when the project supports more languages: the i18next middleware and the client now read `config.settings.supportedLanguages` after the configuration is applied, and the client starts in the language the server detected. `app/i18n` now exports `getI18nOptions()` instead of a default options object. @sneridagh [#354](https://github.com/plone/aurora/issues/354)
67
- - Run the production server (`pnpm start:prod`) with an Aurora server that trusts the `X-Forwarded-*` headers of proxies on private networks, instead of `react-router-serve`. Behind a proxy that terminates TLS, React Router saw the request as `http` while the browser sends an `https` origin, so every action, login included, failed with a 400. It now works for every host the site is served on, without configuration. Set `TRUST_PROXY` to change which proxies are trusted. @sneridagh
68
-
69
- ## 1.0.0-alpha.21 (2026-10-30)
70
-
71
- ### Feature
72
-
73
- - The hosts allowed as action origins can be set from the environment when building (`REACT_ROUTER_ALLOWED_ACTION_ORIGINS`, comma separated, with `*`/`**` wildcards). Behind a proxy that terminates TLS, React Router sees the request as `http` while the browser sends an `https` origin, so every action, login included, failed with a 400. @sneridagh
74
-
75
- ## 1.0.0-alpha.20 (2026-10-29)
76
-
77
- ### Feature
78
-
79
- - A visitor who is not signed in and opens private content is sent to the login page with the page as `return_url`, as in Volto, instead of a bare 401 page. An expired sign-in does the same and clears the cookie. Signed-in users without permission still see the 401 page. @mpalomaki
80
- - Added `config.settings.apiExpanders`, so add-ons can add expandable components to the main content request, optionally for signed-in users only. @sneridagh
81
- - Added the `clientEndpoints` utility type, so add-ons can add custom endpoint methods to the request Plone client. @sneridagh
82
- - Added the `contentResource` utility type and its middleware, which answers resources below a content path, like `/<path>/@blocks-schema`. @sneridagh
83
- - On a multilingual site a request for the site root is redirected to the default language root — a full load and a client-side navigation alike — as Plone's language switcher view and Volto's `MultilingualRedirector` do. The root stays reachable through its contents view. @mpalomaki
84
- - The build directory can be set from the environment (`REACT_ROUTER_BUILD_DIR`), so a deployment can build aside into a versioned directory and swap a symlink rather than overwrite the directory the running server serves — `react-router build` removes its build directory first. The default `build` is unchanged. @mpalomaki
85
- - The content request expands the page's `translations` by default, for the LanguageSwitcher. A site without `plone.app.multilingual` ignores it. @sneridagh
86
- - The root middleware no longer loads the Plone content, site and user for resource routes, whose path has a segment that starts with a single `@` (`@search`, `@@contents/@delete`), nor for the `/ok` health check, which saves three backend requests per call. The `reset-fetcher` route is renamed to `@reset-fetcher`. @sneridagh
87
-
88
- ### Bugfix
89
-
90
- - Apply the server configuration once per process instead of on every request, which made `config.routes` and the slot components grow without bound. @sneridagh
91
- - Serve user portraits to browser image requests and persist the preferred interface language. @sneridagh
92
-
93
- ### Internal
94
-
95
- - Pre-bundled `jotai/vanilla` for `@plone/helpers`, which its form layer imports. @sneridagh
96
- - Removed the `@plone/components > react-aria-components/DropZone` Vite pre-bundling entry, since `@plone/components` no longer has a `DropZone`. @pnicolli
97
- - Updated React Aria Components to 1.22, and moved all React Aria packages and `tailwindcss-react-aria-components` into the pnpm catalog. @sneridagh
98
- - Upgraded pnpm to 12, and enabled `autoDedupe` and `minimumReleaseAgeExcludePrune`. @sneridagh
99
- - Upgraded to Node.js 26 in CI, and to React Router 8.5.0 and React 19.3. @sneridagh
100
-
101
- ### Documentation
102
-
103
- - Added the "Form fields, controls, widgets, and adapters" conceptual guide, with a diagram, worked examples and a glossary. @sneridagh [#97](https://github.com/plone/aurora/issues/97)
104
- - Solved a few Vale issues, by replacing failing regular expressions with functional ones, and corrected spelling of "Sass" in narrative docs. @silviubogan [#297](https://github.com/plone/aurora/issues/297)
105
- - Added Node.js 26 to the supported Node.js versions. @sneridagh
106
- - Added a "Forms and widgets" section to the upgrade guide: the widget contract, the new form engine, validators, and the renamed Quanta pickers. @sneridagh
107
- - Added the "Add custom endpoints to the Plone client" how-to guide. @sneridagh
108
- - Added the "Add expanders to the content request" how-to guide. @sneridagh
109
- - Added the "Core widgets" reference: what each widget is registered for, the value it reads and writes, and its widget options, such as the image widget's `extraFields`. @sneridagh
110
- - Added the "Validate form fields" how-to: default validators, registering validators by format, type, widget, behavior or block, overriding them, writing them, translating their messages, and invariants. Updated the block schema side effects how-to to the current block settings form. @sneridagh
111
- - Added the Quanta components reference, with how each component relates to React Aria's Tailwind starter. @sneridagh
112
- - Added the upgrade guide entry for the Quanta `Sheet`. @sneridagh
113
- - Added the upgrade guide entry for the Quanta palette removed from `@plone/components`' basic CSS. @pnicolli
114
- - Added the upgrade guide entry for the components removed from `@plone/components`, and linked the `@plone/icons` Storybook. @pnicolli
115
- - Added the upgrade guide for Quanta's `MultiSelect`. @sneridagh
116
- - Added the upgrade guide for the Quanta collections. @sneridagh
117
- - Added the upgrade guide for the Quanta fields, which follow React Aria's Tailwind starter. @sneridagh
118
- - Added the upgrade guide for the Quanta navigation components. @sneridagh
119
- - Documented form validation and how to register validators. @sneridagh
120
- - Documented how to add Plate plugins from an add-on. @sneridagh
121
- - Documented how to write block docs, the `@blocks-schema` endpoint, and how to answer a resource below a content path with a `contentResource` utility. @sneridagh
122
- - Documented how widgets read the form and where it is, and the widget context upgrade step. @sneridagh
123
- - Documented testing widgets against the contract, and the compile-time check of registered widgets. @sneridagh
124
- - Documented the new core widgets, the choices widget in the widget lookup order, and the file and image fields in the upgrade guide. @sneridagh
125
- - Documented the route naming convention, `@@` for views and a single `@` for resource routes, and that the root middleware does not load the content for resource routes. @sneridagh
126
- - Updated the metadata text binding reference for the form context. @sneridagh
127
-
128
- ## 1.0.0-alpha.19 (2026-10-06)
129
-
130
- ### Documentation
131
-
132
- - Documented the content styles loader, its authoring rules, and how to override block styles from an add-on. @sneridagh [#199](https://github.com/plone/aurora/issues/199)
133
- - Documented the block content classname contract for themers. @sneridagh [#200](https://github.com/plone/aurora/issues/200)
134
- - Added the block content CSS changes of plone/aurora#199 and plone/aurora#200 to the upgrade guide. @sneridagh
135
- - Added the how-to guide "Style blocks in a theme", with every block's parts and tokens, and fixed the content styles examples in the add-on styles loader and block anatomy docs. @sneridagh
136
-
137
- ## 1.0.0-alpha.18 (2026-10-06)
138
-
139
- ### Internal
140
-
141
- - Update to latest @plone/plate @sneridagh [#update](https://github.com/plone/aurora/issues/update)
142
-
143
- ## 1.0.0-alpha.17 (2026-10-06)
144
-
145
- ### Internal
146
-
147
- - Upgrade to use latest @plone/plate. @sneridagh
148
-
149
- ## 1.0.0-alpha.16 (2026-10-03)
150
-
151
- ### Bugfix
152
-
153
- - Fixed the server not loading the translations, which made it render raw message keys and React replace the whole server-rendered page on hydration. @sneridagh
154
-
155
- ### Internal
156
-
157
- - Added nightly Playwright visual regression tests for native blocks and editor overlays, with baselines stored in the `plone/aurora-visual-regression` repository and a protected workflow to update the screenshots. @sneridagh
158
- - Cached the Playwright browsers in CI, and stopped installing their system dependencies with apt, which was sometimes very slow. @sneridagh
159
- - Import icons from `@plone/icons`. Depend on `@plone/quanta` and pre-bundle its dependencies. @pnicolli
160
- - Sped up CI: superseded runs on branches and pull requests are cancelled, the format and style checks skip building the packages, and the `@plone/client` unit tests no longer install Playwright. @sneridagh
161
- - Split the Playwright acceptance tests in CI across 3 shards, and merge their reports into a single HTML report. @sneridagh
162
- - The `release` scripts of all the packages now take the GitHub token from `gh auth token` when `GITHUB_TOKEN` is not set. @sneridagh
163
- - The release configuration of all the packages now runs `towncrier` with `uvx` instead of `pipx`. @sneridagh
164
- - Updated `actions/checkout` to v7 and `JarvusInnovations/background-action` to v2 in the visual regression workflows. @sneridagh
165
-
166
- ### Documentation
167
-
168
- - Added the "How to make a Plone Aurora release" documentation page, with the release requirements and the `prereleaser` workflow. @sneridagh
169
- - Documented how to upgrade existing add-ons for the split of `@plone/components` into `@plone/quanta` and `@plone/icons`. @sneridagh
170
- - Documented the visual regression tests: how to run them, review a failure and update the baseline screenshots, and how maintainers set up the GitHub infrastructure. @sneridagh
171
-
172
- ## 1.0.0-alpha.15 (2026-10-01)
173
-
174
- ### Internal
175
-
176
- - Update to the latest @plone/plate and @plone/cmsui @sneridagh
177
-
178
- ## 1.0.0-alpha.14 (2026-09-30)
179
-
180
- ### Internal
181
-
182
- - Use latest @plone/plate @sneridagh
183
-
184
- ## 1.0.0-alpha.13 (2026-09-30)
185
-
186
- ### Internal
187
-
188
- - Use new @plone/plate release. @sneridagh
189
-
190
- ## 1.0.0-alpha.12 (2026-09-29)
191
-
192
- ### Internal
193
-
194
- - Use updated @plone/plate. @sneridagh
195
-
196
- ## 1.0.0-alpha.11 (2026-09-29)
197
-
198
- ### Feature
199
-
200
- - Registered a somersault migration that converts legacy flat blockquotes from volto-slate content into blockquote containers. @sneridagh
201
-
202
- ### Internal
203
-
204
- - Updated the pull request template to refer to Aurora instead of Volto. @stevepiercy
205
-
206
- ### Documentation
207
-
208
- - Added testing documentation. @pnicolli
209
-
210
- ## 1.0.0-alpha.10 (2026-09-21)
211
-
212
- ### Internal
213
-
214
- - Replaced `__dirname` with `import.meta.dirname` and added the `.js` extension to the `./.plone/vite.loader` import in `vite.config.ts` to silence the Vite native config loader deprecation warnings. @sneridagh
215
- - Replaced remaining `Seven`/`volto` references with `Plone Aurora`/`aurora` across repository docs, Makefile, and CI configuration. @sneridagh
216
- - Update to support Plone 6.2.2. @sneridagh
217
-
218
- ### Documentation
219
-
220
- - Expanded the "Create a package" and "Create a project" get-started guides to explain what a frontend add-on and a full project are, when to choose one over the other, and why an add-on's backend can only run a vanilla Plone Docker image. Also added the missing `create-project` link under "Integrators" in the docs index. @sneridagh
221
-
222
- ## 1.0.0-alpha.9 (2026-09-16)
223
-
224
- ### Documentation
225
-
226
- - Update the root-loader how-to and the Prisma tutorial so `rootLoaderData` utilities return the `{ status, data }` envelope that the root loader unwraps and merges. @sneridagh [#169](https://github.com/plone/volto/issues/169)
227
-
228
- ## 1.0.0-alpha.8 (2026-09-14)
229
-
230
- ### Breaking
231
-
232
- - The fixed wiring up the `rootLoaderData` utility envelope in the root loader provokes a breaking change for all `rootLoaderData` utilities so they must return a `{ status, data }` envelope (matching the PloneClient response shape), but the root loader spread the whole envelope onto the root loader data instead of merging each utility's `data`. It now merges `data`, so utilities that namespace their payload (for example `{ status, data: { likes: {...} } }`) are exposed correctly. @sneridagh
233
-
234
- ### Bugfix
235
-
236
- - Wire up the `rootLoaderData` utility envelope in the root loader. Utilities return a `{ status, data }` envelope (matching the PloneClient response shape), but the root loader spread the whole envelope onto the root loader data instead of merging each utility's `data`. It now merges `data`, so utilities that namespace their payload (for example `{ status, data: { likes: {...} } }`) are exposed correctly. Acting on `status` is left for a follow-up. @sneridagh
237
-
238
- ## 1.0.0-alpha.7 (2026-09-05)
239
-
240
- ### Internal
241
-
242
- - Re-release for adjust tag in repo and in npm automatically during the alpha phase. @sneridagh
243
-
244
- ## 1.0.0-alpha.6 (2026-09-05)
245
-
246
- ### Internal
247
-
248
- - Re-release for update the README in npm. @sneridagh
249
-
250
- ## 1.0.0-alpha.5 (2026-09-05)
251
-
252
- ### Breaking
253
-
254
- - Refactored the `Content` type to properly match the basic Plone types and allow TypeScript to narrow this type automatically. @pnicolli
255
- - Renamed the Seven app package and import alias to `@plone/aurora`. @sneridagh
256
-
257
- ### Feature
258
-
259
- - Added `isAuthenticated` boolean to root loader data. @arybakov05 [#6710](https://github.com/plone/volto/issues/6710)
260
- - Added a middleware to handle Link Content Type View redirecting users that don't have Edit permissions. @pnicolli
261
- - Added recurrence widget. @sabrina-bongiovanni
262
- - Handled redirect responses from the backend when fetching content objects. @pnicolli
263
- - Registered Aurora native blocks are now migrated into the Somersault field as `type: 'ploneBlock'` nodes with migrated `blockWidth` defaults so they can be rendered by the new editor pipeline later. @sneridagh
264
- - Registered the new `@plone/contents` add-on in the Seven app. @pnicolli @giuliaghisini @sneridagh
265
-
266
- ### Bugfix
267
-
268
- - Fixed the dev server due to stale react-i18next imports. @sneridagh
269
- - Gracefully clear stale `auth_seven` cookies and retry public page and asset requests anonymously instead of surfacing a `401` error boundary. @sneridagh
270
-
271
- ### Internal
272
-
273
- - Add the missing `@babel/core` dev dependency and ignore the local `var/` runtime directory for app development. @sneridagh
274
- - Added `optimizeDeps.include` entries for non-addon workspace packages and app-level deps to reduce lazy dependency discovery reloads on dev server startup. @arybakov05
275
- - Excluded `i18next-fs-backend` and `remix-i18next/server` from the client `optimizeDeps` bundle — they were still being picked up by Vite's client-side dependency scanner despite only being declared in `ssr.optimizeDeps.include`. @sneridagh
276
- - Unify Makefile files across the packages. @ionlizarazu
277
- - Update the Babel Vite plugin configuration for Vite 8 dependency optimization and apply the React Compiler transform to TypeScript modules outside dependencies. @sneridagh
278
- - Updated development, CI, and documentation tooling to use pnpm 11.20.0 reproducibly through Corepack. @sneridagh
279
- - Upgraded React Router to v8 and migrated `remix-i18next` to its v8 middleware-based API (`createI18nextMiddleware`), replacing the removed `RemixI18Next` class and its subpath exports. @sneridagh
280
-
281
- ### Documentation
282
-
283
- - Search and replace seven->aurora. @sneridagh
284
-
285
- ## 1.0.0-alpha.4 (2026-05-13)
286
-
287
- ## 1.0.0-alpha.3 (2026-05-07)
288
-
289
- ### Internal
290
-
291
- - Added AGENTS.md file. @pnicolli
292
- - Aligned the Seven app TypeScript configuration and root loader typing with the monorepo-wide typecheck cleanup.
293
-
294
- ## 1.0.0-alpha.2 (2026-04-16)
295
-
296
- ### Breaking
297
-
298
- - Removed Cypress support.
299
- Added Playwright support. Move all existing Cypress tests to Playwright. @sneridagh [#7827](https://github.com/plone/volto/issues/7827)
300
-
301
- ### Feature
302
-
303
- - Listing block @ebrehault [#7603](https://github.com/plone/volto/issues/7603)
304
- - Somersault editor support. @sneridagh [#7921](https://github.com/plone/volto/issues/7921)
305
- - Create video block view @tedw87 [#8004](https://github.com/plone/volto/issues/8004)
306
- - Refactored runtime migrations to match the somersault editor, reorganize server config files. Fixed tests. @sneridagh [#8021](https://github.com/plone/volto/issues/8021)
307
- - Added runtime migration for default blockWidths. @sneridagh [#8071](https://github.com/plone/volto/issues/8071)
308
- - Update to Vite 8 and RR7 7.14.0. @sneridagh [#8106](https://github.com/plone/volto/issues/8106)
309
- - Moved the initialize client to the middleware from the config. @sneridagh [#8108](https://github.com/plone/volto/issues/8108)
310
- - Added user data in the context for authenticated users @pnicolli
311
- - Apply add-on-provided Vite extension loaders in the Seven app configuration so installed add-ons can extend the app build setup. @sneridagh
312
- - Moved basic data fetching to a middleware to allow all loaders and actions to use it @pnicolli
313
-
314
- ### Bugfix
315
-
316
- - Added safeguard when checking for a contents blocks data @arybakov05 [#8001](https://github.com/plone/volto/issues/8001)
317
- - Fixed SOMERSAULT_KEY constant, it is centralized now. @sneridagh [#8078](https://github.com/plone/volto/issues/8078)
318
- - Added auth token to the requests in the root loader @pnicolli
319
-
320
- ### Internal
321
-
322
- - Upgraded to use RR 7.12.0. @sneridagh [#7787](https://github.com/plone/volto/issues/7787)
323
- - Adapt Seven middleware to the updated `@plone/client` user lookup argument names. @sneridagh
324
- - Updated app test and eslint config. @pnicolli
325
- - Use Plone 6.2.0rc1 for development. @davisagli
326
-
327
- ## 1.0.0-alpha.1 (2025-12-23)
328
-
329
- ### Feature
330
-
331
- - Server side add-on configuration. @sneridagh [#7443](https://github.com/plone/volto/issues/7443)
332
- - Added loading of rootLoaderData utilities in the root route. @sneridagh [#7449](https://github.com/plone/volto/issues/7449)
333
- - Improve `rootLoaderData` utility call. @sneridagh [#7455](https://github.com/plone/volto/issues/7455)
334
- - Cypress tests for @@edit view. @sneridagh [#7650](https://github.com/plone/volto/issues/7650)
335
- - Rename plugin to CypressPlugin. Removed support for using registry based `useBlocksAPI`, using the embedded editor instead. Removed dependency on `@platejs/playwright`. Added Cypress Plate helpers and documentation. @sneridagh [#7668](https://github.com/plone/volto/issues/7668)
336
-
337
- ### Bugfix
338
-
339
- - Fixed locales load on production builds. @sneridagh [#7461](https://github.com/plone/volto/issues/7461)
340
- - Fixed problem on how `routes.ts` loaded the add-ons config for routes, in case that there's more than one add-on in the setup. @sneridagh [#7580](https://github.com/plone/volto/issues/7580)
341
- - Fixed root loader type. @pnicolli
342
- - Fixed styles when the main theme is tailwind-based. @pnicolli
343
-
344
- ### Internal
345
-
346
- - Make plate configure itself before blocks at the top. @sneridagh [#7393](https://github.com/plone/volto/issues/7393)
347
- - Fixed unused vars linting rule. Fixed all code that violated this rule. @sneridagh [#7395](https://github.com/plone/volto/issues/7395)
348
- - Fixed make install in case that `.vscode/extensions.json` is not created yet. @sneridagh [#7495](https://github.com/plone/volto/issues/7495)
349
- - Include other *.md files in the repo root for link checking, fix redirecting links, and remove non-responsive server. @stevepiercy [#7712](https://github.com/plone/volto/issues/7712)
350
- - Adjusted `pnpmfile.cjs` to be more resilient. @sneridagh
351
- - Change the way ESlint detects add-ons for applying the JSX runtime rules. @sneridagh
352
- - Fixed cookieplone test now that the Seven template has been merged there. @pnicolli
353
- - Updated versions of libraries. @sneridagh
354
- - Use a single folder for autogenerated files. @pnicolli
355
-
356
- ### Documentation
357
-
358
- - Added document for explaining the differences between Seven and Volto. @sneridagh [#7463.1](https://github.com/plone/volto/issues/7463.1)
359
- - Added document for explaining what's new in React 19. @sneridagh [#7463.2](https://github.com/plone/volto/issues/7463.2)
360
- - Added i18n documentation. @pnicolli [#7410](https://github.com/plone/volto/issues/7410)
361
- - Rename main.css -> publicui.css for placing the publicui CSS in add-ons. @sneridagh [#7426](https://github.com/plone/volto/issues/7426)
362
- - Added tutorial for external Prisma database support for a Seven add-on. @sneridagh [#7447](https://github.com/plone/volto/issues/7447)
363
- - Added documentation on how to fetch additional data in the root loader. @sneridagh [#7455](https://github.com/plone/volto/issues/7455)
364
- - Added `@plone/components` Quanta icon system documentation. @sneridagh [#7492](https://github.com/plone/volto/issues/7492)
365
- - Document Cypress and Plate integration. @sneridagh [#7650](https://github.com/plone/volto/issues/7650)
366
- - Added documentation of how to add Tailwind CSS support to your add-on. @sneridagh
367
- - Added monorepo anatomy documentation. @sneridagh
368
- - Fixed imports in Icon system how-to guide. @sneridagh
369
-
370
- ## 1.0.0-alpha.0 (2025-09-29)
371
-
372
- ### Feature
373
-
374
- - Initial push of the package holding the Plone 7 codebase. @sneridagh [#6599](https://github.com/plone/volto/issues/6599)
375
- - Do not use the dotted notation for registry generated files. @sneridagh [#6630](https://github.com/plone/volto/issues/6630)
376
- - Simplify the data fetching, do not expose the API server to the client.
377
- Use the addons style loader. @sneridagh [#6636](https://github.com/plone/volto/issues/6636)
378
- - Added sitemap route. @ksuess [#6695](https://github.com/plone/volto/issues/6695)
379
- - Add @plone/components Vite SVGR plugin proxy. @sneridagh [#6779](https://github.com/plone/volto/issues/6779)
380
- - Fix some READMEs and release-it setup. @sneridagh [#6797](https://github.com/plone/volto/issues/6797)
381
- - Added i18n support for projects and add-ons @pnicolli [#6866](https://github.com/plone/volto/issues/6866)
382
- - Upgraded react-router to version 7.4.0. @pnicolli [#6888](https://github.com/plone/volto/issues/6888)
383
- - Moved public ui routes to a new add-on to allow for easier customization @pnicolli [#6896](https://github.com/plone/volto/issues/6896)
384
- - Unified the `quanta` app into the `seven` app. @pnicolli [#6902](https://github.com/plone/volto/issues/6902)
385
- - Images and files proxy middleware. @pnicolli @sneridagh [#6908](https://github.com/plone/volto/issues/6908)
386
- - Modify Cypress tests to use a centralized configuration in `@plone/tooling`. @sneridagh [#6944](https://github.com/plone/volto/issues/6944)
387
- - Added React Compiler RC2. @sneridagh [#7107](https://github.com/plone/volto/issues/7107)
388
- - Added a new base route for resetting react router fecthers. @deodorhunter [#7201](https://github.com/plone/volto/issues/7201)
389
- - Add-ons registry style loader support for `cmsui.css` stylesheet in add-ons. @sneridagh [#7221](https://github.com/plone/volto/issues/7221)
390
- - Separated publicui and cmsui styles. @pnicolli [#7225](https://github.com/plone/volto/issues/7225)
391
- - Added language switcher in Seven. @nileshgulia1 [#7352](https://github.com/plone/volto/issues/7352)
392
-
393
- ### Bugfix
394
-
395
- - Fixed the upgrade to 7.2.0 problem introduced in remix-run/react-router#13078 @sneridagh [#6780](https://github.com/plone/volto/issues/6780)
396
- - Fixed unified `flattenToAppURL` in main loader. @sneridagh [#6865](https://github.com/plone/volto/issues/6865)
397
- - Fixed root loader error handling @pnicolli [#6901](https://github.com/plone/volto/issues/6901)
398
- - Fixed 404 error in `/.well-known/appspecific/com.chrome.devtools.json` request. @sneridagh [#7327](https://github.com/plone/volto/issues/7327)
399
- - Fix resource proxy to resources. Fix typings. @sneridagh [#7374](https://github.com/plone/volto/issues/7374)
400
-
401
- ### Internal
402
-
403
- - Update Makefile. @davisagli [#6393](https://github.com/plone/volto/issues/6393)
404
- - Update internal `peerDependencies` to include React 19.
405
- Update to latest RR7, and use React 19.
406
- Update TS version. @sneridagh [#6641](https://github.com/plone/volto/issues/6641)
407
- - Test with Plone 6.1.0rc1. @sneridagh [#6682](https://github.com/plone/volto/issues/6682)
408
- - Back to use `react` 18 for now, due to the incompatibilities with Volto `react` @sneridagh [#6728](https://github.com/plone/volto/issues/6728)
409
- - Fix dev in Seven projects. @sneridagh [#6733](https://github.com/plone/volto/issues/6733)
410
- - Move Seven to [its own branch](https://github.com/plone/volto/tree/7). @sneridagh [#6770](https://github.com/plone/volto/issues/6770)
411
- - Adjust existing tests, disable API-first PoC tests, disable Volto related tests. @sneridagh [#6770](https://github.com/plone/volto/issues/6770)
412
- - General packages cleanup, disable Volto related packages from the build. @sneridagh [#6770](https://github.com/plone/volto/issues/6770)
413
- - Move Seven to `apps` folder. @sneridagh [#6770](https://github.com/plone/volto/issues/6770)
414
- - Use ESlint 9. @sneridagh [#6775](https://github.com/plone/volto/issues/6775)
415
- - Update `prettier` and `stylelint` to latest. @sneridagh [#6777](https://github.com/plone/volto/issues/6777)
416
- - Use latest RR and RAC. @sneridagh [#6821](https://github.com/plone/volto/issues/6821)
417
- - Use the new `@plone/client` refactored code. @sneridagh [#6898](https://github.com/plone/volto/issues/6898)
418
- - Upgrade `tailwind-variants` version. @sneridagh [#6899](https://github.com/plone/volto/issues/6899)
419
- - Set the full Seven app with CMSUI as the default app and the Public UI only as opt-in. @pnicolli [#6913](https://github.com/plone/volto/issues/6913)
420
- - Added unit tests configuration and github workflow for Seven. @pnicolli [#6916](https://github.com/plone/volto/issues/6916)
421
- - Improve CI actions. @sneridagh [#6922](https://github.com/plone/volto/issues/6922)
422
- - Update to Plone 6.1.1 and cleanup of Makefile. @sneridagh [#6923](https://github.com/plone/volto/issues/6923)
423
- - Added more root layout tests. @pnicolli [#6936](https://github.com/plone/volto/issues/6936)
424
- - Update to React Router 7.6.0 which fixes
425
- https://github.com/remix-run/react-router/issues/13078
426
- @sneridagh [#7060](https://github.com/plone/volto/issues/7060)
427
- - Load catalog versions from catalog.json @sneridagh [#7065](https://github.com/plone/volto/issues/7065)
428
- - Update to pnpm 10.10.0 @sneridagh [#7065](https://github.com/plone/volto/issues/7065)
429
- - Seven does not rely anymore in `@plone/providers`. @sneridagh [#7105](https://github.com/plone/volto/issues/7105)
430
- - Rename `@plone/slots` to `@plone/layout`. @sneridagh [#7119](https://github.com/plone/volto/issues/7119)
431
- - Use @plone/helpers. @giuliaghisini [#7133](https://github.com/plone/volto/issues/7133)
432
- - Update to latest versions. @sneridagh [#7298](https://github.com/plone/volto/issues/7298)
433
- - Added support for `@plone/plate` package. @sneridagh [#7346](https://github.com/plone/volto/issues/7346)
434
- - Adjust peer dependencies and engine. @sneridagh
435
- - Remove providers from the package builds. @sneridagh
436
- - Remove the proxy from Vite config, since we no longer use it. @sneridagh
437
- - Update to RR7.9.1. Middleware is stable now. @sneridagh
438
-
439
- ### Documentation
440
-
441
- - Move docs from `source` to the `docs` root. @sneridagh [#6856](https://github.com/plone/volto/issues/6856)
442
- - Add missing docs for release management. @sneridagh [#6951](https://github.com/plone/volto/issues/6951)
443
- - Updated docs based on feedback provided in #7221. @pnicolli @stevepiercy [#7226](https://github.com/plone/volto/issues/7226)
444
- - Copied and adapted some of the content from existing in `@plone/registry` docs that are fundamental for Seven. @sneridagh [#7360](https://github.com/plone/volto/issues/7360)
445
- - Add conventions and decisions made during this year's sprints. @sneridagh [#7375](https://github.com/plone/volto/issues/7375)
446
- - Added Shadowing documentation. @sneridagh
447
- - Added documentation on how to create a route in Seven. @sneridagh
448
- - Sync core development docs with main, amend `PACKAGES.md` to match Seven packages. @sneridagh
449
-
450
- ## 1.0.0 (unreleased)