19.6.0
Changelog
Enhancements
Components
- Add elevation tokens to storybook. (66122)
- Add foundations:Elevation to storybook. (66124)
- Add radius foundation and tokens to storybook. (66219)
- Combobox, FormTokenField: Show message when no matches found. (66142)
- Storybook: Organizes components under 'Utilities'. (66210)
- Tabs: Expose active tab item props, use ariakit prop types. (66223)
- Tabs: Remove custom logic. (66097)
DropdownMenuV2
: Rename toMenu
. (66289)
Block Library
- Add Transformation from Separator to Spacer. (66230)
- Add lightbox option in gallery block link control. (64014)
- Archives: Add border block support. (63400)
- Border support added to comments. (66354)
- Cover Block: Add Image Resolution options. (62926)
- HTML Block: Force HTML preview in view mode. (66440)
Zoom Out
- Add keyboard shortcut in editor. (66400)
- Iterate zoom out shuffle into a more visual control. (66194)
- Use the zoom-level value to scale the iframe. (66280)
Site Editor
- Remove synchronization of canvas mode into store. (66213)
- Style Book: Clean up layout. (66255)
- Update site icon and title position. (66171)
- Editor Interface: Remove small header from global styles/plugin sidebar. (64474)
- Remove purple coloring from DocumentBar and PostCard. (66451)
- Core Data: Add the 'getEntitiesConfig' resolver. (65871)
- BlockGroupToolbar: Better i18n context for toolbar labels. (66211)
- Set
ResizableEditor
height based on border-box. (66342) - Add align-item related icons. (66242)
- Stabilize isPreviewMode flag. (66149)
Data Views
- Fix alignment of action items in list layout. (66273)
- Templates: Hide media field in list view. (66573)
Global Styles
Real-time Collaboration
- Inline Commenting: Disable comments on published posts for now. (66583)
REST API
- Backport from WordPress core: Improvements for the post format query loop filter. (66037)
Build Tooling
- Create Block: Adds
--target-dir
flag to allow the tool to target where to scaffold. (53781) - Scripts: Add build-blocks-manifest command. (65866)
- Scripts: Add BlueOak-1.0.0 license to GPL2 compatible. (66139)
- WP Scripts: Add a
--root-folder
argument to theplugin-zip
command. (61375)
Bug Fixes
Zoom Out
- Disable zoom out toggle button when Style Book is open. (66228)
- Don't switch editor mode when changing entities. (66452)
- Fix scaling animation for device previews. (66132)
- Fix zoom out not persisting while switching between editor and code editor. (65932)
- Fix zoom out shortcut on Windows. (66506)
- Fix: Activate zoom out on large viewport. (66308)
- Hide slots and grouping buttons. (66243)
- Remove zoom-out toolbar. (66039)
- Resets the Zoom on viewed/edited entity change. (66232)
- Revise zoom layout shift fix. (66390)
- Zoom Out: Rely on zoom-level instead of zoom-out mode. (66141)
- Zoom Out: Fix bouncy drop zones. (66399)
Block Editor
-
Block inserter: Prevent editor from crashing if
blockType.parent
is a string. (66234) -
Block toolbar: Account for scrollable blocks that affect the position of the block toolbar. (66188)
-
Fix extra scrollbar appearing when searching in the inserter. (66229)
-
Fix: Show paragraph block variations in rich text inserter. (66318)
-
Group: Fix padding select. (65857)
-
Link Shortcut: Only trigger the link shortcut if there's a text selection. (66056)
-
Remove relative position from sidebar tabpanel. (66267)
-
Rich text: Remove empty file. (66553)
-
Block editor: Self nesting and circular nesting block fix. (66121)
-
Post Editor: Set the default value of the editorTool to edit. (66636)
Components
- ColorPalette: Prevent overflow of custom color button background. (66152)
- Fix: Text overflow in Patterns filter. (66504)
- RadioGroup: Fix arrow key navigation in RTL. (66202)
- Tabs and TabPanel: Fix arrow key navigation in RTL. (66201)
- Tabs and ToggleGroupControl: Round indicator size. (66426)
- Tabs: Fix animation timings. (66198)
- Tabs: Override tablist's tabindex only when necessary. (66209)
- Tabs: Restore vertical alignment for tabs content. (66215)
- Tabs: Update indicator more reactively. (66207)
- SpacingSizesControl: Use generic label for linked button. (66304)
i18n
Post Editor
- Always force iframe in pattern editor. (65887)
- Editor: Multi-entity saving: Show correct count of entities to be saved. (66482)
- Fix : "Set featured image" button border flashes on focus. (66092)
- Fix Parent Check Condition in
buildTermsTree
. (66006) - Fix: Improve the DocumentBar post type label for the Homepage and Posts Page cases. (66355)
- PostTaxonomiesFlatTermSelector: Restore space between tag list and most used tags. (66566)
- Typo metabox pane is a meta box panel. (66502)
Block Library
- Block registration: Normalize blockType.parent to
array
. (66250) - Button Block: Apply Stretch Styles Correctly. (64770)
- Buttons: Fix the initial white space in nofollow rel. (66303)
- Fix - Image block: Aspect ratio not responding when dimensions are not set. (66217)
- Navigation block: Fix block appender size. (66153)
- Fix the navigation issue inside cover blocks. (66093)
Site Editor
- Edit Site: Fix canvasMode var. (66316)
- Fix button hover style in sidebar navigation screen. (66505)
- Remove toggle verb from post list data views 'Toggle details panel'. (66334)
- Revert 66431 (Site editor: Remove "default" admin CSS). (66540)
- Restore block-library editor.css outside canvas. (66556)
- Fix extraneous scrollbar in device previews. (66494)
- Global styles: Move preload paths filter to 6.7 (previously 6.8). (66543)
- Fix comment output in styles. (66439)
- Site editor: Fix save shortcut. (66423)
- Preload: Fix multiple regressions around global styles. (66468)
Build tooling
- Create block: Ensure $slug is replaced with passed slug. (66528)
Accessibility
Post Editor
Block Editor
- ImageSizeControls: Replace ButtonGroup with ToggleGroupControl. (65386)
- Improve the link preview accessibility and labels. (60908)
Block Library
- Search: Replace ButtonGroup usage with ToggleGroupControl. (65340)
- Remove clip & -webkit-clip-path for downloadable-block-list-item style.scss. (66147)
Global Styles
- Global styles menu: Avoid visible labels and accessible names mismatch. (65124)
Site Editor
- Fix Global styles panel header buttons text overlap for 'Show button text labels'. (63243)
- Update the speak messages when switching editor modes. (66278)
Performance
Site Editor
- Remove "default" admin CSS. (66431)
- Remove content styles outside canvas. (66432)
- Block Style Variations: Reuse block metadata in WP_Theme_JSON::Get_valid_block_style_variations() for better performance. (66539)
- Block Bindings: Use
getEntityConfig
instead ofgetPostTypes
to get available slugs. (66101)
Build Tooling
- Fix/compare performance with correct branch. (66196)
Experiments
Data Views
- Quick Edit: Fix JS error when bulk editing pages. (66358)
- QuickEdit: Add Featured Image Control. (64496)
- QuickEdit: Add Parent field. (66527)
Documentation
- BaseControl: Auto-generate readme. (66500)
- Components: Prevent generated readmes duplicating h1 elements when published. (66180)
- Correct documentation on display type in flow layouts. (66224)
- Docs: Interactivity API - Add documentation for
getServerState()
andgetServerContext()
. (66104) - Fix undo/redo Button size in Storybook playground. (66538)
- Fix: JSON Schema Docgen doesn't work on Windows OS. (66414)
- ItemGroup: Improve stories to default to bordered and separated. (66191)
- README: Add Storybook badge. (66529)
- Remove meetings that no longer occur from Contributor Guide. (66421)
- Site editor routes: Add documentation for areas and prevent
edit
area from rendering when canvas isedit
. (66309) - Update documentation about build process changes. (66428)
- Docs: Example for getSelectedBlock. (66108)
Code Quality
Block Editor
- ESLint: Remove explicit
react-hooks/exhaustive-deps
disabling. (66461) - ESLint: Remove various React Compiler mutation violations. (66327)
- Fix 'useInstanceId' hook reference. (66406)
- Fix React Compiler error for Duotone. (66492)
- Fix React Complier error for 'useEventListeners'. (66495)
- Import only the actually used PostCSS exports. (66379)
- No need to unlock public actions. (66260)
- Remove patterns UI stylesheet from iframe. (66306)
- Remove unnecessary Tooltip component from radius control linked button. (66274)
- Rich Text: Fix React Complier error for 'useEventListeners'. (66460)
- Storybook: Add BlockPatternsList story. (66227)
- Block editor: Remove reusable blocks stylesheet from iframe. (66285)
Components
- BorderBoxControl: Deprecate 36px default size. (65752)
- BorderControl: Deprecate 36px default size. (65755)
- DrodownMenuV2: Rename folder to
menu
. (66473) - ESLint: Stop disabling
react-hooks/exhaustive-deps
rule. (66324) - Fix React Compiler error for 'useAutocomplete'. (66496)
- PaletteEdit: Use
ItemGroup
andItem
, and avoid custom styles. (66164) - TabPanel: Add 40px size prop to tab Button. (66557)
- Tabs: Align to standard compound components structure. (66225)
- Tabs: Simplify styled components code. (66208)
Compose
- Compose: Fix React Complier error for 'useCopyToClipboard'. (66444)
- Composer: Fix React Compiler errors for 'useDropZone'. (66469)
Dataviews
- Fields: Fix React Compiler mutation errors. (66464)
- Fields: Update a few function definitions. (66315)
Interface
- Interface: Remove duplicate 'withComplementaryAreaContext' file. (66348)
- Interface: Remove unused private API support. (66565)
- Interface: Use plugin context hook instead of HoC. (66362)
Zoom Out
- Bundle behavior in block-editor and add story. (66240)
- Editor: Handle zoom out state via the 'switchEditorMode' action. (66262)
- Fix/html scale code quality. (66181)
- Make useZoomOut hook private. (66374)
- Remove double click to exit hook from the block-editor package. (66335)
- Remove viewport check from useZoomOut hook. (66341)
Post Editor
- Editor: No need to reset mode when changing device preview types. (66261)
- Editor: Use plugin context hook in 'PluginMoreMenuItem'. (66351)
- Editor: Use plugin context hook in 'PluginPreviewMenuItem'. (66350)
- Fix typo after #63669. (66396)
- Remove leftover JS code from 66451. (66472)
Block Library
- Cleanup unnecessary notice removal. (66409)
- ESLint: Fix a couple of React Compiler reassignment errors. (66331)
- Footnotes: Remove extra callback when parsing content. (66370)
- Gallery: Fix React Compiler reassignment error. (66408)
- Table Block: Remove hasArrowIndicator prop. (66204)
Style Book
Global Styles
- Clean up: Adjust reusable-blocks dependencies. (66302)
- Fix React Compiler variable mutation error. (66410)
- Theme JSON: Get_block_nodes - relocate $selectors assignment. (66265)
Interactivity API
- Interactivity API: Add comments to the
deepMerge()
function. (66220) - Interactivity API: Add tests for handling arrays in
deepMerge()
. (66218) - Interactivity API: Delay block hydration to allow interactive block stores to initialize. ([66772])(#66772)
Site Editor
- Prepare route registration by refactoring the site editor router. (66030)
- Navigation: Improve trigger for fallback navigation. (66478)
Build Tooling
- Scripts: Refactor to extract license logic. (66179)
- Plugins: Deprecate 'withPluginContext' HOC. (66363)
Tools
Testing
- Fix [Flaky Test] Entering zoomed out mode zooms the canvas. (66212)
- Fix end-to-end test for padding appender. (66080)
- Upgrade Playwright to v1.48. (66296)
Build Tooling
- Add new private
vips
package. (64845) - Revert "Use npm workspaces for packages". (66270)
- Add theme type to the bug report issue template. (63851)
- Pull request automation: Use full npm install. (66314)
- Use npm workspaces for packages (second attempt). (66272)
First-time contributors
The following PRs were merged by first-time contributors:
- @AhmarZaidi: Remove toggle verb from post list data views 'Toggle details panel'. (66334)
- @mediaformat: Remove clip & -webkit-clip-path for downloadable-block-list-item style.scss. (66147)
- @nicolasgalvez: WP Scripts: Add a
--root-folder
argument to theplugin-zip
command. (61375) - @poojabhimani12: Add Inline comment experimental flag. (60622)
- @rinkalpagdar: Border support added to comments. (66354)
- @rudrakshi-gupta: Add Transformation from Separator to Spacer. (66230)
- @SH4LIN: GH-66090: Self nesting and circular nesting block fix. (66121)
Contributors
The following contributors merged PRs in this release:
@aaronrobertshaw @afercia @AhmarZaidi @akasunil @andrewserong @arthur791004 @carolinan @cbravobernal @ciampo @dhruvang21 @ellatrix @getdave @gigitux @hbhalodia @jameskoster @jeryj @jsnajdr @juanfra @madhusudhand @MaggieCabrera @Mamaduka @mattrwalker @mcsf @mediaformat @michalczaplinski @mirka @mreishus @ndiego @nicolasgalvez @ntsekouras @oandregal @PARTHVATALIYA @peterwilsoncc @poojabhimani12 @prajapatisagar @ramonjd @renatho @rinkalpagdar @rudrakshi-gupta @ryanwelcher @SantosGuillamot @SH4LIN @sirreal @stokesman @swissspidy @t-hamano @talldan @tellthemachines @torounit @troychaplin @tyxla @vipul0425 @Vrishabhsk @vykes-mac @westonruter @youknowriad @zaguiini