19.8.0
github-actions
released this
04 Dec 12:19
·
1 commit
to release/19.8
since this release
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)
- Split view with meta boxes even with legacy canvas. (66706)
- Edit Site: Styles nav item does not open on mobile for themes without style variations. (67550)
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)
- Disable Zoom Out if no section root to allow for Theme opt in. (67232)
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)
Experiments
- Inline Commenting: Update placement of reply input and add author info header. (66580)
- Place "Write mode" functionality behind a Gutenberg experiment. (67008)
Documentation
- Add documentation about required Core changes when updating minimum WordPress version. (67167)
- BoxControl: Auto-generate readme. (67284)
- Components contributing guide: Fix relative links. (67323)
- DataViews: Reorganize documentation for actions. (67159)
- Docs: Correct
@return
type inblock_core_query_disable_enhanced_pagination()
. (67128) - Feat: Storybook: Improve component organisation - Layout Category - Issue #66275. (66659)
- Feat: Storybook: Improve component organisation - Selection & Input Category - Issue #66275. (66635)
- GradientPicker: Auto-generate readme. (67250)
- Icon: Auto-generate readme. (67282)
- Icon: Improve
icon
prop usage documentation in Storybook. (67280) - Storybook: Restore stable components back into categories. (67216)
- Update BlockMover Stories and README. (66519)
- Update custom store readme to use thunks instead of controls. (67006)
- Update versions-in-wordpress.md. (67298)
Code Quality
- ESLint: Enable
eslint-plugin-react-compiler
. (61788) - Extract selectors from useResolveEditedEntity hook. (67031)
- Pattern: Remove backward compatibility code for WordPress < 6.4. (67131)
- Post fields: Move
author
fromedit-site
tofields
package. (66939) - Posts DataViews: Refactor the router to use route registration. (67160)
- Comments controller: Fix issue where comments are allowed when closed. (66976)
- Fix fatal error in in_array call in post_type_default_rendering_mode. (67225)
- Data: Add changelog for Redux update. (66968)
Components
- BorderBoxControl: Suppress redundant warnings for deprecated 36px size. (67213)
- ComboboxControl : Deprecate 36px default size. (66900)
- CustomGradientPicker: Prepare
Button
s for 40px default size. (67286) - Dashicons: Remove non-existent icons from type. (67235)
- DimensionControl: Deprecate 36px default size. (66705)
- Feat: Adds the deprecation warning for 36px default size in range control. (66721)
- FontSizePicker : Deprecate 36px default size. (66920)
- Remove createPrivateSlotFill function. (67238)
- SlotFill: Fix dependencies of registration effects, deduplicate code. (67071)
- SlotFill: Remove registration API from useSlot result. (67070)
- SlotFill: Rewrite base Slot to functional, unify rerenderable refs. (67153)
- TextControl: Deprecate 36px default size. (66745)
- ToggleGroupControl : Deprecate 36px default size. (66747)
Post Editor
- ESLint: Bump
eslint-plugin-react-compiler
to latest beta. (67106) - Edit Post: Refactor 'MetaBoxVisibility' component. (67265)
- Edit Post: Remove unused 'hasHistory' flag. (67293)
- Editor: Update focus return handler for the Featured Image. (67236)
- Make
BlockManager
component reusable. (67052) - Preferences: Use hooks instead of HoC in 'EnableCustomFieldsOption'. (67023)
- Preferences: Use hooks instead of HoC in 'EnablePanelOption'. (66994)
- Preferences: Use hooks instead of HoC in 'EnablePublishSidebarOption'. (67002)
Block Library
- Fix React Compiler error for shortcuts. (67019)
- Home Link: Remove label attribute synchronization. (67151)
- Use rems for Nav overlay left padding. (67168)
- useBlockNameForPatterns: Refactor as a single useSelect call. (67171)
- Navigation Block: Remove obsolete Block Hooks filters. (64676)
- [mini] 🧹 remove obsolete rich text css. (67264)
Global Styles
- Don't call store actions during the render. (67146)
- Edit Site: Fix settings mutation in
ScreenBlock
. (67085) - Remove unused 'Fragment' import. (67104)
Block Editor
- Block Manager: Make it a private component in the block editor package. (67255)
- Inserter: Set initial active tab ID during render. (67103)
Site Editor
Tools
Testing
- Fix ESLint Jest reporting entire body of the test function rather than the identifier. (67222)
- Fix typo in use-block-sync tests. (67145)
- Migrate Gradle wrapper validation action. (66602)
Plugin
- Bump minimum required WordPress version to 6.6. (67117)
- Add #7895 Core Backport PR to the changelog. (67319)
- WP Scripts: Revert changes that inline CSS imports early in the build process. (66975)
First-time contributors
The following PRs were merged by first-time contributors:
- @AKSHAT2802: Add all color palettes to select from editor panel. (65148)
- @benazeer-ben: Page List : Add border and spacing support. (66385)
- @himanshupathak95: Menu.ItemHelpText: Better line breaking. (67011)
- @SainathPoojary: Social Links: Fix font family and weight inconsistency in editor. (67204)
- @sarthaknagoshe2002: Prevent Pre-Publish Panel from Displaying Incorrect Information After Navigating away. (67010)
- @Sukhendu2002: Fix: Preserve Display Preview State in File Block. (67263)
Contributors
The following contributors merged PRs in this release:
@aaronrobertshaw @afercia @ajlende @akasunil @AKSHAT2802 @benazeer-ben @benniledl @carolinan @cbravobernal @desrosj @dhruvang21 @dougwollison @ellatrix @getdave @gigitux @gziolo @hbhalodia @himanshupathak95 @Infinite-Null @jeryj @jsnajdr @juanfra @louwie17 @Mamaduka @manzoorwanijk @matiasbenedetto @mcsf @michalczaplinski @miminari @mirka @ndiego @ntsekouras @oandregal @ockham @PARTHVATALIYA @ramonjd @SainathPoojary @SantosGuillamot @sarthaknagoshe2002 @snehapatil2001 @Soean @stokesman @Sukhendu2002 @t-hamano @talldan @tellthemachines @TylerB24890 @tyxla @up1512001 @vipul0425 @yogeshbhutkar @youknowriad