Releases: WordPress/gutenberg
Releases · WordPress/gutenberg
21.9.0
Changelog
New blocks ✨
- Add math block and rich text format. (72182)
- Add Term Count block. (72218)
- Add Term Name block. (72129)
- Blocks: Add Breadcrumbs block. (71793)
- Time to Read: Stabilize block. (71588)
Enhancements
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)
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) - DataViews: Add views package to be used to persist view modifications and use it for patterns. (72102)
Site Editor
- Pages Dataviews: Support persistence. (72127)
- Template activation: Duplicate modal on static template click, remove auto-drafting. (72285)
- Templates DataViews: Support persistence. (72113)
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)
- Fit-Text: Resize immediately, but limit max size when block is selected. (72397)
- 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)
- iAPI: Add official support for unique IDs. (72161)
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) - Remove write/navigation mode experiment, tool and selectors. (72193)
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
- Reuse wp_script_attributes filter for adding data-wp-router-options attribute to script module. (72489)
- Prevent registering private APIs twice. (72493)
- Fix Classic Menu to Navigation Link conversion with entity bindings. (72289)
- Template activation: Duplicate action should be available outside GB. (72513)
- Template activation: Improve UX for custom templates. (72499)
- A couple more PHP 8.5 fixes. (72094)
- 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 background color. (72046)
- Accordion Item and Panel: Remove layout from the block supports. (72045)
- Accordion Item block: Add layout support. (72176)
- Accordion Panel Block: Add layout support. (72211)
- Accordion heading:Remove toggle icon typography. ([72227](https://github.com/WordPress/gutenberg/pull/...
21.9.0 RC3
Changelog
Enhancements
Bug Fixes
- Template activation: Duplicate action should be available outside GB. (72513)
- Template activation: Improve UX for custom templates. (72499)
Block bindings
- Post Date block: In deprecation, add check if source is
core/post-data. (72518)
Tools
Build Tooling
- Optimize CI: Limit the number of job variations (PHP and JS matrix) in PRs. (72506)
Contributors
The following contributors merged PRs in this release:
21.9.0 RC2
Changelog
Bug Fixes
- Prevent registering private APIs twice. (72493)
Collaboration
- Notes: Don't render 'no results' message for floating sidebar. (72484)
Block bindings
- Post Date: Add block deprecation to change source arg to field. (72483)
Contributors
The following contributors merged PRs in this release:
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...