github WordPress/gutenberg v13.6.0-rc.1
13.6.0 RC1

latest releases: v19.6.1, @wordpress/widgets@4.8.14, @wordpress/reusable-blocks@5.8.14...
pre-release2 years ago

Changelog

Enhancements

  • ESLint: Enable ignoreRestSiblings option for no-unused-vars rule. (41897)
  • Format Library: Add keyboard shortcut for Strikethrough. (41910)
  • Format Library: Add keyboard shortcut for inline code. (41816)

Components

  • ColorIndicator: Convert component to TypeScript. (41587)
  • FormToggle: Covert component to TypeScript. (41729)
  • Spinner: Convert component to TypeScript. (41540)
  • Truncate: Convert component to TypeScript. (41697)
  • VStack: Convert component to TypeScript. (41850)

Global Styles

  • Add support for caption elements. (41140)
  • Elements: Add UI for button elements. (41659)
  • Support pseudo selectors on elements in theme json. (41786)

Widgets Editor

  • Editors: Add a link completer shortcut to the help modals. (41872)
  • Improve action button spacing. (41915)

Block Library

  • Elements: Add an API make it easier to get class names. (41753)
  • Elements: Button - Fix element selectors. (41822)

Design Tools

  • Adding axial top bottom margin to the cover block. (41963)

Template Editor

  • Turn Template settings panel into a Template popover. (41925)

Accessibility

  • Make the site editor header toolbar use the ARIA toolbar pattern. (41902)

Document Settings

  • Abbreviate post schedule date when possible. (41738)

Site Editor

  • [Site Editor]: Expand the template types that can be added - single custom post type and specific posts templates. (41189)

New APIs

  • Add __experimentalUseResourcePermissions. (38785)

Bug Fixes

  • Block Editor: Fix incorrect '_n' usage. (41886)
  • BlockPreview: Fix 'Infinity' is invalid 'minHeight' value warning. (41766)
  • Change case. (41792)
  • Compare against default category in the settings instead of hardcoded slug. (41956)
  • Fix PHP 8.1 deprecation in the gallery block. (41193)
  • Fix: Add 'application/zip' accept header. (41602)
  • Skip flaky nav end-to-end test. (41829)
  • Try to fix the image rotating flaky test. (41808)
  • [Block Editor]: Fix content loss from replaceInnerBlocks with controlled blocks. (41948)

Block Library

  • Comments Block: Fixed issue with custom font sizes and links color. (41627)
  • Fix permissions warning showing when inserting a navigation block. (41862)
  • Fixed issue of background min height. (41693)
  • List block v2: Transform don't take into account nested blocks. (41741)
  • Only use the post-title if the featured image is a link. (41775)
  • Post Template: Ensure layout classnames are not attached to inner li elements. (41827)
  • [List v2]: Set selection to created block after split with Enter. (41899)
  • fix: Image block preserves alt text from media library. (41839)

Components

  • Border Controls/Color Palette: Ensure popovers remain within small viewports. (41930)
  • ColorPicker: Remove horizontal scrollbar when using HSL or RGB color input types. (41646)
  • Make date picker respect site's 'Week Starts On' setting. (41648)
  • Revert: Refactor Autocomplete component to pass exhaustive-deps. (41820)

REST API

  • Fix retrieving autosaves when using a custom rest_namespace. (41542)
  • Remove hardcoded reference to rest namespace in trash post. (41950)
  • Remove hardcoded reference to wp/v2 in findOrCreateTerm. (41951)

Global Styles

  • Always load block CSS from __experimentalStyle. (42005)

Design Tools

  • Color Controls: Allow popovers to remain within smaller viewports. (41929)

Block Locking

  • BlockSettingsMenuControls: Fix 'showLockButton' check. (41788)

Accessibility

  • Navigation submenus: Allow Escape key to close the submenu and focus trigger. (41774)

Patterns

  • Rendering duotone presets in pattern preview. (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)

Block Library

  • Avoid calculating html block styles in useSelect. (42026)

Block Editor

  • Pasting: Fix performance regression due to removeWindowsFragments. (41907)

Experiments

CSS & Styling

  • Style engine: Add border to frontend. (41803)

Documentation

  • Add an explanation how to setup environment to do run the performance test. (41883)
  • Add local dev notes to aid when doing work on schemas. (41968)
  • Block attributes docs: Minor documentation inconsistencies. (41468)
  • Docs: Add an example for the end-to-end tests snapshot update. (41999)
  • Fix documentation of Flex component to no longer be experimental. (41926)
  • Fix link to "Good First Review" issues in README. (41754)
  • Fix link to Flex component in FlexItem Readme. (41928)
  • Fix some small inconsistencies in the block editor documentation. (41861)
  • Style engine: Update terminology and documentation. (41964)
  • Update skip serialization documentation to reflect ability to target specific properties. (41277)

