Releases: WordPress/gutenberg
21.0.0
Changelog
Enhancements
Block Library
- Button Block: Add HTML Element selection in Advanced settings. (70139)
- Comment Date: Convert Comment Date block settings to ToolsPanel. (70248)
- Comment Author Name Block: Refactor setting panel to use ToolsPanel. (69407)
- Comment Edit Link: Refactor settings panel to use ToolsPanel. (70247)
- Comment Title: Refactor settings panel to use ToolsPanel. (70246)
- Comments Pagination Block: Refactor settings panel to use ToolsPanel. (70245)
- Embed Block: Refactor setting panel to use ToolsPanel. (69636)
- File Block: Refactor setting panel to use ToolsPanel. (70189)
- Form Input: Convert Form Input block settings to ToolsPanel. (70249)
- Form: Convert Form block settings to ToolsPanel. (70253)
- Latest posts: Change panel body to tools panel. (70200)
- List Block: Refactor setting panel to use ToolsPanel. (69387)
- Navigation Link, Navigation Submenu: Hide title UI controls while keeping attribute support. (70234)
- Navigation: Refactor display panel to use ToolsPanel. (68011)
- Post Title: Refactor settings panel to use ToolsPanel. (70229)
- RSS: Refactor setting panel to use
ToolsPanel
. (70213) - Separator: Change html element option visibility. (70185)
- Shortcode: Add role attribute to content in
block.json
. (70164) - Video: Add option to set a track as default. (70227)
Components
- ComboboxControl: Handle Unicode characters when matching values. (70180)
- DropZone: Allow overriding the default icon. (70236)
Block Transforms
- Adds transforms functionality to Post comments link and post comments number. (70287)
Bug Fixes
Block Library
- Button: Avoid empty block control slot. (70191)
- Fix: Click-through blur effect when gallery images have a caption. (69067)
- Pullquote block: Cannot override cite element style via theme.json. (70260)
- Social Link: Localize social service names for translations. (70199)
- Social: Moves size settings to inspector controls. (70186)
Components
- Ensure SVG Images Without a Width Attribute Are Displayed Correctly in FocalPointPicker. (70061)
- FormTokenField: Fix filtering with full-width string. (70232)
Interactivity API
- iAPI: Make storePart argument optional in overloads. (70296)
Post Editor
- Editor: Better normalize strings for hierarchical term filtering. (70178)
Block Editor
- Flex Layout: Fix incorrect default alignment values for
Vertical Alignment Control
component. (68866)
Accessibility
Block Library
- Button: Avoid focus loss when unlinking using keyboard. (70192)
- Columns block: Don't use ToolsPanelItem for Columns setting. (70210)
- Details Block: Fix keyboard accessibility issues and allow list view selection to show up inner blocks. (70056)
Components
- Toolbar: Adjust colors for dark mode support. (69278)
Experiments
Interactivity API
- iAPI: Remove the full-page client-side navigation experiment. (70228)
Documentation
- Docs: Added the missing ALT attribute to all images. (70225)
- Docs: Remove misleading section from curating the editor experience. (70262)
- Fix parameter hint for
canInsertBlocks
. (70305) - Fix: Render_block_core_site_title function doc has missing return type. (70269)
- Improve default ALT attribute value for images in documentation. (70226)
- JSON schema: Clean reference URLs. (70274)
- Removed Empty line and corrected typo in inline document. (70203)
- Replace “sidebar” with “panel” in tutorial.md. (70257)
- Small grammar fix in glossary.md. (70292)
- The wp_admin_notice() function should be called instead of custom HTML for admin notice in docs/how-to-guides/notices/README.md. (70231)
- Updated small typo in inline documentation. (70187)
useDropZone
: Refactor documentation to use the correct function syntax. (70286)block.json
schema: Add role field. (70272)
Code Quality
Block Editor
- Clarify 'clientId' prop use for 'HTMLElementControl'. (70258)
- ImageSizeControl: Use margin-free style. (70202)
Components
- Remove forced focus of
InputControl
on mousedown. (41118) - SuggestionsList: Remove unused code. (70195)
Block Library
- Video: Use a unique 'key' in the 'TrackList' component. (70263)
Tools
Testing
- Cover Block: Add
E2E
Test forFocalPointPicker
. (69077) - E2E: Add general end-to-end tests for
templateLock
functionality. (70160) - Fix end-to-end test for block API / filtered blocks. (51882)
- Format
.github
workflows.yml
file. (70219) - Account for tests env port being overridden from 8889 in PHP unit tests. (70267)
First-time contributors
The following PRs were merged by first-time contributors:
- @catgofire: Small grammar fix in glossary.md. (70292)
- @Mukulsingh27: Pullquote block: Cannot override cite element style via theme.json. (70260)
- @nani-samireddy: Comments Pagination Block: Refactor settings panel to use ToolsPanel. (70245)
- @OpuRockey: Fix: Render_block_core_site_title function doc has missing return type. (70269)
- @ravigadhiya007: Docs: Added the missing ALT attribute to all images. (70225)
Contributors
The following contributors merged PRs in this release:
@aurooba @catgofire @DAreRodz @dhruvikpatel18 @himanshupathak95 @im3dabasia @Infinite-Null @Mamaduka @Mayank-Tripathi32 @Mukulsingh27 @nani-samireddy @OpuRockey @pmbaldha @ravigadhiya007 @Rishit30G @SainathPoojary @shail-mehta @shimotmk @stokesman @t-hamano @troychaplin @vipul0425 @vk17-starlord @westonruter @yogeshbhutkar
21.0.0 RC1
Changelog
Enhancements
Block Library
- Button Block: Add HTML Element selection in Advanced settings. (70139)
- Comment Date: Convert Comment Date block settings to ToolsPanel. (70248)
- Comment Author Name Block: Refactor setting panel to use ToolsPanel. (69407)
- Comment Edit Link: Refactor settings panel to use ToolsPanel. (70247)
- Comment Title: Refactor settings panel to use ToolsPanel. (70246)
- Comments Pagination Block: Refactor settings panel to use ToolsPanel. (70245)
- Embed Block: Refactor setting panel to use ToolsPanel. (69636)
- File Block: Refactor setting panel to use ToolsPanel. (70189)
- Form Input: Convert Form Input block settings to ToolsPanel. (70249)
- Form: Convert Form block settings to ToolsPanel. (70253)
- Latest posts: Change panel body to tools panel. (70200)
- List Block: Refactor setting panel to use ToolsPanel. (69387)
- Navigation Link, Navigation Submenu: Hide title UI controls while keeping attribute support. (70234)
- Navigation: Refactor display panel to use ToolsPanel. (68011)
- Post Title: Refactor settings panel to use ToolsPanel. (70229)
- RSS: Refactor setting panel to use
ToolsPanel
. (70213) - Separator: Change html element option visibility. (70185)
- Shortcode: Add role attribute to content in
block.json
. (70164) - Video: Add option to set a track as default. (70227)
Components
- ComboboxControl: Handle Unicode characters when matching values. (70180)
- DropZone: Allow overriding the default icon. (70236)
Block Transforms
- Adds transforms functionality to Post comments link and post comments number. (70287)
Bug Fixes
Block Library
- Button: Avoid empty block control slot. (70191)
- Fix: Click-through blur effect when gallery images have a caption. (69067)
- Pullquote block: Cannot override cite element style via theme.json. (70260)
- Social Link: Localize social service names for translations. (70199)
- Social: Moves size settings to inspector controls. (70186)
Components
- Ensure SVG Images Without a Width Attribute Are Displayed Correctly in FocalPointPicker. (70061)
- FormTokenField: Fix filtering with full-width string. (70232)
Interactivity API
- iAPI: Make storePart argument optional in overloads. (70296)
Post Editor
- Editor: Better normalize strings for hierarchical term filtering. (70178)
Block Editor
- Flex Layout: Fix incorrect default alignment values for
Vertical Alignment Control
component. (68866)
Accessibility
Block Library
- Button: Avoid focus loss when unlinking using keyboard. (70192)
- Columns block: Don't use ToolsPanelItem for Columns setting. (70210)
- Details Block: Fix keyboard accessibility issues and allow list view selection to show up inner blocks. (70056)
Components
- Toolbar: Adjust colors for dark mode support. (69278)
Experiments
Interactivity API
- iAPI: Remove the full-page client-side navigation experiment. (70228)
Documentation
- Docs: Added the missing ALT attribute to all images. (70225)
- Docs: Remove misleading section from curating the editor experience. (70262)
- Fix parameter hint for
canInsertBlocks
. (70305) - Fix: Render_block_core_site_title function doc has missing return type. (70269)
- Improve default ALT attribute value for images in documentation. (70226)
- JSON schema: Clean reference URLs. (70274)
- Removed Empty line and corrected typo in inline document. (70203)
- Replace “sidebar” with “panel” in tutorial.md. (70257)
- Small grammar fix in glossary.md. (70292)
- The wp_admin_notice() function should be called instead of custom HTML for admin notice in docs/how-to-guides/notices/README.md. (70231)
- Updated small typo in inline documentation. (70187)
useDropZone
: Refactor documentation to use the correct function syntax. (70286)block.json
schema: Add role field. (70272)
Code Quality
Block Editor
- Clarify 'clientId' prop use for 'HTMLElementControl'. (70258)
- ImageSizeControl: Use margin-free style. (70202)
Components
- Remove forced focus of
InputControl
on mousedown. (41118) - SuggestionsList: Remove unused code. (70195)
Block Library
- Video: Use a unique 'key' in the 'TrackList' component. (70263)
Tools
Testing
- Cover Block: Add
E2E
Test forFocalPointPicker
. (69077) - E2E: Add general end-to-end tests for
templateLock
functionality. (70160) - Fix end-to-end test for block API / filtered blocks. (51882)
- Format
.github
workflows.yml
file. (70219) - Account for tests env port being overridden from 8889 in PHP unit tests. (70267)
First-time contributors
The following PRs were merged by first-time contributors:
- @catgofire: Small grammar fix in glossary.md. (70292)
- @Mukulsingh27: Pullquote block: Cannot override cite element style via theme.json. (70260)
- @nani-samireddy: Comments Pagination Block: Refactor settings panel to use ToolsPanel. (70245)
- @OpuRockey: Fix: Render_block_core_site_title function doc has missing return type. (70269)
- @ravigadhiya007: Docs: Added the missing ALT attribute to all images. (70225)
Contributors
The following contributors merged PRs in this release:
@aurooba @catgofire @DAreRodz @dhruvikpatel18 @himanshupathak95 @im3dabasia @Infinite-Null @Mamaduka @Mayank-Tripathi32 @Mukulsingh27 @nani-samireddy @OpuRockey @pmbaldha @ravigadhiya007 @Rishit30G @SainathPoojary @shail-mehta @shimotmk @stokesman @t-hamano @troychaplin @vipul0425 @vk17-starlord @westonruter @yogeshbhutkar
20.9.0
Changelog
Enhancements
- Base Styles: Update to modern Sass module system. (70135)
- Post Publish Panel: Open view post links in a new tab. (70127)
- Revert Admin bar: Update the Edit Site link. (69974)
Block Library
- Custom HTML: Add role attribute to content in
block.json
. (70154) - HTML Block: Remove space below textarea. (70055)
- Post Navigation Link: Reverse order of variations. (70149)
- RSS: Add role attribute to content in
block.json
. (70166) - Search Block: Move search setting to inspector. (70144)
Write mode
- Details block: Add role attribute to summary. (70124)
- Enable Code block content editing in contentOnly. (70111)
- Enable More block's "Read more" text editing in contentOnly mode. (70100)
- Post blocks: Enhance contentOnly editing experience. (70148)
- Table Block: Enhance contentOnly Editing Experience. (70114)
Components
- ColorPicker: Add a visual cue when the value is copied. (70083)
- Snackbar: Add support to open links in new tab. (69905)
Block Transforms
- Block Library: Add missing transforms between Verse and Preformatted blocks. (70101)
Global Styles
- Remove "global" from styles variation in schema descriptions. (70089)
Site Editor
- Move
Styles
to top of sidebar navigation. (68582)
Bug Fixes
- DOM: Add summary element to focusable elements. (70051)
- Site Editor: Fix PHP warnings in
gutenberg_get_site_editor_redirection
. (70062) - URL: Handle HTML entities and ampersand in 'cleanForSlug'. (70078)
- Workflows: Persist git credentials when publishing packages via Lerna. (70058)
Block Library
- Button: Limit scope of width style for link. (70054)
- Image: Provide 'defaultValue' for 'ResolutionTool' component. (70122)
- Post Template: Don't rely on the default 'ignore_sticky' REST API value. (70020)
Components
- Fix Styling for
TextControl
andTextAreaControl
in dark themes. (69640) - Fix
URLPopover
input handling to properly update value. (70156)
Post Editor
- Editor: Honor rich/code editor settings when deriving the editor mode. (70080)
- Hide "Create template part" menu from block settings dropdown for classic themes. (65568)
Block Editor
- MediaPlaceholder: Fix potential error in 'handleBlocksDrop'. (70090)
Accessibility
- Editor: Add label in
TextareaControl
in CollabSidebar. (70133)
Global Styles
- Background Image Panel: Fix focus loss. (69813)
- Move
Randomize colors
button to Edit Palette panel. (70128)
Documentation
- Add example doc comment. (70116)
- Docs: Clarify versions in WordPress page title. (70112)
- Docs: Fix PEG.js link. (70082)
- Docs: Interactivity API Block removed. (69513)
- Modify the spinner example code. (70084)
- Popover: Update Popover component documentation. (70106)
- RichText Readme - Fix 404 URL To Mozilla documentation. (70171)
- Updated backticks to quotes. (70070)
Code Quality
- ServerSideRender: Colocate delayed spinner logic. (70147)
- Stylelint: Customise warning for
CSS
variables used outsidecomponents
package. (70108) - Stylelint: Customise warning message for
flex-direction
warning. (70057)
Block Library
- Blocks: Remove TODO for post comment block conversion. (70110)
Components
withIgnoreIMEEvents
: Update documentation for clarity. (70098)
Font Library
- Fix missing trailing period in user message. (70132)
Tools
Build Tooling
- Workflows: Add option for publishing the latest npm packages. (70079)
Testing
- end-to-end Tests: Add test suite for columns block template lock. (69089)
First-time contributors
The following PRs were merged by first-time contributors:
Contributors
The following contributors merged PRs in this release:
@carolinan @himanshupathak95 @igorradovanov @im3dabasia @Infinite-Null @jasalt @karthikeya-io @Mamaduka @Mayank-Tripathi32 @peterwilsoncc @SainathPoojary @shimotmk @SirLouen @StevenDufresne @Sukhendu2002 @t-hamano @unscripted @yogeshbhutkar
20.9.0 RC1
Changelog
Enhancements
- Base Styles: Update to modern Sass module system. (70135)
- Post Publish Panel: Open view post links in a new tab. (70127)
- Revert Admin bar: Update the Edit Site link. (69974)
Block Library
- Custom HTML: Add role attribute to content in
block.json
. (70154) - HTML Block: Remove space below textarea. (70055)
- Post Navigation Link: Reverse order of variations. (70149)
- RSS: Add role attribute to content in
block.json
. (70166) - Search Block: Move search setting to inspector. (70144)
Write mode
- Details block: Add role attribute to summary. (70124)
- Enable Code block content editing in contentOnly. (70111)
- Enable More block's "Read more" text editing in contentOnly mode. (70100)
- Post blocks: Enhance contentOnly editing experience. (70148)
- Table Block: Enhance contentOnly Editing Experience. (70114)
Components
- ColorPicker: Add a visual cue when the value is copied. (70083)
- Snackbar: Add support to open links in new tab. (69905)
Block Transforms
- Block Library: Add missing transforms between Verse and Preformatted blocks. (70101)
Global Styles
- Remove "global" from styles variation in schema descriptions. (70089)
Site Editor
- Move
Styles
to top of sidebar navigation. (68582)
Bug Fixes
- DOM: Add summary element to focusable elements. (70051)
- Site Editor: Fix PHP warnings in
gutenberg_get_site_editor_redirection
. (70062) - URL: Handle HTML entities and ampersand in 'cleanForSlug'. (70078)
- Workflows: Persist git credentials when publishing packages via Lerna. (70058)
Block Library
- Button: Limit scope of width style for link. (70054)
- Image: Provide 'defaultValue' for 'ResolutionTool' component. (70122)
- Post Template: Don't rely on the default 'ignore_sticky' REST API value. (70020)
Components
- Fix Styling for
TextControl
andTextAreaControl
in dark themes. (69640) - Fix
URLPopover
input handling to properly update value. (70156)
Post Editor
- Editor: Honor rich/code editor settings when deriving the editor mode. (70080)
- Hide "Create template part" menu from block settings dropdown for classic themes. (65568)
Block Editor
- MediaPlaceholder: Fix potential error in 'handleBlocksDrop'. (70090)
Accessibility
- Editor: Add label in
TextareaControl
in CollabSidebar. (70133)
Global Styles
- Background Image Panel: Fix focus loss. (69813)
- Move
Randomize colors
button to Edit Palette panel. (70128)
Documentation
- Add example doc comment. (70116)
- Docs: Clarify versions in WordPress page title. (70112)
- Docs: Fix PEG.js link. (70082)
- Docs: Interactivity API Block removed. (69513)
- Modify the spinner example code. (70084)
- Popover: Update Popover component documentation. (70106)
- RichText Readme - Fix 404 URL To Mozilla documentation. (70171)
- Updated backticks to quotes. (70070)
Code Quality
- ServerSideRender: Colocate delayed spinner logic. (70147)
- Stylelint: Customise warning for
CSS
variables used outsidecomponents
package. (70108) - Stylelint: Customise warning message for
flex-direction
warning. (70057)
Block Library
- Blocks: Remove TODO for post comment block conversion. (70110)
Components
withIgnoreIMEEvents
: Update documentation for clarity. (70098)
Font Library
- Fix missing trailing period in user message. (70132)
Tools
Build Tooling
- Workflows: Add option for publishing the latest npm packages. (70079)
Testing
- end-to-end Tests: Add test suite for columns block template lock. (69089)
First-time contributors
The following PRs were merged by first-time contributors:
Contributors
The following contributors merged PRs in this release:
@carolinan @himanshupathak95 @igorradovanov @im3dabasia @Infinite-Null @jasalt @karthikeya-io @Mamaduka @Mayank-Tripathi32 @peterwilsoncc @SainathPoojary @shimotmk @SirLouen @StevenDufresne @Sukhendu2002 @t-hamano @unscripted @yogeshbhutkar
20.8.0
Changelog
Enhancements
- Create Block: Add
--textdomain
flag to create block tool. (69802)
Components
- Guide: Make
next
andprevious
button text customizable. (69907) - Popover: Add virtual padding to prevent it from hitting the viewport edge. (69555)
Document Settings
- Editor: Add search functionality to template swapping modal. (69667)
Block Editor
- Widget Editor: Don't close the inserter when focusing outside it. (67838)
Editor
- Use split view for meta boxes only when canvas is iframed and “Desktop” view. (69958)
New APIs
Widgets Editor
- Edit Widgets: Save lock control via actions. (69984)
Bug Fixes
- GitHub Actions: Fix components changelog CI check. (70034)
- Persist git credentials when publishing via lerna. (70007)
- Plugin: Fix deprecation for 'apply_block_hooks_to_content_from_post_object'. (69909)
- ServerSideRender: Don't render the previous error response in loading state. (69988)
- ServerSideRender: Refactor fetchData to use
useCallback
andrefs
. (69237)
Block Library
- Author, Author Name block: Fix PHP warning error when there is no context. (69949)
- Block Editor: Allow editing invalid blocks as HTML. (69902)
- Block Editor: Prevent negative width values in Spacer block when used inside a row block. (68845)
- Calendar block: Disable edit as HTML support. (69961)
- Image: Avoid stale URL when reselecting the same image from the library. (69985)
- Latest Posts: Update content display labels to
Display post content
andContent length
. (69839) - Navigation Link, Navigation Submenu: Fix undefined key warning. (69951)
- fix: Update the logic of fetching current URL in loginout block. (70031)
Block Editor
- Block HTML: Add
box-sizing
property to prevent overflow. (70014) - Fix: Improve warning message and add spacing in HTMLElementControl. (70002)
- MediaPlaceholder: Fix Regression with media URL input type to allow a local URL path. (70043)
- Prevent block merging on blocks with the 'disabled' editing mode. (69918)
Components
- Don't mutate 'ALL_CSS_UNITS' default value in 'useCustomUnits'. (70037)
- Fix double border in
ItemGroup
when last item is focused. (70021) - Fix: Duotone unset button. (69981)
- ToggleGroupControl: Fix active background for empty string value. (69969)
Site Editor
- Check user permissions before rendering export menu item. (69971)
Widgets Editor
- Fix: Browser Warnings when closing keyboard shortcut modal. (69929)
Block API
- Fix: Missing conversion from json styled variable to CSS variable. (69551)
Typography
- Fix: Prevent
FontSizePicker
crash when no font size exists. (68733)
Icons
- Remove width / height attributes from svg element. (43747)
Accessibility
- Keyboard Shortcuts: Revert delete shortcut to
access + z
. (69931)
Block Library
- Add new HTMLElementControl component. (69904)
Performance
Block Library
- Latest Posts: Delay inspector control queries until the block is selected. (69898)
- Latest Posts: Embed author in response. (69889)
Document Settings
- Lazy load post authors' data. (69950)
Documentation
- Add WP version note for 'setAttributes' updater function. (69972)
- Create Block: Add
--textdomain
in create-block README. (69927) - Docs: Add post meta limitations to Block Bindings API documentation. (68583)
- Docs: Added copy and code for style_data. (69920)
- Fix missing
CSS
import in data basics tutorial code. (69914) - Fix typos. (69957)
- Fix: Remove an unnecessary
@return
tag from this filter docblock. (69960)
Code Quality
- ServerSideRender: Use
useLayoutEffect
to updatelatestPropsRef
. (69999) - Stylelint: Migrate configuration from
JSON
toJavaScript
format. (69590) - theme.json: Unify property order. (70033)
Themes
- Simplify color specifications from
rgba
torgb
. (70008)
Block Editor
- Simplify condition selectors for 'useHasBlockToolbar'. (69930)
Block Library
- Latest Posts: Only fetch necessary fields for categories. (69888)
Components
- ColorPicker: Add tests for
ColorPicker
Alpha slider. (69203)
Tools
Testing
- Automated Testing: Skip storybook smoke test. (69943)
- List View: Add end-to-end test to verify pasting block styles via keyboard. (69979)
- Try: Fix 'wp-polyfill' script dependents unit test. (69912)
- Workflows: Try different SHA. (70048)
First-time contributors
The following PRs were merged by first-time contributors:
- @jrmd: Block Editor: Prevent block merging on blocks with the 'disabled' editing mode. (69918)
- @Maikuolan: Navigation Link, Navigation Submenu: Fix undefined key warning. (69951)
Contributors
The following contributors merged PRs in this release:
@bph @Debarghya-Banerjee @georgestephanis @himanshupathak95 @im3dabasia @Infinite-Null @johnbillion @jrmd @karthikeya-io @Maikuolan @Mamaduka @Mayank-Tripathi32 @Rishit30G @SH4LIN @shimotmk @stokesman @Sukhendu2002 @t-hamano @yogeshbhutkar
20.8.0 RC1
Changelog
Enhancements
- Create Block: Add
--textdomain
flag to create block tool. (69802)
Components
- Guide: Make
next
andprevious
button text customizable. (69907) - Popover: Add virtual padding to prevent it from hitting the viewport edge. (69555)
Document Settings
- Editor: Add search functionality to template swapping modal. (69667)
Block Editor
- Widget Editor: Don't close the inserter when focusing outside it. (67838)
Editor
- Use split view for meta boxes only when canvas is iframed and “Desktop” view. (69958)
New APIs
Widgets Editor
- Edit Widgets: Save lock control via actions. (69984)
Bug Fixes
- GitHub Actions: Fix components changelog CI check. (70034)
- Persist git credentials when publishing via lerna. (70007)
- Plugin: Fix deprecation for 'apply_block_hooks_to_content_from_post_object'. (69909)
- ServerSideRender: Don't render the previous error response in loading state. (69988)
- ServerSideRender: Refactor fetchData to use
useCallback
andrefs
. (69237)
Block Library
- Author, Author Name block: Fix PHP warning error when there is no context. (69949)
- Block Editor: Allow editing invalid blocks as HTML. (69902)
- Block Editor: Prevent negative width values in Spacer block when used inside a row block. (68845)
- Calendar block: Disable edit as HTML support. (69961)
- Image: Avoid stale URL when reselecting the same image from the library. (69985)
- Latest Posts: Update content display labels to
Display post content
andContent length
. (69839) - Navigation Link, Navigation Submenu: Fix undefined key warning. (69951)
- fix: Update the logic of fetching current URL in loginout block. (70031)
Block Editor
- Block HTML: Add
box-sizing
property to prevent overflow. (70014) - Fix: Improve warning message and add spacing in HTMLElementControl. (70002)
- MediaPlaceholder: Fix Regression with media URL input type to allow a local URL path. (70043)
- Prevent block merging on blocks with the 'disabled' editing mode. (69918)
Components
- Don't mutate 'ALL_CSS_UNITS' default value in 'useCustomUnits'. (70037)
- Fix double border in
ItemGroup
when last item is focused. (70021) - Fix: Duotone unset button. (69981)
- ToggleGroupControl: Fix active background for empty string value. (69969)
Site Editor
- Check user permissions before rendering export menu item. (69971)
Widgets Editor
- Fix: Browser Warnings when closing keyboard shortcut modal. (69929)
Block API
- Fix: Missing conversion from json styled variable to CSS variable. (69551)
Typography
- Fix: Prevent
FontSizePicker
crash when no font size exists. (68733)
Icons
- Remove width / height attributes from svg element. (43747)
Accessibility
- Keyboard Shortcuts: Revert delete shortcut to
access + z
. (69931)
Block Library
- Add new HTMLElementControl component. (69904)
Performance
Block Library
- Latest Posts: Delay inspector control queries until the block is selected. (69898)
- Latest Posts: Embed author in response. (69889)
Document Settings
- Lazy load post authors' data. (69950)
Documentation
- Add WP version note for 'setAttributes' updater function. (69972)
- Create Block: Add
--textdomain
in create-block README. (69927) - Docs: Add post meta limitations to Block Bindings API documentation. (68583)
- Docs: Added copy and code for style_data. (69920)
- Fix missing
CSS
import in data basics tutorial code. (69914) - Fix typos. (69957)
- Fix: Remove an unnecessary
@return
tag from this filter docblock. (69960)
Code Quality
- ServerSideRender: Use
useLayoutEffect
to updatelatestPropsRef
. (69999) - Stylelint: Migrate configuration from
JSON
toJavaScript
format. (69590) - theme.json: Unify property order. (70033)
Themes
- Simplify color specifications from
rgba
torgb
. (70008)
Block Editor
- Simplify condition selectors for 'useHasBlockToolbar'. (69930)
Block Library
- Latest Posts: Only fetch necessary fields for categories. (69888)
Components
- ColorPicker: Add tests for
ColorPicker
Alpha slider. (69203)
Tools
Testing
- Automated Testing: Skip storybook smoke test. (69943)
- List View: Add end-to-end test to verify pasting block styles via keyboard. (69979)
- Try: Fix 'wp-polyfill' script dependents unit test. (69912)
- Workflows: Try different SHA. (70048)
First-time contributors
The following PRs were merged by first-time contributors:
- @jrmd: Block Editor: Prevent block merging on blocks with the 'disabled' editing mode. (69918)
- @Maikuolan: Navigation Link, Navigation Submenu: Fix undefined key warning. (69951)
Contributors
The following contributors merged PRs in this release:
@bph @Debarghya-Banerjee @georgestephanis @himanshupathak95 @im3dabasia @Infinite-Null @johnbillion @jrmd @karthikeya-io @Maikuolan @Mamaduka @Mayank-Tripathi32 @Rishit30G @SH4LIN @shimotmk @stokesman @Sukhendu2002 @t-hamano @yogeshbhutkar
20.7.0
Changelog
Enhancements
- Format Library: Add a feature to set the alpha value to Highlight. (67525)
- Playwright end-to-end utils: Add new
emulateNetworkConditions
helper. (69865)
Block Library
- Details: Enable all non-interactive formats. (68741)
- Heading: Add/correct typography examples. (69812)
- Navigation in Site View: Automatically expand all options. (69343)
- Remove experimental status from comments count and comment link blocks. (69832)
- Table Block: Preserve Column Alignment when Pasting Markdown Tables. (69322)
- Tag Cloud: Remove unnecessary full-width padding. (69725)
Block Editor
- Remove truncation from media tab preview tooltips. (69741)
- Support passing updater function to 'setAttributes'. (69709)
Media
- Remove
@shopify/web-worker
Dependency frompackages/upload-media
. (69816)
Bug Fixes
- DataViews: Ensure consistent display of primary ellipsis in list layout. (69846)
- Scripts: Fix blocks manifest generation when directory name has space. (69766)
Block Library
- Enhance Featured Image Block: Don't include interactive elements within an element. (69730)
- Featured Image: Don't render empty Resolution tools panel if media is not set. (69805)
- Fix: Background wrapper for 'Button Inside' option. (69624)
- Fix: Update the static text and make them translatable in the Blocks example. (69859)
- Fixed Media & Text Block - Image not rendered properly on frontend when inside stack. (68610)
- Query Loop: Don't overwrite the 'query.inherit' attribute value. (69698)
- Query Loop: Fix 'undo trap' and improve debouncing for 'Keyword' control. (69845)
- ToC: Fix condition for 'Limit heading levels'. (69811)
- ToC: Fix related block attribute persistence. (69734)
Block Editor
- Block Tools: Prevent showing block toolbar when block interface is hidden. (69795)
- Block drag & drop: Enable mouse click on input/textarea elements in Firefox. (69781)
- Fix: Restore static properties on deprecated __experimentalLinkControl. (69860)
- Fix: Space visualizer showing previous value. (69747)
Post Editor
- Fix: Save custom template with non-latin slug. (69732)
- Iframe: Don't enable for block themes in core if v2 blocks exist. (69778)
Document Settings
- PostPublishPanel: Fix post title overflow. (69804)
Patterns
- Editor: Enable starter pattern modal for all post types. (69753)
Components
- UI Components: Add theme support for
FormTokenField
andComboboxControl
. (69638)
Accessibility
- DataViews: Always show primary action for list layout if hover isn't supported. (69876)
Block Library
- Navigation Link, Navigation Submenu: Remove the title attribute controls. (69689)
- Navigation block: Fix submenu Escape key behavior. (69837)
- Social Icons: Remove custom placeholder state. (69821)
Components
- Button: Update hover styles to account for pressed state for
tertiary button
. (68542) - Global Styles: Fix incorrect usage of ItemGroup in the Background image panel. (68631)
DataViews
- ActionModal: Add support for customisable
focusOnMount
. (69609)
Documentation
- Add WithCloseHandlers story. (69688)
- Create Block: Improve support for blocks manifest and relevant Core APIs. (69767)
- Docs: Improve document and parameters in render_block_core_* function. (69856)
- Fix: Incorrect Type of
wp_widget_factory
inrender_block_core_legacy_widget
Doc Block. (69775) - Fix: Expose TypeScript types for subcomponents. (69619)
- Latest Posts block: Add missing @global PHP documentation. (69763)
Code Quality
- Block Parser: Remove description for singular since tag. (69799)
- Fix Documentation inconsistencies in
Block Parser
classes. (69785) - Stylelint-config: Add stylelint-scss as a peer dependency. (69685)
Block Library
- Query Loop: Remove unused 'Columns' control. (69843)
- Search:
wp-block-search__inside-wrapper
classname trailing spaces. (69405) - Social Icons: Fix effect dependencies. (69824)
- Social Icons: Remove unused editor style. (69836)
Block Directory
- Update metadata fields requested from server. (69801)
Components
- Update gradient-parser dependency from 0.1.5 to 1.0.2. (69783)
Tools
Testing
- Automated Testing: Add GitHub Actions workflow for Storybook smoke testing. (69679)
- E2E: Split list view keyboard shortcuts into multiple tests. (69231)
- Workflows: Ignore 'widgets' for manual backports. (69792)
Build Tooling
- Workflows: Ignore 'block-serialization-default-parser' for manual backports. (69791)
First-time contributors
The following PRs were merged by first-time contributors:
- @Debarghya-Banerjee: Fix: Incorrect Type of
wp_widget_factory
inrender_block_core_legacy_widget
Doc Block. (69775) - @karthikeya-io: Fix: Space visualizer showing previous value. (69747)
Contributors
The following contributors merged PRs in this release:
@carolinan @Debarghya-Banerjee @dhruvikpatel18 @dilipbheda @himanshupathak95 @im3dabasia @Infinite-Null @jonathanbossenger @karthikeya-io @Mamaduka @Mayank-Tripathi32 @Rishit30G @SainathPoojary @shimotmk @snehapatil2001 @stokesman @Sukhendu2002 @swissspidy @t-hamano @timse201 @yogeshbhutkar
20.7.0 RC1
Changelog
Enhancements
- Format Library: Add a feature to set alpha value to Highlight. (67525)
- Playwright end-to-end utils: Add new
emulateNetworkConditions
helper. (69865)
Block Library
- Details: Enable all non-interactive formats. (68741)
- Heading: Add/correct typography examples. (69812)
- Navigation in Site View: Automatically expand all options. (69343)
- Remove experimental status from comments count and comment link blocks. (69832)
- Table Block: Preserve Column Alignment when Pasting Markdown Tables. (69322)
- Tag Cloud: Remove unnecessary full-width padding. (69725)
Block Editor
- Remove truncation from media tab preview tooltips. (69741)
- Support passing updater function to 'setAttributes'. (69709)
Media
- Remove
@shopify/web-worker
Dependency frompackages/upload-media
. (69816)
Bug Fixes
- DataViews: Ensure consistent display of primary ellipsis in list layout. (69846)
- Scripts: Fix blocks manifest generation when directory name has space. (69766)
Block Library
- Enhance Featured Image Block: Don't include interactive elements within a element. (69730)
- Featured Image: Don't render empty Resolution tools panel if media is not set. (69805)
- Fix: Background wrapper for 'Button Inside' option. (69624)
- Fix: Update the static text and make them translatable in the Blocks example. (69859)
- Fixed Media & Text Block - Image not rendered properly on frontend when inside stack. (68610)
- Query Loop: Don't overwrite the 'query.inherit' attribute value. (69698)
- Query Loop: Fix 'undo trap' and improve debouncing for 'Keyword' control. (69845)
- ToC: Fix condition for 'Limit heading levels'. (69811)
- ToC: Fix related block attribute persistence. (69734)
Block Editor
- Block Tools: Prevent showing block toolbar when block interface is hidden. (69795)
- Block drag & drop: Enable mouse click on input/textarea elements in Firefox. (69781)
- Fix: Restore static properties on deprecated __experimentalLinkControl. (69860)
- Fix: Space visualizer showing previous value. (69747)
Post Editor
- Fix: Save custom template with non-latin slug. (69732)
- Iframe: Don't enable for block themes in core if v2 blocks exist. (69778)
Document Settings
- PostPublishPanel: Fix post title overflow. (69804)
Patterns
- Editor: Enable starter pattern modal for all post types. (69753)
Components
- UI Components: Add theme support for
FormTokenField
andComboboxControl
. (69638)
Accessibility
- DataViews: Always show primary action for list layout if hover isn't supported. (69876)
Block Library
- Navigation Link, Navigation Submenu: Remove the title attribute controls. (69689)
- Navigation block: Fix submenu Escape key behavior. (69837)
- Social Icons: Remove custom placeholder state. (69821)
Components
- Button: Update hover styles to account for pressed state for
tertiary button
. (68542) - Global Styles: Fix incorrect usage of ItemGroup in the Background image panel. (68631)
DataViews
- ActionModal: Add support for customisable
focusOnMount
. (69609)
Documentation
- Add WithCloseHandlers story. (69688)
- Create Block: Improve support for blocks manifest and relevant Core APIs. (69767)
- Docs: Improve document and parameters in render_block_core_* function. (69856)
- Fix: Incorrect Type of
wp_widget_factory
inrender_block_core_legacy_widget
Doc Block. (69775) - Fix: Expose TypeScript types for subcomponents. (69619)
- Latest Posts block: Add missing @global PHP documentation. (69763)
Code Quality
- Block Parser: Remove description for singular since tag. (69799)
- Fix Documentation inconsistencies in
Block Parser
classes. (69785) - Stylelint-config: Add stylelint-scss as a peer dependency. (69685)
Block Library
- Query Loop: Remove unused 'Columns' control. (69843)
- Search:
wp-block-search__inside-wrapper
classname trailing spaces. (69405) - Social Icons: Fix effect dependencies. (69824)
- Social Icons: Remove unused editor style. (69836)
Block Directory
- Update metadata fields requested from server. (69801)
Components
- Update gradient-parser dependency from 0.1.5 to 1.0.2. (69783)
Tools
Testing
- Automated Testing: Add GitHub Actions workflow for Storybook smoke testing. (69679)
- E2E: Split list view keyboard shortcuts into multiple tests. (69231)
- Workflows: Ignore 'widgets' for manual backports. (69792)
Build Tooling
- Workflows: Ignore 'block-serialization-default-parser' for manual backports. (69791)
First-time contributors
The following PRs were merged by first-time contributors:
- @Debarghya-Banerjee: Fix: Incorrect Type of
wp_widget_factory
inrender_block_core_legacy_widget
Doc Block. (69775) - @karthikeya-io: Fix: Space visualizer showing previous value. (69747)
Contributors
The following contributors merged PRs in this release:
@carolinan @Debarghya-Banerjee @dhruvikpatel18 @dilipbheda @himanshupathak95 @im3dabasia @Infinite-Null @jonathanbossenger @karthikeya-io @Mamaduka @Mayank-Tripathi32 @Rishit30G @SainathPoojary @shimotmk @snehapatil2001 @stokesman @Sukhendu2002 @swissspidy @t-hamano @timse201 @yogeshbhutkar
20.6.0
Changelog
Enhancements
Block Library
- Feature: Adding support for more granular controls over the ToC block. (69063)
- Navigation Block: Add transparency slider for submenu background. (69379)
- Query Total: Add interactivity.clientNavigation block support. (69661)
- RSS Block: Add option to open links in new tab/window and control rel attributes. (69641)
Block Editor
- Add keyboard shortcut (
cmd(ctrl)+option(alt)+v
) to paste styles. (69196) - BlockPatternsExplorer: Hide scrollbar from sidebar if not scrollable. (69706)
Post Editor
- Editor: Revert new default rendering mode for Pages. (69680)
Bug Fixes
- BlockBreadcrumb: Wrap text node in span tag. (69605)
- Fix Media & Text block preview alignment on larger devices. (67097)
- Format Library: Ensure inline image with updates persist after removing the 'width'. (69683)
- Include blocks manifest build process in Webpack configuration to fix
create-block
bug with missing blocks manifest file. (69578)
Block Library
- Featured Image Block: Prevent default action on image click to fix linking to post. (69716)
- Fix Category List Block: Add optional chaining to taxonomy name. (69703)
- Fix(embed-block): Only call
setAttributes()
when attrs change. (68141) - Fix: Correct 'Displaying 1 – 0 of 0' issue when no results are found. (69666)
- Image block: Omit max width observer element in galleries. (69601)
- PostCommentsForm: Fix submit button width regression. (69651)
Components
- ComboboxControl: Replace
undefined
variable usage withcolor-mix
for disabled selection. (69621) - CustomSelectControl: Use dynamic fill color for
check
icon. (69626) - Fix autocomple UI flicker when deleting trigger prefix. (69562)
- Update
NumberControl
stepping to match HTML number input stepping. (34566)
Block Editor
- LinkControl: Fix visually Duplicative label and placeholder. (69620)
PatternsExplorerModal
: Fix empty patterns in starter content category. (69629)
Post Editor
- Post Template Panel: Render
create-new-template-modal
overpost-template-panel
. (69713)
Global Styles
- Site Editor: Make the text "Custom Styles" translatable. (69677)
Site Editor
- Set
IFRAME_REQUEST
constant for classic theme site preview. (69535)
Document Settings
- PostStatus: Prevent form submission from refreshing the page. (69526)
Accessibility
Document Settings
- Post Template Panel: Preserve parent modal when closing template creation dialog. (69724)
Block Library
- Site Title: Prevent saving and rendering a value made of only spaces. (69628)
Block Editor
- Fix shift+tab from post title. (69520)
Components
- Global Styles: Prevent Unwanted ItemGroup List Rendering in Border Panel. (68633)
DataViews
- Display Checkbox by default in dataviews. (67874)
Performance
Block Library
- Image: Don't subscribe to current post changes. (69630)
- Navigation Link: Don't check validity when block editing is disabled. (69627)
- Navigation Link: Improve performance by only requesting entities when selected. (69633)
- Navigation Link: Optimize 'getBlockParentsByBlockName' selector call. (69631)
Documentation
- Developer Documentation: Update
VS Code
settings in the contribution guide. (69670) - Editor: Clarify icon prop behavior in README. (69672)
- Fix: Missing comma in DataView documentation example. (69721)
- Modify the AnglePickerControl example code. (69673)
- Modify the RangeControl example code. (69591)
- Reference
splitTask
from interactivity package in documentation. (69602) - Storybook: Update ToolbarItem and ToolbarDropdownMenu exports. (69618)
- Update the list of Gutenberg versions in WordPress versions. (69700)
- scripts: Fix broken changelog link. (69654)
Code Quality
Components
- Component: Extract
getNodeText
to its own file and add unit tests. (69135) - Fixed broken className test for
NumberControl
. (69540)
Post Editor
PreviewDropdown
: There's no need to unlock the 'getRenderingMode' selector. (69682)
Font Library
- FontLibraryModal: Remove temporary margin-bottom override. (69674)
Site Editor
- Update old URLs to new path-based URLs. (69585)
Tools
Testing
- Fix end-to-end and performance tests. (69690)
- Fix flaky Typewriter end-to-end test. (69623)
- Refactor 'Template hierarchy' end-to-end tests. (69692)
- Upgrade Playwright to v1.51.1. (69622)
- e2e: Fix taxomomies test. (69723)
Build Tooling
- Fix Tests: Update
browserslist
andcaniuse-lite
to latest versions. (69669)
First-time contributors
The following PRs were merged by first-time contributors:
- @gmovr: Feature: Adding support for more granular controls over the ToC block. (69063)
- @im3dabasia: Fix Media & Text block preview alignment on larger devices. (67097)
Contributors
The following contributors merged PRs in this release:
@bph @chrisbellboy @dhruvikpatel18 @felixarntz @gmovr @himanshupathak95 @im3dabasia @Infinite-Null @karthick-murugan @Mamaduka @Mayank-Tripathi32 @Rishit30G @SainathPoojary @shimotmk @Sourav61 @StevenDufresne @stokesman @t-hamano @westonruter @yogeshbhutkar
20.6.0 RC1
Changelog
Enhancements
Block Library
- Feature: Adding support for more granular controls over the ToC block. (69063)
- Navigation Block: Add transparency slider for submenu background. (69379)
- Query Total: Add interactivity.clientNavigation block support. (69661)
- RSS Block: Add option to open links in new tab/window and control rel attributes. (69641)
Block Editor
- Add keyboard shortcut (
cmd(ctrl)+option(alt)+v
) to paste styles. (69196) - BlockPatternsExplorer: Hide scrollbar from sidebar if not scrollable. (69706)
Post Editor
- Editor: Revert new default rendering mode for Pages. (69680)
Bug Fixes
- BlockBreadcrumb: Wrap text node in span tag. (69605)
- Fix Media & Text block preview alignment on larger devices. (67097)
- Format Library: Ensure inline image with updates persist after removing the 'width'. (69683)
- Include blocks manifest build process in Webpack configuration to fix
create-block
bug with missing blocks manifest file. (69578)
Block Library
- Featured Image Block: Prevent default action on image click to fix linking to post. (69716)
- Fix Category List Block: Add optional chaining to taxonomy name. (69703)
- Fix(embed-block): Only call
setAttributes()
when attrs change. (68141) - Fix: Correct 'Displaying 1 – 0 of 0' issue when no results are found. (69666)
- Image block: Omit max width observer element in galleries. (69601)
- PostCommentsForm: Fix submit button width regression. (69651)
Components
- ComboboxControl: Replace
undefined
variable usage withcolor-mix
for disabled selection. (69621) - CustomSelectControl: Use dynamic fill color for
check
icon. (69626) - Fix autocomple UI flicker when deleting trigger prefix. (69562)
- Update
NumberControl
stepping to match HTML number input stepping. (34566)
Block Editor
- LinkControl: Fix visually Duplicative label and placeholder. (69620)
PatternsExplorerModal
: Fix empty patterns in starter content category. (69629)
Post Editor
- Post Template Panel: Render
create-new-template-modal
overpost-template-panel
. (69713)
Global Styles
- Site Editor: Make the text "Custom Styles" translatable. (69677)
Site Editor
- Set
IFRAME_REQUEST
constant for classic theme site preview. (69535)
Document Settings
- PostStatus: Prevent form submission from refreshing the page. (69526)
Accessibility
Document Settings
- Post Template Panel: Preserve parent modal when closing template creation dialog. (69724)
Block Library
- Site Title: Prevent saving and rendering a value made of only spaces. (69628)
Block Editor
- Fix shift+tab from post title. (69520)
Components
- Global Styles: Prevent Unwanted ItemGroup List Rendering in Border Panel. (68633)
DataViews
- Display Checkbox by default in dataviews. (67874)
Performance
Block Library
- Image: Don't subscribe to current post changes. (69630)
- Navigation Link: Don't check validity when block editing is disabled. (69627)
- Navigation Link: Improve performance by only requesting entities when selected. (69633)
- Navigation Link: Optimize 'getBlockParentsByBlockName' selector call. (69631)
Documentation
- Developer Documentation: Update
VS Code
settings in the contribution guide. (69670) - Editor: Clarify icon prop behavior in README. (69672)
- Fix: Missing comma in DataView documentation example. (69721)
- Modify the AnglePickerControl example code. (69673)
- Modify the RangeControl example code. (69591)
- Reference
splitTask
from interactivity package in documentation. (69602) - Storybook: Update ToolbarItem and ToolbarDropdownMenu exports. (69618)
- Update the list of Gutenberg versions in WordPress versions. (69700)
- scripts: Fix broken changelog link. (69654)
Code Quality
Components
- Component: Extract
getNodeText
to its own file and add unit tests. (69135) - Fixed broken className test for
NumberControl
. (69540)
Post Editor
PreviewDropdown
: There's no need to unlock the 'getRenderingMode' selector. (69682)
Font Library
- FontLibraryModal: Remove temporary margin-bottom override. (69674)
Site Editor
- Update old URLs to new path-based URLs. (69585)
Tools
Testing
- Fix end-to-end and performance tests. (69690)
- Fix flaky Typewriter end-to-end test. (69623)
- Refactor 'Template hierarchy' end-to-end tests. (69692)
- Upgrade Playwright to v1.51.1. (69622)
- e2e: Fix taxomomies test. (69723)
Build Tooling
- Fix Tests: Update
browserslist
andcaniuse-lite
to latest versions. (69669)
First-time contributors
The following PRs were merged by first-time contributors:
- @gmovr: Feature: Adding support for more granular controls over the ToC block. (69063)
- @im3dabasia: Fix Media & Text block preview alignment on larger devices. (67097)
Contributors
The following contributors merged PRs in this release:
@bph @chrisbellboy @dhruvikpatel18 @felixarntz @gmovr @himanshupathak95 @im3dabasia @Infinite-Null @karthick-murugan @Mamaduka @Mayank-Tripathi32 @Rishit30G @SainathPoojary @shimotmk @Sourav61 @StevenDufresne @stokesman @t-hamano @westonruter @yogeshbhutkar