10.5.0 RC1
Pre-release
Pre-release
github-actions
released this
21 Apr 18:27
·
22 commits
to release/10.5
since this release
Enhancements
- Block Library:
- Buttons:
- Columns: Add column count to the column block label. (30248)
- File: Add support for embedding PDFs. (30857)
- List: Add placeholder attribute. (30958)
- Post Comments Link: New block added. (29564)
- Site Logo:
- Site Title:
- Social Links:
- Template Part: Add active block variation information in Block Parent Selector. (30731)
- Term Description: Don't output if there's no description. (30564)
- Verse: Add support for custom colors. (27736)
- Video: Add uploading state. (30837)
- Block Patterns:
- Components: Add create-styles. (30509)
- Design Tools:
- General Interface:
- Animate the canvas transitions. (30802)
- Include block title into block switcher label. (30808)
- Inspector Controls: Rephrase, polish, and make consistent color labels. (30075)
- Move the template mode edit and new links to a dedicated template panel. (30900)
- Update design of the resize handles. (30339)
- Icons: Update icons for text overlay and crop. (30673)
- i18n: Add
resetLocaleData
method. (30419) - Publishing Flow: Show post events in the post schedule calendar. (29716)
- Template Editing Mode:
- Site Editor:
- Writing Flow: Scroll selected block only if it has no focus. (30924)
Bug Fixes
- API Fetch: Make preloaded OPTIONS requests use
parse
setting. (28862) - Block Library:
- Duplicate media types to avoid bad imports. (30973)
- Image Block: Disable media buttons in the uploading state. (30863)
- Query: Fix max-height to query pattern preview. (30757)
- Post Title: Fix warnings for RichText in inline containers. (30666)
- Site Title Add default block after pressing enter at the end of Site Title. (30996)
- Block Editor:
- Components:
- Add a StyleProvider to support CSS-in-JS components inside iframes. (31010)
- Fix "RadioControl: checked" style outside of Gutenberg. (30670)
- Fix Post Date component. (30790)
- Fix Post Publishing Popover moving when certain dates are clicked. (30298)
- Fix useForceUpdate Memory Leak: Only setState if the component is still mounted. (30667)
- General Interface: Fix is-link style to take colors from wp-admin theme. (30823)
- Inserter: Stop event propagation for the select element's onBlur to fix the behavior in iOS when selecting a pattern category. (30717)
- Site Editor:
- Template Editing Mode: Hide the template selector and template mode from non-viewable post types. (30861)
Experiments
- Block-based Widgets:
- API:
- Customizer Integration:
- Add media uploader capabilities to block-based widget customize screen. (30954)
- Add move to widget area dropdown in customizer. (30896)
- Add rich text formats. (30952)
- Fix editing performance in Widgets Customizer. (30654)
- Fix block-based widget customizer initializing too soon. (30864)
- Refactor the inspector in Widgets Customizer to use core's controls. (30431)
- Legacy Widget: Improve backwards compatibility. (30709)
- Widget editor:
- Navigation Editor and Block:
- Fix navigation placeholder height issue. (30824)
- Fix alignment issue on the nav screen manage locations buttons. (30441)
- Limit navigation nesting depth to 5. (30199)
- Nav-created drafts should not render on frontend. (29692)
- Page List: Add ability to convert to navigation links. (30390)
- Show justification controls for vertical variant. (30351)
- Use theme locations description instead of the slug for navigation screen location labels. (30797)
- Global Styles:
- Absorb editor settings transformation in WP_Theme_JSON. (30610)
- Clean cached data when switching themes. (30830)
- Extract sanitize method. (30809)
- Fix: CSS variable reference mechanism regression. (31015)
- Make the dependency of the star matcher explicit when translating
theme.json
. (30604) - Only remove the default font family in the editor from themes with theme.json file. (30895)
- Refactor how we iterate over the tree. (30801)
- Remove no longer needed translations handled in PHP for settings. (30605)
- theme.json: Add util to transform from a v0 schema to the latest. (30600)
Documentation
- docgen:
- Handbook:
- Add documentation for border block supports. (31039)
- Add documentation for border styles. (31040)
- Add fix to suggested prefixes of the branch. (30953)
- Change references from Block Style Variations to Block Styles. (30911)
- Fix Block Editor Accessibility link. (30569)
- Fix more example for register_block_type - apiVersion to api_version. (30819)
- Fix PHP example for register_block_type - apiVersion to api_version. (30818)
- Fixed a type and made the whole explanation more clear. (30487)
- Fixes broken GitHub links to commonly used labels. (30875)
- Improve semantics in the block-based theme guide. (30946)
- Include a note about
is_default
property forregister_block_style
. (30792) - Organize Block API Reference. (30980)
- Packages: Further clarify the npm publishing process. (30733)
- Update getting started with code. (30447)
- Libs:
- License: Interim dual license license of future contributions. (30383)
- Packages:
- Block Library - Social Links: Update param type. (30652)
- Components: Add documentation for the text prop on the Button component. (30796)
- Core Data: Fixes return type for getEntitiesByKind. (30639)
- Block Editor: Update import statement of ImageSizeControl component. (30704)
- Hooks: Add namespace param clarification. (30501)
Code Quality
- Block Editor:
- Block Library:
- Block Patterns: Clean up bundled pattern titles & categories. (30998)
- Components: Remove
create-styles
in favor of vanilla emotion. (31048) - dom:
- Add types to caret placement functions. (30750)
- Add types to document-has-selection. (30386)
- Add types to is-edge and dependencies. (30546)
- Add types to miscellaneous files. (30774)
- Add types to removeInvalidHTML and stripHTML. (30752)
- Only assert defined in development. (30807)
- Type the remaining files. (30841)
- Drop zone: Rewrite without provider. (30310)
- Gutenberg Plugin:
- Account for editor styles file removal on WP trunk. (30894)
- Format all markdown files using Prettier formatter. (30715)
- Format all JSON files using Prettier formatter. (30714)
- Updated
.editorconfig
files to work with automatic file formatting. (30794) - Update WP compatibility check in
gutenberg_pre_init()
. (29938)
- Improve get_merged_data() code. (30612)
- Remove unnecessary semicolons in PHP. (30780)
- Replace older-style PHP type conversion functions with typecasts. (30531)
Tools
- Testing:
- Block Library - Cover Block:
- Fix end-to-end test failure screenshots not capturing at the right time. (28449)
- Fixture regeneration: Infer tabs use from prettier configuration. (30813)
- Skip unstable template part end-to-end test. (30748)
- Trim block fixture HTML when generating other test fixture files. (30981)
- Wire PHP tests for block editor settings. (30984)
- wp-env:
- Better errors when Docker is not started. (30882)
- Bump tt1-blocks dependency to v0.4.5. (30045)
- Disable Xdebug for php < 7.2. (30651)
- Fix chown cannot access 'wp-config.php'. (30053)
- Fix issue with unquoted paths in docker-compose call. (30692)
- Remove platform-specific destroy commands. (30638)
- Set default environment type to local. (28808)
- Update changelog and CI. (30646)
- Build Tooling:
- Add comments to webpack entrypoint function. (30629)
- Create frontend entry points for block-library, outputting code loadable from the browser.. (30341)
- Perf Workflow: Trigger upon release publishing. (30628)
- Pull trunk before pushing. (30615)
- Remind about required cherry-picks after npm publishing. (30868)
- Update development tools to work with PostCSS (try 2). (30347)
- Use consistently latest keyword for npm publishing. (30866)
- Scripts: