Releases: WordPress/gutenberg
Releases · WordPress/gutenberg
22.9.0 RC1
Changelog
Enhancements
Block Editor
- DOM: Prefer standard
caretPositionFromPointover deprecatedcaretRangeFromPoint. (76921)
Components
- Add EmptyState component to @wordpress/ui. (74719)
- Admin UI: Update Page background color. (76548)
- Button: hide focus outline on :Active for click feedback in forced-colors mode. (76833)
- Card: Use Text component for Title typography. (76642)
- InputControl: Add to @wordpress/ui. (76653)
- Snackbar: Use surface-width design token for max-width. (76592)
- Storybook: Make "introduction" top level. (76671)
- Tabs: Add runtime validation for tab/panel mismatches. (75170)
- Theme: Change default control cursor to
pointer. (76762) - ThemeProvider: Add
cursorprop. (76410) - UI/Dialog: Deprioritize close icon for initial focus. (76910)
- UI/Dialog: Expose initialFocus and finalFocus on Dialog.Popup. (76860)
- UI: Add AlertDialog primitive. (76847)
- UI: Update @base-ui/react from 1.2.0 to 1.3.0. (76603)
Data Layer
- Core Data: Remove offset param from stableKey, use pagination logic. (76808)
Block Library
- Block Supports: Add background gradient support that can combine with background images. (75859)
- Forms Block: Add hidden input field variation. (74131)
- Image/Site Logo: Hide crop toolbar when editMediaEntity is unavailable. (76626)
- Login/out block: Add button block class names to the submit button. (76746)
DataViews
- CollapsibleCard: Add HeaderDescription subcomponent. (76867)
- Improvements to dataviews infinite scroll. (74378)
Site Editor
- Site Editor > Pages: Move view configuration to the server. (76573)
- Site Editor > Patterns & Parts: Generate sidebar from view configuration. (76823)
- Site Editor > Patterns: Move configuration to the server. (76734)
- Site Editor > Quick Edit: Add form configuration to endpoint. (76953)
- Site Editor > Templates: Move configuration to the server. (76622)
Post Editor
- DataForm: Add
compactconfiguration option to thedatetimecontrol. (76905)
Navigation Menus
- Site Editor v2: Add missing menu items to navigation leaf more menu. (76804)
Connectors
- Improve AI plugin button. (76759)
Collaboration
- Add backport for WP_ALLOW_COLLABORATION. (76716)
Guidelines
- Improvements to the UX. (76383)
Icon
- Icons: Enforce strict name validation in
registermethod. (76079)
Commands
- Add sections to command palette and introduce Recently used functionality. (75691)
Bug Fixes
- wordpress/date: Recover WP timezone after third-party reload. (75831)
Block Library
- Icon: Fix center alignment in the editor for classic themes. (76878)
- Image block media placeholder: Remove duotone. (76721)
- Latest Comments: Fix v1 block deprecation. (76877)
- List Item: Disable edit as HTML support. (76897)
- Navigation: Avoid List View changing position when navigation block saves. (76659)
- Reduce specificity of nav link default padding so global styles apply. (76876)
- Show fallback label in MediaControl when filename is empty. (76888)
- Site Tagline: Fix block error when migrating deprecated textAlign attribute. (76821)
Connectors
- Boot: Fix black area below content when sidebar is taller than page content. (76764)
- Add Akismet as a default connector. (76828)
- Align client registration API with server. (76737)
- Fix button size. (76582)
- Replace plugin.slug with plugin.file. (76909)
- Support non-AI provider types and add JS extensibility end-to-end test. (76722)
Block Editor
- Block visibility badge: Use canvas iframe for viewport detection. (76889)
- Cross Origin Isolation: Remove
imgfrom the list of elements that get mutated. (76618) - Fix locked content when switching to a different template without exiting 'Edit pattern'. (76710)
- Hide Additional CSS controls when block is inside contentOnly editing mode. (76512)
- Reset blockEditingModes on RESET_BLOCKS. (76529)
- Stop keeping stale controlled blocks after reset. (76591)
Components
- Admin UI: Fix Page Header not rendering with only actions and add stories. (76695)
- Button: Restore specificity of high-contrast mode focus ring. (76719)
- Card: Add overflow: Clip to root container. (76678)
- Fix Color Picker Angle Reset on Gradient Type Change. (76595)
- Storybook: Disable autodocs for Icon library. (76620)
- compose/useDialog: Add
stopPropagation()to Escape handler. (76861) - ui/CollapsibleCard: Do not animate focus ring. (76682)
Post Editor
- Fix: Create custom template modal content width. (76713)
- Reduce the added halo for selected block. (76619)
- Revisions: Add Meta fields diff panel to document sidebar. (76341)
- Revisions: Fix template revisions retrieval and sorting. (76760)
- Style Book: Fix missing styles for classic themes in stylebook route. (76843)
Collaboration
- RTC: Fix notes not syncing between collaborative editors. (76873)
- RTC: Fix stuck "Join" link in post list when lock expires. (76795)
- RTC: Restore on failed request with compaction update. (76872)
Client Side Media
- Build: Remove unused JXL WASM module from vips worker. (76639)
- Gate client-side media processing as plugin-only. (76700)
- vips: Ensure single instance. (76780)
CSS & Styling
- Metabox: Fix checkbox style in sidebar. (76718)
Data Layer
- Properly resolve
getTemplateIdfor hybrid themes. (76532)
Site Editor
- Fix unsupported theme flash on direct URL navigation. (76465)
Accessibility
Components
- ComboboxControl: Fix accessible association of
helptext. (76761) - RadioControl: Add
role="radiogroup"to fieldset. (76745) - ToggleGroupControl: Fix accessible association of
helptext. ([76740](https://github.com/WordPre...
22.8.2
22.8.1
Changelog
Bug Fixes
Collaboration
- RTC: Fix editor freeze when replacing code editor content. (76815)
- RTC: Remove stale wp_enable_real_time_collaboration option check. (76810)
- RTC: Fix RichTextData deserialization (76607)
- RTC: Change RTC option name (76643)
- RTC: Backport race condition fix (76649)
- RTC: Use activation hook to enable RTC by default (76736)
- RTC: Remove stale wp_enable_real_time_collaboration option check (76810)
- Preferences: Hide collaboration options when RTC is not enabled. (76819)
Post Editor
Enhancements
Collaboration
- Real Time Collaboration: Introduce filters for the polling intervals. (76518)
- RTC: Scroll to collaborator on click (76561)
- RTC: Increase polling intervals, increase polling on primary room only (76704)
- RTC: Use prepared queries instead of *_post_meta functions (76779)
Tests
Collaboration
- RTC: Add E2E "stress test" with complex interactions (76055)
- Fix navigation block rendering unit test (76685)
- Fix navigation block unit test and e2e test (76692)
Contributors
The following contributors merged PRs in this release:
@alecgeatches @shekharnwagh @t-hamano @peterwilsoncc @maxschmeling @chriszarate
22.8.0
Changelog
Features
Collaboration
- RTC: Add preference for collaborator notifications. (76460)
Enhancements
Components
- @wordpress/ui: Add Collapsible component. (76280)
- Add ExampleApplication story for ThemeProvider to better demonstrate component theme-ability.
(76463) - Add
Linkprimitive to@wordpress/ui. (76013) - Add primitive Text component to @wordpress/ui. (75870)
- Add styles for outside days in Calendar components. (76199)
- Admin UI: Add Storybook stories for Breadcrumbs and Page components. (76467)
- Adopt surface-width design tokens for Dialog, Notice, and Modal widths. (76494)
- Collapsible.Card: Make contents hidden until found. (76498)
- CollapsibleCard: Move trigger to the whole header. (76265)
- Editor: Polish real-time collaboration presence UI and move Avatar to editor package.
(75652) - Field.Label, Fieldset.Legend: Add
visuallyHiddenprop. (76052) - Refactor admin-ui Page component to use @wordpress/theme tokens and @wordpress/ui layout primitive.
(75963) - Storybook: Change the default font. (76366)
- Storybook: Deduplicate injected package stylesheets. (76158)
- Theme package: Add surface width design tokens. (76047)
- Theme: Add
no-token-fallback-valuesstylelint rule. (76415) - Tooltip: Change default placement from bottom to top. (76131)
- UI Notice: Let description and actions span icon column at narrow widths. (76202)
- UI/Badge: Add border and neutral-strong background to
noneintent. (76356) @wordpress/ui: AddCardandCollapsibleCardcomponents. (76252)CollapsibleCard: Add animations. (76378)- ui/Card: Increase padding, align with legacy Card. (76368)
- Admin UI: Update font size for title and breadcrumbs to match. (76452)
Connectors
- Add AI Experiments plugin callout with install/activate functionality. (76379)
- Add connectors registry for extensibility. (76364)
- Add empty state when no connectors are registered. (76375)
- Add unregisterConnector and upsert support. (76541)
- Move plugin status computation to script module data. (76409)
- Sync PHP code with WordPress Core. (76443)
- Update page identifier to options-connectors. (76142)
- WP Admin: Update Connectors screen footer text for consistency. (76382)
Block Library
- Block Library: Improve the design of MediaControlPreview and MediaControl.
(76430) - Link Picker: Use Homepage badge instead of Page if Homepage. (75929)
- Navigation link: Add support to style current menu item via theme.json. (75736)
- Navigation: Allow creating new links in site editor sidebar List View. (75918)
- Post Date: Migrate to textAlign block support. (75856)
- Post Excerpt: Migrate to textAlign block support. (75860)
- Tabs: Disable anchor support on Tab Menu Item. (76442)
- Tabs: Restructure Tabs Menu and inner blocks. (75954)
DataViews
- Add border to sticky table headers. (76396)
- DataForm: Add customizable button text to panel modal. (76099)
- DataForm: Reduce
panel's dialogmin-width. (76345) - DataViews Grid and Picker Grid: Add density option for gap between items. (75887)
- Improve storybook infinite scroll. (76566)
Post Editor
- Add Site Logo & Icon screen to Design panel. (76116)
- Editor: Show own presence in collaborative editing sessions. (76413)
- Fields: Add
formatfield. (76308) - Media: Add hooks and extension points for client-side media processing. (74913)
Collaboration
- RTC: Add collaborator selection highlighting in rich text. (76107)
- RTC: Allow filtering of
SyncConnectionModal. (76554) - RTC: Auto-register custom taxonomy rest_base values for CRDT sync. (75983)
- RTC: Do not sync role=local attributes. (76267)
- RTC: Implement disconnection debounce after initial connection. (76114)
- RTC: Implement front-end peer limits. (76565)
- RTC: Remove post list lock icon and replace user-specific lock text. (76322)
- Use V2 Yjs methods for HTTP Polling. (76304)
- Add a limit for the default provider. (76437)
Content Guidelines
- Rename route and use the right
Noticecomponent. (76427)
Block Editor
- Implement state UI for pseudo selectors on Global styles. (75627)
- Media: Use Document-Isolation-Policy for cross-origin isolation on Chromium 137+.
(75991) - Pattern Editing and Block Fields: Highlight selected block. (74841)
- Icons API: Support searching in labels. (75878)
- Media Upload Modal: Try an uploading state with popover in the footer. (76228)
- Set placeholder to featured image field. (76342)
- Add confirmation dialog before disconnecting/detaching. (75713)
Interactivity API
- Add client-side navigation block with interactive features. (76331)
Command Palette
- Add command palette trigger button to admin bar. (75757)
Bug Fixes
Post Editor
- Add isNavigationPostEditorKey symbol to fix menu display context. (76461)
- Allow Post Content to be edited when 'Show template' is active and Post content is nested in a Template Part.
(76305) - Client-side media processing: Try plumbing invalidation to the block-editor's mediaUpload onSuccess callback.
(76173) - Editor: Fix autosaves for draft and auto-draft posts. (76624)
- Fix: Document Bar: Back button flickers. (76320)
- Fix: QuickEdit: Consolidate how "Status > Scheduled" works. (76129)
- Navigation: Disable Mobile Menu in Isolated Editor or Site Editor Preview. (76203)
- Notes: Disable for in-editor revisions. (76180)
- Page Parent: Change the default value of 'fieldValue' state. (76354)
- Page/Post Content Focus Mode: Fix insertion into Post Content block. (76477)
- RTC: Place sync connection modal in front of popover. (76431)
- Revisions: Show changed block attributes in inspector sidebar. ([76550](https://github.c...
22.8.0 RC1
Changelog
Features
Collaboration
- RTC: Add preference for collaborator notifications. (76460)
Enhancements
Components
- @wordpress/ui: Add Collapsible component. (76280)
- Add ExampleApplication story for ThemeProvider to better demonstrate component theme-ability.
(76463) - Add
Linkprimitive to@wordpress/ui. (76013) - Add primitive Text component to @wordpress/ui. (75870)
- Add styles for outside days in Calendar components. (76199)
- Admin UI: Add Storybook stories for Breadcrumbs and Page components. (76467)
- Adopt surface-width design tokens for Dialog, Notice, and Modal widths. (76494)
- Collapsible.Card: Make contents hidden until found. (76498)
- CollapsibleCard: Move trigger to the whole header. (76265)
- Editor: Polish real-time collaboration presence UI and move Avatar to editor package.
(75652) - Field.Label, Fieldset.Legend: Add
visuallyHiddenprop. (76052) - Refactor admin-ui Page component to use @wordpress/theme tokens and @wordpress/ui layout primitive.
(75963) - Storybook: Change the default font. (76366)
- Storybook: Deduplicate injected package stylesheets. (76158)
- Theme package: Add surface width design tokens. (76047)
- Theme: Add
no-token-fallback-valuesstylelint rule. (76415) - Tooltip: Change default placement from bottom to top. (76131)
- UI Notice: Let description and actions span icon column at narrow widths. (76202)
- UI/Badge: Add border and neutral-strong background to
noneintent. (76356) @wordpress/ui: AddCardandCollapsibleCardcomponents. (76252)CollapsibleCard: Add animations. (76378)- ui/Card: Increase padding, align with legacy Card. (76368)
- Admin UI: Update font size for title and breadcrumbs to match. (76452)
Connectors
- Add AI Experiments plugin callout with install/activate functionality. (76379)
- Add connectors registry for extensibility. (76364)
- Add empty state when no connectors are registered. (76375)
- Add unregisterConnector and upsert support. (76541)
- Move plugin status computation to script module data. (76409)
- Sync PHP code with WordPress Core. (76443)
- Update page identifier to options-connectors. (76142)
- WP Admin: Update Connectors screen footer text for consistency. (76382)
Block Library
- Block Library: Improve the design of MediaControlPreview and MediaControl.
(76430) - Link Picker: Use Homepage badge instead of Page if Homepage. (75929)
- Navigation link: Add support to style current menu item via theme.json. (75736)
- Navigation: Allow creating new links in site editor sidebar List View. (75918)
- Post Date: Migrate to textAlign block support. (75856)
- Post Excerpt: Migrate to textAlign block support. (75860)
- Tabs: Disable anchor support on Tab Menu Item. (76442)
- Tabs: Restructure Tabs Menu and inner blocks. (75954)
DataViews
- Add border to sticky table headers. (76396)
- DataForm: Add customizable button text to panel modal. (76099)
- DataForm: Reduce
panel's dialogmin-width. (76345) - DataViews Grid and Picker Grid: Add density option for gap between items. (75887)
- Improve storybook infinite scroll. (76566)
Post Editor
- Add Site Logo & Icon screen to Design panel. (76116)
- Editor: Show own presence in collaborative editing sessions. (76413)
- Fields: Add
formatfield. (76308) - Media: Add hooks and extension points for client-side media processing. (74913)
Collaboration
- RTC: Add collaborator selection highlighting in rich text. (76107)
- RTC: Allow filtering of
SyncConnectionModal. (76554) - RTC: Auto-register custom taxonomy rest_base values for CRDT sync. (75983)
- RTC: Do not sync role=local attributes. (76267)
- RTC: Implement disconnection debounce after initial connection. (76114)
- RTC: Implement front-end peer limits. (76565)
- RTC: Remove post list lock icon and replace user-specific lock text. (76322)
- Use V2 Yjs methods for HTTP Polling. (76304)
- Add a limit for the default provider. (76437)
Content Guidelines
- Guidelines: Add actions for Import, Export and Revisions of guidelines. (76155)
- Rename route and use the right
Noticecomponent. (76427)
Block Editor
- Implement state UI for pseudo selectors on Global styles. (75627)
- Media: Use Document-Isolation-Policy for cross-origin isolation on Chromium 137+.
(75991) - Pattern Editing and Block Fields: Highlight selected block. (74841)
- Icons API: Support searching in labels. (75878)
- Media Upload Modal: Try an uploading state with popover in the footer. (76228)
- Set placeholder to featured image field. (76342)
- Add confirmation dialog before disconnecting/detaching. (75713)
Interactivity API
- Add client-side navigation block with interactive features. (76331)
Command Palette
- Add command palette trigger button to admin bar. (75757)
Bug Fixes
Post Editor
- Add isNavigationPostEditorKey symbol to fix menu display context. (76461)
- Allow Post Content to be edited when 'Show template' is active and Post content is nested in a Template Part.
(76305) - Client-side media processing: Try plumbing invalidation to the block-editor's mediaUpload onSuccess callback.
(76173) - Editor: Fix autosaves for draft and auto-draft posts. (76624)
- Fix: Document Bar: Back button flickers. (76320)
- Fix: QuickEdit: Consolidate how "Status > Scheduled" works. (76129)
- Navigation: Disable Mobile Menu in Isolated Editor or Site Editor Preview. (76203)
- Notes: Disable for in-editor revisions. (76180)
- Page Parent: Change the default value of 'fieldValue' state. (76354)
- Page/Post Content Focus Mode: Fix insertion into Post Content block. (76477)
- RTC: Place sync connection modal in front of popover. ([76431](https:/...
22.7.1
22.7.0
Changelog
Enhancements
- Add phpMyAdmin support to wp-env Playground runtime. (75532)
- Dialog: Add legacy z-index compatibility. (75874)
- Env: Improve help screen. (75783)
- InputLayout: Replace slot context with data attributes. (76011)
- Theme: Add design token fallback generation. (75586)
- Theme: Add design token for interactive non-link elements. (75697)
- UI: Add Notice component. (75981)
- Views: Add support for more overrides (all developer-defined config). (75971)
Block Library
- Button: Migrate to width block support. (74242)
- Make inspector style transform previews consistent with toolbar transforms. (75989)
- Playlist Block: Add WaveformPlayer visualization. (75203)
- Post Navigation Link : Migrate to Text-Align Block Support. (75557)
- Post Title : Migrate to Text-Align Block Support. (75629)
- Post Title: Add placeholder attribute. (76016)
- Query Title: Migrate to Text-Align Block Support. (75802)
- Site Tagline : Migrate to Text-Align Block Support. (75690)
- Site Title : Migrate to Text-Align Block Support. (75551)
- Tabs: Remove custom state styling. (75731)
- Unify block settings dropdown menu items across list views. (75979)
Connectors
- Add: Connectors screen and API. (75833)
- Connectors: Add
_ai_prefix to connector setting names. (75948) - Connectors: Dynamically register providers from WP AI Client registry. (76014)
- Sync connector PHP behavior with Core backport changes. (75968)
Content Guidelines
- Content Guidelines: Add block guidelines management (76187)
- Content Guidelines: Add UX for site, copy, image, and additional guidelines (75420)
- Guidelines: Add actions for Import, Export and Revisions of guidelines (76155)
DataViews
- Adjust column spacing in
tablelayout when no titleField is provided. (75410) - Improve UI in
listlayout when we render only title and/or media fields. (76042) - MediaEdit: Auto-fill columns based on minimum item width. (75509)
- DataViews: Remove menu divider again. (75893)
- DataViews: Minimize padding for primary action buttons. (75721)
Post Editor
- Center navigation preview content in preview pane. (75741)
- RTC: Add session activity notifications. (76065)
Block Editor
- Add previews for style variation transforms. (75889)
- Try enabling style variation transforms for blocks in contentOnly mode. (75761)
Site Editor
- QuickEdit: Rename status label and remove extra labels in popup. (75824)
Components
- Refactor ColorPicker to preserve hue/saturation at achromatic colors. (75493)
ToggleGroupControl: Make unselected item color consistent across all variants. (75737)
Global Styles
- Block Supports: Define CSS vars for blocks based on feature selectors. (75226)
Bug Fixes
- Block editor: Force LTR direction in block HTML editing mode. (75904)
- Connectors: Avoid manual string concatenation. (75997)
- Connectors: Unhook Core callbacks in Gutenberg coexistence. (75935)
- DataViews: Fix search input losing characters during debounce when externally synced. (75810)
- Fix DataForm card summary vertical alignment. (75864)
- Fix: Set quality and strip metadata in client-side image resize. (76029)
- Fix: Suppress spinner output when using --json flag in wp-env. (75743)
- IconButton: Hide tooltip when truly disabled. (75754)
- Prevent non-reproducible Sass/CSS builds. (76098)
- Remove Core's full-page render interceptors for boot-based pages. (76036)
- Theme: Add build plugins to inject design token fallbacks. (75589)
- Theme: Remove global design tokens stylesheet. (75879)
- wp-build: Deregister script modules before re-registering. (75909)
- CI: Don't build release notes during plugin build workflow for WP Core sync (76398)
Collaboration
- Fix change-detection and new-post end-to-end tests after RTC enabled by default. (75751)
- RTC: Back off when the window loses focus. (75843)
- RTC: Bugfix: Fix casing of getPersistedCRDTDoc. (75922)
- RTC: Fix fallthrough for sync update switch statement. (76060)
- RTC: Fix stale CRDT document persisted on save. (75975)
- RTC: Fix syncing of emoji / surrogate pairs. (76049)
- RTC: Fix undefined array_first() call in sync storage. (75869)
- RTC: Prevent duplicate poll cycles. (76059)
- Real-time collaboration: Fix disconnect dialog on navigate. (75886)
- Real-time collaboration: Improve collaboration within the same rich text. (75703)
- Real-time collaboration: Remove ghost awareness state explicitly when refreshing. (75883)
- [Real-time Collaboration] Fix sync issue on refresh. (76017)
- Real-time collaboration: Improve disconnect dialog. (75970)
- RTC: Enable RTC by default (75739)
Block Library
- Block Support: Fix custom CSS not saved when style schema is not defined. (75797)
- Fix: Page List block: Editor-only div inside page links causes misalignment in Firefox. (75890)
- Fixes keyboard focus escaping the lightbox overlay when navigating a gallery with Tab/Shift+Tab. (75852)
- Image block: Fix lightbox srcset size. (76092)
- Image: Hide 'Set as featured image' for in-editor revisions. (76123)
- Navigation Link: Compare internal links by host instead of origin. (76015)
- Navigation Overlay Close: Set Close as default text, rather than using a placeholder. (75692)
- Navigation editing: Simplify edit/view buttons. (75819)
- Search block: Double-encodes apostrophes in the input value. (76023)
- Show transform dropdown previews on focus as well as hover. (75940)
- Use homeUrl instead of siteUrl for link badge evaluations. (75978)
- Navigation overlay: Prevent duplicate area registration. (75906)
Block Editor
- Avoid block removal when calling 'moveBlockToPosition'. ([75728](https://github.com/WordPress/gutenbe...
22.7.0 RC4
22.7.0 RC3
Changelog
Bug Fixes
Block Editor
- Content Guidelines: Add block guidelines management (76187)
- Content Guidelines: Add UX for site, copy, image, and additional guidelines (75420)
- Guidelines: Add actions for Import, Export and Revisions of guidelines (76155)
Contributors
The following contributors merged PRs in this release:
22.7.0 RC2
Changelog
Bug Fixes
Block Editor
- RTC: Enable RTC by default (75739)
- Interactivity: Fix crypto.randomUUID crash in non-secure contexts (76151)
- Client-side media processing: Try plumbing invalidation to the block-editor's mediaUpload onSuccess callback (76173)
- Client-side media processing: only use media upload provider when not in preview mode (76124)
Contributors
The following contributors merged PRs in this release: