Releases: WordPress/gutenberg
Releases · WordPress/gutenberg
22.4.3
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:
22.5.0 RC1
Changelog
Features
Block Library
Post Editor
- Pattern editing: Stabilize and remove the experiment flag. (74843)
Enhancements
- Consolidate border tokens. (74617)
- Create Block: Simplify blocks-manifest registration. (74647)
- Design System: Add guidelines for destructive actions UX. (74778)
- Remove legacy babel plugins. (74916)
- Update: Preserve additional meta properties on client side abilities. (73918)
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)
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)
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)
Post Editor
- In-editor revisions (initial changes, without diffing). (74771)
Icons
- Add missing chevron-up-small icon. (74607)
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)
###...
22.4.2
Changelog
Bug Fixes
- Remove link underline style from default theme.json. (74901)
Contributors
The following contributors merged PRs in this release:
22.4.1
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:
22.4.0
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
Fieldprimitives. (74190) - Add new
VisuallyHiddencomponent. (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_Postinstance. (74172) - UI: Add
Button. (74415) - UI: Add
Fieldsetprimitives. (74296) - UI: Add
Iconcomponent. (74311) - UI: Add
InputLayoutprimitive. (74313) - UI: Add
Inputprimitive. (74615) - Update: Revert back to fit text toggle UI. (73890)
@wordpress/theme: Updatecolorjs.ioto version0.6.0. (74278)@wordpress/uiButton: Adddestructivetone. (74463)@wordpress/uiButton: Refactor to base ui. (74416)@wordpress/uiButton: Tweak disabled styles and rework tokens. (74470)@wordpress/uiButton: Undodestructivetone 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_itemsfilter 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_titleon 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_idas an argument toblock_core_breadcrumbs_post_type_settingsfilter to allow more granular term choice. (74170) - Query Loop: Exclude terms support. (73790)
- Query Loop: Hide
change designorchoose patternwhen 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...
22.4.0 RC1
Changelog
Features
Collaboration
- Real-time collaboration: Move collaborative editing from experiments to default Gutenberg plugin experience. (74562)
Block Library
- Add Heading level variations. (73823)
- Image: Add focal point controls. (73115)
- Query Loop: Exclude terms support. (73790)
- Paragraph: Add align wide full supports. (73958)
Post Editor
- Notes: Enable floating notes in template lock mode. (74577)
- Pattern Overrides: Infer partial syncing supported blocks from the server. (73889)
Design Tools
- Dimensions Support: Add dimension presets and adopt for width and min height block supports. (73811)
Font Library
- Classic Themes: Enable Fonts and thus global styles. (73971)
- Allow access for hybrid themes. (73876)
Block Transforms
- Add block transforms between Verse and Quote blocks. (73068)
Enhancements
- Add
Fieldprimitives. (74190) - Add new
VisuallyHiddencomponent. (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_Postinstance. (74172) - UI: Add
Button. (74415) - UI: Add
Fieldsetprimitives. (74296) - UI: Add
Iconcomponent. (74311) - UI: Add
InputLayoutprimitive. (74313) - UI: Add
Inputprimitive. (74615) - UI: Ensure Stack is exported from root package exports. (73928)
- UI: Remove support for numeric multiplier on Box padding. (74008)
- Update: Revert back to fit text toggle UI. (73890)
@wordpress/theme: Updatecolorjs.ioto version0.6.0. (74278)@wordpress/uiButton: Adddestructivetone. (74463)@wordpress/uiButton: Refactor to base ui. (74416)@wordpress/uiButton: Tweak disabled styles and rework tokens. (74470)@wordpress/uiButton: Undodestructivetone variant. (74540)- change: wp-env: Strip version suffix for non-wp-org zip sources. (74195)
Block Library
- Add LinkPicker Component for using a Link Preview Button in the Navigation Link Inspector. (73830)
- Add
block_core_breadcrumbs_itemsfilter 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_titleon 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)
- Calendar 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)
- Pass
post_idas an argument toblock_core_breadcrumbs_post_type_settingsfilter to allow more granular term choice. (74170) - Query Loop: Hide
change designorchoose patternwhen 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)
- 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)
- 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)
- Headings support for Word Online while pasting. (70771)
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
—f...
22.3.0
Changelog
Enhancements
Block Editor
- Image Cropper: Add package and basic stories. (72414)
- Implements the image-cropper package in the editor. (73277)
Block Library
- Add support for 'align' to the Breadcrumbs block. (73794)
- Breadcrumbs: Support paged comments. (73670)
- Button: Migrate to text-align block support. (73732)
- Comments Pagination Numbers: Add spacing controls for margin and padding. (67267)
Components
Data Layer
- @wordpress/data: Migrate
index.jstoindex.ts. (73597)
DataViews
- Add min/max validation support to DataForm inputs. (73465)
- Field API: Display formats for
numberandintegertypes. (73644) - Try using 24px padding for consistency across different uses. (73334)
- Update operator labels and deprecate the
isNotAll. (73671)
Internationalization
- Fields: Update "Trash" translation to provide verb context. (73704)
Layout
- Enable grid block to be responsive when columns are set. (73662)
- Try removing top and left grid drag handles in stable (auto) mode. (73864)
Media
- Add media-specific fields for use with Attachment post types and DataViews/DataForm. (73071)
Notes
- Notes: Add email notification. (73645)
Offline
- Editor: Improve offline error notices. (73874)
Packages
- Remove WordPress dependencies from abilities package. (73428)
Patterns
- Add pattern name to document toolbar when editing in spotlight. (73208)
- ContentOnly: For template parts and synced patterns, ensure 'Edit section' button goes to the isolated editor. (73736)
Post Editor
- Use relevance pattern matching for parent page search. (73836)
Site Editor
- Site Editor Pages: Add "notes count" field. (73609)
Theme
- Expand error family of tokens. (73793)
Bug Fixes
Block API
- Fallback to all attributes when checking for unmodified block. (73867)
Block Editor
- Link Control: Clear entity metadata when selecting custom URLs. (73825)
- Block Styles: Fix dynamic block previews. (73709)
- Pattern insertion: Drag chip when multiple blocks of the same type in a pattern are dragged. (73681)
Block Library
- Accordion Heading: Add default style for classic themes. (73608)
- Add i18n support for math block error messages. (73643)
- Breadcrumbs: Improve home page and front page handling. (73487)
- Classic Block: Restore HTML editing option. (73865)
- Fix Page List block HTML rendering in editor. (73614)
- Fix Page List block button HTML rendering to escape at output. (73641)
- Fix align right issue on avatar component. (67494)
- Post Title: Add fallback
no titlein edit mode when is readOnly. (73750) - Post Title: Fix empty heading element when post_title is empty but get_the_title returns markup V2. (73841)
- Prevent flipping the border style when creating RTL stylesheets. (44170)
- Verse Block: Prevent text overflow off-screen when the previous block has float. (45221)
Block Transforms
- Gallery: Fix missing captions shortcode transform. (73748)
Command Palette
- Commands: Restrict editor UI commands to entity-edit context. (73717)
- Fix layout for long label. (73837)
- Remove context from editor commands. (73807)
Components
- Fix Notice component action button margins. (69430)
- Reduce modal style specificity so it can be overridden more easily. (73739)
DataViews
- Apply primary style to first column if there is no title field. (73729)
- Fields: Fix suffix button in Slug field. (73829)
- Fix sticky footer in dataviews grid view. (73661)
Font Library
- Fix button background and focus outline styles. (73722)
Global Styles
- Fix: Default color variations not showing in global styles. (73742)
- Global Styles UI: Remove unnecessary padding for Navigatior component. (73810)
- Global Styles UI: Restore borders for preview items. (73741)
- Global Styles UI: Revert some of the padding / markup changes from #73334. (73834)
- Gutenberg plugin: Override core classic theme styles. (73580)
Inspector Controls
- Fix Hstack prop in PostCardPanel. (73842)
Notes
- Notes: Avoid incrementing comment_count when notes are resolved or reopened. (73689)
- Notes: Ensure notes never show on the comments page. (73640)
Paste
- Raw Handling: Fix grok markdown pasting issues. (73019)
Patterns
- contentOnly patterns: Mark patterns as contentOnly by adding metadata.patternName to the root block. (73477)
Templates API
- Template Activation: Update template ID format test. (73629)
Accessibility
Block Editor
- Fix block toolbar icon CSS when using show icon label preference. (73674)
Performance
Block Editor
- Block Styles: Avoid re-rendering when typing. (73701)
Theme
- Theme: Better max chroma detection for taperChroma. (73625)
Experiments
Block API
- PHP-only blocks: Pass all metadata from PHP registration to the client. (73556)
Collaboration
- Real-time collaboration: Add UndoManager support for collaborative editing. (72407)
- Real-time collaboration: Disable syncing for "synthetic" template posts. (73526)
Font Library
- Add dedicated font library page. (73630)
Navigation Menus
- Add Overlay template part area behind Experiment. (73359)
- Add overlay template part selector to Navigation block (behind experiment). (73760)
Routing
- Boot: Add conditional inspector rendering via route.inspector(). (73703)
- Routing Boot package: Add mobile rendering. (73620)
- Routing: Add page title support. (73847)
- Routing: Add view transitions to the new routing infrastructure. (73586)
UI Components
- UI: Add border support to Box component. (73530)
- UI: Add Stack component leveraging gap spacing design tokens. ([73308](https://github....
22.3.0 RC1
Changelog
Enhancements
- Comments Pagination Numbers: Add spacing controls for margin and padding. (67267)
- Expand error family of tokens. (73793)
- Image Cropper: Add package and basic stories. (72414)
- Remove WordPress dependencies from abilities package. (73428)
DataViews
- Add min/max validation support to DataForm inputs. (73465)
- Field API: Display formats for
numberandintegertypes. (73644) - Try using 24px padding for consistency across different uses. (73334)
- Update operator labels and deprecate the
isNotAll. (73671)
Block Library
- Add support for 'align' to the Breadcrumbs block. (73794)
- Breadcrumbs: Support paged comments. (73670)
- Button: Migrate to text-align block support. (73732)
Layout
- Enable grid block to be responsive when columns are set. (73662)
- Try removing top and left grid drag handles in stable (auto) mode. (73864)
Patterns
- Add pattern name to document toolbar when editing in spotlight. (73208)
- ContentOnly: For template parts and synced patterns, ensure 'Edit section' button goes to the isolated editor. (73736)
Offline
- Editor: Improve offline error notices. (73874)
Post Editor
- Use relevance pattern matching for parent page search. (73836)
Components
- Chore: Shorten timeout duration for
Snackbarcomponent. (73814)
Site Editor
- Site Editor Pages: Add "notes count" field. (73609)
Data Layer
- @wordpress/data: Migrate
index.jstoindex.ts. (73597)
Block Editor
- Implements the image-cropper package in the editor. (73277)
Media
- Add media-specific fields for use with Attachment post types and DataViews/DataForm. (73071)
Bug Fixes
- Add i18n support for math block error messages. (73643)
- Fields: Fix suffix button in Slug field. (73829)
Block Library
- Accordion Heading: Add default style for classic themes. (73608)
- Breadcrumbs: Improve home page and front page handling. (73487)
- Classic Block: Restore HTML editing option. (73865)
- Fix Page List block HTML rendering in editor. (73614)
- Fix Page List block button HTML rendering to escape at output. (73641)
- Fix: Fixed align right issue on avatar component. (67494)
- Post Title: Add fallback
no titlein edit mode when is readOnly. (73750) - Post Title: Fix empty heading element when post_title is empty but get_the_title returns markup V2. (73841)
- Prevent flipping the border style when creating RTL stylesheets. (44170)
- Verse Block: Prevent text overflow off-screen when the previous block has float. (45221)
Global Styles
- Fix: Default color variations not showing in global styles. (73742)
- Global Styles UI: Remove unnecessary padding for Navigatior component. (73810)
- Global Styles UI: Restore borders for preview items. (73741)
- Global Styles UI: Revert some of the padding / markup changes from #73334. (73834)
Plugin
- Gutenberg plugin: Override core classic theme styles. (73580)
- Notes: Add email notification. (73645)
- Notes: Avoid incrementing comment_count when notes are resolved or reopened. (73689)
- Notes: Ensure notes never show on the comments page. (73640)
Block Editor
- Link Control: Clear entity metadata when selecting custom URLs. (73825)
- Block Styles: Fix dynamic block previews. (73709)
- Pattern insertion: Drag chip when multiple blocks of the same type in a pattern are dragged. (73681)
Command Palette
- Commands: Restrict editor UI commands to entity-edit context. (73717)
- Remove context from editor commands. (73807)
Components
- Fix Notice component action button margins. (69430)
- Reduce modal style specificity so it can be overridden more easily. (73739)
DataViews
- Apply primary style to first column if there is no title field. (73729)
- Fix sticky footer in dataviews grid view. (73661)
Block API
- Fallback to all attributes when checking for unmodified block. (73867)
Inspector Controls
- Fix Hstack prop in PostCardPanel. (73842)
Commands
- Fix layout for long label. (73837)
Block Transforms
- Gallery: Fix missing captions shortcode transform. (73748)
Font Library
- Restore correct style. (73722)
Templates API
- Template Activation: Update template ID format test. (73629)
Patterns
- contentOnly patterns: Mark patterns as contentOnly by adding metadata.patternName to the root block. (73477)
Paste
- Raw Handling: Fix grok markdown pasting issues. (73019)
Accessibility
- Fix block toolbar icon CSS when using show icon label preference. (73674)
Performance
- Theme: Better max chroma detection for taperChroma. (73625)
Block Editor
- Block Styles: Avoid re-rendering when typing. (73701)
Experiments
- Routing Boot package: Add mobile rendering. (73620)
- Routing: Add page title support. (73847)
- Routing: Add view transitions to the new routing infrastructure. (73586)
- UI: Add Stack component leveraging gap spacing design tokens. (73308)
- UI: Add border support to Box component. (73530)
Navigation Menus
- Add Overlay template part area behind Experiment. (73359)
- Add overlay template part selector to Navigation block (behind experiment). (73760)
Collaboration
- Real-time collaboration: Add UndoManager support for collaborative editing. (72407)
- Real-time collaboration: Disable syncing for "synthetic" template posts. (73526)
Font Library
- Under dedicated font library page. (73630)
Block API
- PHP-only blocks: Pass all metadata from PHP registration to the client. (73556)
Documentation
22.2.0
Changelog
Enhancements
Block Library
- Breadcrumbs: Add
archivelink if enabled in posts. (72832) - Breadcrumbs: Add
attachmenthandling. (73249) - Breadcrumbs: Add filter for preferred taxonomy and term per post type. (73283)
- Breadcrumbs: Add post type archive link if it's not the same as home URL. (73435)
- Breadcrumbs: Add support for paginated post content. (72905)
- Cover: Add support for background videos as embeds. (73023)
- Math: Enable styles options. (73544)
- Tabs block: Improve store functionality. (73229)
- Term Name, Term Count :Add example block previews. (73388)
- [Button Block]: Add support for pseudo elements for the block and its variations on theme.json. (71418)
DataViews
- Add insert left/right in table column header. (72929)
- Apply background to DataViews wrapper. (73390)
- Dataforms: Add pattern validation. (73156)
- Dataforms: Update Email Control component to use envelope icon instead of atSymbol. (73184)
- Field API: Add
formattodatefield type. (72999) - Introduce activity layout. (72780)
- Only apply hover styles when there are bulk actions. (73248)
- Sticky elements inherit bg from container. (73240)
- Theme: Add density support for surface padding. (73215)
Patterns
- Add edit section to the list view instead of Ungroup. (73199)
- Change the icon and label for pattern section to use the pattern icon and name. (73203)
- Remove ungroup option for section blocks. (73183)
- Sections: Remove hover outlines in outline mode. (73263)
- Update pattern editing button labels. (73195)
- contentOnly patterns: Mark patterns as contentOnly by adding metadata.patternName to the root block (patterns endpoint). (73375)
Block Editor
- FontFamilyControl: Hard deprecate bottom margin. (73340)
- Block Editor: Filter file input accept attribute based on upload_mimes. (73562)
- Add cart icon. (73509)
- templateLock: ContentOnly - support content block insertion. (73425)
- RichText: Begin to support hiding richtext controls while having keyboard shortcuts available. (73181)
- Add width block supports under dimensions. (71905)
- Add text justify. (73201)
Bug Fixes
Block Library
- Accordion Block: Trigger panel opening from URL hash or anchor link. (73357)
- Accordion Item: Don't use grid layout. (73501)
- Accordion: add box-sizing:Border-box rule. (73507)
- Fix block selection when navigation link ui is open. (73368)
- Fix navigation tag entity binding. (73255)
- Fix: Custom font size taking over fit text. (73241)
- Fix: Stretch Text overflows into the padding area. (73327)
- HTML Block: Fix scrolling within the modal. (73506)
- HTML Block: Remove
editorStylesfromHTMLEditModal. (73347) - Image block: Set img_srcset to avoid PHP undefined var warning. (73453)
- Math block: Fix accessibility. (73508)
- Merge "Icon Size" and "Icon size" translation strings. (73325)
- Simplify and improve navigation link creation flow. (73210)
DataViews
- DataForm: Autofocus first input on panel view. (72322)
- DataForm: Fix issue with array fields in layout panel. (73344)
- Ensure primary actions are not wrapped in the list layout. (73333)
- Field API format: Fix and use WordPress input. (73538)
- Fields: Fix
authorfield view when editing. (73482) - Fix alignment when viewing a DataView with table layout and non-default column alignment. (73398)
- Open the filters from the column table consistently. (72998)
- [DataForm]: The ModalContent component doesn't properly check for fields validity - [#73330]. (73339)
- Theme: Fix color ramp generation to avoid unmet contrasts. (73331)
Block Editor
- Border Radius Control: Empty Values triggers unintended px unit conversion. (73324)
- Drag and drop: Remove grab cursor for multi-selection. (73521)
- Drag: Hide block tools popovers. (73539)
- Stretchy text: Hide variations in Block Inspector (hack). (73238)
- Styles Tab: Fix bug where contentOnly experiment forced it to always be displayed. (73534)
- Disable Term Query blocks in Widgets Editor. (73449)
- Comments Count and Comments Link: Ensures that the preview is displayed correctly in the StyleBook. (73213)
Global Styles
- Preview Styles: Prevent leaked shadow due to blur. (73545)
- Update generateGlobalStyles function to include variationStyles option. (73535)
- Variations global styles: Replace useSetting with useStyle for fetching block variations. (73533)
- Global Styles: Fix media upload permission check. (73503)
- WP_Theme_JSON_Gutenberg: Preserve valid non-preset settings when KSES filters are active. (73452)
Components
- Fix: Keep Guide close button visible on hover. (73220)
- Normalize displayed dates to UTC time for DateTimePicker. (73444)
- Try fixing full-screen modal height so contents can scroll. (73150)
Block bindings
- Error handling for external sources. (72585)
- Fix
core/term-datasource bug, refactor, add unit test coverage. (73366) - Move computation of sources into dedicated
useSelect. (72974)
Interactivity API
- iAPI: Fix using
getServerContextin derived state getters. (73518) - iAPI: Return a deep-clone object from
getServerStateandgetServerContextfunctions. (73437)
Collaboration
- Notes position alignment in HTML. (73046)
- Notes: Collapse note on blur. (73158)
- Notes: Fix warning in comment content check. (73198)
Patterns
- Check for prevent default on event to enable media placeholder button. (73564)
- contentOnly patterns: Fix lock icon appearing on toolbar when editing a section. (73457)
Block API
- Block Support: Change block visibility support key. (73432)
Layout
- Prevent empty contentSize ...
22.1.3
Changelog
Bug Fixes
Templates API
- Template Activation: Rename gutenberg_get_block_template. (73582)
- Template Activation: Use string IDs when experiment is off. (73585)
Site Editor
- Site Hub: Use optional chaining on currentTheme. (73587)
Block Library
- Paragraph block: Backward compatibility support for align attribute. (73578)
Contributors
The following contributors merged PRs in this release: