Releases: WordPress/gutenberg
Releases · WordPress/gutenberg
19.8.0 RC1
Changelog
Enhancements
Block Library
- Details block: Use summary content as default label. (67217)
- Make social icon navigation one arrow keypress. (64883)
- Page List : Add border and spacing support. (66385)
- Query Loop block: Remove 'add new post' prompt in the sidebar. (67189)
- Query block: Update Enhanced Pagination help text. (67173)
- Social Link: Add contentOnly editing support. (66622)
Components
- Autocomplete: Increase option height. (67214)
- CircularOptionPicker: Update Button sizes. (67285)
- ColorPalette: Disable
Clear
button if there's no color value. (67108) - ColorPicker: Update sizes of format select and copy button. (67093)
- ComboboxControl: Update reset button size. (67215)
DataViews
- Add density option to
table
layout. (67170) - DataForm: Enable fields to declare a different layout. (66531)
- DataViews list layout: Hide actions menu when there is only one action and is primary. (67015)
- DataViews table layout: Hide actions menu when there is only one action and is primary. (67020)
- Reduce the size of action button in Grid layout. (67032)
- DataViews: Allow register/unregister fields. (67175)
Global Styles
- Block Supports: Extend stabilization to common experimental block support flags. (67018)
- Borders: Stabilize border block supports within block processing. (66918)
- Site Editor > Styles: Open styles inspector when clicking preview canvas. (66996)
Media
- Block Editor: Add notice action to revert image to original after cropping. (67314)
- Block Editor: Add success notices for image editing. (67312)
REST API
- Feature: Set editor rendering mode by post type. (62304)
- Terms: Respect order specified by register_taxonomy(). (67154)
Zoom Out
- Leave help text regardless of zoom state. (67132)
- Preserve footer template bar in zoom out. (67135)
- Add section styles switch button in block toolbar in zoom out mode. (67140)
Post Editor
- Move default template types and template part areas to REST API. (66459)
- Move
usePostFields
towordpress/editor
package. (67024)
Site Editor
- Blocks: Adds check for parent before showing convert to pattern button. (66158)
- Try dark toolbar for the write mode. (66116)
Design Tools
- Heading: Hide border controls by default. (67105)
- Font family preview in the font family picker. (67118)
Bug Fixes
Block Library
- Fix block mover clickable area. (67261)
- Fix dropping media from inserter into Cover block. (67056)
- Fix: Preserve Display Preview State in File Block. (67263)
- Paragraph: Update condition for rendering Drop Cap for a selected block. (67111)
- RSS block: Check for description field before rendering excerpt. (66985)
- Resolve search block button text overlapping issue. (66868)
- Social Links: Fix font family and weight inconsistency in editor. (67204)
Components
- Composite: Restore
Hover
andTypeahead
functionality. (67212) - Menu.ItemHelpText: Better line breaking. (67011)
- SlotFill: Fix a bug with storing stale fillProps. (67000)
- Storybook: Fix DataViews layout. (66999)
FormFileUpload
: Prevent HEIC and HEIF files from always being uploaded on Safari. (67139)
Block Editor
- Add all color palettes to select from editor panel. (65148)
- Correctly mark Block Comment SlotFills private. (67271)
- Fix media placeholder to only activate for media objects. (66986)
- Rich text: Preserve comments. (62128)
- Fix TS types for the editor package. (67196)
- PostTitle: Exit early when post type doesn't support titles. (67086)
Global Styles
- Avoid zooming out when browsing styles if the preview mode is active. (67190)
- Remove styles from blocks' previews. (67144)
- Style panel: Use correct revisions count. (67180)
- Theme JSON: Include block style variations in path only output of get_block_nodes. (66948)
- Fix: Logic for Highlight/text-color format availability. (65530)
- Fix complex variation selectors when using selectors API. (67061)
Site Editor
- Prevent Pre-Publish Panel from Displaying Incorrect Information After Navigating away. (67010)
- Site Editor Sidebar: Fixed focus/hover style for navigation item buttons. (67251)
- Site Hub: Fix height in mobile layout. (67110)
- Site Editor: Styles: Fix inspector opening. (67004)
- Improve accessibility and consistency of the 'Last modified' Revisions button. (66606)
- Remove styles from examples. (67098)
- Editor: Correctly select post title support in 'DocumentOutline'. (67109)
DataViews
- Fix action visibility logic. (67197)
- Fix primary field misalignment in grid layout. (66995)
- Fix spacing when combining combined fields. (67226)
Zoom Out
- Zoom In/Out to correct canvas location. (66917)
- Zoom in/out to correct location. (67126)
- Zoom Out: Disable zooming out when Distraction Free mode is activated. (67028)
Layout
- Allow flex justification controls to be disabled at the block level. (67059)
- Show vertical alignment toolbar with allowSwitching enabled. (67022)
Patterns
- Fix: JavaScript error when pattern category is unregistered. (67063)
- Block Locking: Remove edit locking for Synced Patterns. (67021)
Accessibility
Components
- ColorPicker: Add accessible label for copy button. (67094)
- Modal: Increase size of the Close button. (66792)
- DataViews: Fix focus loss when removing all filters or resetting. (67003)
Block Library
- Improve accessibility of the video track editor. (66832)
- Navigation: Fix 'ariaLabel' block support. (66943)
Post Editor
- Improve the featured image UI when it cannot retrieve the image file and data. ([66936](https://github.com/WordPress/gutenberg/pull...
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: