Releases: WordPress/gutenberg
Releases · WordPress/gutenberg
21.9.0 RC1
Changelog
Enhancements
- Create Block: Enable
aliaspackage installation. (72079) - DataViews: Add views package to be used to persist view modifications and use it for patterns. (72102)
- Pages Dataviews: Support persistence. (72127)
- Remove redundant max percentage from download progress. (72282)
- Template activation: Duplicate modal on static template click, remove auto-drafting. (72285)
- Templates DataViews: Support persistence. (72113)
- iAPI: Add official support for unique IDs. (72161)
Block Library
- Add aspect ratio control for gallery block (#71116). (72104)
- Block support: Add allowedBlocks support for more blocks. (72191)
- Breadcrumbs: Add
post with termsbreadcrumbs support. (72124) - Categories block: Improve and harden JavaScript used when displayed as dropdown. (72118)
- Details Block: Remove "accordion" keyword to avoid confusion with Accordion block. (71746)
- Details block: Add name attribute in editor. (71054)
- Introduce block support and UI for allowedBlocks. (71986)
- Stabilize Accordion block. (72036)
- Terms Query: Add
includespecific terms support. (72286) - Terms Query: Simplify controls and layout. (72121)
- Terms Query: Stabilize the block. (72380)
- Terms Query: Update
inheritcontrol and functionality. (72313) - Terms Query: Use linked term names in variations. (72307)
- Time to Read: Add word count icon. (72240)
Collaboration
- Block Comments: Always show comment menu item. (72153)
- Block Comments: Capture resolution history & display in thread. (71563)
- Block Comments: Hide actions until the thread is selected. (72179)
- Block Comments: Highlight block with new toggleBlockSpotlight private API. (72126)
- Block Comments: Select block when comment is selected. (72082)
- Block Comments: Try alternative method for spotlight. (72194)
- Notes: Add More Menu Item. (72377)
- Notes: Add privacy info text. (72276)
- Notes: Floating comments aligned with blocks that avoid overlapping. (72216)
- Notes: Graduate from experiments. (72344)
- Notes: Update snackbar text. (72409)
- Resolving Comments hide reserved space for comments. (72210)
DataViews
- DataForm - Card Layout: Implement summary field. (71576)
- DataForm: Introduce
validityprop. (71412) - DataForm: Row layout can control field width. (72066)
- DataForm: Stop auto-injecting select placeholder. (72241)
- DataForm: Support validation in date field type. (72048)
- Dataforms: Add validation to date time field. (72060)
- Delete the isDestructive prop from the actions. (72111)
- Field API: Support async loading elements. (72254)
- Improve renderItemLink event propagation handling. (72081)
- Make header table view select all checkbox always visible. (72050)
- Standardise DataForm typography. (72284)
- Update
modalHeaderto support dynamic modal header text based on selected item. (72384)
Block API
- Accordion Block: Added anchor support. (72054)
- Add block visibility control in the command center. (72154)
- Add blockVisibility support to Synced Pattern and Template Part. (72026)
- Add: Fit text/stretch text block supports and variation. (71904)
- Block Visibility: Show snackbar when hiding block. (72027)
Block Editor
- Add Additional CSS Classes setting to Link UI. (67560)
- Add keyboard shortcut toggle block visibility. (72172)
- Drag and drop: direct drag: Move block instead of drag chip. (67470)
Components
- Flip search icons depending on placement. (72070)
- Move search icons in search fields to prefix position. (71984)
- SearchControl: Normalize styles. (72072)
Block Variations
- Block Transforms: In metadata transform, remove check for block bindings. (72389)
- Paragraph and Heading Block: Remove stretchy text variation. (72408)
Interactivity API
- Allow Post Content when "Force Page Reload" is disable in the Query Loop. (72160)
- iAPI Router: Selectively preload interactivity script modules. (72340)
REST API
- Block Comments: Update REST API permissions for this type. (71919)
- Notes/Block Comments: Use arguments from the schema for creation. (72205)
Write mode
- Add contentRole support to Accordion, Accordion Item, Accordion Panel. (72052)
- Remove most uses of
isNavigationModein contentOnly logic. (72043)
Icons
- Update check icon to be optically balanced. (72101)
Focus Mode
- Allow submenu flyout menus to be visible outside of template part canvas. (72013)
Global Styles
- Add shadow and layout to the global styles changes translation map array. (72010)
Bug Fixes
- A couple more PHP 8.5 fixes. (72094)
- Build V2: Fix DataViews export file. (72387)
- Build V2: Fix emotion transpiling. (72280)
- Build v2: Fix block-editor default colors. (72349)
- Fix: Change ordering of multiple
data-wp-contextdirectives in iAPI processing. (72395) - Post Quick Edit: Fix bulk edit field filtering logic. (71952)
- Revert "Block Bindings: Move bindable attributes to privateContext. (72400)
- Template activation: Add meta to all newly created templates. (72156)
- Template activation: Clear notice on post change. (72403)
- Template activation: Fix /lookup endpoint to use custom resolve fn. (72049)
- Template activation: Fix theme field for old REST API endpoint. (72366)
- Template activation: Reduce templates listed as options for post/page. (72141)
- Template activation: Remove redirect to wp_registered_template. (72356)
- iAPI: Handle all
getServerStateandgetServerContextsync scenarios. (72381)
Block Library
- Accordion Heading: Remove the padding from the heading when it has a backgro...
21.8.2
Changelog
Bug Fixes
- Ensure meta boxes are not hidden when legacy. (72220)
Contributors
The following contributors merged PRs in this release:
21.8.1
21.8.0
Changelog
Features
Block Editor
- Section block multi-selection: Disable transforms and inspector controls. (71708)
Enhancements
Block Comments
- Improve comments panel close icon label. (71701)
- Add Discussion Field with tracksback and comment status agreagetd on Post/Page Quick Edit. (71949)
- Fields package: Add Storybook examples. (71864)
- Block Comment: Display message when there is no related block. (71968)
- Block Comment: Improve comment thread outline. (71961)
- Block Comment: Improve related block highlighting. (71932)
- Block Commenting: Add block-comments as a new post type support. (71682)
- Block Commenting: Change date format depending on comment date. (71835)
- Block Commenting: Show date or human-readable time diff code. (71667)
- Block Comments: Apply border color to avatar. (71917)
- Block Comments: Highlight the related block. (71308)
- Block Comments: Match the comment form UI to the design. (71898)
- Block Comments: Match the show more replies button UI to the design. (71884)
- Block Comments: Simplify action callbacks. (71892)
- Block Comments: Update 'Actions' menu design. (71877)
- Block Comments: Update editing flow. (71889)
Block Library
- Accordion Blocks: Organize block supports. (71823)
- Accordion Header: Add content role to title attribute. (71762)
- Accordion Header: Remove textAlignment and textAlign. (71875)
- Accordion Header: Use withoutInteractiveFormatting instead of hardcoded formats. (71745)
- Accordion: Add example block preview. (71365)
- Accordion: Rename block names. (71978)
- Add paragraph level option to post type label block. (71947)
- Enhance Term Description Block with Context Support. (71525)
- Terms Query inspector controls revamp + add subterms option. (71633)
- Time To Read: Add a range option. (71606)
- Time To Read: Add a word count option. (71841)
- Time To Read: Make display as range the default, and allow older blocks to migrate to this setting. (71842)
- Time to Read: Replace toggles with block variations. (71897)
DataViews
- Add
numberfield. (71797) - Add support for elements validation in DataForm's array fields. (71194)
- Export DataViewsPicker from dataviews package. (71836)
- Prevent hiding the last visible field. (71625)
- DataViews: Expose FiltersToggled subcomponent. (71907)
Block Editor
- Add configurable timeout parameter to flashBlock. (71752)
- Link Control: Update button text from Save to Apply. (72005)
Global Styles
- Add reset button to BackgroundControlsPanel. (71928)
- Site Editor: Make less prominent Addtional CSS UI. (71550)
Block bindings
- Communicate supported block attributes from server side. (71820)
- Image block: Conditionally remove empty
<figcaption>. (71893) - Navigation Link: Use block bindings to dynamically fetch the URL in the editor and on front end. (71630)
Write mode
- Try adding content roles to navigation blocks. (71747)
Components
- Textarea Component: Add default resize vertical rule. (71736)
Post Editor
- PostTypeSupportCheck: Handle support keys sub-features. (71723)
- Post Editor: Add the back button animation similar to the site editor. (71929)
Patterns
- Block Inspector: Add content tab for section blocks. (71714)
Icons
- Add gift Icon. (71705)
Interactivity API
- iAPI Router: Update router regions inside elements with
data-wp-interactive. (71635)
Meta Boxes
- Add ability to toggle meta box pane open and closed. (71623)
New APIs
Block API
- Add block visibility control support and UI. (71203)
Bug Fixes
- Add decodeEntities for CollabSideBarContent errors. (71909)
- Block Comment: Make blockCommentId as part of the metadata. (71921)
- Block Commenting: Don't show unpinnable sidebar on mobile viewports. (71834)
- Block Comments: Fix canceling the form for a selected block. (71862)
- Block Comments: Fix translation comments to say participants in toolbar indicator. (71890)
- Consistently show (no title) as a fallback for pages and templates with empty titles. (71945)
- Filter comment clause based on current query. (71712)
- Fix comment counts with filter. (71874)
- Template activation: Don't set site option on edit. (71811)
- Template activation: Fix saveEntityRecord with theme ID. (71798)
- Template activation: redirect theme templates urls to wp_registered_template (72003
- Template activation: add meta to all newly created templates (72156
- Template activation: reduce templates listed as options for post/page (72141
- Template activation: call get_block_templates filter when short-circuiting (71840
- Template activation: allow empty array to be set (72011
- Template activation: fix /lookup endpoint to use custom resolve function (72049
- Template activation: ignore templates not associated with active theme (72029
Block Library
- Accordion Block: Hide "Add" button when multiple blocks are selected. (71750)
- Accordion Header: Fix toggle icon position in the editor. (71859)
- Accordion Header: Skip serialization correctly. (71804)
- Accordion Panel: Add role=region. (71902)
- Accordion Panel: Fixes block visibility when the panel is collapsed. (71866)
- Fix Navigation Block default link consistency across all insertion methods. (71899)
- Fix accordion gradient background. (71802)
- Fixes Accordion block width issue when applying padding. (71809)
- Post Author Block: Add default avatar fallback for editor display outside postId context. (71775)
- Table of Contents: Add aria label to the nav element. (71586)
- Terms Query: Fix console errors. (71795)
- Time to Read: Change word count character based on word count type. ([71920](https://github.com/Wo...
21.8.0 RC1
Changelog
Features
Block Editor
- Section block multi-selection: Disable transforms and inspector controls. (71708)
Enhancements
Block Comments
- Improve comments panel close icon label. (71701)
- Add Discussion Field with tracksback and comment status agreagetd on Post/Page Quick Edit. (71949)
- Fields package: Add Storybook examples. (71864)
- Block Comment: Display message when there is no related block. (71968)
- Block Comment: Improve comment thread outline. (71961)
- Block Comment: Improve related block highlighting. (71932)
- Block Commenting: Add block-comments as a new post type support. (71682)
- Block Commenting: Change date format depending on comment date. (71835)
- Block Commenting: Show date or human-readable time diff code. (71667)
- Block Comments: Apply border color to avatar. (71917)
- Block Comments: Highlight the related block. (71308)
- Block Comments: Match the comment form UI to the design. (71898)
- Block Comments: Match the show more replies button UI to the design. (71884)
- Block Comments: Simplify action callbacks. (71892)
- Block Comments: Update 'Actions' menu design. (71877)
- Block Comments: Update editing flow. (71889)
Block Library
- Accordion Blocks: Organize block supports. (71823)
- Accordion Header: Add content role to title attribute. (71762)
- Accordion Header: Remove textAlignment and textAlign. (71875)
- Accordion Header: Use withoutInteractiveFormatting instead of hardcoded formats. (71745)
- Accordion: Add example block preview. (71365)
- Accordion: Rename block names. (71978)
- Add paragraph level option to post type label block. (71947)
- Enhance Term Description Block with Context Support. (71525)
- Terms Query inspector controls revamp + add subterms option. (71633)
- Time To Read: Add a range option. (71606)
- Time To Read: Add a word count option. (71841)
- Time To Read: Make display as range the default, and allow older blocks to migrate to this setting. (71842)
- Time to Read: Replace toggles with block variations. (71897)
- Navigation Link: Use block bindings to dynamically fetch the URL in the editor and on front end. (71630)
DataViews
- Add
numberfield. (71797) - Add support for elements validation in DataForm's array fields. (71194)
- Export DataViewsPicker from dataviews package. (71836)
- Prevent hiding the last visible field. (71625)
- DataViews: Expose FiltersToggled subcomponent. (71907)
Block Editor
- Add configurable timeout parameter to flashBlock. (71752)
- Link Control: Update button text from Save to Apply. (72005)
Global Styles
- Add reset button to BackgroundControlsPanel. (71928)
- Site Editor: Make less prominent Addtional CSS UI. (71550)
Block bindings
- Communicate supported block attributes from server side. (71820)
Write mode
- Try adding content roles to navigation blocks. (71747)
Components
- Textarea Component: Add default resize vertical rule. (71736)
Post Editor
- PostTypeSupportCheck: Handle support keys sub-features. (71723)
- Post Editor: Add the back button animation similar to the site editor. (71929)
Patterns
- Block Inspector: Add content tab for section blocks. (71714)
Icons
- Add gift Icon. (71705)
Interactivity API
- iAPI Router: Update router regions inside elements with
data-wp-interactive. (71635)
Meta Boxes
- Add ability to toggle meta box pane open and closed. (71623)
New APIs
Block API
- Add block visibility control support and UI. (71203)
Bug Fixes
- Add decodeEntities for CollabSideBarContent errors. (71909)
- Block Comment: Make blockCommentId as part of the metadata. (71921)
- Block Commenting: Don't show unpinnable sidebar on mobile viewports. (71834)
- Block Comments: Fix canceling the form for a selected block. (71862)
- Block Comments: Fix translation comments to say participants in toolbar indicator. (71890)
- Consistently show (no title) as a fallback for pages and templates with empty titles. (71945)
- Filter comment clause based on current query. (71712)
- Fix comment counts with filter. (71874)
- Template activation: Don't set site option on edit. (71811)
- Template activation: Fix saveEntityRecord with theme ID. (71798)
- Template activation: redirect theme templates urls to wp_registered_template (72003
- Template activation: add meta to all newly created templates (72156
- Template activation: reduce templates listed as options for post/page (72141
- Template activation: call get_block_templates filter when short-circuiting (71840
- Template activation: allow empty array to be set (72011
- Template activation: fix /lookup endpoint to use custom resolve function (72049
- Template activation: ignore templates not associated with active theme (72029
Block Library
- Accordion Block: Hide "Add" button when multiple blocks are selected. (71750)
- Accordion Header: Fix toggle icon position in the editor. (71859)
- Accordion Header: Skip serialization correctly. (71804)
- Accordion Panel: Add role=region. (71902)
- Accordion Panel: Fixes block visibility when the panel is collapsed. (71866)
- Fix Navigation Block default link consistency across all insertion methods. (71899)
- Fix accordion gradient background. (71802)
- Fixes Accordion block width issue when applying padding. (71809)
- Post Author Block: Add default avatar fallback for editor display outside postId context. (71775)
- Table of Contents: Add aria label to the nav element. (71586)
- Terms Query: Fix console errors. (71795)
- Time to Read: Change word count character based on word count type. (71920)
- fix: Hide accordion icon position setting when show icon is disabled. ([71748](https:/...
21.7.0
Changelog
Enhancements
Command Palette
- Move custom CSS command to
core-commandsfromedit-sitepackage. (71565) - Register menu navigation based on Core Menu API. (71476)
DataViews
- Add color field type and control to DataViews. (71522)
- Add data picker functionality. (70971)
- Add password field. (71545)
- DataForm radio control: Support validation and description. (71664)
- DataForm select control: Support validation. (71665)
- DataForm toggleGroup control: Support validation. (71666)
- DataForm: Add a textarea control available for use with the text field type. (71495)
- DataForm: Add summary field support for composed fields. (71614)
- DataForm: Switch boolean field types from toggle to checkbox UI. (71505)
- Dataform: Add new URL field type and field control. (71518)
- Dataform: Add new
telephonefield type and field control. (71498) - Dataforms: Add icons to email and telephone controls. (71514)
- Dataforms: Add object configuration support for Edit property with prefix/suffix options. (71582)
- Implement
groupByfor list layout. (71548) - Update datetime control to use calendar UI. (71509)
- DataForm: Row Layout. (71124)
Block Library
- Navigation Link: Change 'Add page' to 'Create page' button text. (71487)
- Navigation Link: Show 'Create page' button in Write Mode while hiding 'Add block'. (71489)
- Navigation Link: Surface page creation functionality clearly in the LinkUI. (71188)
- Normalize the Navigation block appender behavior between canvas and list view contexts. (71163)
- Table of Contents: Update toolbar controls. (71587)
- Terms Query: Combine Order and Order By control into single dropdown + remove order by slug. (71656)
Write mode
- Add Navigation Add Page Button. (71192)
- Hide Post Date toolbar when child of Query in contentOnly mode. (71707)
- Try adding a
contentRoleblock support to content container blocks. (71539)
Block bindings
- Add
block_bindings_supported_attributesfilter. (71663) - Add fallback for new features introduced in Core. (71389)
- Image block: Save
<figcaption>ifcaptionattr is bound. (71483)
Block Editor
- Localize labels in getVisualTypeName() for link control search items. (71503)
- Update conditions for displaying the empty block inserter. (70897)
Global Styles
- Site Editor: Always show Additional CSS button. (71537)
Components
- Add support for ValidatedFormTokenField. (71350)
Command Palette
- Make navigation commands available on all screens. (71335)
Interactivity API
- Add fetchpriority=low support to script modules. (70173)
Block Variations
- Have
getActiveBlockVariationfall back to default variation. (63858)
Core Data
- Core Data: Remove conditions for selector resolutions. (71575)
New APIs
- Core Commands: Introduce new useCommands hook. (71603)
Bug Fixes
- Core Data: Don't return partial data when selecting a complete item. (71474)
- Core Data: Fix early return check for the record field-level resolutions. (71541)
- Core Data: Fix field conditions in 'getRevision' selector. (71629)
- Fix PHP 8.5 array offset deprecation warning. (71654)
DataViews
- DataForms regular layout: Remove label style overrides as they cause inconsistent results. (71574)
- DataForms regular layout: Use BaseControl visual label for readonly fields when in top labelPosition. (71597)
- DataViews grid layout: Rounded corners for media. (71543)
- Field API: Add
setValue. (71604)
Write mode
- Add contentRole to Query block and make sure Change design always works as expected. (71686)
- Hide Spacer resizable box in write mode. (71671)
- Make sure "add page" button label only appears once. (71710)
Block Editor
- Fix popover scroll hook’s simultaneous scrolling. (71468)
- Fix stale insertion point reference. (71559)
- useClipboardHandler: Prevent file paste for users without media upload permissions. (71607)
Components
- Fix popover not calling onClose on unmount. (71252)
- Modal headings and labels missing editor text color. (71311)
- Validated form controls: Fix Sass var handling for red color. (71391)
Global Styles
- BorderRadius Presets: Fix Generating wrong variable names in pattern code. (71631)
- Search: Border radius presets work correctly. (71481)
Block Library
- Accordion: Add BlockGap support to content & panel. (71461)
- Increase taxonomy limit for Terms List dropdown. (71569)
Block bindings
- Fix back-compat layer. (71691)
Block Transforms
- Block Editor: Fix BlockSwitcher to prevent transforms on reusable blocks. (71661)
Patterns
- Content Only Pattern experiment: Restore purple block icon color for synced patterns. (71655)
Post Editor
- Fix: Hide "View Post" link for non-viewable post types. (71356)
Block API
- Allow block attributes strings to terminate in \ character. (71291)
Block Bindings
- Block Bindings: Fix pattern override bug, editing was allowed on non enabled overrides blocks. ([71813])(#71813))
Accessibility
- Block Comments: Make "n more replies" text clickable for accessibility. (71387)
- feat: Clarify label & add help text with link. (70451)
DataViews
- Custom
emptyelements are no longer wrapped in<p>tags to improve accessibility. (71561)
Performance
- Core Data: Always try to resolve entity permissions. (71532)
Post Editor
- Editor: Try displaying intermediate results for hierarchical terms. (71402)
Experiments
Patterns
- Make unsynced patterns content only by default. (71512)
- contentOnly Patterns experiment: Add Edit Contents button to block inspector and show 'Detach' block action. (71653)
Block Library
- Add Terms Query block. (70720)
- Pattern content only experiment: Make template parts section blocks. (71627)
Block Commenting
- Make buttons in dialogs tran...
21.7.0 RC2
Changelog
Enhancements
Command Palette
- Move custom CSS command to
core-commandsfromedit-sitepackage. (71565) - Register menu navigation based on Core Menu API. (71476)
DataViews
- Add color field type and control to DataViews. (71522)
- Add data picker functionality. (70971)
- Add password field. (71545)
- DataForm radio control: Support validation and description. (71664)
- DataForm select control: Support validation. (71665)
- DataForm toggleGroup control: Support validation. (71666)
- DataForm: Add a textarea control available for use with the text field type. (71495)
- DataForm: Add summary field support for composed fields. (71614)
- DataForm: Switch boolean field types from toggle to checkbox UI. (71505)
- Dataform: Add new URL field type and field control. (71518)
- Dataform: Add new
telephonefield type and field control. (71498) - Dataforms: Add icons to email and telephone controls. (71514)
- Dataforms: Add object configuration support for Edit property with prefix/suffix options. (71582)
- Implement
groupByfor list layout. (71548) - Update datetime control to use calendar UI. (71509)
- DataForm: Row Layout. (71124)
Block Library
- Navigation Link: Change 'Add page' to 'Create page' button text. (71487)
- Navigation Link: Show 'Create page' button in Write Mode while hiding 'Add block'. (71489)
- Navigation Link: Surface page creation functionality clearly in the LinkUI. (71188)
- Normalize the Navigation block appender behavior between canvas and list view contexts. (71163)
- Table of Contents: Update toolbar controls. (71587)
- Terms Query: Combine Order and Order By control into single dropdown + remove order by slug. (71656)
Write mode
- Add Navigation Add Page Button. (71192)
- Hide Post Date toolbar when child of Query in contentOnly mode. (71707)
- Try adding a
contentRoleblock support to content container blocks. (71539)
Block bindings
- Add
block_bindings_supported_attributesfilter. (71663) - Add fallback for new features introduced in Core. (71389)
- Image block: Save
<figcaption>ifcaptionattr is bound. (71483)
Block Editor
- Localize labels in getVisualTypeName() for link control search items. (71503)
- Update conditions for displaying the empty block inserter. (70897)
Global Styles
- Site Editor: Always show Additional CSS button. (71537)
Components
- Add support for ValidatedFormTokenField. (71350)
Command Palette
- Make navigation commands available on all screens. (71335)
Interactivity API
- Add fetchpriority=low support to script modules. (70173)
Block Variations
- Have
getActiveBlockVariationfall back to default variation. (63858)
Core Data
- Core Data: Remove conditions for selector resolutions. (71575)
New APIs
- Core Commands: Introduce new useCommands hook. (71603)
Bug Fixes
- Core Data: Don't return partial data when selecting a complete item. (71474)
- Core Data: Fix early return check for the record field-level resolutions. (71541)
- Core Data: Fix field conditions in 'getRevision' selector. (71629)
- Fix PHP 8.5 array offset deprecation warning. (71654)
DataViews
- DataForms regular layout: Remove label style overrides as they cause inconsistent results. (71574)
- DataForms regular layout: Use BaseControl visual label for readonly fields when in top labelPosition. (71597)
- DataViews grid layout: Rounded corners for media. (71543)
- Field API: Add
setValue. (71604)
Write mode
- Add contentRole to Query block and make sure Change design always works as expected. (71686)
- Hide Spacer resizable box in write mode. (71671)
- Make sure "add page" button label only appears once. (71710)
Block Editor
- Fix popover scroll hook’s simultaneous scrolling. (71468)
- Fix stale insertion point reference. (71559)
- useClipboardHandler: Prevent file paste for users without media upload permissions. (71607)
Components
- Fix popover not calling onClose on unmount. (71252)
- Modal headings and labels missing editor text color. (71311)
- Validated form controls: Fix Sass var handling for red color. (71391)
Global Styles
- BorderRadius Presets: Fix Generating wrong variable names in pattern code. (71631)
- Search: Border radius presets work correctly. (71481)
Block Library
- Accordion: Add BlockGap support to content & panel. (71461)
- Increase taxonomy limit for Terms List dropdown. (71569)
Block bindings
- Fix back-compat layer. (71691)
Block Transforms
- Block Editor: Fix BlockSwitcher to prevent transforms on reusable blocks. (71661)
Patterns
- Content Only Pattern experiment: Restore purple block icon color for synced patterns. (71655)
Post Editor
- Fix: Hide "View Post" link for non-viewable post types. (71356)
Block API
- Allow block attributes strings to terminate in \ character. (71291)
Block Bindings
- Block Bindings: Fix pattern override bug, editing was allowed on non enabled overrides blocks. ([71813])(#71813))
Accessibility
- Block Comments: Make "n more replies" text clickable for accessibility. (71387)
- feat: Clarify label & add help text with link. (70451)
DataViews
- Custom
emptyelements are no longer wrapped in<p>tags to improve accessibility. (71561)
Performance
- Core Data: Always try to resolve entity permissions. (71532)
Post Editor
- Editor: Try displaying intermediate results for hierarchical terms. (71402)
Experiments
Patterns
- Make unsynced patterns content only by default. (71512)
- contentOnly Patterns experiment: Add Edit Contents button to block inspector and show 'Detach' block action. (71653)
Block Library
- Add Terms Query block. (70720)
- Pattern content only experiment: Make template parts section blocks. (71627)
Block Commenting
- Make buttons in dialogs tran...
21.7.0 RC1
Changelog
Enhancements
Block Commenting
- Make buttons in dialogs translatable and clear. (71639)
- Use rendered comment content. (71638)
- Improve error handling for core data actions. (71695)
- Use TextareaAutosize for comment field. (71424)
- Add comment indicators in the block toolbar. (71271)
- Add the ability to reopen resolved comments. (71250)
- Enable inline comments on published post. (71295)
Command Palette
- Move custom CSS command to
core-commandsfromedit-sitepackage. (71565) - Register menu navigation based on Core Menu API. (71476)
DataViews
- Add color field type and control to DataViews. (71522)
- Add data picker functionality. (70971)
- Add password field. (71545)
- DataForm radio control: Support validation and description. (71664)
- DataForm select control: Support validation. (71665)
- DataForm toggleGroup control: Support validation. (71666)
- DataForm: Add a textarea control available for use with the text field type. (71495)
- DataForm: Add summary field support for composed fields. (71614)
- DataForm: Switch boolean field types from toggle to checkbox UI. (71505)
- Dataform: Add new URL field type and field control. (71518)
- Dataform: Add new
telephonefield type and field control. (71498) - Dataforms: Add icons to email and telephone controls. (71514)
- Dataforms: Add object configuration support for Edit property with prefix/suffix options. (71582)
- Implement
groupByfor list layout. (71548) - Update datetime control to use calendar UI. (71509)
- DataForm: Row Layout. (71124)
Block Library
- Navigation Link: Change 'Add page' to 'Create page' button text. (71487)
- Navigation Link: Show 'Create page' button in Write Mode while hiding 'Add block'. (71489)
- Navigation Link: Surface page creation functionality clearly in the LinkUI. (71188)
- Normalize the Navigation block appender behavior between canvas and list view contexts. (71163)
- Table of Contents: Update toolbar controls. (71587)
- Terms Query: Combine Order and Order By control into single dropdown + remove order by slug. (71656)
Write mode
- Add Navigation Add Page Button. (71192)
- Hide Post Date toolbar when child of Query in contentOnly mode. (71707)
- Try adding a
contentRoleblock support to content container blocks. (71539)
Block bindings
- Add
block_bindings_supported_attributesfilter. (71663) - Add fallback for new features introduced in Core. (71389)
- Image block: Save
<figcaption>ifcaptionattr is bound. (71483)
Block Editor
- Localize labels in getVisualTypeName() for link control search items. (71503)
- Update conditions for displaying the empty block inserter. (70897)
Global Styles
- Site Editor: Always show Additional CSS button. (71537)
Components
- Add support for ValidatedFormTokenField. (71350)
Command Palette
- Make navigation commands available on all screens. (71335)
Interactivity API
- Add fetchpriority=low support to script modules. (70173)
Templates API
- Allow template duplication + concept of active templates. (67125)
Block Variations
- Have
getActiveBlockVariationfall back to default variation. (63858)
Core Data
- Core Data: Remove conditions for selector resolutions. (71575)
New APIs
- Core Commands: Introduce new useCommands hook. (71603)
Bug Fixes
- Block Comments: Prevent commenting on empty blocks. (71497)
- Core Data: Don't return partial data when selecting a complete item. (71474)
- Core Data: Fix early return check for the record field-level resolutions. (71541)
- Core Data: Fix field conditions in 'getRevision' selector. (71629)
- Fix PHP 8.5 array offset deprecation warning. (71654)
- Fix block comment to display correct time. (71652)
- Fix: Disable block commenting when postId is not number. (71643)
- Fix: Hide resolved comments in unpinned mode. (71409)
- Fix: Unable to pin comment sidebar after unpinning. (71386)
- i18n: Show "1 more reply" instead of "1 more replies" in block comments. (71685)
DataViews
- DataForms regular layout: Remove label style overrides as they cause inconsistent results. (71574)
- DataForms regular layout: Use BaseControl visual label for readonly fields when in top labelPosition. (71597)
- DataViews grid layout: Rounded corners for media. (71543)
- Field API: Add
setValue. (71604)
Write mode
- Add contentRole to Query block and make sure Change design always works as expected. (71686)
- Hide Spacer resizable box in write mode. (71671)
- Make sure "add page" button label only appears once. (71710)
Block Editor
- Fix popover scroll hook’s simultaneous scrolling. (71468)
- Fix stale insertion point reference. (71559)
- useClipboardHandler: Prevent file paste for users without media upload permissions. (71607)
Components
- Fix popover not calling onClose on unmount. (71252)
- Modal headings and labels missing editor text color. (71311)
- Validated form controls: Fix Sass var handling for red color. (71391)
Global Styles
- BorderRadius Presets: Fix Generating wrong variable names in pattern code. (71631)
- Search: Border radius presets work correctly. (71481)
Block Library
- Accordion: Add BlockGap support to content & panel. (71461)
- Increase taxonomy limit for Terms List dropdown. (71569)
Block bindings
- Fix back-compat layer. (71691)
Block Transforms
- Block Editor: Fix BlockSwitcher to prevent transforms on reusable blocks. (71661)
Patterns
- Content Only Pattern experiment: Restore purple block icon color for synced patterns. (71655)
Post Editor
- Fix: Hide "View Post" link for non-viewable post types. (71356)
Block API
- Allow block attributes strings to t...
21.6.0
Changelog
Enhancements
- Add support for precision type placeholders to translator comments eslint. (71145)
- Core Commands: Add
Dashboardoption to return to dashboard. (71261) - Core Data: Add 'supportsPagination' to all appropriate entities. (71302)
- Core Data: Forward resolvers for pagination selectors. (71304)
- Core Data: Include pagination meta while receiving intermediate results. (71401)
- Create Block: Add lifecycle script execution support. (71072)
- Deps: Bump
framer-motiontov11.15.0. (71442) - Display names for Context providers. (71208)
- Move
Site Editorcommand from@wordpress/editorpackage to@wordpress/core-commands. (71262)
DataViews
- DataForm: Add description support for the combined fields and show the description in the Card layout. (71380)
- DataForm: Streamline validation behavior. (71345)
- Revert "DataForm: Streamline validation behavior". (71359)
- Support hiding the title in Grid layout, with actions available on hover. (71369)
- Support the "Minimal UI" story by using
DataViews.Footer. (71276)
Block Library
- Accordion Panel: Remove unnecessary wrapper div and simplify save. (71454)
- Accordion: Add an "Add" button. (71388)
- Query Loop Block: Fix broken placeholder. (70840)
Offline
- api-fetch: Check navigator.onLine to improve failure notices. (71438)
Meta Boxes
- Edit Post: Check for meta box container before adding constraints. (71423)
Commands
- feat: Added keyword support & added basic keywords for post/page. (70624)
New APIs
Global Styles
- Add support for select or dropdown elements. (70379)
- Add element support for text related inputs. (70378)
Bug Fixes
- Add permission checks to Command Palette commands. (71267)
- Components: Fix Tab font size when used outside WP. (71346)
- Core Data: Fix error in 'getEntityRecordsTotalPages' selector. (71303)
- Scripts: Do not access
windowglobal. (71348) - wp-scripts: Remove
clean-webpack-plugindependency. (71080)
Block Library
- Accordion Header: Fix RTL toggle button layout. (71480)
- Fix issue of css affecting the nested accordion icon. (71445)
- Fix timezone in Date block. (71430)
- Fix: Randomization in Gallery Block doesn't work when Lightbox is enabled. (71408)
- Group Block variation:Remove variation text color. (71429)
- Properly apply styles and classes to the experimental form block. (55755)
- Template Part: Display icons correctly when in placeholder state. (71327)
- fix: Prevent accordion toggle button overflow at full width. (71446)
- fix: Prevent scrollbars on accordion header and toggle. (71484)
Write mode
- Allow adding "content" role blocks to containers that also have a "content" role in write mode. (71232)
- Audio and Video: Hide caption controls in contentOnly mode. (71368)
- Hide 'Add block' control in Link UI when Navigation Link block is in contentOnly mode. (71213)
- Image: Don't allow convert to cover controls in contentOnly mode. (71329)
Post Editor
- Edit Post: Fix misplaced icon on back button. (71406)
- Editor: Fix theme stylesheet injection in 'useAvailablePatterns'. (71332)
DataViews
- Fix grid padding values on mobile viewports. (71455)
Block Editor
- Inserter: Fix
InserterListboxrendering for React 19. (71410)
Style Book
- Accordion Content, Header, Panel: Remove example field. (71407)
Zoom Out
- Fix Zoom out should be disabled when Show Template is toggled off. (71361)
Components
- ControlWithError: Show validating state when transitioning from error state. (71260)
Interactivity API
- iAPI: Make state getters to be updated asynchronously with
store(). (70974)
Performance
- Add wp-env SPX profiler option. (70693)
Post Editor
- Editor: Improve the 'Design' sidebar panel performance. (71333)
Documentation
- Core Data: Improve 'registry.batch' documentation. (71325)
- DataForm: Better story for validation. (71298)
- DataViews: Fix
defaultLayoutsdocumentation error. (71334) - Field Types: Update storybook. (71440)
- Hooks: Document 'hookName' and 'namespace' parameters. (71288)
- Storybook: Set
DateCalendarandDateRangeCalendarcomponents as private. (71453)
Code Quality
- A11y: Remove redundant styles. (65409)
- Command Palette: Enqueue assets globally. (71264)
- Convert api-fetch package to TypeScript. (67669)
- Convert date package to TypeScript. (67665)
- Core Data: Remove unused reducers. (71305)
- Fix: Add JSON_HEX_TAG flag to wp_json_encode in script tags. (71280)
- Interface: Remove leftover comment. (71331)
- Types: Update to be compatible with React 19. (71374)
- api-fetch: Clean up error handling. (71458)
- api-fetch: Cleanup and improve unit tests. (71439)
- core-data: Use Object.fromEntries instead of reduce when generating entities reducer. (36296)
Block Editor
- Fold
uniqueByBlockintooptionsobject. (71279) - Remove duplicate 'InsertionPointOpenRef' context definition. (71465)
Block Library
- Image block: Remove unused code. (71292)
- refactor: Remove unnecessary fields from accordion block.json files. (71441)
Post Editor
- Update types of getCurrentPostId. (71347)
Global Styles
- Remove unecessary useEffect from ScreenStyleVariations. (71344)
Tools
Testing
- Avoid using
*-latestfor runner images. (71201) - Fix failing command center end-to-end tests. (71293)
- GitHub Actions: Try to fix storybook smoke tests. (71284)
- Upgrade Playwright to v1.55. (71285)
Build Tooling
- Fix PHP unit testing jobs to not include version. (71396)
- Release Workflow: Add github.ref validation. (71404)
First-time contributor...
21.6.0 RC1
Changelog
Enhancements
- Add support for precision type placeholders to translator comments eslint. (71145)
- Core Commands: Add
Dashboardoption to return to dashboard. (71261) - Core Data: Add 'supportsPagination' to all appropriate entities. (71302)
- Core Data: Forward resolvers for pagination selectors. (71304)
- Core Data: Include pagination meta while receiving intermediate results. (71401)
- Create Block: Add lifecycle script execution support. (71072)
- Display names for Context providers. (71208)
DataViews
- DataForm: Add description support for the combined fields and show the description in the Card layout. (71380)
- DataForm: Streamline validation behavior. (71345)
- Revert "DataForm: Streamline validation behavior". (71359)
- Support hiding the title in Grid layout, with actions available on hover. (71369)
- Support the "Minimal UI" story by using
DataViews.Footer. (71276)
Block Library
- Accordion Panel: Remove unnecessary wrapper div and simplify save. (71454)
- Accordion: Add an "Add" button. (71388)
- Query Loop Block: Fix broken placeholder. (70840)
Offline
- api-fetch: Check navigator.onLine to improve failure notices. (71438)
Meta Boxes
- Edit Post: Check for meta box container before adding constraints. (71423)
Commands
- feat: Added keyword support & added basic keywords for post/page. (70624)
New APIs
Global Styles
- Add support for select or dropdown elements. (70379)
- Global styles: add element support for text related inputs. (70378)
Bug Fixes
- Add permission checks to Command Palette commands. (71267)
- Components: Fix Tab font size when used outside WP. (71346)
- Core Data: Fix error in 'getEntityRecordsTotalPages' selector. (71303)
- Scripts: Do not access
windowglobal. (71348) - wp-scripts: Remove
clean-webpack-plugindependency. (71080)
Block Library
- Accordion Header: Fix RTL toggle button layout. (71480)
- Fix issue of css affecting the nested accordion icon. (71445)
- Fix timezone in Date block. (71430)
- Fix: Randomization in Gallery Block doesn't work when Lightbox is enabled. (71408)
- Group Block variation:Remove variation text color. (71429)
- Properly apply styles and classes to the experimental form block. (55755)
- Template Part: Display icons correctly when in placeholder state. (71327)
- fix: Prevent accordion toggle button overflow at full width. (71446)
- fix: Prevent scrollbars on accordion header and toggle. (71484)
Write mode
- Allow adding "content" role blocks to containers that also have a "content" role in write mode. (71232)
- Audio and Video: Hide caption controls in contentOnly mode. (71368)
- Hide 'Add block' control in Link UI when Navigation Link block is in contentOnly mode. (71213)
- Image: Don't allow convert to cover controls in contentOnly mode. (71329)
Post Editor
- Edit Post: Fix misplaced icon on back button. (71406)
- Editor: Fix theme stylesheet injection in 'useAvailablePatterns'. (71332)
DataViews
- Fix grid padding values on mobile viewports. (71455)
Block Editor
- Inserter: Fix
InserterListboxrendering for React 19. (71410)
Style Book
- Accordion Content, Header, Panel: Remove example field. (71407)
Zoom Out
- Fix Zoom out should be disabled when Show Template is toggled off. (71361)
Components
- ControlWithError: Show validating state when transitioning from error state. (71260)
Interactivity API
- iAPI: Make state getters to be updated asynchronously with
store(). (70974)
Performance
- Add wp-env SPX profiler option. (70693)
Post Editor
- Editor: Improve the 'Design' sidebar panel performance. (71333)
Documentation
- Core Data: Improve 'registry.batch' documentation. (71325)
- DataForm: Better story for validation. (71298)
- DataViews: Fix
defaultLayoutsdocumentation error. (71334) - Field Types: Update storybook. (71440)
- Hooks: Document 'hookName' and 'namespace' parameters. (71288)
- Storybook: Set
DateCalendarandDateRangeCalendarcomponents as private. (71453)
Code Quality
- A11y: Remove redundant styles. (65409)
- Command Palette: Enqueue assets globally. (71264)
- Convert api-fetch package to TypeScript. (67669)
- Convert date package to TypeScript. (67665)
- Core Data: Remove unused reducers. (71305)
- Fix: Add JSON_HEX_TAG flag to wp_json_encode in script tags. (71280)
- Interface: Remove leftover comment. (71331)
- Types: Update to be compatible with React 19. (71374)
- api-fetch: Clean up error handling. (71458)
- api-fetch: Cleanup and improve unit tests. (71439)
- core-data: Use Object.fromEntries instead of reduce when generating entities reducer. (36296)
- Deps: Bump
framer-motiontov11.15.0. (71442) - Move
Site Editorcommand from@wordpress/editorpackage to@wordpress/core-commands. (71262)
Block Editor
- Fold
uniqueByBlockintooptionsobject. (71279) - Remove duplicate 'InsertionPointOpenRef' context definition. (71465)
Block Library
- Image block: Remove unused code. (71292)
- refactor: Remove unnecessary fields from accordion block.json files. (71441)
Post Editor
- Update types of getCurrentPostId. (71347)
Global Styles
- Remove unecessary useEffect from ScreenStyleVariations. (71344)
Tools
Testing
- Avoid using
*-latestfor runner images. (71201) - Fix failing command center end-to-end tests. (71293)
- GitHub Actions: Try to fix storybook smoke tests. (71284)
- Upgrade Playwright to v1.55. (71285)
Build Tooling
- Fix PHP unit testing jobs to not include version. (71396)
- Release Workflow: Add github.ref validation. (71404)