10.8.0
github-actions
released this
09 Jun 14:45
·
23 commits
to release/10.8
since this release
Enhancements
- Block Editor:
- Update Modal styling. (31639)
- Block Library:
- Archives Block: Show the label for archives block dropdown. (30527)
- Audio Block: Add an example preview. (32333)
- File Block: Add an example preview. (32350)
- Heading Block: Add support for font-weight. (27639)
- List Block: Add font family to the list block. (27510)
- Page list block: Add active page classes. (32134)
- Site Logo: Use option instead of theme-mod. (32229)
- Components:
- Design tools:
- Reusable Block:
- Add
Convert to Regular Blocks
button to ellipsis Dropdown. (32310)
- Add
- REST API:
- Improve parsing and retrieve additional data in REST
url-details
endpoint. (31763)
- Improve parsing and retrieve additional data in REST
- Template Editing Mode:
- Block-based Widgets:
Bug Fixes
- Block Library:
- Block Editor:
- Block-Based Widgets:
- Editor:
- Customizer:
- Center the welcome image in the narrow viewport of widgets customizer. (32264)
- Fix aspect ratio of welcome image. (32302)
- Fix deselecting block when inspector is opened. (32361)
- Fix escape key events in customizer closing the editor. (32175)
- Fix some smaller styling issues and bugs in Widgets Customizer. (32072)
- Fix creating and replacing legacy widgets in customizer. (32005)
- Components:
- Editor:
- General Interface: Fix overlap of Notices and block toolbar. (32238)
- Template Editing Mode: Remove metaboxes from template mode. (32315)
- Fix the layout definition in the template mode. (32425)
Performance
- Buttons: Move options to constants to avoid unneeded renders. (32356)
- Experimental Layout: Pass the same object when no data changes. (32380)
- Navigation: Avoid rerendering when the placeholder does not change. (32357)
- Update Welcome Guides to use external image URLs. (32026)
Experiments
- Block Editor:
- Block Navigation: Try using CSS for indentation with known max indent instead of spacer divs. (32063)
- Component System:
- Global Styles:
- Bugfix: Generate classes from preset slugs in the same way (server & client). (32352)
- Fix Logic to enable custom colors, gradients, and font sizes. (32200)
- Fix incorrect useCustomUnits import. (32248)
- Group typographic block supports under a
typography
key. (32252) - Letter spacing should also respect skip serialization flag. (32459)
- Skip typography serialization. (32444)
- Full Site Editing:
- Align block hover and select styles across list view, site editor, select mode. (31277)
- Alignment styles: Centre blocks using grid not margins. (32231)
- Avoid duplicate skip-links in WP 5.8+. (32346)
- Remove now-obsolete get_template_hierarchy(). (32116)
- Templates: Remove now-obsolete
gutenberg_get_template_paths()
. (32066)
- Navigation:
- Block:
- Editor:
- Site Editor:
Documentation
- Handbook:
- Packages:
Code Quality
- Block Editor:
- Block Library:
- Blocks Package: Make getBlockSupport support any
lodash
path.. (32322) - Block Supports: Avoid a PHP Notice when
render_block()
is called without attributes. (32135) - Components:
- Button: Deprecate
isPrimary
,isSecondary
,isTertiary
andisLink
props in favour ofvariant
prop. (31713) - Combobox: Remove duplicated ComboboxControl component. (32397)
- Dashicons: Add types to Icon . (32219)
- Disabled: Add types to Disabled components. (32105)
- Remove all
withNext
wrappers. (32205) - Rename
ViewOwnProps
toPolymorphicComponentProps
. (32053) - Require explicit
children
prop for all components. (31817) - UI Context: Delete unused types from
context
. (32254) - UI Popover: Remove unused
content
property from types definitions. (32049)
- Button: Deprecate
- Compose:
- Add types to useRefEffect and clipboard hooks. (31603)
- Add Types to
withGlobalEvents
as any. (32290) - Add types to
useWarnOnChange
. (32288) - Add types to
useViewportMatch
. (32287) - Add types to
useDropZone
. (32286) - Add types to
useDragging
. (32285) - Add types to
useThrottle
and typecheckuseFocusOutside
. (32170) - Add types to
useKeyboardShortcut
. (32168) - Add types to
useResizeObserver
and type checking touseIsomorphicLayoutEffect
. (32111) - Add types to
useFocusReturn
. (31949) - Add types to
usePrevious
. (31944) - Add types to useReducedMotion and useMediaQuery. (31941)
- Add types to useMergeRefs. (31939)
- Add test to
useMergeRefs
for disabling refs + better documentation. (32044) - Add types to
useDebounce
. (32015) - Deprecate
withState
in favor ofuseState
. (32368) - Simplify
compose
function documentation and point to lodash documentation for it. (32324)
- Global Styles:
- Avoid enqueuing global styles twice when running on WordPress 5.8. (32372)
- Keyboard Shortcuts:
- Multi select: select all: Restore ref callback. (32318)
- Linting:
- Fix eslint warnings in the core-data package. (32198)
- Fix eslint warnings in the edit-navigation package. (32196)
- Fix eslint warnings in the edit-post package. (32195)
- Fix eslint warnings in the edit-site package. (32156)
- Fix eslint warnings in the edit-widgets package. (32155)
- Fix eslint warnings in the editor package. (32153)
- Fix eslint warnings in the nux package. (32145)
- Fix eslint warnings in the rich-text package. (32142)
- Fix eslint warnings in the reusable-blocks package. (32141)
- Navigation Editor:
- Fix React warning. (32165)
Tools
- Babel presets: Prefix build with node command for Windows environments. (#32258). (32329)
- Workflow:
- End to End Tests:
- Fix inserting cover block intermittent failure. (32014)
- Navigation Editor:
- Move the
Query
andPostTitle
end-to-end tests out of the experimental directory. (31691) - Multi select: Add end-to-end test for gruadual select all. (32304)
- Remove redundant widget API endpoint tests. (32298)
- Skip tests that are failing with the latest WordPress core. (32228)
- Eslint: Ignore some eslint rules in react-native folders. (32143)