10.4.0
github-actions
released this
14 Apr 10:24
·
8 commits
to release/10.4
since this release
Enhancements
- Ensure Frontend/Editor block styles parity:
- Block Library:
- Latest Comments: Remove list padding and margin. (29402)
- Post Date: Add option to make it a link. (30499)
- Post Excerpt: Fix toolbar for post excerpt warning. (30280)
- Post Title: Fix "'length' of undefined" error. (30208)
- Preformatted: Add color controls. (28396)
- Query: Use a WordPress loop for the query block. (30405)
- Search: Add border radius support. (30227)
- Site Logo: Style polishing. (30526)
- Template Part: Add padding support to template parts. (29779)
- Update placeholder text across blocks. (30404)
- RichText:
- General Interaface:
- Icons:
- Inserter: Clarify that when the Inserter is open clicking the + button in the top bar will close it again. (29759)
- Writing Flow: Use a shorter writing prompt. (29611)
- List View: Improve the spacing, colors and icons (30455) (30303)
- Block Themes: Clarify the empty block templates message. (30145)
- Site Editor:
Bug Fixes
- Inserter: Show only the patterns that use allowed blocks. (30300)
- Block Library:
- Buttons: Prevent overlapping button blocks in the frontend. (30253)
- Columns: Prevent having a width > 100%. (30229)
- Cover: Add 'object-position' to allowed inline style attributes list. (30243)
- Gallery: Avoid adding all media items in galleries using external URLs. (30122)
- Image: Do not preserve custom sizes when replacing images. (29919)
- Query:
- RichText: Fix arrow navigation around emoji. (30206)
- Search block: Fix alignment issues. (30444)
- Site Logo: Delete sitelogo option when custom logo does not exist or was removed. (30427)
- Block List: Fix mover position in the docked toolbar. (30242)
- Code Editor: Revert save editors value on change (#27717). (30524)
- Post Editor:
- Gutenberg Plugin: Ensure that plugin does not error with older versions of WordPress. (30230)
- Inner blocks: Memoize allowedBlocks to prevent needlessly updating settings. (30311)
- Server side renderer: Fix errors in template part editor context. (29246)
- Writing Flow:
- Site Editor:
- Components: Stop matching autocompleter upon mismatch. (30649)
APIs:
- Add padding server-side block support. (30332)
- Remove small APIs deprecated in WordPress 5.2. (30283)
- Block Patterns: Remove
scope
from Query patterns and introduceblockTypes
. (30471)
Experiments
- Customizer
- Navigation Editor and Block
- Apply mover tweaks to navigation and widgets. (30284)
- Add src/navigation-link/index to side effect whitelist. (30200)
- Add post format variation to navigation link block. (30403)
- Avoid creating a new array/object on every render. (30374)
- De-emphasize "Link" block. (30172)
- Fix arrow inheritance, polish. (30287)
- Fix hardcoded color in navigation submenu icon. (30385)
- Fix Navigation Link block constantly updating its inner block list settings. (30274)
- Fix navigation link block dragging error. (30219)
- Fix snackbar list component blocking clicks to UI it overlaps. (30381)
- Flip orientation of submenus that are towards the right of the viewport. (30342)
- Indicate when a menu is deleted and show the menu switcher afterwards. (29201)
- Make the navigation placeholder clearer. (30281)
- Polish navigation menu submenus. (30335)
- Replace arrow with chevron. (30180)
- Save theme location on button click. (30340)
- Use same default implementation of __experimentalFetchLinkSuggestions in post, site, navigation, widget editor. (29993)
- Widgets Editor
Documentation
- Handbook:
- Add description for
templateParts
in theme json. (30118) - Add instructions for finding attributes for use in templates. (30258)
- Added a practical example of adding a component to the sidebar. (30379)
- Clarify what is meant by "block wrapper". (30315)
- Fix broken links to typescript documentation. (30188)
- Fix code snippet for disabling the block directory. (30365)
- Fix formatting. (30309)
- Fix typos in block-controls-toolbar-and-sidebar.md. (30513)
- Rename, changed URL Link. (30483)
- Rich Text: Add section for disabling specific format types. (29383)
- Updated documentation to reflect the output created currently by npx @wordpress/create-block gutenpride. (30353)
- Update feature deprecation guide. (30220)
- Add description for
- Packages:
- docgen:
- Components: Add types to Draggable. (29792)
- Add types to clean-node-list. (30412)
- Add types progressively to dom modules. (30103)
- Add types to phrasing-content. (30102)
- Export all types from api-fetch. (30539)
- Fix arrow functions and TS index module support. (30028)
- deprecated: Export DeprecatedOptions to align with DefinitelyTyped. (30677)
- api-fetch: Align exported type names with DefinitelyTyped types. (30570)
Code Quality
- Block Editor: Use proper insertion point for drop. (29933)
- Block Library: Fix Post Excerpt warnings for RichText in inline containers. (30498)
- Components: Simplify ScrollLock, adding types. (29634)
- Gutenberg Plugin:
- PHP Coding Standards fixes. (30346)