Releases: WordPress/gutenberg
21.2.0 RC1
Changelog
Enhancements
- DataViews: Introduce
perPageSizesto control the available sizes of the items per page. (70604) - ESLint: Enforce stricter translator comment placeholder matching. (70458)
- Format Library: Improve inline image replacement workflow. (70598)
- I18N: Use
@tannin/sprintf. (70434)
Block Library
- Gallery: Refactor "Settings" panel of Gallery block to use
ToolsPanelinstead ofPanelBody. (67904) - Navigation Link: Add "Open in new tab" toggle to navigation block sidebar. (67262)
- Site Logo: Refactor the media panel to use ToolsPanel. (70599)
Icons
- Update circle icons to have a unified footprint. (70581)
- Update icons: Help, PlusCircle, Typography. (70299)
Block Editor
- Use consistent sizing for the block locking modal. (70593)
Post Editor
- Editor: Allow replacing the 'PostLockedModal' component. (70586)
Components
- Add
DateCalendarandDateRangeCalendarcomponents. (70578)
DataViews
- More fields, controls and operators. (70567)
Interactivity API
- iAPI Router: Prioritize custom click event handlers when full-page navigation is enabled. (70566)
Templates API
- Site Editor: Sort post types alphabetically within the
Add Templatemodal. (70562)
Bug Fixes
Block Library
- Cover: Fixed resetAll to return image resolution to default value. (70608)
- Featured Image: Fixed resetAll to return image resolution to default value. (70514)
- Fix submenu border visibility in Navigation block. (70520)
- Image Block: Preserve line breaks in media caption. (70476)
- RSS Block: Decode HTML entities in feed titles before display. (70491)
Icons
- Fix plusCircleFilled size. (70650)
DataViews
- Correct padding for empty-state elements when is in a . (70638)
Components
- Remove the extra font-size override for the select control on medium layouts. (70619)
Style Book
- Enable support for showing individual block variations. (70448)
Accessibility
Components
FormTokenField: Fix focus lost on tab when__experimentalExpandOnFocusis set. (70591)
Performance
- usePostActions: Avoid fetching all templates (unbound request). (70535)
Block Library
- Post Author: Optimize and improve user control queries. (70510)
Documentation
- Add
isPostAutosavingLockedexample to doc block. (70640) - Docs: Update Locking interface example image. (70590)
- Media Upload: Correct wrapper reference in docstring. (70651)
- RawHTML: Clarify the wrapper 'div' element behavior. (70527)
- ServerSideRender: Remove the 'POST' method shim example. (70577)
- Update nested-blocks-inner-blocks.md. (70587)
- Updated support for MS Word Images. (70564)
Code Quality
- I18n: Use more descriptive type arguments in i18n package. (70606)
- ServerSideRender: Remove unnecessary props for default loading placeholder. (70576)
- ServerSideRender: Use data hooks instead of HoC. (70529)
Block Editor
Block Library
- List Block: Remove unused __unstableMultilineWrapperTags field from block.json. (70209)
Components
- Fix Floating UI packages dependencies. (70553)
Tools
Testing
- CodeVitals: Use a different SHA for the base branch. (70565)
- Fix unit test for flaky filterSortAndPaginate function. (70582)
- e2e: Re-enable skipped end-to-end tests related to the settings REST API. (70551)
First-time contributors
The following PRs were merged by first-time contributors:
- @Adi-ty: e2e: Re-enable skipped end-to-end tests related to the settings REST API. (70551)
- @chihsuan: Components: Add
DateCalendarandDateRangeCalendarcomponents. (70578) - @coderGtm: (70482)
- @mecskyverse: Updated support for MS Word Images. (70564)
- @R1shabh-Gupta: Fix submenu border visibility in Navigation block. (70520)
- @USERSATOSHI: ESLint: Enforce stricter translator comment placeholder matching. (70458)
Contributors
The following contributors merged PRs in this release:
@Adi-ty @arthur791004 @BugReportOnWeb @chihsuan @coderGtm @DAreRodz @ellatrix @himanshupathak95 @Infinite-Null @jameskoster @jasmussen @Lovor01 @Mamaduka @mecskyverse @p-jackson @R1shabh-Gupta @sejas @shimotmk @sirreal @Sukhendu2002 @swissspidy @t-hamano @USERSATOSHI @yogeshbhutkar @youknowriad
21.1.1
21.1.0
Changelog
Enhancements
Block Library
- Author Block: Refactor Settings panel to use Toolspanel. (67965)
- Avatar: Refactor settings panel to use ToolsPanel. (67952)
- Comments Pagination: Remove unwanted bottom margin from links. (70360)
- Navigation Block: Flip submenu indicator icon on submenu expansion. (70307)
- Navigation Block: Rotate submenu indicator icons on submenu expansion. (70442)
- Navigation Link: Add
dropdownMenuPropsand aresetAllfunction. (70505) - Post Navigation Link: Refactor settings panel to use ToolsPanel. (70276)
- Refactor Site Logo "Settings" Panel to Use ToolsPanel. (67972)
- [ Experimental Form ]: Add example block previews. (70436)
Interactivity API
- iAPI Router: Add support for new router regions with
attachTo. (70421) - iAPI Router: Support new styles and script modules on client-side navigation. (70353)
- iAPI: Export
NavigateOptionsandPrefetchOptionstypes. (70315) - iAPI: Introduce
AsyncActionandTypeYieldtype helpers. (70422)
Extensibility
- Social: Allow custom link icons using block variations. (70261)
Bug Fixes
- Core data: getHomePage: Do not return object until resolved. (70345)
Block Library
- Fix : Calendar block: Colors do not change between global styles and
theme.json. (70184) - Form Block: Apply class names correctly in the block editor. (70394)
- FormFileUpload: Extend audio accept MIME types for iOS compatibility. (70354)
- Image: Fix outdated accessibility hint on native component. (70346)
- Image: Fixed resetAll to return image resolution to default value. (70398)
- Revert "Flip submenu indicator icon on submenu expansion (#70307)". (70427)
- Social Links: Allow icon size to be reset and honor theme.json styles. (70380)
- Video Block: Guard against duplicate tracks. (70295)
Interactivity API
- Fix image lightbox issues in new full client-side navigation logic. (70416)
- iAPI Router: Fix dynamic imports on new visited pages. (70489)
- iAPI: Fix captured errors in
withScopegenerators. (70303) - iAPI: Fix duplicated nested regions. (70302)
- iAPI: Fix parsing of comments without siblings. (70304)
Global Styles
- Fix: Global styles affect all form elements ( Form Block ). (70392)
- Implement uniform header layout. (70464)
DataViews
- Data forms: Achieve vertical spacing with vertical spacing rather than cell padding. (70435)
Post Editor
- Fix: Update post-publish panel to use taxonomy label instead of hardcoded "Tags". (70410)
Media
- Invalidate entities when new media is uploaded. (70405)
Plugin
- Fix: Incorrect style handle in RTL style registration for wp-list-reusable-blocks. (70402)
Data Layer
- Add private selector support to resolveSelect and suspendSelect. (52036)
Accessibility
Templates API
- Templates: Add back button & fix focus loss when navigating through template creation flow. (70091)
Performance
Block Library
- Avatar: Optimize user control query. (70511)
Documentation
- Add
isPostSavingLockedexample to doc block. (70370) - Commands: Add stylesheet requirements to README. (70323)
- Create Block: Add documentation for custom block namespace. (70215)
- Docs: Fix broken links on Developer.WordPress.org. (70473)
- Fix some typos. (70419)
- Fix typo folder-structure.md. (70375)
- block-attributes: Add
roleattribute explanation. (70361)
Code Quality
- Patterns: Delete unused property. (70321)
- TypeScript: Converts HtmlEntities Package to TS. (69326)
- TypeScript: Migrate deprecated package to TS. (70362)
- TypeScript: Migrate is-shallow-equal package to TS. (70407)
- iAPI: Fix the changelog to include PR 70296 in 6.25. (70309)
Block Editor
- Media List: Use 'placement' prop for popover positioning. (70350)
- Refactor:
URLInputButtoncomponent to functional react component. (70384) - Warning: Replace popoverProps.position to popoverProps.placement. (70347)
Components
- Circular Option Picker: Use 'placement' prop for popover positioning. (70359)
- FormFileUpload: Remove temporary fix for selecting .heic file in Chromium browsers. (70383)
Post Editor
- PostAuthorCombobox: Simplify 'onFilterValueChange' debounced callback. (70512)
Interactivity API
- iAPI: Minor fixes to the Interactivity and Interactivity Router comments. (70420)
Block Library
- Social Link: Use
placementprop for popover positioning. (70348)
Tools
Testing
- Test: Improve document settings sidebar locator. (70331)
- Ensure the actual tests environment is used for end-to-end tests. (70280)
- Skip falling end-to-end tests. (70460)
- end-to-end Tests: Add test case for
Linkcolor support. (69141) - end-to-end Tests: Minor code quality improvement in some tests. (70382)
Various
Block Library
- Remove screencast.com embed block variation. (70480)
First-time contributors
The following PRs were merged by first-time contributors:
- @alejandrogonzalvo: test: Improve document settings sidebar locator. (70331)
- @BugReportOnWeb: FormFileUpload: Extend audio accept MIME types for iOS compatibility. (70354)
- @iamsandeepdahiya: Fix: Incorrect style handle in RTL style registration for wp-list-reusable-blocks. (70402)
- @kushagra-goyal-14: TypeScript: Migrate is-shallow-equal package to TS. (70407)
- @NidhiDhandhukiya74: Refactor Site Logo "Settings" Panel to Use ToolsPanel. (67972)
- @shrivastavanolo: Navigation Block: Flip submenu indicator icon on submenu expansion. (70307)
- @USERSATOSHI: TypeScript: Migrate deprecated package to TS. (70362)
- @yashjawale: Image: Fix outdated accessibility hint on native component. (70346)
Contributors
The following contributors merged PRs in this release:
@alejandrogonzalvo @BugReportOnWeb @DAreRodz @dd32 @ellatrix @himanshupathak95 @iamsandeepdahiya @im3dabasia @Infinite-Null @jsnajdr @karthikeya-io @kushagra-goyal-14 @Maikuolan @Mamaduka @Mayank-Tripathi32 @NidhiDhandhukiya74 @peterwilsoncc @ramonjd @Rishit30G @SainathPoojary @SantosGuillamot @shimotmk @shrivastavanolo @t-hamano @talldan @USERSATOSHI...
21.1.0 RC1
Changelog
Enhancements
Block Library
- Author Block: Refactor Settings panel to use Toolspanel. (67965)
- Avatar: Refactor settings panel to use ToolsPanel. (67952)
- Comments Pagination: Remove unwanted bottom margin from links. (70360)
- Navigation Block: Flip submenu indicator icon on submenu expansion. (70307)
- Navigation Block: Rotate submenu indicator icons on submenu expansion. (70442)
- Navigation Link: Add
dropdownMenuPropsand aresetAllfunction. (70505) - Post Navigation Link: Refactor settings panel to use ToolsPanel. (70276)
- Refactor Site Logo "Settings" Panel to Use ToolsPanel. (67972)
- [ Experimental Form ]: Add example block previews. (70436)
Interactivity API
- iAPI Router: Add support for new router regions with
attachTo. (70421) - iAPI Router: Support new styles and script modules on client-side navigation. (70353)
- iAPI: Export
NavigateOptionsandPrefetchOptionstypes. (70315) - iAPI: Introduce
AsyncActionandTypeYieldtype helpers. (70422)
Extensibility
- Social: Allow custom link icons using block variations. (70261)
Bug Fixes
- Core data: getHomePage: Do not return object until resolved. (70345)
Block Library
- Fix : Calendar block: Colors do not change between global styles and
theme.json. (70184) - Form Block: Apply class names correctly in the block editor. (70394)
- FormFileUpload: Extend audio accept MIME types for iOS compatibility. (70354)
- Image: Fix outdated accessibility hint on native component. (70346)
- Image: Fixed resetAll to return image resolution to default value. (70398)
- Revert "Flip submenu indicator icon on submenu expansion (#70307)". (70427)
- Social Links: Allow icon size to be reset and honor theme.json styles. (70380)
- Video Block: Guard against duplicate tracks. (70295)
Interactivity API
- Fix image lightbox issues in new full client-side navigation logic. (70416)
- iAPI Router: Fix dynamic imports on new visited pages. (70489)
- iAPI: Fix captured errors in
withScopegenerators. (70303) - iAPI: Fix duplicated nested regions. (70302)
- iAPI: Fix parsing of comments without siblings. (70304)
Global Styles
- Fix: Global styles affect all form elements ( Form Block ). (70392)
- Implement uniform header layout. (70464)
DataViews
- Data forms: Achieve vertical spacing with vertical spacing rather than cell padding. (70435)
Post Editor
- Fix: Update post-publish panel to use taxonomy label instead of hardcoded "Tags". (70410)
Media
- Invalidate entities when new media is uploaded. (70405)
Plugin
- Fix: Incorrect style handle in RTL style registration for wp-list-reusable-blocks. (70402)
Data Layer
- Add private selector support to resolveSelect and suspendSelect. (52036)
Accessibility
Templates API
- Templates: Add back button & fix focus loss when navigating through template creation flow. (70091)
Performance
Block Library
- Avatar: Optimize user control query. (70511)
Documentation
- Add
isPostSavingLockedexample to doc block. (70370) - Commands: Add stylesheet requirements to README. (70323)
- Create Block: Add documentation for custom block namespace. (70215)
- Docs: Fix broken links on Developer.WordPress.org. (70473)
- Fix some typos. (70419)
- Fix typo folder-structure.md. (70375)
- block-attributes: Add
roleattribute explanation. (70361)
Code Quality
- Patterns: Delete unused property. (70321)
- TypeScript: Converts HtmlEntities Package to TS. (69326)
- TypeScript: Migrate deprecated package to TS. (70362)
- TypeScript: Migrate is-shallow-equal package to TS. (70407)
- iAPI: Fix the changelog to include PR 70296 in 6.25. (70309)
Block Editor
- Media List: Use 'placement' prop for popover positioning. (70350)
- Refactor:
URLInputButtoncomponent to functional react component. (70384) - Warning: Replace popoverProps.position to popoverProps.placement. (70347)
Components
- Circular Option Picker: Use 'placement' prop for popover positioning. (70359)
- FormFileUpload: Remove temporary fix for selecting .heic file in Chromium browsers. (70383)
Post Editor
- PostAuthorCombobox: Simplify 'onFilterValueChange' debounced callback. (70512)
Interactivity API
- iAPI: Minor fixes to the Interactivity and Interactivity Router comments. (70420)
Block Library
- Social Link: Use
placementprop for popover positioning. (70348)
Tools
Testing
- Test: Improve document settings sidebar locator. (70331)
- Ensure the actual tests environment is used for end-to-end tests. (70280)
- Skip falling end-to-end tests. (70460)
- end-to-end Tests: Add test case for
Linkcolor support. (69141) - end-to-end Tests: Minor code quality improvement in some tests. (70382)
Various
Block Library
- Remove screencast.com embed block variation. (70480)
First-time contributors
The following PRs were merged by first-time contributors:
- @alejandrogonzalvo: test: Improve document settings sidebar locator. (70331)
- @BugReportOnWeb: FormFileUpload: Extend audio accept MIME types for iOS compatibility. (70354)
- @iamsandeepdahiya: Fix: Incorrect style handle in RTL style registration for wp-list-reusable-blocks. (70402)
- @kushagra-goyal-14: TypeScript: Migrate is-shallow-equal package to TS. (70407)
- @NidhiDhandhukiya74: Refactor Site Logo "Settings" Panel to Use ToolsPanel. (67972)
- @shrivastavanolo: Navigation Block: Flip submenu indicator icon on submenu expansion. (70307)
- @USERSATOSHI: TypeScript: Migrate deprecated package to TS. (70362)
- @yashjawale: Image: Fix outdated accessibility hint on native component. (70346)
Contributors
The following contributors merged PRs in this release:
@alejandrogonzalvo @BugReportOnWeb @DAreRodz @dd32 @ellatrix @himanshupathak95 @iamsandeepdahiya @im3dabasia @Infinite-Null @jsnajdr @karthikeya-io @kushagra-goyal-14 @Maikuolan @Mamaduka @Mayank-Tripathi32 @NidhiDhandhukiya74 @peterwilsoncc @ramonjd @Rishit30G @SainathPoojary @SantosGuillamot @shimotmk @shrivastavanolo @t-hamano @talldan @USERSATOSHI...
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 Controlcomponent. (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.jsonschema: 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
InputControlon mousedown. (41118) - SuggestionsList: Remove unused code. (70195)
Block Library
- Video: Use a unique 'key' in the 'TrackList' component. (70263)
Tools
Testing
- Cover Block: Add
E2ETest forFocalPointPicker. (69077) - E2E: Add general end-to-end tests for
templateLockfunctionality. (70160) - Fix end-to-end test for block API / filtered blocks. (51882)
- Format
.githubworkflows.ymlfile. (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 Controlcomponent. (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.jsonschema: 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
InputControlon mousedown. (41118) - SuggestionsList: Remove unused code. (70195)
Block Library
- Video: Use a unique 'key' in the 'TrackList' component. (70263)
Tools
Testing
- Cover Block: Add
E2ETest forFocalPointPicker. (69077) - E2E: Add general end-to-end tests for
templateLockfunctionality. (70160) - Fix end-to-end test for block API / filtered blocks. (51882)
- Format
.githubworkflows.ymlfile. (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
Stylesto 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
TextControlandTextAreaControlin dark themes. (69640) - Fix
URLPopoverinput 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
TextareaControlin CollabSidebar. (70133)
Global Styles
- Background Image Panel: Fix focus loss. (69813)
- Move
Randomize colorsbutton 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
CSSvariables used outsidecomponentspackage. (70108) - Stylelint: Customise warning message for
flex-directionwarning. (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
Stylesto 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
TextControlandTextAreaControlin dark themes. (69640) - Fix
URLPopoverinput 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
TextareaControlin CollabSidebar. (70133)
Global Styles
- Background Image Panel: Fix focus loss. (69813)
- Move
Randomize colorsbutton 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
CSSvariables used outsidecomponentspackage. (70108) - Stylelint: Customise warning message for
flex-directionwarning. (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
--textdomainflag to create block tool. (69802)
Components
- Guide: Make
nextandpreviousbutton 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
useCallbackandrefs. (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 contentandContent 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-sizingproperty 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
ItemGroupwhen 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
FontSizePickercrash 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
--textdomainin 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
CSSimport in data basics tutorial code. (69914) - Fix typos. (69957)
- Fix: Remove an unnecessary
@returntag from this filter docblock. (69960)
Code Quality
- ServerSideRender: Use
useLayoutEffectto updatelatestPropsRef. (69999) - Stylelint: Migrate configuration from
JSONtoJavaScriptformat. (69590) - theme.json: Unify property order. (70033)
Themes
- Simplify color specifications from
rgbatorgb. (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
ColorPickerAlpha 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
--textdomainflag to create block tool. (69802)
Components
- Guide: Make
nextandpreviousbutton 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
useCallbackandrefs. (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 contentandContent 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-sizingproperty 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
ItemGroupwhen 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
FontSizePickercrash 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
--textdomainin 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
CSSimport in data basics tutorial code. (69914) - Fix typos. (69957)
- Fix: Remove an unnecessary
@returntag from this filter docblock. (69960)
Code Quality
- ServerSideRender: Use
useLayoutEffectto updatelatestPropsRef. (69999) - Stylelint: Migrate configuration from
JSONtoJavaScriptformat. (69590) - theme.json: Unify property order. (70033)
Themes
- Simplify color specifications from
rgbatorgb. (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
ColorPickerAlpha 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