For the full list of changes, check out the Webiny 6.5.4external link release on GitHub.

Workflows
anchor

Publishing Now Requires an Approved Review on Entries and Pages With a Workflow (#6351external link)
anchor

⏳ REVIEW-PENDING @adrians5j: confirm this entry, then delete this line.

On a content model with a workflow, a revision that was never sent for review, or whose review was cancelled, could still be published. This worked through the API, the “Save & Publish” button and scheduled publishes. Website Builder pages had the same gap.

Publishing such a revision or page now fails with the WORKFLOW_STATE_NOT_COMPLETED error, the same error an unfinished review gives. Models without a workflow, private models and singleton models publish as before.

If you publish entries or pages through the API on a model that has a workflow, each revision now needs an approved review first.

Headless CMS
anchor

Fixed "New Revision" Button Not Working on Reviewed, Published Entries (#6325external link)
anchor

⏳ REVIEW-PENDING @adrians5j: confirm this entry, then delete this line.

When using content review workflows, clicking “New Revision” on an approved and published entry did nothing. No request was sent and no revision was created. The only workaround was the “Create New Revision” option in the menu, which discarded any unsaved edits.

This has been fixed. The “New Revision” button now works correctly on published entries: it creates a new draft revision that preserves your edits and goes through the review workflow again before it can be published. The button is also disabled while a revision is being created to prevent duplicate revisions from repeated clicks.

Admin
anchor

Fixed GraphQL Playground Failing When Query Contains Multiple Operations (#6335external link)
anchor

⏳ REVIEW-PENDING @brunozoric: confirm this entry, then delete this line.

Executing a query with multiple named operations in the GraphQL Playground would fail with “Must provide operation name if query contains multiple operations”. Now, when a query has more than one operation, clicking Execute opens a menu to select which operation to run, and Cmd/Ctrl+Enter executes the operation under your cursor.

Development
anchor

Removed Emotion in Favour of Tailwind (#6329external link)
anchor

⏳ REVIEW-PENDING @adrians5j: confirm this entry, then delete this line.

The admin apps no longer depend on Emotion (@emotion/css, @emotion/react, @emotion/styled). All styling now uses Tailwind classes, which removes several transitive dependencies from your project’s yarn.lock.

If your admin extensions import Emotion without listing it in their own package.json, those imports will fail after upgrading. Add Emotion as a direct dependency in your extension’s package.json to fix this.

Additionally, ButtonContainer is no longer an Emotion styled component. Code using styled(ButtonContainer) or the as prop on ButtonContainer will need to be updated.

Improved Key-Value Store API for Tenant-Scoped Caching (#6344external link)
anchor

⏳ REVIEW-PENDING @adrians5j: confirm this entry, then delete this line.

The tenant-scoped KeyValueStore.set method now accepts options, including expiresAt, the same as the global store. You can now store a tenant-scoped value that expires without going through GlobalKeyValueStore and passing the tenant as the scope yourself.

Replaced@rsbuild/plugin-svgrWith a Smaller SVG Loader (#6343external link)
anchor

⏳ REVIEW-PENDING @adrians5j: confirm this entry, then delete this line.

The build tools now use a custom SVG loader instead of @rsbuild/plugin-svgr. This removes @svgr/*, snake-case, dot-case, no-case and lower-case from your project’s dependencies. The import API is unchanged: import { ReactComponent as Icon } from "./icon.svg" and import url from "./icon.svg" work as before, in Webiny packages and in your extensions.

One limitation is new. The markup inside the SVG is no longer made of React elements, so you can’t pass children into an icon component or attach event handlers to a path inside it. Props passed to the component, such as className or onClick, still apply to the root <svg> element.