Code Quality

  • Fix: Double condition on or on block editor reducer. (42019)
  • Remove WP 6.0 WP_REST_Block_Patterns_Controller class. (41914)
  • Remove leftovers of legacy query-loop block. (41891)
  • [Block editor]: Remove startBlankComponent from __experimentalBlockPatternSetup. (41721)

Components

  • Heading: Complete TypeScript migration of component. (41921)
  • Refactor NavigationItem to pass exhaustive-deps. (41639)

Plugin

  • Move setting registration into WP 6.0 compat. (41985)

CSS & Styling

  • Layout: Move generation of util classes to existing method to avoid adding global public method WP. (41885)

Block Library

  • Block Library (Avatar Block): Remove Unnecessary '&& check' as 'optional chaining (authorDetails?.avatar_urls) check' is already used. (41779)

Tools

Testing

  • Migrate spacer test to playwright. (41590)
  • Migrate table block tests to Playwright. (41945)
  • Refactor preview end-to-end tests to use Playwright. (41380)
  • InputControl: Add tests and update to use @testing-library/user-event. (41421)
  • end-to-end Tests: Migrate style variations tests to Playwright. (41427)

Various

  • Add schema support for styles.filter.duotone. (41920)
  • Add supports to basic sample code. (41589)
  • Improvements to "inherit default layout" toggle. (41893)
  • Increase fade intensity during spotlight mode. (40454)
  • List block v2: Fix impossible to outdent multiple list items. (41713)
  • Migrate Button Block tests to Playwright. (41494)
  • Migrate rtl test case to it's playwright version. (41495)
  • Search block: Remove double spaces. (41746)
  • SerializeBlock fix ESLint warning. (41763)
  • Update Theme JSON $schema to account for pseudo selector support. (41936)
  • Update nested-blocks-inner-blocks.md. (41962)
  • Webfonts API: Document fontFace and it’s values in theme.json schema. (41844)
  • [RN Mobile] RichText: Return early when content has changed in onSelectionChangeFromAztec. (41682)

Block Library

  • #30930 - Make it easier to select "Edit visually" when in "Edit as HTML. (41516)
  • Columns block: Change title of one third/two thirds column variation to 66/33. (41734)
  • Fix Prettier error. (41916)
  • Navigation: Adjust mobile close button position when admin bar is visible. (41664)
  • Navigation: Make additional top margin specific to open modal. (41949)
  • Navigation: Move block CSS to JSON. (41898)
  • Post Comments Form: Add button that enables commenting to warning. (41603)
  • Strip whitespaces in render_block_core_cover. (40859)

Components

  • BorderControl: Complete TypeScript migration. (41843)
  • NumberControl: Add 40px size variant to Storybook. (41997)
  • NumberControl: Convert knobs to controls in Storybook. (41849)
  • Set Default state to media library for library button in image block. (41678)
  • Spacer: Convert knobs to controls in Storybook. (41851)

Global Styles

  • Allow references to values in other locations in the tree. (41696)
  • Elements: Lower specificity of elements block css. (41931)

CSS & Styling

  • Classic Block: Remove CSS properties with vendor prefixes. (41995)

Patterns

  • Add: Ability to use creation patterns for other post types besides page. (41791)

Accessibility

  • Allow defining an aria-label in group blocks. (41744)

Full Site Editing

  • [Full Site Editing]: Add clear customizations to template card. (41743)

Data Layer

  • Autocompletion support for useSelect (via jsDoc annotations). (41596)

Block Variations

  • Add Pocket Casts embed block variation. (41006)

Templates API

  • #40675: Ensure only the main query is modified when resolving template for new posts. (40799)

Themes

  • Add the ability to unset duotone in themes with default duotone set. (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)
  • @arturgrabo: Change case. (41792)
  • @hz-tyfoon: Block Library (Avatar Block): Remove Unnecessary '&& check' as 'optional chaining (authorDetails?.avatar_urls) check' is already used. (41779)
  • @inc2734: Add supports to basic sample code. (41589)
  • @kbrown9: [RN Mobile] RichText: Return early when content has changed in onSelectionChangeFromAztec. (41682)
  • @mcliwanow: Fix link to "Good First Review" issues in README. (41754)
  • @navigatrum: Strip whitespaces in render_block_core_cover. (40859)
  • @pavanpatil1: Migrate rtl test case to it's playwright version. (41495)
  • @petitphp: #40675: Ensure only the main query is modified when resolving template for new posts. (40799)
  • @phcp: Add Pocket Casts embed block variation. (41006)
  • @vasartam: Block attributes docs: Minor documentation inconsistencies. (41468)
  • @xylocone: Update nested-blocks-inner-blocks.md. (41962)
  • @zaerl: Fix: Add 'application/zip' accept header. (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

Don't miss a new gutenberg release

NewReleases is sending notifications on new releases.