Releases: WordPress/gutenberg
Releases · WordPress/gutenberg
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:
22.2.0 RC2
22.2.0 RC1
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 contentSiz...