Releases: WordPress/gutenberg
Releases · WordPress/gutenberg
19.7.0
Changelog
Enhancements
- Add "show template" to preview dropdown. (66514)
- Iframe: Always enable for block themes, in core too. (66800)
- Media Utils: Add experimental
sideloadMedia
. (66378) - 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) - Relocate “View” external link to end of editor header controls. (66785)
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)
Zoom Out
- Enable zoom out mode for non-iframe editor. (66789)
Themes
- 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)
Bug Fixes
- Block toolbar: Restrict visible child calculation to known blocks. (66702)
- 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)
- Site Editor: Fix template for page-on-front option. (66739)
- 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)
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)
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
...
19.6.4
19.6.3
19.7.0 RC2
- Comments controller: fix issue where comments are allowed when closed (#66976)
19.6.2
19.7.0 RC1
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
19.6.1
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 va...
19.6.0 RC3
Changelog
Bug Fixes
Block Editor
- Post Editor: Set the default value of the editorTool to edit. (66636)
Contributors
The following contributors merged PRs in this release: