New Features
- Block Editor: Add duotone block supports. (26752)
- Block Library:
- Editor: Display most used terms in term selector. (30598)
Enhancements
- Block Editor:
- Block Library:
- Components:
- Add component system
context
. (30877) - Use
UnitControl
for font-size. (31314) - Use vanilla emotion for
view
. (31099) - Promote Heading. (31299)
- Promote Text to full components export. (31291)
- Promote ui/Flex and deprecate
isReversed
prop. (31297) - Promote VisuallyHidden from ui into full components. (31244)
- Add component system
- Core Data: Add experimental util to allow fetch remote URL data from REST API. (31085)
- General Interface:
- Patterns: Suggest block patterns in block placeholder states. (29602)
- Site Editor:
- Add show more settings to block toolbars. (31305)
- Check whether the data is loaded. If the data is loaded and the template is still unknown, give appropriate feedback. (30664)
- A11y: Constrain tabbing inside them multi-entity save panel. (31136)
- Iframe the template editor. (31375)
- Save panel - decouple Site Entity items for individual saving. (30816)
- Template part:
- Site Tagline: Letter casing and padding. (31042)
- Site title: Add padding. (31125)
- Try: Blue parents. (31196)
- Verify if php template exists for a hybrid/universal theme with a block-based parent. (31123)
- Template Editing Mode: Use a darker frame for template mode and previews. (31044)
New APIs
- Core Data: Add batched variants for start and finish resolution actions. (31005)
- Block API: Allow "array of attributes to be compared" for
isActive
property in block variations. (30913) - Blocks: Introduce
registerBlockTypeFromMetadata
API. (30293)
Bug Fixes
- Block Editor:
- Block Support: Fix server-side border color support check. (31020)
- Create
useBlockRef
anduseBlockElement
for better access. (29573) - Fix focus handler in Safari. (31103)
- Fix selection clearer ref passed to
motion.div
. (31469) - Left-align query patterns in the carousel. (31233)
- Persistent List View: Fix the list stealing focus from the canvas on item mount. (31058)
- Try: Toolbar gap. (30983)
- Block Library:
- Allow for group and columns blocks to specify an unlocked template. (29916)
- Button Block: fix 100% width buttons alignment with other buttons. (29794)
- Image Block: Hide controls while in upload state. (30891)
- Fix: Make media playable on video and audio block backend. (31257)
- Prevent
PostDate
as link to load inside an iframe. (31350) - Post Content: Prevent infinite recursion. (31455)
- Components:
- Compose: Fix parameter name typo in
useRefEffect
. (30597) - General Interface:
- Remove tools dropdown menu from medium viewport when text labels mode is active. (31431)
- Plugin:
- Site Editor:
- Themes:
- Writing flow:
Performance
- Improve the typing performance by render hooks panels for selected blocks only. (31381)
Experiments
- Block-based Widgets:
- API:
- Customizer:
- Add white background. (31487)
- Fix adding new legacy widget. (31490)
- Fix Legacy Widget block. (31405)
- Fix toolbar so that it overlaps preview. (31077)
- Fix unable to publish edited legacy widgets. (31484)
- Fix unable to get block refs in widgets customizer. (31262)
- Focus control in widgets customizer. (31308)
- Make the entire sidebar have a white background. (31492)
- Show blocks from plugins. (31406)
- Legacy Widget:
- Widget Editor:
- Global Styles:
- Add a new endpoint that exposes block editor settings through the REST API. (29969)
- Add theme origin to
getStyle
. (31267) - Block Supports: Allow skipping serialization of font size. (30879)
- Fix Possible CSS units not passed to
useCustomUnits
. (31057) - Make the configuration resilient to changes to
safecss_filter_attr()
. (30888) - Preset classes for site editor: Generate them like in the front-end. (31218)
- Remove specificify for link color. (31497)
- Remove tests and make utility methods private. (31224)
- Rename
experimental-theme.json
totheme.json
and add a fallback for backwards-compatibility. (29981) - Site Editor:
- Target global styles to the
body
element instead of:root
. (31302) - Themes: only split block styles loading for block themes. (31309)
- Update shape of theme.json. (30541)
- Navigation Editor and Block:
- Block placeholder: fix font inheritance. (31410)
- Correctly display menu used on location text. (31500)
- Fix issue with missing styles for
Page List
in navigation. (31368) - Fix navigation screen collapsing regression. (31228)
- Fix navigation screen padding again. (31372)
- Fix nav color regression. (31495)
- Fix nav editor links to correctly persist new tab target attribute. (30956)
- Fix padding and cursor for nav menu item placeholder. (31275)
- Fix submenu direction justification regression. (31414)
- Fix submenu hover issue. (31195)
- Fix vertical alignment. (31376)
- Indicate unsaved changes. (31119)
- Move selected menu ID to the store. (31320)
- Move the delete menu button at the bottom. (31026)
- Standardise and fix parsing and serialization of blocks and nav menu items. (31004)
- Sync menu name updates. (31093)
- Try: Remove padding from menu items when no background. (30805)
- Use
ajaxurl
global inbatchSave
action. (31028)
Documentation
- Docs
- Add in more high level overviews of major FSE projects. (31295)
- Create a Full Site Editing overview document. (31065)
- Fix the broken links of register block type documentation. (31285)
- Global Styles: Update documentation for theme.json. (31507)
- Link to CSS that
wp-block-styles
include. (30433) - Minor design updates using callout. (31398)
- Organize and update block theme documentation. (31167)
- Packages: Drop suppport for IE 11 and non-LTS Node.js versions. (31270)
- Remove broken links to gutenberg-core team. (31161)
- Update Versions in WordPress to include 5.7.1 & 5.8. (31439)
- Update contributing documentation with callout notice usage. (31202)
- Handbook:
Code Quality
- Block Editor:
- BlockList: Normalise
useSelect
selectors for callbacks. (31078) - Default appender: Try editable paragraph instead of text area. (30986)
- In-between inserter:
- Move block tools components and styles to separate folder. (31313)
- Multi-selection:
- Writing flow: Move selector calls to event handlers. (31332)
- BlockList: Normalise
- Block Library:
- Components:
- Remove all remnants of wp-g2. (31292)
- Remove wp-g2 from scrollable. (31207)
- Remove G2 portal and refactor Popover to no longer use G2. (31209)
- Remove wp-g2 fontsize control. (31287)
- Remove wp-g2 from flex, vstack, hstack, spinner and contr…. (31243)
- Remove wp-g2 from surface. (31238)
- Remove wp-g2 from form-group and control-label. (31234)
- Remove wp-g2 from tooltip. (31232)
- Remove wp-g2 imports from elevation. (31230)
- Remove wp-g2 imports from shortcut. (31229)
- Remove wp-g2 imports from ui/divider. (31212)
- Remove wp-g2 imports from visually-hidden. (31210)
- Remove ui/button and ui/button-group. (31205)
- Deprecate the heading prop for the CheckboxControl component. (30594)
- Compose: Add types to
createHigherOrderComponent
,ifCondition
andpure
. (30881) - Core Data: Specify context=edit only when needed. (30482)
- Data: Update
redux
dependency to the latest version. (31318) - Mark the
__experimentalBlockSettingsMenuFirstItem
slot as unstable. (31420) - Remove the block wrapper component. (31419)
- General Interface: Fix typo - toogle / toggle. (31225)
- Packages: Fix linting warnings for
core/block-editor
store. (31146) - Plugin:
- Rich text:
Tools
- Build Tooling:
- Testing:
- end-to-end wpDataSelect: Explain why it returns undefined sometimes. (31227)
- end-to-end testing: Use JSON serialization for getAllBlocks. (31199)
- end-to-end tests for Widgets Customizer. (31185)
- end-to-end Site Editor: Evaluate getEditedPostContent on the page. (31121)
- Fix entity saving intermittent test failure. (31157)
- Fix tests failing on expected site tagline snapshot. (31473)
- Fix not getting correct
computedName
with labels in chromium 91. (31175) - Fix snapshots broken in trunk. (31247)
- Fix undo end-to-end test. (31160)
- Stabilise typewriter end-to-end test. (31472)
- Use
puppeteer-testing-library
in end-to-end tests. (28380) - Use
jest-circus
in unit tests. (31178) - Upgrade
puppeteer-testing-library
version. (31133)
- Scripts:
- Workflows:
- wp-env: fix can't checkout git repositories of a specific tag. (31271)
- Native:
- Storybook: Update
BoxControl
stories. (31029)