Enhancements
Block Library
- New block: Add
Comments Pagination Numbers
block. (36890) - Comment Template block: Handle nested comments. (36065)
- Comments Query Loop: Improve context handling in inner blocks. (37196)
- Image: Reflect media deletion in the editor. (35973)
- Navigation:
- Refactor handling of padding for group and column blocks. (37356)
- Template Part: Add actions that fire during the loading process of block template parts. (36884)
Styles and design tools
- Add the
Welcome Guide
option to theMore Global Styles Actions
dropdown. (37180) - Make the
Blocks
section more distinguishable. (37293) - Move the
Edit colors
button to a standard menu item. (36842) - Move Duotone palette to the bottom of global styles gradients. (37253)
- Border controls: display border properties in the
ToolPanel
. (34061)
Components
- FontSizePicker: Use an incremental sequence of numbers as labels for the available font sizes at the segmented control (conditionally). (37038)
- ColorPalette: Improve accessibility and visibility. (36925)
- ToolsPanel: Standardize input control label margin. (36387)
- Unify styles for
ColorIndicator
with how they appear in Global Styles. (37028) - Update
PanelColorGradientSettings
component to use dropdowns. (37067)
Site Editor
- Add the Customizer back to the Appearance menu. (37175)
- Add client-side routing for Site Editor. (36488)
- Add a new
aria-pressed
attribute to theToggle navigation
button. (37351) - Template revert flow: Make label description source agnostic. (37004)
Packages
- Scripts: Enable React Fast Refresh for block development. (28273)
- List Reusable Blocks: Refactor
ImportForm
into a functional component and use hooks. (36938)
Widgets Editor
- Implement preview for blocks. (37012)
Post Editor
- Template Part block should not be available in the Post Editor inserter. (37157)
Bug Fixes
- Remove 4 instances of
gutenberg
text-domain from Core. (37229)
Block Library
- Fix return type in the DocBlock. (37352)
- Fix deprecated usage of passing null to
explode
function. (37392) - Gallery:
- Post Comments:
- Comments Pagination Block: Add default styling. (37057)
- Image:
- Navigation:
- Fix
gutenberg_
prefixed function references in Core. (37021) - Fix navigation justifications. (36991)
- Fix vertical alignment of page list in the modal. (37321)
- Remove hardcoded typography units. (37349)
- Fix vertical layout. (37009)
- Switch to
addEventListener
event for load event in the navigation block view script. (37135) - Don't request the deprecated navigation areas endpoint outside of the Gutenberg plugin. (37187)
- Navigation Link Control: Hide the
Transforms
component when no options are available. (37284) - Remove the deprecated navigation area block from the inserter. (37026)
- Fix
- Query Loop: Add
useBlockPreview
component, fix alignment of theQuery Loop
block in the editor. (36431) - Query Pagination:
core/query-pagination-next
andcore/query-pagination-previous
blocks: change the markup on the first and last pages of the pagination. (36681) - Search: Fix application of border color class in the editor. (37242)
- Template Part:
- Update the
micromodal
package to include a click-through fix. (36837)
Components
- Card: Support the
extraSmall
option for thesize
prop. (37097) - Drop Zone: Fix HTML drop issues with the Windows browsers. (37151)
- Don't load
Radio
andRadioGroup
components directly. (36934) - DuotonePicker typo fix. (36662)
- Element: Ensure that the package uses the up-to-date React types. (37365)
- Fix incorrect rendering of
ToggleGroupControl
's active state. (37332) - Hide the
remove control point
button because removing it would break gradient control. (37186) - Import experimental
Heading
andText
Components. (37290) - Make the color popover on the gradient picker appear as expected. (37115)
- Remove unused
reakit-utils
dependency from peer dependencies. (37369) - Storybook: Fix deprecated
disabled
key. (37112) - ToggleGroupControl: Fix extra update on incoming change. (37224)
Site Editor
- Allow global styles sidebar panels to fill vertical space. (36845)
- Display a notice if export fails. (37131)
- Fix edit template part link in header dropdown. (37249)
- Fix template resolution to give precedence to PHP templates defined in a child theme. (37074)
- Hide the block appender in the Template Part editor. (37213)
- Improve notification when saving content in the Site Editor. (36897)
- Improve handling of parsed requests. (37209)
- Sync Export API error codes. (37347)
- Template Editor Mode: Hide editor mode switcher. (37359)
- Use server definition for the Template Areas. (37215)
Styles
- Allow selector ordering to ensure
theme.json
root selector margin takes precedence. (36960) - Custom keys from
theme.json
: Fix kebabCase conversion. (37380) - Do not remove theme presets if defaults are hidden. (37008)
- Fix CSS Custom Properties for presets in the Site Editor. (36851)
- Fix how
appearanceTools
works. (37254) - Fix styles for previews and patterns. (37296)
- Font sizes: Update default values. (37381)
- Remove CSS that causes conflict with
theme.json
. (36424)
Design Tools
- Border Style Control: Update styling for consistency with border width control. (37244)
- Border panel:
- Gradients
Compatibility with Core and library code
- Fix array key warning in block supports layout. (37101)
- Templates: Search for old template names in the parent theme too. (36910)
- Fix theme requirement validation when using WordPress 5.8. (37226)
- Fix WordPress 5.9 check for conditionally running code. (37235)
- Fix mistake in the
_remove_theme_attribute_in_block_template_content
function. (37137) - Gallery: Enable the new gallery block by default if running in Core. (37134)
Packages
- Core Data: Fix returning empty array in the
getEntityRecords
function for unknown entities. (36984) - Include
@babel/core
as a dependency where applicable. (37328) - Format library: Fix unsetting highlight color. (37062)
Block Editor
- Mark the last change as persistent on save. (36887)
- Fix content loss when ungrouping template parts or reusable blocks. (37280)
- Simplify the
RESET_BLOCK
action to fix the loss of content when using template part focus mode. (37283)
Post Editor
- Multi-Entity Saving: Decode HTML entities in item titles. (37353)
Documentation
-
Update documentation related to schemas. (37294)
-
Remove versioning in theme schema descriptions. (37165)
-
Fix the broken link on the plugin description page. (37362)
-
Handbook:
- Add information about skip links to the block theme overview. (36555)
- Add closing ticks for
blockGap
code example. (37338) - Add how-to guide documentation template. (36694)
- Add link and details for
npx
in create block tutorial. (37376) - Consolidate React Native documentation. (36685)
- Fix a link to the how-to guide template. (37191)
- Move classes used in the navigation block from the component to the new readme. (37375)
- Update Format API how-to guide. (37298)
- Update broken links. (37121)
- Improve formatting of headings in the contributors' guide. (36689)
- Fix
type
forprefix
transformation. (36362) - Fix broken links in the Resources section. (37307)
- Remove the semicolons from the JSON examples. (37129)
-
Packages:
- Block Editor:
- Componentes:
- Site Editor: Update support documentation URL in the Welcome Guide. (37176)
Code Quality
Compatibility with Core
- Better synchronization between Gutenberg and Core code. (37141)
- Move WordPress 5.9
wp-admin
menus compatibility code tolib/compat
folder. (37257) - Move the block page templates hook into
compat/5.9
folder. (37142) - Move template loader hooks and functions into
lib/compat
folder. (37149) - Synchronize
wp_is_block_theme
function andblock-templates
block support with Core. (37218)
Global Styles
- Do not register
Global Styles
custom post type in WordPress 5.9. (37282) - Port
Global Styles
code tolib/compat/wordpress-5.9
: - Rename
WP_Theme_JSON_Resolver
methods to make them compatible with Core. (37393)
Packages
- Dependency Extraction Webpack Plugin: Sort externalized dependencies report. (37377)
- Block Editor:
- Components
- Data
- Scripts: Update dependencies shared with other WordPress packages. (37395)
Site Editor
- Remove unused PHP code. (36997)
- Revert
Site Editor: Set the <title> on the list page to be the same as the CPT name
. (37270)
Block Library
- Remove
gutenberg_
prefix from@wordpress/block-library
. (37341) - Block Library: Rename Query Pagination blocks. (37091)
Tools
Testing
- End-to-end Tests:
- Increase delay in image block end-to-end test to fix intermittent failure when clearing URL field. (37136)
- Update Multi-Entity Saving test to improve reliability. (37139)
- Sanitize flaky test report file names. (37390)
- Retry login again after a bad nonce request to prevent intermittent test failures. (37219)
- Fix
Multi-entity saving
andTemplate parts
related tests. (37333) - Fix
Heading
test. (37382) - Re-enable most of the navigation block end-to-end tests. (37214)
- Use global transients for PHPUnit tests. (37122)
- Fix usage of
useSetting('color.palette')
. (37108) - Add tests for the new gallery hooks. (36801)