From 9d489d92df16a7c69d0299f5e2c3672d64681d3c Mon Sep 17 00:00:00 2001 From: Gutenberg Repository Automation Date: Wed, 29 Jun 2022 11:00:00 +0000 Subject: [PATCH] Update Changelog for 13.6.0-rc.1 --- changelog.txt | 252 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 252 insertions(+) diff --git a/changelog.txt b/changelog.txt index 615d0e90974d22..0288716e40b1cf 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,257 @@ == Changelog == += 13.6.0-rc.1 = + +## Changelog + +### Enhancements + +- ESLint: Enable `ignoreRestSiblings` option for `no-unused-vars` rule. ([41897](https://github.com/WordPress/gutenberg/pull/41897)) +- Format Library: Add keyboard shortcut for Strikethrough. ([41910](https://github.com/WordPress/gutenberg/pull/41910)) +- Format Library: Add keyboard shortcut for inline code. ([41816](https://github.com/WordPress/gutenberg/pull/41816)) + +#### Components +- ColorIndicator: Convert component to TypeScript. ([41587](https://github.com/WordPress/gutenberg/pull/41587)) +- FormToggle: Covert component to TypeScript. ([41729](https://github.com/WordPress/gutenberg/pull/41729)) +- Spinner: Convert component to TypeScript. ([41540](https://github.com/WordPress/gutenberg/pull/41540)) +- Truncate: Convert component to TypeScript. ([41697](https://github.com/WordPress/gutenberg/pull/41697)) +- VStack: Convert component to TypeScript. ([41850](https://github.com/WordPress/gutenberg/pull/41850)) + +#### Global Styles +- Add support for caption elements. ([41140](https://github.com/WordPress/gutenberg/pull/41140)) +- Elements: Add UI for button elements. ([41659](https://github.com/WordPress/gutenberg/pull/41659)) +- Support pseudo selectors on `elements` in theme json. ([41786](https://github.com/WordPress/gutenberg/pull/41786)) + +#### Widgets Editor +- Editors: Add a link completer shortcut to the help modals. ([41872](https://github.com/WordPress/gutenberg/pull/41872)) +- Improve action button spacing. ([41915](https://github.com/WordPress/gutenberg/pull/41915)) + +#### Block Library +- Elements: Add an API make it easier to get class names. ([41753](https://github.com/WordPress/gutenberg/pull/41753)) +- Elements: Button - Fix element selectors. ([41822](https://github.com/WordPress/gutenberg/pull/41822)) + +#### Design Tools +- Adding axial top bottom margin to the cover block. ([41963](https://github.com/WordPress/gutenberg/pull/41963)) + +#### Template Editor +- Turn Template settings panel into a Template popover. ([41925](https://github.com/WordPress/gutenberg/pull/41925)) + +#### Accessibility +- Make the site editor header toolbar use the ARIA toolbar pattern. ([41902](https://github.com/WordPress/gutenberg/pull/41902)) + +#### Document Settings +- Abbreviate post schedule date when possible. ([41738](https://github.com/WordPress/gutenberg/pull/41738)) + +#### Site Editor +- [Site Editor]: Expand the template types that can be added - single custom post type and specific posts templates. ([41189](https://github.com/WordPress/gutenberg/pull/41189)) + + +### New APIs + +- Add __experimentalUseResourcePermissions. ([38785](https://github.com/WordPress/gutenberg/pull/38785)) + + +### Bug Fixes + +- Block Editor: Fix incorrect '_n' usage. ([41886](https://github.com/WordPress/gutenberg/pull/41886)) +- BlockPreview: Fix 'Infinity' is invalid 'minHeight' value warning. ([41766](https://github.com/WordPress/gutenberg/pull/41766)) +- Change case. ([41792](https://github.com/WordPress/gutenberg/pull/41792)) +- Compare against default category in the settings instead of hardcoded slug. ([41956](https://github.com/WordPress/gutenberg/pull/41956)) +- Fix PHP 8.1 deprecation in the gallery block. ([41193](https://github.com/WordPress/gutenberg/pull/41193)) +- Fix: Add 'application/zip' accept header. ([41602](https://github.com/WordPress/gutenberg/pull/41602)) +- Skip flaky nav end-to-end test. ([41829](https://github.com/WordPress/gutenberg/pull/41829)) +- Try to fix the image rotating flaky test. ([41808](https://github.com/WordPress/gutenberg/pull/41808)) +- [Block Editor]: Fix content loss from `replaceInnerBlocks` with controlled blocks. ([41948](https://github.com/WordPress/gutenberg/pull/41948)) + +#### Block Library +- Comments Block: Fixed issue with custom font sizes and links color. ([41627](https://github.com/WordPress/gutenberg/pull/41627)) +- Fix permissions warning showing when inserting a navigation block. ([41862](https://github.com/WordPress/gutenberg/pull/41862)) +- Fixed issue of background min height. ([41693](https://github.com/WordPress/gutenberg/pull/41693)) +- List block v2: Transform don't take into account nested blocks. ([41741](https://github.com/WordPress/gutenberg/pull/41741)) +- Only use the post-title if the featured image is a link. ([41775](https://github.com/WordPress/gutenberg/pull/41775)) +- Post Template: Ensure layout classnames are not attached to inner li elements. ([41827](https://github.com/WordPress/gutenberg/pull/41827)) +- [List v2]: Set selection to created block after split with Enter. ([41899](https://github.com/WordPress/gutenberg/pull/41899)) +- fix: Image block preserves alt text from media library. ([41839](https://github.com/WordPress/gutenberg/pull/41839)) + +#### Components +- Border Controls/Color Palette: Ensure popovers remain within small viewports. ([41930](https://github.com/WordPress/gutenberg/pull/41930)) +- ColorPicker: Remove horizontal scrollbar when using HSL or RGB color input types. ([41646](https://github.com/WordPress/gutenberg/pull/41646)) +- Make date picker respect site's 'Week Starts On' setting. ([41648](https://github.com/WordPress/gutenberg/pull/41648)) +- Revert: Refactor `Autocomplete` component to pass `exhaustive-deps`. ([41820](https://github.com/WordPress/gutenberg/pull/41820)) + +#### REST API +- Fix retrieving autosaves when using a custom rest_namespace. ([41542](https://github.com/WordPress/gutenberg/pull/41542)) +- Remove hardcoded reference to rest namespace in trash post. ([41950](https://github.com/WordPress/gutenberg/pull/41950)) +- Remove hardcoded reference to wp/v2 in findOrCreateTerm. ([41951](https://github.com/WordPress/gutenberg/pull/41951)) + +#### Global Styles +- Always load block CSS from __experimentalStyle. ([42005](https://github.com/WordPress/gutenberg/pull/42005)) + +#### Design Tools +- Color Controls: Allow popovers to remain within smaller viewports. ([41929](https://github.com/WordPress/gutenberg/pull/41929)) + +#### Block Locking +- BlockSettingsMenuControls: Fix 'showLockButton' check. ([41788](https://github.com/WordPress/gutenberg/pull/41788)) + +#### Accessibility +- Navigation submenus: Allow Escape key to close the submenu and focus trigger. ([41774](https://github.com/WordPress/gutenberg/pull/41774)) + +#### Patterns +- Rendering duotone presets in pattern preview. ([41249](https://github.com/WordPress/gutenberg/pull/41249)) + + +### Performance + +- Continued the work refactor away from lodash usages in order to reduce the build size. +- Remove: Unrequired regex search on duotone supports. ([42020](https://github.com/WordPress/gutenberg/pull/42020)) + +#### Block Library +- Avoid calculating html block styles in useSelect. ([42026](https://github.com/WordPress/gutenberg/pull/42026)) + + +#### Block Editor +- Pasting: Fix performance regression due to removeWindowsFragments. ([41907](https://github.com/WordPress/gutenberg/pull/41907)) + + + +### Experiments + +#### CSS & Styling +- Style engine: Add border to frontend. ([41803](https://github.com/WordPress/gutenberg/pull/41803)) + + +### Documentation + +- Add an explanation how to setup environment to do run the performance test. ([41883](https://github.com/WordPress/gutenberg/pull/41883)) +- Add local dev notes to aid when doing work on schemas. ([41968](https://github.com/WordPress/gutenberg/pull/41968)) +- Block attributes docs: Minor documentation inconsistencies. ([41468](https://github.com/WordPress/gutenberg/pull/41468)) +- Docs: Add an example for the end-to-end tests snapshot update. ([41999](https://github.com/WordPress/gutenberg/pull/41999)) +- Fix documentation of Flex component to no longer be experimental. ([41926](https://github.com/WordPress/gutenberg/pull/41926)) +- Fix link to "Good First Review" issues in README. ([41754](https://github.com/WordPress/gutenberg/pull/41754)) +- Fix link to Flex component in FlexItem Readme. ([41928](https://github.com/WordPress/gutenberg/pull/41928)) +- Fix some small inconsistencies in the block editor documentation. ([41861](https://github.com/WordPress/gutenberg/pull/41861)) +- Style engine: Update terminology and documentation. ([41964](https://github.com/WordPress/gutenberg/pull/41964)) +- Update skip serialization documentation to reflect ability to target specific properties. ([41277](https://github.com/WordPress/gutenberg/pull/41277)) + + +### Code Quality + +- Fix: Double condition on or on block editor reducer. ([42019](https://github.com/WordPress/gutenberg/pull/42019)) +- Remove WP 6.0 WP_REST_Block_Patterns_Controller class. ([41914](https://github.com/WordPress/gutenberg/pull/41914)) +- Remove leftovers of legacy query-loop block. ([41891](https://github.com/WordPress/gutenberg/pull/41891)) +- [Block editor]: Remove `startBlankComponent` from __experimentalBlockPatternSetup. ([41721](https://github.com/WordPress/gutenberg/pull/41721)) + +#### Components +- Heading: Complete TypeScript migration of component. ([41921](https://github.com/WordPress/gutenberg/pull/41921)) +- Refactor `NavigationItem` to pass `exhaustive-deps`. ([41639](https://github.com/WordPress/gutenberg/pull/41639)) + +#### Plugin +- Move setting registration into WP 6.0 compat. ([41985](https://github.com/WordPress/gutenberg/pull/41985)) + +#### CSS & Styling +- Layout: Move generation of util classes to existing method to avoid adding global public method WP. ([41885](https://github.com/WordPress/gutenberg/pull/41885)) + +#### Block Library +- Block Library (Avatar Block): Remove Unnecessary '&& check' as 'optional chaining (authorDetails?.avatar_urls) check' is already used. ([41779](https://github.com/WordPress/gutenberg/pull/41779)) + + +### Tools + +#### Testing +- Migrate spacer test to playwright. ([41590](https://github.com/WordPress/gutenberg/pull/41590)) +- Migrate table block tests to Playwright. ([41945](https://github.com/WordPress/gutenberg/pull/41945)) +- Refactor preview end-to-end tests to use Playwright. ([41380](https://github.com/WordPress/gutenberg/pull/41380)) +- `InputControl`: Add tests and update to use @testing-library/user-event. ([41421](https://github.com/WordPress/gutenberg/pull/41421)) +- end-to-end Tests: Migrate style variations tests to Playwright. ([41427](https://github.com/WordPress/gutenberg/pull/41427)) + +### Various + +- Add schema support for styles.filter.duotone. ([41920](https://github.com/WordPress/gutenberg/pull/41920)) +- Add supports to basic sample code. ([41589](https://github.com/WordPress/gutenberg/pull/41589)) +- Improvements to "inherit default layout" toggle. ([41893](https://github.com/WordPress/gutenberg/pull/41893)) +- Increase fade intensity during spotlight mode. ([40454](https://github.com/WordPress/gutenberg/pull/40454)) +- List block v2: Fix impossible to outdent multiple list items. ([41713](https://github.com/WordPress/gutenberg/pull/41713)) +- Migrate Button Block tests to Playwright. ([41494](https://github.com/WordPress/gutenberg/pull/41494)) +- Migrate rtl test case to it's playwright version. ([41495](https://github.com/WordPress/gutenberg/pull/41495)) +- Search block: Remove double spaces. ([41746](https://github.com/WordPress/gutenberg/pull/41746)) +- SerializeBlock fix ESLint warning. ([41763](https://github.com/WordPress/gutenberg/pull/41763)) +- Update Theme JSON `$schema` to account for pseudo selector support. ([41936](https://github.com/WordPress/gutenberg/pull/41936)) +- Update nested-blocks-inner-blocks.md. ([41962](https://github.com/WordPress/gutenberg/pull/41962)) +- Webfonts API: Document `fontFace` and it’s values in `theme.json` schema. ([41844](https://github.com/WordPress/gutenberg/pull/41844)) +- [RN Mobile] RichText: Return early when content has changed in onSelectionChangeFromAztec. ([41682](https://github.com/WordPress/gutenberg/pull/41682)) + +#### Block Library +- #30930 - Make it easier to select "Edit visually" when in "Edit as HTML. ([41516](https://github.com/WordPress/gutenberg/pull/41516)) +- Columns block: Change title of one third/two thirds column variation to 66/33. ([41734](https://github.com/WordPress/gutenberg/pull/41734)) +- Fix Prettier error. ([41916](https://github.com/WordPress/gutenberg/pull/41916)) +- Navigation: Adjust mobile close button position when admin bar is visible. ([41664](https://github.com/WordPress/gutenberg/pull/41664)) +- Navigation: Make additional top margin specific to open modal. ([41949](https://github.com/WordPress/gutenberg/pull/41949)) +- Navigation: Move block CSS to JSON. ([41898](https://github.com/WordPress/gutenberg/pull/41898)) +- Post Comments Form: Add button that enables commenting to warning. ([41603](https://github.com/WordPress/gutenberg/pull/41603)) +- Strip whitespaces in render_block_core_cover. ([40859](https://github.com/WordPress/gutenberg/pull/40859)) + +#### Components +- BorderControl: Complete TypeScript migration. ([41843](https://github.com/WordPress/gutenberg/pull/41843)) +- NumberControl: Add 40px size variant to Storybook. ([41997](https://github.com/WordPress/gutenberg/pull/41997)) +- NumberControl: Convert knobs to controls in Storybook. ([41849](https://github.com/WordPress/gutenberg/pull/41849)) +- Set Default state to media library for library button in image block. ([41678](https://github.com/WordPress/gutenberg/pull/41678)) +- Spacer: Convert knobs to controls in Storybook. ([41851](https://github.com/WordPress/gutenberg/pull/41851)) + +#### Global Styles +- Allow references to values in other locations in the tree. ([41696](https://github.com/WordPress/gutenberg/pull/41696)) +- Elements: Lower specificity of elements block css. ([41931](https://github.com/WordPress/gutenberg/pull/41931)) + +#### CSS & Styling +- Classic Block: Remove CSS properties with vendor prefixes. ([41995](https://github.com/WordPress/gutenberg/pull/41995)) + +#### Patterns +- Add: Ability to use creation patterns for other post types besides page. ([41791](https://github.com/WordPress/gutenberg/pull/41791)) + +#### Accessibility +- Allow defining an aria-label in group blocks. ([41744](https://github.com/WordPress/gutenberg/pull/41744)) + +#### Full Site Editing +- [Full Site Editing]: Add clear customizations to template card. ([41743](https://github.com/WordPress/gutenberg/pull/41743)) + +#### Data Layer +- Autocompletion support for useSelect (via jsDoc annotations). ([41596](https://github.com/WordPress/gutenberg/pull/41596)) + +#### Block Variations +- Add Pocket Casts embed block variation. ([41006](https://github.com/WordPress/gutenberg/pull/41006)) + +#### Templates API +- #40675: Ensure only the main query is modified when resolving template for new posts. ([40799](https://github.com/WordPress/gutenberg/pull/40799)) + +#### Themes +- Add the ability to unset duotone in themes with default duotone set. ([39564](https://github.com/WordPress/gutenberg/pull/39564)) + + +## First-time contributors + +The following PRs were merged by first time contributors: + +- @adambasa-dp: #30930 - Make it easier to select "Edit visually" when in "Edit as HTML. ([41516](https://github.com/WordPress/gutenberg/pull/41516)) +- @arturgrabo: Change case. ([41792](https://github.com/WordPress/gutenberg/pull/41792)) +- @hz-tyfoon: Block Library (Avatar Block): Remove Unnecessary '&& check' as 'optional chaining (authorDetails?.avatar_urls) check' is already used. ([41779](https://github.com/WordPress/gutenberg/pull/41779)) +- @inc2734: Add supports to basic sample code. ([41589](https://github.com/WordPress/gutenberg/pull/41589)) +- @kbrown9: [RN Mobile] RichText: Return early when content has changed in onSelectionChangeFromAztec. ([41682](https://github.com/WordPress/gutenberg/pull/41682)) +- @mcliwanow: Fix link to "Good First Review" issues in README. ([41754](https://github.com/WordPress/gutenberg/pull/41754)) +- @navigatrum: Strip whitespaces in render_block_core_cover. ([40859](https://github.com/WordPress/gutenberg/pull/40859)) +- @pavanpatil1: Migrate rtl test case to it's playwright version. ([41495](https://github.com/WordPress/gutenberg/pull/41495)) +- @petitphp: #40675: Ensure only the main query is modified when resolving template for new posts. ([40799](https://github.com/WordPress/gutenberg/pull/40799)) +- @phcp: Add Pocket Casts embed block variation. ([41006](https://github.com/WordPress/gutenberg/pull/41006)) +- @vasartam: Block attributes docs: Minor documentation inconsistencies. ([41468](https://github.com/WordPress/gutenberg/pull/41468)) +- @xylocone: Update nested-blocks-inner-blocks.md. ([41962](https://github.com/WordPress/gutenberg/pull/41962)) +- @zaerl: Fix: Add 'application/zip' accept header. ([41602](https://github.com/WordPress/gutenberg/pull/41602)) + + +## Contributors + +The following contributors merged PRs in this release: + +@aaronrobertshaw @adambasa-dp @adamziel @afercia @ajlende @alexstine @andrewserong @aristath @arturgrabo @chad1008 @ciampo @dcalhoun @derekblank @fabiankaegy @fluiddot @georgeh @getdave @glendaviesnz @grappler @hz-tyfoon @inc2734 @jorgefilipecosta @kbrown9 @kevin940726 @MaggieCabrera @Mamaduka @matiasbenedetto @mcliwanow @mcsf @mikachan @miminari @mirka @mtias @navigatrum @noisysocks @ntsekouras @ockham @opr @pavanpatil1 @petitphp @phcp @pooja-muchandikar @ramonjd @scruffian @SiobhyB @spacedmonkey @stokesman @sunil25393 @t-hamano @talldan @tellthemachines @tomjn @tyxla @vasartam @walbo @xylocone @zaerl + + = 13.5.1 =