Releases: WordPress/gutenberg
Releases · WordPress/gutenberg
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:
22.7.0 RC1
Changelog
Enhancements
- Add phpMyAdmin support to wp-env Playground runtime. (75532)
- DataViews: Remove menu divider again. (75893)
- Dialog: Add legacy z-index compatibility. (75874)
- Env: Improve help screen. (75783)
- InputLayout: Replace slot context with data attributes. (76011)
- Sync connector PHP behavior with Core backport changes. (75968)
- 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)
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)
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
- DataViews: Minimize padding for primary action buttons. (75721)
- 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)
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)
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)
- Block toolbar and context menu: Hide pattern actions in Revisions UI. (76066)
- Block toolbar: Hide styles dropdown for content only blocks inside unsynced patterns in Revisions UI. (76119)
- BlockListBlock: Fix crash when selectedProps are null. (75826)
- Grid block: Improve Visualizer responsiveness. (75820)
- Invalid block selected style. (75796)
- PHP-...
22.6.0
Changelog
Features
- wp-env: Add --config option for custom configuration files. (75087)
Client Side Media
- Add AVIF, WebP and MozJPEG output encoding support. (75081)
- Add device/browser capability detection. (75863)
- Add EXIF metadata tests for Client Side Media. (74909)
- Fix client-side media file naming. (75817)
- Media: Graduate client-side media processing from experimental. (75112)
- Pass unsupported formats directly to the server. (74910)
Block Library
Interactivity API
- Export
watchfrom@preact/signals'seffect. (75563)
Enhancements
- @wordpress/ui: Add Dialog component. (75183)
- @wordpress/ui: Use semantic dimension tokens. (74557)
- Abilities: Allow nested namespace ability names (2-4 segments). (75393)
- Add testsEnvironment option and split Gutenberg wp-env configs. (75341)
- Admin UI: Apply 'text-wrap: Pretty' to Page. (74907)
- Commands: Display category labels and enforce category icons. (75669)
- Gutenberg plugin: Always enforce the iframe in the post editor. (75475)
- Layout: Update Gutenberg to match core after #75360 sync. (75594)
- Media Utils: Auto-select uploaded files in media modal experiment. (75597)
- MediaEdit: Support ordered values and reordering of items. (75207)
- Replace install-path command with status command in wp-env. (75020)
- Theme: Update dimension tokens. (75054)
- Theme: Update elevation tokens to use abbreviated size names. (75103)
- UI: Add
Textareaprimitive. (74707) @wordpress/ui: AddIconButton. (74697)@wordpress/ui: AddTabs. (74652)- iAPI router: Move internal properties to a private store. (70882)
- ui/IconButton: Make icon always 24px regardless of
sizeprop. (75677) - ui/
Button: Add min width. (75133) - wp-env: Add cleanup command and force flag. (75045)
Block Library
- Accordion block: Add list view support. (75271)
- Accordion: Move Accordion icons to Icon library. (75380)
- Author block: When recreating, migrate the textAlign attribute of the Author block to the block style attribute. (75153)
- Block Supports: Add Line Indent support using enum setting. (74889)
- Blocks: Try prepending 'https' to URLs without protocol. (75005)
- Breadcrumbs: Improve loading state rendering. (75383)
- Custom CSS support: Add attributes for dynamic blocks. (75052)
- Default all initial suggested results to 20 for navigation link ui. (75186)
- Gallery: Add lightbox support. (62906)
- Gallery: Add list view block support. (75407)
- Icon block: Skip serialization and increase default size. (75553)
- Image Block: Handle image URLs without protocol. (75135)
- Informational Parity between Inspector Link Preview and on Canvas Link Preview. (75399)
- List View Support: Only render list view on top level block with support. (75166)
- Migrate multiple blocks to text-align block support:
- Navigation Link: Clarify Link To invalid and draft states. (74054)
- Navigation Link: Go to page link and edit page for inspector sidebar. (75262)
- Navigation Overlay: Add Create Overlay button. (74971)
- Navigation Overlay: Remove experiment. (74968)
- Navigation: Improved help on create page flow. (75349)
- Navigation: Update overlay template part naming to 'Navigation Overlay'. (75564)
- Pattern Editing and Navigation block: Show navigation controls in popover. (75194)
- Pattern Editing: Allow click through to List View. (75246)
- Pattern Editing: Revise 'Edit section' button naming. (75663)
- Playlist block: Remove border. (75202)
- Post Excerpt: Add text columns support. (75587)
- Pre-populate Navigation Page Creator with Search Text. (75154)
- Rename Verse block to Poetry. (74121)
- Tabs:
- theme.json: Enable width setting for Icon block by default. (75665)
Post Editor
- Add dedicated navigation-overlay icon (#75249). (75426)
- Auto-switch viewport based on Overlay Visibility setting when entering overlay editor. (75386)
- Block Editor: Allow disabling content-only editing for unsynced patterns. (75457)
- Commands: Add category property to command registration. (75612)
- Create sub-sized images. (74566)
- Editor: Introduce new selectedNote editor state. (75177)
- Filter navigation category patterns to only show in navigation-overlay template part context. (75276)
- In-editor Revisions: Update success notice message. (75411)
- In-editor revisions: Add visual diffing. (75049)
- Migrate
EditorSnackbarandEditorNoticescomponents to the@wordpress/noticespackage. (74384) - Navigation: Select list view tab on contentOnly. Alternative with explicit solution. (75578)
- Notes: Add a keyboard shortcut for creating a new note. (75287)
- Notes: Pressing Escape should cancel adding a note. (75288)
- Notes: Update shortcut category. (75461)
- Post Content Block: Imp...
22.6.0 RC3
Changelog
Bug Fixes
Block Editor
- Fix error when undoing newly added pattern. (75850)
- Pattern editing: Fix block editing modes when switching back and forth from isolated editing. (75821)
- Synced patterns: Fix block editing mode of synced pattern content when nested in an unsynced pattern. (75818)
Block Library
- Plugin: Include Icons assets in ZIP. (75866)
Collaboration
- RTC: Fix entity save call / initial persistence. (75841)
Client Side Media
Post Editor
- Real-time collaboration: Remove block client IDs from Awareness, fix "Show Template" view. (75590)
Contributors
The following contributors merged PRs in this release:
@adamsilverstein @alecgeatches @chriszarate @mcsf @talldan @tellthemachines
22.6.0 RC2
Changelog
Bug Fixes
- Fix undo end-to-end test. (75740)
Block Library
- Icon Block: Corrects style selectors when global styles are set. (75724)
- Query: Remove content role from block. (75760)
- Remove experimental property from Icon block. (75742)
Block Editor
- Only show dot divider for parent selector in top toolbar. (75710)
- Pattern Editing: Fix nested patterns/sections. (75772)
npm Packages
- Update wordpress/vips in root package.json to use a relative path. (75758)
- Vips and worker-threads packages: Remove private flag so that packages can be published to npm. (75752)
Collaboration
- RTC: Add cap check for single taxonomy term entities. (75708)
- Real-time collaboration: Fix comment syncing on site editor. (75746)
Plugin
- Client-side media processing: Disable in Gutenberg just for now. (75756)
Components
- Snackbar: Fix scaling issue with snackbars that update their content via a common id. (75709)
Performance
Block Library
- Core Data: Create icons entity. (75773)
Experiments
Collaboration
- Real-time Collaboration: Bug fix for CRDT user selection and add tests. (75075)
Various
Post Editor
- Media: Graduate client-side media processing from experimental. (75112)
- RTC: Remove IS_GUTENBERG_PLUGIN checks for collaborative editing. (75699)
Contributors
The following contributors merged PRs in this release:
@adamsilverstein @alecgeatches @andrewserong @chriszarate @ingeniumed @jorgefilipecosta @ryanwelcher @shimotmk @t-hamano @talldan @tellthemachines