Releases: WordPress/gutenberg
Releases · WordPress/gutenberg
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:
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
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)
Collaboration
- Real-t...
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...