Releases: WordPress/gutenberg
Releases · WordPress/gutenberg
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)
- 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: 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)
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-only Blocks: Reflec...
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
22.6.0 RC1
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 EXIF metadata tests for Client Side Media. (74909)
- 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 block: Polish. (75128)
- Tabs: Add text and background color support. (75482)
- Tabs: Inherit text color for tabs-menu-item blocks. (75621)
- Tabs: Simplify Tabs Menu Item editing. (75416)
- Tabs: Tidy up UI for controls. (75309)
- Tabs: Update Tabs block icons. (75376)
- 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: Improve removal confirmation modal. (75001)
- Real-time collaboration: Add collaborators cursor awareness. (75398)
- Real-time collaboration: Add global setting to enable real-time collaboration. ([75286](h...
22.5.3
22.5.1
22.5.0
Changelog
Enhancements
Block Library
- Add custom CSS support for individual block instances. (73959)
- Add the
has-custom-cssclass name to the editor and dynamic blocks. (74969) - Allow for themes to define the overlay attribute without using a theme slug. (74119)
- BlockBreadcrumb: Show custom block name. (73690)
- Breadcrumbs :Add example block previews. (74808)
- Comment Date: Add textAlign Support. (74599)
- Comment Edit Link: Migrate to text-align block support. (74720)
- Comment Reply Link: Migrate to text-align block support. (74760)
- Comments Title: Migrate to text-align block support. (74945)
- Cover Block: Enable focal point picker for fixed background. (74600)
- Enhance Term List block: Pre-select current term on term archive pages. (74603)
- Handle deleted navigation overlays. (74766)
- Image block: Show aspect ratio control for wide and full alignment. (74519)
- List Item: Show content instead of block name in List View. (74794)
- Navigation Overlay: Add sidebar preview. (74780)
- Navigation Overlay: Insert default pattern on creation. (74650)
- Navigation Overlay: Update overlay control labels. (74690)
- Navigation Overlays: Default new blocks to "always" show overlays. (74890)
- Navigation overlay patterns: Centered navigation with info. (74862)
- Navigation overlay patterns: Centered navigation. (74861)
- Navigation overlay patterns: Overlay with accent background. (74849)
- Navigation overlay patterns: Overlay with black background. (74847)
- Navigation: Add a new option that toggles submenus always open. (74653)
- Navigation: Don't use a nav tag for navigation blocks inside overlays. (74764)
- Paragraph: Add text column support. (74656)
- Verse Block: Add new textAlign support. (74724)
- Feat/core tabs restructure. (74412)
- Stabilise viewport based block visibility. (74839)
Block Editor
- Block visibility supports: Refactor metadata to use nested structure. (74602)
- Block visibility: Create selectors for block visibility in current viewport (device setting or responsive). (74517)
- Block visibility: Render blocks when hidden at all viewports (and other changes). (74679)
- Inserter Component: Improving Stories. (74922)
- List View support: Show full block titles. (74798)
- MediaReplaceFlow: Move Reset option to bottom of menu. (74882)
- Try storing global styles in static var in layout render. (74828)
- Pattern editing: Stabilize and remove the experiment flag. (74843)
DataViews
- Add card form layout validation. (74547)
- Include totals items count in DataView footer. (73491)
- MediaEdit: Support
customvalidation. (74704) - Show validation errors when a panel closes. (74995)
- Add content element guidelines for fields in DataForm. (74817)
Components
- DataForm: Add
comboboxcontrol. (74891) - UI: Add
Selectprimitive. (74661) - Add
Tooltipcomponent to@wordpress/ui. (74625) - Consolidate border tokens. (74617)
- Design System: Add guidelines for destructive actions UX. (74778)
Post Editor
- In-editor revisions (initial changes, without diffing). (74771)
Icons
- Add missing chevron-up-small icon. (74607)
Collaboration
- Real-time collaboration: Add default HTTP polling sync provider. (74564)
- Real-time collaboration: Sync collections. (74665)
- Real-time collaboration: Use relative positions in undo stack. (74878)
Bug Fixes
- Core backport for gutenberg_filter_global_styles_post: Protect from KSES mangling. (74731)
- DataForm: Sync React-level validation to native inputs on date fields. (74994)
- DataViews: Use regular casing for bulk selection count. (74573)
- Fix typo in comment for value change check. (74730)
- Fix wp-theme dependencies in the build. (74743)
- Remove the apiFetch named export. (74761)
- Shortcode: Fix non-string attribute values being silently dropped. (74949)
Block Library
- Breadcrumbs: Fix placeholder separator preview. (74842)
- Cover Block: Show current embed URL in dialog. (74885)
- Embed: Fix Flickr double-padding with responsive wrapper. (73902)
- Fix : Image caption blur in Gallery block. (74063)
- Fix: Add border-box sizing for verse block. (74722)
- Inspector tabs: Reset tab selection if the selected tab is no longer present. (74682)
- Make custom navigation overlay full width. (74559)
- Media & Text: Revert "Fixed Media & Text Block - Image not rendered properly on frontend when inside stack (#68610)". (74715)
- Pattern Editing: Update template part to use tabs. (74793)
- Post Excerpt Block: Fix excerpt trimming logic to handle whitespace correctly. (74925)
- Post Excerpt Block: Fix length limits for both Editor and Front and fix ellipsis consistency. (74140)
- Show submenu colors but remove the word overlay. (74818)
- fix: Video block: video URLs pasted without "https://" show broken media. (74964)
Block Editor
- Allow grid layout to use theme blockGap values for columns calculation. (74725)
- Block Editor Provider: Fix editor error for contributor role when client-side media experiment is active. (74680)
- Direct drag: Fix glitching around scrolling. (74608)
- Ensure grid column never exceeds parent's width. (74795)
- Fix missing onClose prop for InserterMenu. (74920)
- Fix: Fit Text not working on calculated line heights. (74860)
- Fix: Safari "Edit as HTML" for Fit Text deletes content. (74864)
- Fix: Stretchy text issue when nested on flex containers. (73652)
- List View: Ensure element exists in document before focusing. (74613)
- Pattern Editing: Prevent double-click editing for template parts and synced patterns. (74755)
- Calculate viewport based on ...
22.4.4
Changelog
Bug Fixes
- Shortcode: Fix non-string attribute values being silently dropped (74949)
Contributors
The following contributors merged PRs in this release: