Skip to content

Releases: WordPress/gutenberg

22.6.0 RC1

18 Feb 16:32

Choose a tag to compare

22.6.0 RC1 Pre-release
Pre-release

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

  • New Block: Icon Block. (71227)
  • Remove the Icon Block and Icon SVG API from experiments. (75576)

Interactivity API

  • Export watch from @preact/signals's effect. (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 Textarea primitive. (74707)
  • @wordpress/ui: Add IconButton. (74697)
  • @wordpress/ui: Add Tabs. (74652)
  • iAPI router: Move internal properties to a private store. (70882)
  • ui/IconButton: Make icon always 24px regardless of size prop. (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:
    • Author Biography. (74997)
    • Post Author Name. (75109)
    • Post Comments Count. (75321)
    • Post Comments Form. (75322)
    • Post Comments Link. (75332)
    • Post Terms. (75545)
    • Post Time to Read. (75541)
    • Term Description. (75542)
  • 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 EditorSnackbar and EditorNotices components to the @wordpress/notices package. (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...
Read more

22.5.3

12 Feb 18:04

Choose a tag to compare

Changelog

Bug Fixes

Block Library

  • Post Excerpt Block: Remove REST API filter for excerpt length in post excerpt block. (75299)

Contributors

The following contributors merged PRs in this release:

@SirLouen

22.5.1

10 Feb 08:11

Choose a tag to compare

Changelog

Bug Fixes

Block Library

  • Fixed: Custom colors are now reflected in the editor for heading blocks. (75234)

Contributors

The following contributors merged PRs in this release:

@shimotmk

22.5.0

04 Feb 14:28

Choose a tag to compare

Changelog

Enhancements

Block Library

  • Add custom CSS support for individual block instances. (73959)
  • Add the has-custom-css class 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 custom validation. (74704)
  • Show validation errors when a panel closes. (74995)
  • Add content element guidelines for fields in DataForm. (74817)

Components

  • DataForm: Add combobox control. (74891)
  • UI: Add Select primitive. (74661)
  • Add Tooltip component 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 ...
Read more

22.4.4

04 Feb 13:06

Choose a tag to compare

Changelog

Bug Fixes

  • Shortcode: Fix non-string attribute values being silently dropped (74949)

Contributors

The following contributors merged PRs in this release:

@manzoorwanijk

22.4.3

30 Jan 18:04

Choose a tag to compare

Changelog

Bug Fixes

Block Library

  • Navigation: Use :where on the :Not(.disable-default-overlay) selector so that the scope doesn't change. (75090)

Contributors

The following contributors merged PRs in this release:

@scruffian

22.5.0 RC1

28 Jan 21:29

Choose a tag to compare

22.5.0 RC1 Pre-release
Pre-release

Changelog

Enhancements

Block Library

  • Add custom CSS support for individual block instances. (73959)
  • Add the has-custom-css class 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 custom validation. (74704)
  • Show validation errors when a panel closes. (74995)
  • Add content element guidelines for fields in DataForm. (74817)

Components

  • DataForm: Add combobox control. (74891)
  • UI: Add Select primitive. (74661)
  • Add Tooltip component 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)

Collaboration

  • Real-t...
Read more

22.4.2

28 Jan 10:50

Choose a tag to compare

Changelog

Bug Fixes

  • Remove link underline style from default theme.json. (74901)

Contributors

The following contributors merged PRs in this release:

@youknowriad

22.4.1

23 Jan 16:31

Choose a tag to compare

Changelog

Code Quality

  • Style Engine: Bail early when adding a declaration if not passed a string. (74881)

Contributors

The following contributors merged PRs in this release:

@andrewserong

22.4.0

20 Jan 14:08

Choose a tag to compare

Changelog

Features

Collaboration

  • Real-time collaboration: Move collaborative editing from experiments to default Gutenberg plugin experience. (74562)

Block Library

  • Add Line Indent support. (73114)

Enhancements

  • Add Field primitives. (74190)
  • Add new VisuallyHidden component. (74189)
  • Clamp signaling server retries to prevent unbounded backoff. (74372)
  • Leverage @wordpress/base-styles admin schemes stylesheet instead of duplicate declarations in various packages. (69130)
  • MediaEdit: Add drag and drop functionality. (74455)
  • MediaEdit: Expanded view. (74336)
  • Storybook: Update DataView free composition story. (74146)
  • Stylelint: Add design token linting. (74226)
  • Theme_JSON_Resolver: Check for WP_Post instance. (74172)
  • UI: Add Button. (74415)
  • UI: Add Fieldset primitives. (74296)
  • UI: Add Icon component. (74311)
  • UI: Add InputLayout primitive. (74313)
  • UI: Add Input primitive. (74615)
  • Update: Revert back to fit text toggle UI. (73890)
  • @wordpress/theme: Update colorjs.io to version 0.6.0. (74278)
  • @wordpress/ui Button: Add destructive tone. (74463)
  • @wordpress/ui Button: Refactor to base ui. (74416)
  • @wordpress/ui Button: Tweak disabled styles and rework tokens. (74470)
  • @wordpress/ui Button: Undo destructive tone variant. (74540)
  • change: wp-env: Strip version suffix for non-wp-org zip sources. (74195)

Block Library

  • Add Heading level variations. (73823)
  • Add LinkPicker Component for using a Link Preview Button in the Navigation Link Inspector. (73830)
  • Add block_core_breadcrumbs_items filter to Breadcrumbs allowing to filter final items array. (74169)
  • Add list view tab to the buttons, list and social icons blocks. (74120)
  • Apply post_type_archive_title on post type archive title in Breadcrumbs. (73966)
  • Archives Block: Use new HtmlRenderer component to remove extra div wrapper and remove editor styles. (74255)
  • Block Card: Make the parent block navigation generic, supports any block with list view support. (74164)
  • Block Fields: Show all form fields by default. (74486)
  • Block support: Add anchor support for dynamic blocks. (74183)
  • Block: Memoize canOverrideBlocks. (74400)
  • Breadcrumbs Block: Use HtmlRenderer to remove extra div from editor. (74273)
  • Button: Improve the label of the button block in list view. (74163)
  • Calender Block: Use HtmlRenderer to remove extra div from editor. (74271)
  • Classic Block: Always use modal and display block placeholder. (74162)
  • Comment Author Name: Migrate to text-align block support. (74068)
  • Comment Content: Migrate to text-align block support. (74269)
  • Dynamically add CSS class to Paragraph block. (71207)
  • Footnotes: Prevent inserting footnotes within a footnotes block. (74287)
  • Form Field Blocks: Replace dashicon with SVG icons. (73996)
  • Forms Block: Switch from dashicons to SVG. (74297)
  • Heading: Migrate to text-align block support. (74383)
  • Hide Display section from Nav Inspector Controls if empty. (74495)
  • HtmlRenderer: Merge style props. (74344)
  • Image Block: Add content tab and reorganize inspector controls. (74201)
  • Image: Add focal point controls. (73115)
  • Inspector Fields: Show DataForm driven Content tab for all blocks that support content fields (+ support block bindings). (73863)
  • Latest Comments: Remove wrapper div and use HtmlRenderer for dynamic content rendering. (74277)
  • Navigation Overlay: Add a background to the default pattern. (74659)
  • Navigation: When a navigation block has a custom overlay, the submenu colors should not apply to the overlay. (74544)
  • Pass post_id as an argument to block_core_breadcrumbs_post_type_settings filter to allow more granular term choice. (74170)
  • Query Loop: Exclude terms support. (73790)
  • Query Loop: Hide change design or choose pattern when is locked. (74160)
  • RSS Block: Use HtmlRenderer to remove extra div from editor and remove editor styles. (74272)
  • Separator, Code: Don't require Enter for shortcut. (63654)
  • Show Navigation overlay patterns on right sidebar. (74069)
  • Tag Cloud: Use new HtmlRenderer component to remove extra div wrapper. (74228)
  • [Tabs block] Button and Tab Styling options #73932. (74103)
  • theme.json: Add breadcrumbs block schema. (74227)

Block Editor

  • Add autoComplete attribute to prevent browser autocomplete. (74595)
  • Add list view inspector tab for pattern editing. (74574)
  • Block Inspector: Update the design of the style variation to use ToolsPanel. (74224)
  • Block variation transformation: Change position and threshold. (74251)
  • Block visibility based on screen size: Add rules to hide on viewport size. (74379)
  • Block visibility: Add viewport modal and controls UI. (74249)
  • Block visibility: Add visibility notice for hidden blocks in the block inspector. (74180)
  • ContentOnlyControls: Polish header style. (74260)
  • Improve cross origin isolation support. (74418)
  • Layout: Add allowWrap option to flex layout block support. (74493)
  • Prevent browser autocomplete in Navigation link search. (74305)

DataViews

  • Add density picker and related styles to DataView layouts. (71050)
  • Add groupBy.showLabel configuration option to control group header label visibility. (74161)
  • Add: Panel form layout validation. (73700)
  • DataViewsPicker Table Layout: Ensure checkbox column is always 48px wide. (74181)
  • Display a separate for each level. (74199)
  • Implement format for datetime. (73924)
  • Remove table row click-to-select and hover styles. (73873)
  • Update LayoutCard story in DataForm to use card layout. (73695)
  • Update field colorisation in DataViews list layout. ([73884](https://g...
Read more