19.7.0 RC1
Pre-release
Pre-release
github-actions
released this
13 Nov 16:05
·
6 commits
to release/19.7
since this release
Changelog
Enhancements
Block Library
- Added toggle control to set any image as feature image if no feature image is set for post. (65896)
- Improve cover z-index solution. (66249)
- Post Content: Add border and spacing support. (66366)
- Query Loop: Use templateSlug and postType for more context. (65820)
- Update text case of "Starter Content". (66954)
- [Details Block]: Adds anchor support in details block. (66734)
Components
- Guide: Use small size button for page controls. (66607)
- MenuItem: Add 40px size prop on Button. (66596)
- Notice: Add appropriate size props to Buttons. (66593)
- PaletteEdit: Add appropriate size props to Buttons. (66590)
- Popover: Add small size prop to close button. (66587)
Global Styles
- Global styles revisions: Move focus and active state to list item. (66780)
- Site editor: Integrate global styles controls and style book preview into the styles panel. (65619)
DataViews
- DataViews Fields API: Default getValueFromId supports nested objects. (66890)
Block Editor
- Inserter: Add 'Starter Content' category to the inserter. (66819)
- Add "show template" to preview dropdown. (66514)
- Relocate “View” external link to end of editor header controls. (66785)
Zoom Out
- Enable zoom out mode for non-iframe editor. (66789)
Theme JSON
- Theme JSON Resolver: Remove theme json merge in resolve_theme_file_uris. (66662)
Edit Mode
- Image block: Add support for "more" dropdown for additional tools in Write mode. (66605)
Style Book
- Add a landing section to stylebook tabs. (66545)
Media
- Media Library: Expose filters dropdown for individual images, such as with the Image block. (65965)
- Media Utils: Add experimental
sideloadMedia
. (66378)
Bug Fixes
- ComplementaryArea: Fix button position. (66677)
- Fix Paragraph appender layout shift (building on 66061). (66779)
- Fix: Set the
fit-content
width for images that are not.svg
. (66643) - Preference modal: Avoid fetching all reusable blocks when the site editor loads. (66621)
- Revert "Set image width to
fit-content
to solve aspect ratio problems in Firefox. (#66217)". (66804) - Safari: Fix site editor template error. (66647)
- Safari: Prevent focus capturing caused by flex display. (66402)
- Select Mode: Hide tool selector in the post editor and force design mode. (66784)
- Shadow panel: Make the delete modal text translatable. (66712)
- WP Scripts: Make watch mode more resilient for developer errors. (66752)
- getDefaultTemplateId: Ensure entity configuration is loaded. (66650)
- Comments controller: fix issue where comments are allowed when closed (#66976)
Block Library
- Cover: Fix media library image selection. (66782)
- Cover: Show DropZone only when dragging withing the block. (66912)
- Media & Text: Set
.wp-block-media-text__media a
display to block. (66915) - Prevent duplicate post format taxonomy queries. (66627)
- Query Loop: Check for postTypeFromContext before using it. (66655)
- Query Loop: Remove postTypeFromContext. (66681)
Block Editor
- Appender: Fix initial position. (66711)
- Appender: Fix outside canvas styles. (66630)
- Block Inspector: Restore bottom margin for RadioControl. (66688)
- Iframed editor: Fix relative wp-content URLs. (66751)
- Block toolbar: Restrict visible child calculation to known blocks. (66702)
Global Styles
- Section Styles: Fix insecure properties removal for inner block types and elements. (66896)
- Style book: Reduce margin selector specificity so that it doesn't override global block styles. (66895)
- Theme JSON: Replace top-level background style objects on merge. (66656)
Components
- FormTokenField: Fix token styles. (66640)
- Storybook: Fix DataViews action modals. (66727)
- ToggleGroupControl: Fix active background for
zero
value. (66855)
Post Editor
- Disable device preview button in pattern/template part/navitation editor. (65970)
- PostTaxonomiesFlatTermSelector: Abstract wrapper component. (66625)
- VisualEditor: Always output has-global-padding classname when in post only mode. (66626)
DataViews
- Fix TypeError when duplicating uncategorized theme patterns. (66889)
- Tweak primary field in patterns grid layout. (66733)
Meta Boxes
- Fix: Show Meta Boxes at the bottom of the screen regardless of the current rendering mode. (66508)
- Hide metaboxes in Zoom Out. (66886)
Site Editor
- DataViews: Fix 'aria-label' for pattern preview element. (66601)
- Site Hub: Fixed navigation redirect on mobile devices for classic themes. (66867)
- Site Editor: Fix template for page-on-front option. (66739)
Media
- Add
x-wav
mime type for wav files in Firefox. (66850) - Ensure HEIC files selectable from “Upload” button. (66292)
Patterns
- Fix uncategorized pattern browsing when pattern has no categories. (66945)
Interactivity API
- Fix property modification from inherited context two or more levels above. (66872)
Block API
- Process Block Type: Copy deprecation to a new object instead of mutating when stabilizing supports. (66849)
Design Tools
- Block Gap: Fix block spacing control for axial gap supported blocks. (66783)
Document Settings
- Editor: Restore the 'PluginPostStatusInfo' slot position. (66665)
Templates API
- Fix flash when clicking template name in the editor when a plugin registered template matches a default WP theme template. (66359)
Block bindings
- Fix unset array key warning in block-bindings.php. (66337)
Accessibility
- Fix : Snackbar Notice Inconsistency. (66405)
- Image: Add
aria-haspopup
prop write modemore
tools menu items. (66815) - Site Icon Focus fix. (66952)
- Popover: Fix missing label of the headerTitle Close button. (66813)
- Fix inconsistent sidebars close buttons sizes. (66756)
- Remove unnecessary tooltip from Video block Text tracks button. (66716)
- Speak 'Block moved up/down' after using keyboard actions to move up/down. (64966)
- Block Patterns List: Fix visual title and tooltip inconsistencies. (64815)
Performance
- Inline Commenting: Avoid querying comments on editor load. (66670)
- Patterns: Receive intermediate responses while unbound request is resolving. (66713)
- Perf metrics: Update select and other metrics to use non-empty paragraphs. (66762)
- Site Editor: Preload settings requests. (66488)
- Site Editor: Speed up load by preloading home and front-page templates. (66579)
- Site editor: Preload post if needed. (66631)
Global Styles
- Preload user global styles based on user caps. (66541)
Experiments
DataViews
- Add
isVisible
option to fields within DataForm. (65826) - DataViews: Implement
isItemClickable
andonClickItem
props. (66365) - Quick Edit - Slug Field: Improve slug preview. (66559)
- QuickEdit: Add password field data to the pages quick edit. (66567)
Documentation
- Add 6.6.2 to Version in WordPress. (66870)
- Add missing properties for DataViews/DataForm components. (66749)
- Add section about the Fields API. (66761)
- Block Bindings: Documentation API reference. (66251)
- Docs: Include a note about supported licenses in WordPress packages. (66562)
- Document
filterSortAndPaginate
&isItemValid
utilities. (66738) - Feat: Storybook: Improve component organisation - Navigation Category - Issue #66275. (66658)
- Feat: Storybook: Improve component organisation - Overlays Category - Issue #66275. (66657)
- Feat: Storybook: Improve component organisation - Selection & Input Category - Issue #66275. (66660)
- Feat: Storybook: Improve component organisation - Typography - Issue #66275. (66633)
- Improve readability of DataViews documentation. (66766)
- Move documentation for filter operators to proper place. (66743)
- Reorganize to bootstrap DataForm API section. (66729)
- Storybook: Improve component organisation - Actions. (66680)
- Storybook: Log
warning()
when in dev mode. (66568) - Update Commands documentation with the existing contexts. (66860)
Code Quality
- BlockPatternsList: Use the Async component. (66744)
- Core Commands: Fix add new post URL assignment. (66830)
- Inline Commenting: Optimize store selector and misc changes. (66592)
- Remove unnecessary boolean assignments. (66857)
- TypeScript: Fix and improve types for private-apis. (66667)
Post Fields
- Post fields: Clean up. (66941)
- Post fields: Extract
title
fromedit-site
tofields
package. (66940) - Post fields: Move
comment_status
from edit-site to fields package. (66934) - Post fields: Move
date
fields fromedit-site
tofields
package. (66938) - Post fields: Move
status
fromedit-site
tofields
. (66937)
Block Editor
- Fix 'useSelect' dependencies for the 'RichText' component. (66964)
- Fix ESLint warning for 'useBlockTypesState' hook. (66757)
- Fix React Compiler error for 'BlockProps' util component. (66809)
- Optimize
getVisibleElementBounds
in scrollable cases. (66546) - Revert: Fix unable to remove empty blocks on merge (#65262) + alternative. (66564)
- URLInput: Fix incorrect classname for suggestions. (66714)
- Iframe: Always enable for block themes, in core too. (66800)
Site Editor
- Avoid using edited entity state in site editor loading hook. (66924)
- Avoid using edited post selectors in welcome guide. (66926)
- Edit Site: Refactor to remove usage of edited entity state. (66922)
- Edit Site: Remove leftover 'priority-queue' dependency. (66773)
- Remove useEditedEntityRecord hook. (66955)
Components
- Fix React Compiler error for 'useScrollRectIntoView'. (66498)
- Panel: Add 40px size prop to Button. (66589)
- Radio: Deprecate 36px default size. (66572)
- Snackbar: Use
link
variant for action Button. (66560)
Data Layer
- Convert the emitter module in data package to TS. (66669)
- Data: Rename useSelect internals to fix React Compiler violations. (66807)
- Data: Upgrade Redux to v5.0.1. (66966)
Post Editor
- ESLint: Fix React Compiler violations in various commands. (66787)
- Fix TS types for editor package. (66754)
Zoom Out
- Zoom-out: Move default background to the iframe component. (66284)
Design Tools
- Typography: Stabilize typography block supports within block processing. (63401)
Tools
Testing
- Media: Check for
wav
mime type using isset. (66947)
Build Tooling
- Enforce the same order of fields in
package.json
files. (66239) - Introduce React Scanner for component usage stats. (65463)
Various
- Style engine: Wrap array_merge in conditionals to prevent unnecessary merging. (66661)
Block Library
- Update placeholder text for blocks that support drag and drop. (66842)
- update: Add Media to Add media in cover block. (66835)
First-time contributors
The following PRs were merged by first-time contributors:
- @benharri: Fix unset array key warning in block-bindings.php. (66337)
- @benniledl: Add 6.6.2 to Version in WordPress. (66870)
- @Infinite-Null: Media & Text: Set
.wp-block-media-text__media a
display to block. (66915) - @karthick-murugan: Site Icon Focus fix. (66952)
- @rinkalpagdar: Post Content: Add border and spacing support. (66366)
- @yogeshbhutkar: Site Hub: Fixed navigation redirect on mobile devices for classic themes. (66867)
Contributors
The following contributors merged PRs in this release:
@aaronrobertshaw @adamsilverstein @afercia @Aljullu @amitraj2203 @andrewserong @benharri @benniledl @carolinan @cbravobernal @DAreRodz @dcalhoun @ellatrix @fabiankaegy @gigitux @gziolo @hbhalodia @Infinite-Null @jasmussen @jorgefilipecosta @jsnajdr @juanfra @karthick-murugan @kevin940726 @louwie17 @Mamaduka @manzoorwanijk @matiasbenedetto @mikachan @mirka @n2erjo00 @ntsekouras @oandregal @ramonjd @renatho @rinkalpagdar @Soean @stokesman @swissspidy @t-hamano @tellthemachines @tyxla @up1512001 @Vrishabhsk @yogeshbhutkar @youknowriad