diff --git a/changelog.txt b/changelog.txt index 05a1343dcebe49..2262dee883f9af 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,186 @@ == Changelog == += 10.8.0-rc.1 = + + + +### Enhancements + +- BoxControl: Add allowReset option. ([32345](https://github.com/WordPress/gutenberg/pull/32345)) +- Add Convert to Regular Blocks button to ellipsis Dropdown. ([32310](https://github.com/WordPress/gutenberg/pull/32310)) +- Page list block: Add active page classes. ([32134](https://github.com/WordPress/gutenberg/pull/32134)) +- Template Mode: Don't display snackbar with the Welcome Guide. ([32076](https://github.com/WordPress/gutenberg/pull/32076)) +- Block Supports: Allow skipping spacing support serialization. ([31973](https://github.com/WordPress/gutenberg/pull/31973)) + +### Bug Fixes + +- Fix image border radius. ([32393](https://github.com/WordPress/gutenberg/pull/32393)) +- Fix allowed patterns check. ([32376](https://github.com/WordPress/gutenberg/pull/32376)) +- Fix deselecting block when inspector is opened. ([32361](https://github.com/WordPress/gutenberg/pull/32361)) +- Generate classes from preset slugs in the same way (server & client). ([32352](https://github.com/WordPress/gutenberg/pull/32352)) +- Mobile - Gallery block - Fix gallery images caption text formatting. ([32351](https://github.com/WordPress/gutenberg/pull/32351)) +- File Block: Add an example preview. ([32350](https://github.com/WordPress/gutenberg/pull/32350)) +- Avoid duplicate skip-links in WP 5.8+. ([32346](https://github.com/WordPress/gutenberg/pull/32346)) +- SuggestionsList: Try to use a unique "key". ([32344](https://github.com/WordPress/gutenberg/pull/32344)) +- Fix `theme.json` styles for the `core/list` block. ([32343](https://github.com/WordPress/gutenberg/pull/32343)) +- Prevent saving the post before previewing in locked/read-only mode. ([32341](https://github.com/WordPress/gutenberg/pull/32341)) +- Audio Block: Add an example preview. ([32333](https://github.com/WordPress/gutenberg/pull/32333)) +- Try: Make focus style valid CSS. ([32305](https://github.com/WordPress/gutenberg/pull/32305)) +- Fix aspect ratio of welcome image. ([32302](https://github.com/WordPress/gutenberg/pull/32302)) +- Fix legacy widget block preview iframe. ([32300](https://github.com/WordPress/gutenberg/pull/32300)) +- Fix broken contributors readme files. ([32272](https://github.com/WordPress/gutenberg/pull/32272)) +- Center the welcome image in narrow viewport of widgets customizer. ([32264](https://github.com/WordPress/gutenberg/pull/32264)) +- Fix legacy widget previews. ([32260](https://github.com/WordPress/gutenberg/pull/32260)) +- Limit latest posts featured image width to 100%. ([32245](https://github.com/WordPress/gutenberg/pull/32245)) +- Fix mispelling in the Widgets Block Editor section. ([32242](https://github.com/WordPress/gutenberg/pull/32242)) +- Try: Fix notices below block toolbars. ([32238](https://github.com/WordPress/gutenberg/pull/32238)) +- Allow non-latin characters in slugs. ([32232](https://github.com/WordPress/gutenberg/pull/32232)) +- Fix escape key events in customizer closing the editor. ([32175](https://github.com/WordPress/gutenberg/pull/32175)) +- Update Dropdown’s close-on-blur logic to work inside dialogs. ([32133](https://github.com/WordPress/gutenberg/pull/32133)) +- components: Add missing Divider, Heading type reference in tsconfig. ([32104](https://github.com/WordPress/gutenberg/pull/32104)) +- Fix broken template part converter modal styles. ([32097](https://github.com/WordPress/gutenberg/pull/32097)) +- Fix some smaller styling issues and bugs in Widgets Customizer. ([32072](https://github.com/WordPress/gutenberg/pull/32072)) +- Iframed editor: Fix embed dimensions with missing wp-embed-responsive class. ([32057](https://github.com/WordPress/gutenberg/pull/32057)) +- Fix creating and replacing legacy widgets in customizer. ([32005](https://github.com/WordPress/gutenberg/pull/32005)) +- Block toolbar: Always close options menu after toggling sidebar. ([31921](https://github.com/WordPress/gutenberg/pull/31921)) +- UnitControl: Fixed documentation for `units` attribute. ([31901](https://github.com/WordPress/gutenberg/pull/31901)) +- Display wide widgets as popovers in Customizer. ([31736](https://github.com/WordPress/gutenberg/pull/31736)) +- compose: Add types to useRefEffect and clipboard hooks. ([31603](https://github.com/WordPress/gutenberg/pull/31603)) +- components: Fix Shortcut polymorphism. ([31555](https://github.com/WordPress/gutenberg/pull/31555)) + +### Performance + +- Experimental Layout: Pass the same object when no data changes. ([32380](https://github.com/WordPress/gutenberg/pull/32380)) +- Navigation: Avoid rerendering when placeholder does not change. ([32357](https://github.com/WordPress/gutenberg/pull/32357)) +- Buttons: Move options to constants to avoid unneeded renders. ([32356](https://github.com/WordPress/gutenberg/pull/32356)) +- Update Welcome Guides to use external image URLs. ([32026](https://github.com/WordPress/gutenberg/pull/32026)) + +### Experiments + +- Page List: Fix css bleed from navigation. ([32384](https://github.com/WordPress/gutenberg/pull/32384)) +- Avoid enqueuing global styles twice when running on WordPress 5.8. ([32372](https://github.com/WordPress/gutenberg/pull/32372)) +- Widgets editor: Fix error when saving empty Legacy Widget block. ([32359](https://github.com/WordPress/gutenberg/pull/32359)) +- Simplify html selector in nav burger menu. ([32303](https://github.com/WordPress/gutenberg/pull/32303)) +- Link to widgets.php instead of themes.php?page=gutenberg-widgets. ([32299](https://github.com/WordPress/gutenberg/pull/32299)) +- Lock the document from scrolling when the modal is open. ([32269](https://github.com/WordPress/gutenberg/pull/32269)) +- Fix the visible widget area toolbar. ([32262](https://github.com/WordPress/gutenberg/pull/32262)) +- Add preferences menu group label to widgets and customize widget editor. ([32259](https://github.com/WordPress/gutenberg/pull/32259)) +- Group typographic block supports under a `typography` key. ([32252](https://github.com/WordPress/gutenberg/pull/32252)) +- Fix incorrect useCustomUnits import. ([32248](https://github.com/WordPress/gutenberg/pull/32248)) +- Alignment styles: Centre blocks using grid not margins. ([32231](https://github.com/WordPress/gutenberg/pull/32231)) +- site-logo block: Use option instead of theme-mod. ([32229](https://github.com/WordPress/gutenberg/pull/32229)) +- Widgets editor: Fix block toolbar position after scroll. ([32212](https://github.com/WordPress/gutenberg/pull/32212)) +- Fix: Logic to enable custom colors, gradients, and font sizes. ([32200](https://github.com/WordPress/gutenberg/pull/32200)) +- FSE: Remove now-obsolete get_template_hierarchy(). ([32116](https://github.com/WordPress/gutenberg/pull/32116)) +- Remove query context leftovers. ([32093](https://github.com/WordPress/gutenberg/pull/32093)) +- Navigation Screen: Hide sidebar when a menu isn't selected. ([32090](https://github.com/WordPress/gutenberg/pull/32090)) +- Navigation: Fix collapsing regression. ([32081](https://github.com/WordPress/gutenberg/pull/32081)) +- Templates: Remove now-obsolete `gutenberg_get_template_paths()`. ([32066](https://github.com/WordPress/gutenberg/pull/32066)) +- Fix toolbar alignment in widget block editor. ([31991](https://github.com/WordPress/gutenberg/pull/31991)) +- Allow block attributes passed to block renderer by way of wp_nav_menu. ([31911](https://github.com/WordPress/gutenberg/pull/31911)) +- Augment and improve Nav Editor (and block) documentation. ([31891](https://github.com/WordPress/gutenberg/pull/31891)) +- Refactor nav block paddings/margins to inherit global styles. ([31878](https://github.com/WordPress/gutenberg/pull/31878)) +- Align block hover and select styles across list view, site editor, select mode. ([31277](https://github.com/WordPress/gutenberg/pull/31277)) +- Add Letter-spacing and enable this for site title and site tagline. ([31118](https://github.com/WordPress/gutenberg/pull/31118)) +- Headings block: Add support for font weight. ([27639](https://github.com/WordPress/gutenberg/pull/27639)) + +### Documentation + +- Components: Mark all experimental components in the handbook. ([32147](https://github.com/WordPress/gutenberg/pull/32147)) +- Update the create a block theme tutorial. ([31269](https://github.com/WordPress/gutenberg/pull/31269)) + +### Code Quality + +- Remove duplicated ComboboxControl component. ([32397](https://github.com/WordPress/gutenberg/pull/32397)) +- Remove usages of withState from edit-post and editor. ([32349](https://github.com/WordPress/gutenberg/pull/32349)) +- Rich text: Contextual default shortcut removal. ([32327](https://github.com/WordPress/gutenberg/pull/32327)) +- compose: Simplify `compose` fn documentation and point to lodash documentation for it. ([32324](https://github.com/WordPress/gutenberg/pull/32324)) +- Update: Make getBlockSupport support any lodash path.. ([32322](https://github.com/WordPress/gutenberg/pull/32322)) +- Multi select: select all: Restore ref callback. ([32318](https://github.com/WordPress/gutenberg/pull/32318)) +- compose: Type `withGlobalEvents` as any. ([32290](https://github.com/WordPress/gutenberg/pull/32290)) +- compose: Add types to `useWarnOnChange`. ([32288](https://github.com/WordPress/gutenberg/pull/32288)) +- compose: Add types to `useViewportMatch`. ([32287](https://github.com/WordPress/gutenberg/pull/32287)) +- compose: Add types to `useDropZone`. ([32286](https://github.com/WordPress/gutenberg/pull/32286)) +- compose: Add types to `useDragging`. ([32285](https://github.com/WordPress/gutenberg/pull/32285)) +- components: Delete unused types from `context`. ([32254](https://github.com/WordPress/gutenberg/pull/32254)) +- core-data: No-string-literals fix. ([32198](https://github.com/WordPress/gutenberg/pull/32198)) +- edit-navigation: No-string-literals fix. ([32196](https://github.com/WordPress/gutenberg/pull/32196)) +- edit-post: No-string-literals fix. ([32195](https://github.com/WordPress/gutenberg/pull/32195)) +- compose: Add types to `useThrottle` and typecheck `useFocusOutside`. ([32170](https://github.com/WordPress/gutenberg/pull/32170)) +- compose: Add types to `useKeyboardShortcut`. ([32168](https://github.com/WordPress/gutenberg/pull/32168)) +- Navigation Editor: Fix React warning. ([32165](https://github.com/WordPress/gutenberg/pull/32165)) +- edit-site: Fix no-string-literals warnings. ([32156](https://github.com/WordPress/gutenberg/pull/32156)) +- edit-widgets: Fix no-string-literal warnings. ([32155](https://github.com/WordPress/gutenberg/pull/32155)) +- Editor package: No-string-literals fix. ([32153](https://github.com/WordPress/gutenberg/pull/32153)) +- nux: No-string-literals fix. ([32145](https://github.com/WordPress/gutenberg/pull/32145)) +- rich-text: No-string-literals fix. ([32142](https://github.com/WordPress/gutenberg/pull/32142)) +- Reusable-block: No-string-literals fix. ([32141](https://github.com/WordPress/gutenberg/pull/32141)) +- Avoid a PHP Notice when `render_block()` is called without attributes. ([32135](https://github.com/WordPress/gutenberg/pull/32135)) +- compose: Add types to `useResizeObserver` and type checking to `useIsomorphicLayoutEffect`. ([32111](https://github.com/WordPress/gutenberg/pull/32111)) +- components: Add types to Disabled. ([32105](https://github.com/WordPress/gutenberg/pull/32105)) +- Components: Rename `ViewOwnProps` to `PolymorphicComponentProps`. ([32053](https://github.com/WordPress/gutenberg/pull/32053)) +- Popover: Remove unused `content` property from types definitions. ([32049](https://github.com/WordPress/gutenberg/pull/32049)) +- Compose: useMergeRefs: Add test for disabling refs + better documentation. ([32044](https://github.com/WordPress/gutenberg/pull/32044)) +- compose: Add types to `useFocusReturn`. ([31949](https://github.com/WordPress/gutenberg/pull/31949)) +- compose: Add types to `usePrevious`. ([31944](https://github.com/WordPress/gutenberg/pull/31944)) +- compose: Add types to useReducedMotion and useMediaQuery. ([31941](https://github.com/WordPress/gutenberg/pull/31941)) +- compose: Add types to useMergeRefs. ([31939](https://github.com/WordPress/gutenberg/pull/31939)) +- Components: Require explicit `children` prop for all components. ([31817](https://github.com/WordPress/gutenberg/pull/31817)) +- Button: Deprecate `isPrimary`, `isSecondary`, `isTertiary` and `isLink` props in favour of `variant` prop. ([31713](https://github.com/WordPress/gutenberg/pull/31713)) +- Remove: __experimentalUseColors hook. ([31438](https://github.com/WordPress/gutenberg/pull/31438)) +- List View: Simplify the BlockNavigation component. ([31290](https://github.com/WordPress/gutenberg/pull/31290)) + +### Tools + +- Remove redundant widget API endpoint tests. ([32298](https://github.com/WordPress/gutenberg/pull/32298)) +- Performance Tests Workflow: Polish Bash script. ([32284](https://github.com/WordPress/gutenberg/pull/32284)) +- Performance Tests Workflow: Use latest WP branch for release tests. ([32277](https://github.com/WordPress/gutenberg/pull/32277)) +- Navigation Editor: Skip "Change detection" tests. ([32151](https://github.com/WordPress/gutenberg/pull/32151)) +- Ignore some eslint rules in react-native folders. ([32143](https://github.com/WordPress/gutenberg/pull/32143)) +- Navigation Editor: Fix failing end-to-end tests. ([32043](https://github.com/WordPress/gutenberg/pull/32043)) +- Move the Query and PostTitle end-to-end tests out of the experimental directory. ([31691](https://github.com/WordPress/gutenberg/pull/31691)) +- Fix Xcode 12.5 support. ([31632](https://github.com/WordPress/gutenberg/pull/31632)) + +### Various + +- Update iOS Simulator device command in React Native documentation. ([32383](https://github.com/WordPress/gutenberg/pull/32383)) +- Compose: Deprecate `withState` in favor of `useState`. ([32368](https://github.com/WordPress/gutenberg/pull/32368)) +- Search block : Fix vertical alignment of search button text. ([32340](https://github.com/WordPress/gutenberg/pull/32340)) +- Prefix build with node command for Windows environments. (#32258). ([32329](https://github.com/WordPress/gutenberg/pull/32329)) +- Remove metaboxes from template mode. ([32315](https://github.com/WordPress/gutenberg/pull/32315)) +- Revert "Alignment styles: Centre blocks using grid not margins". ([32312](https://github.com/WordPress/gutenberg/pull/32312)) +- Multi select: Add end-to-end test for gruadual select all. ([32304](https://github.com/WordPress/gutenberg/pull/32304)) +- Avoid unnecessary calculation or animation if tooltip is invisible. ([32289](https://github.com/WordPress/gutenberg/pull/32289)) +- Try: Remove opacity animation on canvas. ([32266](https://github.com/WordPress/gutenberg/pull/32266)) +- components: Add `BaseField`. ([32250](https://github.com/WordPress/gutenberg/pull/32250)) +- Workflows: Performance: Run suite atop latest stable major WordPress version. ([32244](https://github.com/WordPress/gutenberg/pull/32244)) +- Skip tests that are failing with latest WordPress core. ([32228](https://github.com/WordPress/gutenberg/pull/32228)) +- components: Add types to Icon. ([32219](https://github.com/WordPress/gutenberg/pull/32219)) +- components: Remove all `withNext` wrappers. ([32205](https://github.com/WordPress/gutenberg/pull/32205)) +- Only calculate the compressed size on pull requests when necessary. ([32161](https://github.com/WordPress/gutenberg/pull/32161)) +- Limit when workflows run on forks. ([32114](https://github.com/WordPress/gutenberg/pull/32114)) +- Navigation Editor: Move modal state to ManageLocations component. ([32078](https://github.com/WordPress/gutenberg/pull/32078)) +- Block Navigation: Try using CSS for indentation with known max indent instead of spacer divs. ([32063](https://github.com/WordPress/gutenberg/pull/32063)) +- Update the appearance of the template details popover. ([32042](https://github.com/WordPress/gutenberg/pull/32042)) +- Update the title area in the template editor. ([32037](https://github.com/WordPress/gutenberg/pull/32037)) +- compose: Add types to `useDebounce`. ([32015](https://github.com/WordPress/gutenberg/pull/32015)) +- Try fixing inserting cover block intermittent failure. ([32014](https://github.com/WordPress/gutenberg/pull/32014)) +- Rich text: Remove inline display warning. ([32013](https://github.com/WordPress/gutenberg/pull/32013)) +- Add native block inserter onboarding tooltip. ([32001](https://github.com/WordPress/gutenberg/pull/32001)) +- Improve parsing and retrieve additional data in REST url-details endpoint. ([31763](https://github.com/WordPress/gutenberg/pull/31763)) +- Update Modal styling. ([31639](https://github.com/WordPress/gutenberg/pull/31639)) +- components: Promote Elevation. ([31614](https://github.com/WordPress/gutenberg/pull/31614)) +- components: Add ZStack. ([31613](https://github.com/WordPress/gutenberg/pull/31613)) +- Remove title attribute from NavigationItem inside the site-editor. ([30744](https://github.com/WordPress/gutenberg/pull/30744)) +- Show the label for archives block dropdown. ([30527](https://github.com/WordPress/gutenberg/pull/30527)) +- Components: Add ItemGroup and Item. ([30097](https://github.com/WordPress/gutenberg/pull/30097)) +- Mobile - Slash inserter. ([29772](https://github.com/WordPress/gutenberg/pull/29772)) +- Remove class= wrapper to already wrapped attributes. Issue #29209. ([29214](https://github.com/WordPress/gutenberg/pull/29214)) +- List Block: Add font family to the list block. ([27510](https://github.com/WordPress/gutenberg/pull/27510)) + + + + = 10.7.1 =