From 2d4314d754dcec540ac05890cc0d2dbf89ab5d53 Mon Sep 17 00:00:00 2001 From: Gutenberg Repository Automation Date: Wed, 30 Aug 2023 16:49:26 +0000 Subject: [PATCH] Update Changelog for 16.6.0-rc.1 --- changelog.txt | 250 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 250 insertions(+) diff --git a/changelog.txt b/changelog.txt index 40c6e315feac6..0f4f5bcf9bbcf 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,255 @@ == Changelog == += 16.6.0-rc.1 = + +## Changelog + +### Features + +#### Interactivity API +- Add Slot and Fill directives. ([53958](https://github.com/WordPress/gutenberg/pull/53958)) +- Query block: Client-side pagination. ([53812](https://github.com/WordPress/gutenberg/pull/53812)) +- Update `data-wp-bind` directive logic. ([54003](https://github.com/WordPress/gutenberg/pull/54003)) + + +### Enhancements + +- Bundle ObserveTyping within the BlockList component. ([53875](https://github.com/WordPress/gutenberg/pull/53875)) +- Default appender: Hide the dashed indicator until ancestor is selected. ([53761](https://github.com/WordPress/gutenberg/pull/53761)) +- Register the block editor keyboard shortcuts automatically when using BlockEditorProvider. ([53910](https://github.com/WordPress/gutenberg/pull/53910)) +- [Commands]: Add toggle list view command in site editor. ([53983](https://github.com/WordPress/gutenberg/pull/53983)) + +#### Components +- Bundle SlotFillProvider within BlockEditorProvider. ([53940](https://github.com/WordPress/gutenberg/pull/53940)) +- Make the Popover.Slot optional. ([53889](https://github.com/WordPress/gutenberg/pull/53889)) +- Popover: Update `@floating-ui` to latest version, remove custom fix for iframe positioning and scaling. ([46845](https://github.com/WordPress/gutenberg/pull/46845)) +- `AlignmentMatrixControl`: Replace `act()` with `userEvent`. ([53703](https://github.com/WordPress/gutenberg/pull/53703)) +- `ProgressBar`: Add transition to determinate indicator. ([53877](https://github.com/WordPress/gutenberg/pull/53877)) + +#### Block Library +- Blocks: Move bootstrapped block types to Redux state. ([53807](https://github.com/WordPress/gutenberg/pull/53807)) +- Capture toolbars in navigation block. ([53697](https://github.com/WordPress/gutenberg/pull/53697)) +- Content Block: Change placeholder and end-to-end test to refer to Content block. ([53902](https://github.com/WordPress/gutenberg/pull/53902)) +- Make mid size parameter settable for Query Pagination block. ([51216](https://github.com/WordPress/gutenberg/pull/51216)) + +#### Block Editor +- Capture toolbars in quote block. ([53699](https://github.com/WordPress/gutenberg/pull/53699)) +- Improve writing flow for lists by capturing list item toolbars. ([53306](https://github.com/WordPress/gutenberg/pull/53306)) +- RichTextValue: Typescript Adjustment. ([54002](https://github.com/WordPress/gutenberg/pull/54002)) + +#### Typography +- Font Face: Prepare for merge into Core. ([53858](https://github.com/WordPress/gutenberg/pull/53858)) +- Renames "Fonts Library" to "Font Library". ([53780](https://github.com/WordPress/gutenberg/pull/53780)) + +#### Post Editor +- Edit Post: Use hooks instead of HoCs in `TaxonomyPanel`. ([53773](https://github.com/WordPress/gutenberg/pull/53773)) + +#### List View +- Add keyboard shortcut for duplicating blocks. ([53559](https://github.com/WordPress/gutenberg/pull/53559)) + +#### Patterns +- Add a custom taxonomy for user created patterns. ([53163](https://github.com/WordPress/gutenberg/pull/53163)) + + +### New APIs + +#### Interactivity API +- Router with region-based client-side navigation. ([53733](https://github.com/WordPress/gutenberg/pull/53733)) + + +### Bug Fixes + +- Add missing aria roles for block locking toolbar and menu buttons. ([53734](https://github.com/WordPress/gutenberg/pull/53734)) +- Block Editor: Fix cleanup in the 'useNavModeExit' hook. ([53795](https://github.com/WordPress/gutenberg/pull/53795)) +- Command Palette: Fix crash on block-related commands. ([53923](https://github.com/WordPress/gutenberg/pull/53923)) +- Date: Add relative time translations for moment.js. ([53931](https://github.com/WordPress/gutenberg/pull/53931)) +- Date: Update translation domains for strings to be translatable. ([53995](https://github.com/WordPress/gutenberg/pull/53995)) +- Iframe: Set character encoding to utf-8. ([53519](https://github.com/WordPress/gutenberg/pull/53519)) +- Replace horizontal ellipsis icon with vertical ellipsis icon. ([52731](https://github.com/WordPress/gutenberg/pull/52731)) +- Toggle Distraction free mode mode based on compatibility. ([54030](https://github.com/WordPress/gutenberg/pull/54030)) +- Warning: Introduce `SCRIPT_DEBUG` to make the package compatible with webpack 5. ([50122](https://github.com/WordPress/gutenberg/pull/50122)) +- [Commands]: Fix `move to` command condition for registering. ([54049](https://github.com/WordPress/gutenberg/pull/54049)) +- [Commands]: Fix block editor commands availability. ([53994](https://github.com/WordPress/gutenberg/pull/53994)) +- [Format library]: Fix `language` popover position. ([53841](https://github.com/WordPress/gutenberg/pull/53841)) + +#### Block Library +- Add init.js module for the Footnotes block. ([53763](https://github.com/WordPress/gutenberg/pull/53763)) +- Adding center align css for social icon issue. ([43120](https://github.com/WordPress/gutenberg/pull/43120)) +- Cover block: Fix exception when adding video background. ([53961](https://github.com/WordPress/gutenberg/pull/53961)) +- List View: Allow replacing template part when a block isn't selected. ([53757](https://github.com/WordPress/gutenberg/pull/53757)) +- Post Navigation Link: Remove unnecessary space between arrows and label. ([53572](https://github.com/WordPress/gutenberg/pull/53572)) +- Search block: Fix width input field. ([53952](https://github.com/WordPress/gutenberg/pull/53952)) +- Simplify check for no posts in query-no-results block. ([53772](https://github.com/WordPress/gutenberg/pull/53772)) +- Site Logo: Remove line-height for the anchor element. ([53909](https://github.com/WordPress/gutenberg/pull/53909)) + +#### Components +- Always render the fallback Popover anchor within the Popover's parent element. ([53982](https://github.com/WordPress/gutenberg/pull/53982)) +- Fix the cleanup method for SandBox. ([53796](https://github.com/WordPress/gutenberg/pull/53796)) +- PaletteEdit: Fix component height. ([54000](https://github.com/WordPress/gutenberg/pull/54000)) + +#### Post Editor +- Edit Post: Fix tab border conflicts in the Document Overview panel. ([53711](https://github.com/WordPress/gutenberg/pull/53711)) +- EditPostPreferencesModal: Fix intermittently failing tests. ([53814](https://github.com/WordPress/gutenberg/pull/53814)) +- getInsertionPoint: Fix type check for the state value. ([53793](https://github.com/WordPress/gutenberg/pull/53793)) + +#### npm Packages +- Workflow: Run Learn directly from GitHub action when publishing to npm targeting WP core. ([53762](https://github.com/WordPress/gutenberg/pull/53762)) +- Workflows: Fix issues with the npm publishing workflow when using locally. ([53565](https://github.com/WordPress/gutenberg/pull/53565)) + +#### Themes +- Command Palette: Proper handling of page/post links in all themes. ([53718](https://github.com/WordPress/gutenberg/pull/53718)) +- Fix query loop bugs by correctly relying on the main query and removing problematic workaround. ([49904](https://github.com/WordPress/gutenberg/pull/49904)) + +#### Block Editor +- Fix: Indicator style when block moving mode. ([53972](https://github.com/WordPress/gutenberg/pull/53972)) + +#### Icons +- Fix invalid namespaces. ([53955](https://github.com/WordPress/gutenberg/pull/53955)) + +#### Patterns +- Disable the preview option button when editing. ([53913](https://github.com/WordPress/gutenberg/pull/53913)) + +#### Global Styles +- Gallery: Re-enable block spacing at block level while still hiding in global styles. ([53900](https://github.com/WordPress/gutenberg/pull/53900)) + +#### Layout +- BlockList: Ensure element styles (and svg) are always appended at the end of the document. ([53859](https://github.com/WordPress/gutenberg/pull/53859)) + +#### Interactivity API +- Add "supports.interactivity" to Image block. ([53850](https://github.com/WordPress/gutenberg/pull/53850)) + +#### Style Variations +- Block Styles: Fix misplaced preview popover on RTL site. ([53726](https://github.com/WordPress/gutenberg/pull/53726)) + +#### List View +- Recalculate window list when expanded state changes (fix logic for long nested lists). ([53716](https://github.com/WordPress/gutenberg/pull/53716)) + +#### Widgets Editor +- Block Widget: Fix content cutoff in the keyboard shortcut modal. ([53638](https://github.com/WordPress/gutenberg/pull/53638)) + +#### Rich Text +- Fix cleanup in `useRemoveBrowserShortcuts`. ([52225](https://github.com/WordPress/gutenberg/pull/52225)) + + +### Accessibility + +- Edit site: Add missing label to post status password protected input field. ([52885](https://github.com/WordPress/gutenberg/pull/52885)) +- [a11y] Fix: Aria-haspop, aria-expanded attributes on the link format button. ([53691](https://github.com/WordPress/gutenberg/pull/53691)) + +#### Site Editor +- Add missing aria roles to the 'Create template part' menu item. ([53754](https://github.com/WordPress/gutenberg/pull/53754)) +- Unify the delete button style in the dropdown menu with red. ([52597](https://github.com/WordPress/gutenberg/pull/52597)) + +#### Block Library +- Add missing aria roles to the 'Replace template part' menu item. ([53755](https://github.com/WordPress/gutenberg/pull/53755)) + +#### Patterns +- Add missing aria roles to the 'Create pattern' menu item. ([53739](https://github.com/WordPress/gutenberg/pull/53739)) + +#### List View +- [a11y] Fix: Aria-haspop and aria-expanded attributes on list view button. ([53693](https://github.com/WordPress/gutenberg/pull/53693)) + +#### Block Editor +- [a11y] Fix: Aria-haspop and aria-expanded attributes on the inserter button. ([53692](https://github.com/WordPress/gutenberg/pull/53692)) + + +### Performance + +- Revert "Switch performance tests to Playwright (#52022)". ([53741](https://github.com/WordPress/gutenberg/pull/53741)) +- StartPageOptions: Load and parse patterns only after establishing the need for them. ([53673](https://github.com/WordPress/gutenberg/pull/53673)) +- Switch performance tests to Playwright: Take 2. ([53768](https://github.com/WordPress/gutenberg/pull/53768)) + + +### Experiments + +#### Block API +- Auto-inserting blocks: Add block inspector panel. ([52969](https://github.com/WordPress/gutenberg/pull/52969)) + + +### Documentation + +- Add juanmaguitar as codeowner of /packages/interactivity/docs. ([53845](https://github.com/WordPress/gutenberg/pull/53845)) +- Add new How-to Guide for enqueueing assets in the Editor. ([53828](https://github.com/WordPress/gutenberg/pull/53828)) +- Adds example for useBlockProps hook. ([53646](https://github.com/WordPress/gutenberg/pull/53646)) +- Adds explanatory text to view.js template. ([53870](https://github.com/WordPress/gutenberg/pull/53870)) +- Clarification for `parent` and `ancestor` hierarchical relationships. ([53855](https://github.com/WordPress/gutenberg/pull/53855)) +- Docs: Extend the information about using `render` with `block.json`. ([53973](https://github.com/WordPress/gutenberg/pull/53973)) +- Docs: Remove duplicate sections from FAQ page. ([53830](https://github.com/WordPress/gutenberg/pull/53830)) +- Document the naming convention for `block-library` PHP functions. ([53777](https://github.com/WordPress/gutenberg/pull/53777)) +- Fix 'lerna' links in the release documentation. ([53770](https://github.com/WordPress/gutenberg/pull/53770)) +- Fix typo in code sample for Interactivity API. ([53916](https://github.com/WordPress/gutenberg/pull/53916)) +- MenuItem: Add Storybook stories. ([53613](https://github.com/WordPress/gutenberg/pull/53613)) +- Shortcut: Add Storybook stories. ([53627](https://github.com/WordPress/gutenberg/pull/53627)) +- Storybook: Add back subcomponents to props table. ([53751](https://github.com/WordPress/gutenberg/pull/53751)) +- Storybook: Fix default source visibility. ([53749](https://github.com/WordPress/gutenberg/pull/53749)) +- Storybook: Show main story before description. ([53753](https://github.com/WordPress/gutenberg/pull/53753)) +- Update local instructions on the dev env documentation. ([53924](https://github.com/WordPress/gutenberg/pull/53924)) +- Update the Block Variations API doc. ([53817](https://github.com/WordPress/gutenberg/pull/53817)) +- Update to node 16 and npm 8 in the getting started with code contribution doc. ([53912](https://github.com/WordPress/gutenberg/pull/53912)) +- docs: Fix report-flaky-test link. ([53848](https://github.com/WordPress/gutenberg/pull/53848)) + + +### Code Quality + +- Components: Update Popover per reviews. ([53907](https://github.com/WordPress/gutenberg/pull/53907)) +- Edit Site: Rename `CanvasSpinner` to `CanvasLoader`. ([53728](https://github.com/WordPress/gutenberg/pull/53728)) +- Enforce valid function names in the packages/block-library/src/*/*.php files. ([53438](https://github.com/WordPress/gutenberg/pull/53438)) +- Fonts Library: Update properties name from snake case to camel case to match the rest of the properties. ([53746](https://github.com/WordPress/gutenberg/pull/53746)) + +#### Post Editor +- Editor: Fix the 'useSelect' warning in the 'useIsDirty' hook. ([53759](https://github.com/WordPress/gutenberg/pull/53759)) +- Fix browser console error when changing device preview mode. ([53969](https://github.com/WordPress/gutenberg/pull/53969)) +- Refactor latest content selectors in 'CopyContentMenuItem' components. ([53676](https://github.com/WordPress/gutenberg/pull/53676)) + +#### Components +- Remove unnecessary utils. ([53679](https://github.com/WordPress/gutenberg/pull/53679)) +- SlotFill: Refactor ``. ([53272](https://github.com/WordPress/gutenberg/pull/53272)) +- Storybook: Update TypeScript types. ([53748](https://github.com/WordPress/gutenberg/pull/53748)) + +#### List View +- Fix warning error when the gallery block has the same image URLs. ([53809](https://github.com/WordPress/gutenberg/pull/53809)) + +#### Typography +- Font Face API: Use `gutenberg_get_global_settings` instead of private API. ([53805](https://github.com/WordPress/gutenberg/pull/53805)) + + +### Tools + +- Try: Change PR label enforcer automation not to work on draft PRs by default. ([53417](https://github.com/WordPress/gutenberg/pull/53417)) + +#### Testing +- Attempt to fix intermittent end-to-end test failure. ([53905](https://github.com/WordPress/gutenberg/pull/53905)) +- Fonts Library: Test improvements. ([53702](https://github.com/WordPress/gutenberg/pull/53702)) +- Make fonts test files use Core approach. ([53856](https://github.com/WordPress/gutenberg/pull/53856)) +- Migrate shortcut help end-to-end tests to Playwright. ([53832](https://github.com/WordPress/gutenberg/pull/53832)) +- Relocates Font Face and Fonts Library PHP files into Core's fonts directory. ([53747](https://github.com/WordPress/gutenberg/pull/53747)) +- `ColorPalette`: Refine test query. ([53704](https://github.com/WordPress/gutenberg/pull/53704)) +- end-to-end Playwright Utils: Automatically detect canvas type. ([53744](https://github.com/WordPress/gutenberg/pull/53744)) +- test: Automate mobile editor tests. ([53991](https://github.com/WordPress/gutenberg/pull/53991)) + +#### Build Tooling +- Update Jest to latest version, and use optimized JSDOM. ([53736](https://github.com/WordPress/gutenberg/pull/53736)) + +#### Plugin +- Backport themes `is_block_theme` collection param from core. ([53846](https://github.com/WordPress/gutenberg/pull/53846)) + + +## First time contributors + +The following PRs were merged by first time contributors: + +- @JEverhart383: Fix typo in code sample for Interactivity API. ([53916](https://github.com/WordPress/gutenberg/pull/53916)) +- @krokodok: Make mid size parameter settable for Query Pagination block. ([51216](https://github.com/WordPress/gutenberg/pull/51216)) +- @mklute101: Update local instructions on the dev env documentation. ([53924](https://github.com/WordPress/gutenberg/pull/53924)) + + +## Contributors + +The following contributors merged PRs in this release: + +@afercia @andrewserong @anton-vlasenko @bangank36 @brookewp @ciampo @colorful-tones @DAreRodz @dcalhoun @derekblank @ellatrix @felixarntz @geriux @glendaviesnz @gziolo @hellofromtonya @jasmussen @jblz @JEverhart383 @jordesign @jorgefilipecosta @jsnajdr @juanmaguitar @krokodok @luisherranz @Mamaduka @margolisj @matiasbenedetto @mburridge @mirka @mklute101 @mokagio @ndiego @ntsekouras @oandregal @ocean90 @ockham @priethor @ramonjd @richtabor @SiobhyB @Smit2808 @stokesman @t-hamano @torounit @tyxla @walbo @WunderBart @youknowriad + + = 16.5.1 =