10.3.0
github-actions
released this
31 Mar 18:58
·
16 commits
to release/10.3
since this release
Enhancements
- Add
since
versions to the deprecated features. (30072) - Blocks: Add "theme" category and better present Template Parts in the inserter. (30020)
- Block Editor:
- Block Library:
- Add Log In/Out block. (29766)
- Add Query Title block and Archive Title variation. (29428)
- Add Term Description block. (29613)
- Cover: Allow drag and drop media replacement. (29813)
- File: Make the editor markup match the frontend. (30148)
- Post Content Block:
- Post Title: update markup so that editor and front match. (29824)
- Site Title: add link color option. (29924)
- Social Links: Improve selected state of empty block. (29756)
- Standardize the groups in the block toolbar. (30012, 29247, 29863)
- Verse block: Add support for the padding to the verse block. (29820)
- Components: Allow multiple words in the autocomplete phrase matcher. (29939)
- Gutenberg Plugin: Improved cache bust without
filemtime
for assets. (29775) - Icons: Hint the lowercase icon by 0.15px to correct the font weight appearance. (29754)
- Media: Use image default size from settings. (29966)
New APIs
- Compose: Add new
useCopyToClipboard
hook. (29643) - Deprecated: Add
since
option todeprecated
function. (30017)
Bug Fixes
- Block Editor:
- Ensure that uncategorized block types are properly handled. (30125)
- Fix mover width/size regressions. (29889)
- Fix navigation mode focus. (30126)
- Fix regression with multi select style. (30128)
- Fix the issue with block style preview when example missing. (29894)
- Fix sibling block inserter displaying at end of block list. (29920)
- Revert showing empty paragraphs on fronted. (29809)
- Show the active block variation's icon in Select mode. (30143)
- Blocks: Adding onRemove event to verse block. (30104)
- Block Library:
- Cover: Improve disabled media buttons check for placeholder. (29858)
- Embed:
- Gallery: Fix gallery item clicking. (29860)
- Image:
- Post Comment: fix count block attribute. (30056)
- Query Loop: fix block margin. (30078)
- Site Title: fix different markup in the editor and on the frontend. (29021)
- Social Link: More accessible labels. (29659)
- Video: Fix kind attribute missing subtitle value in video text track. (30040)
- Components:
- Compose: Call
useMergeRefs
when dependency changes after ref change. (29892) - Copy:
- Gutenberg Plugin: Update "requires at least" value to 5.6. (29646)
- E2E Tests: Stabilize randomly failing tests in trunk. (29836)
- Navigation Component: Align item text to the left/right. (30083)
- Post Editor:
- RichText: Fix inline display warning. (30193)
- Themes: Restore the default editor font for the non FSE themes. (30080)
- Raw Handling: Fix pasting special spaces. (28077)
- Storybook: Fix block editor shortcuts. (29750)
- Writing Flow:
Performance
- Block Editor:
- Block Library: Use early return in the Button block to optimize save.js. (29781)
Experiments
- Components:
- Customizer: Add widgets customize inspector. (29755)
- Full-Site Editing:
- Add a layout configuration to the Group block and
theme.json
and make alignments declarative. (29335) - Add client ID trees selectors in block navigation. (29902)
- Add preload_paths filter for widgets screen and full site editing. (28701)
- Add support for experimental layout in Post Content block. (29982)
- Add layout support to the Template Part block. (30077)
- Always use full screen mode. (29489)
- Automatically open the sidebar to the appropriate menu. (26964, 30098)
- Close navigation panel after template selection. (29956)
- Expose Template Part block variations to the Inserter. (30032)
- First step towards hybrid themes – fallback to PHP templates. (29026)
- Fix block toolbar from overlapping navigation panel. (29918)
- Fix edge case where the default layout could be undefined. (30024)
- Fix persistence of Preferences in site editor. (30019)
- Fix Template Part alignments behavior. (30099)
- Fix template saving issue after switching themes. (29842)
- Polish site button focus/hover styles in post and site editor. (29888)
- Prevent navigation panel focus when hidden. (29600)
- Remove alignments from the root level of the site editor. (30079)
- Remove header toolbar transition in reduced-motion mode. (29764)
- Template Part: Identify template parts in error messages. (28398)
- Update template details popover. (29439)
- Add a layout configuration to the Group block and
- Global Styles:
- Allow themes to use any styles in the
theme.json
whether or not the block supports it. (29941) - Better CSS reset style loader order. (30034)
- Block Supports: Allow skipping serialization of border. (30035)
- Optimistically continue with empty data when user data for global styles is not a JSON. (30088)
- Remove kebab-case camelCase transformations. (29986)
- Skip
null
when translating settings. (30171) - Translate custom templates in
theme.json
. (29828)
- Allow themes to use any styles in the
- Navigation Editor and Block:
- Add line-height to Navigation block. (30010)
- Add padding to Navigation Link placeholder. (29832)
- Allow vertical inserter in the Navigation block. (28833)
- Consistently provide fallback variations for the block. (30117)
- Enable list view. (29936)
- Fix flyout background color in Page List block. (29932)
- Fix link items in navigation screen. (30009)
- Fix minor styling issues with nav editor. (30129)
- Fix Navigation block styles in the navigation editor. (29748)
- Fix navigation editor link search suggestions. (29707)
- Fix navigation editor saving. (29749)
- Fix navigation screen font. (30085)
- Fix navigation screen inserter horizontal scrollbar. (29930)
- Fix navigation editor block toolbar not visible on small screens. (29967)
- Fix padding issues with nav screen. (30183)
- Fix paragraph margin specificity inside layout containers. (30038)
- Fix popover anchor in Navigation Link block. (30173)
- Improve default label of location select. (29908)
- Increase importance of submenus staying open. (30169)
- Keep submenus open on select in the editor. (29713)
- Match editor markup to rendered in Navigation Link block. (29935)
- Move theme location settings to navigation editor sidebar. (29458)
- Navigation Menu: Show submenus only on select in the editor. (29869)
- Polish navigation screen. (29926, 30168)
- Simplify focus style in Site Icon block. (29872)
- Show all menus in manage locations. (29906)
- Unset font weight and text decoration inheritance in Navigation block. (30011)
- Use the interface package for the navigation screen. (30013)
- Visual and design improvements for List View. (29769)
- Widgets Editor:
- Fix warning when widgets block editor is disabled. (30318)
- Iterate on widgets REST API endpoints. (29649)
- Load block editor assets in the navigation and widget editors. (30076)
- Unify menu item styles for Navigation Block and Page List blocks. (29975)
- Use a default sans serif font for the widget screen. (30084)
Documentation
- Block Editor: Fix
renderAppender
documentation. (29925) - Handbook:
- Fix broken image link in the documentation main README. (29857)
- Fix broken link to developer resources in README.md. (#29795). (29796)
- Fix link to native-mobile.md in pull request template. (29923)
- Fix rebase error. (29753)
- Remove superfluous sentence in create block tutorial. (30062)
- Update block design principles with a new section on how to group controls. (29816)
- Update broken link to Getting Started for the React Native based Mobile Gutenberg. (30162)
- Update the quick view image on the documentation homepage. (29808)
- Editor: Clarify the purpose of the
@wordpress/editor
package. (30136) - I18n: Replace dead link in README.md. (29699)
- Interface: Fix typos in interface package. (29740)
Code Quality
- API Fetch:
- Block Editor:
- Block Library:
- Blocks:
- Components: Fix React warning in Text Control. (29724)
- Date: Add types. (29789)
- DOM:
- Gutenberg Plugin:
- Packages: Add types directive to api-fetch and date packages. (30252)
- RichText: Remove dead and deprecated
setFocusedElement
. (29877)
Tools
- Babel Preset: Update Babel to v7.13.x. (30018)
- Create block: Require WordPress 5.7 by default and source it from the main plugin file. (29757)
- E2E Tests:
- Eslint Plugin: Add TypeScript as peer dependency and make it optional. (29942)
- GitHub Workflows:
- Packages: Enforce version bump for production packages after WP major. (29903)
- Unit Testing: Allow TypeScript modules for transpiled packages. (29873)