Skip to content

16.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Jul 17:29
· 5 commits to release/16.2 since this release

Changelog

Enhancements

Patterns

  • Rename Reusable blocks to Patterns. (51704)
  • Add sync status to pattern details screen. (51954)
  • Rename Library to Patterns. (52102)
  • Update custom patterns label to 'My patterns'. (51949)
  • Update pattern creation modal in library. (51946)
  • Update template part icons in the library mosaic (grid items). (51963)
  • Reinstate manage all template parts page. (51961)
  • Add lock icon for theme patterns. (51990)
  • Update section heading levels. (52273)

Site Editor

  • Change "Home" template name to "Blog home". (52048)
  • Edit Site: Make loading spinner colors consistent. (51857)
  • Navigation in Site View: Readd the edit button. (52111)
  • Update the icon used to reference the blog. (52075)
  • Global Styles Sidebar: Re-add Colors: Heading to selected blocks. (49131)

Block Library

  • Force full height for editor in Navigation focus mode. (51798)
  • Social links: Updating class and style attributes. (51997)

Themes

  • Add border theme_support. (51777)
  • Add link color theme_support. (51775)

Global Styles

  • Style Book: Show tabs and make blocks clickable when entering edit mode from the Styles menu. (52222)

Widgets Editor

NUX

  • Page Content Focus: Add welcome guides. (52014)

Block Editor

  • Use block label and icon for the inserter draggable chip.. (51048)
  • Wrap "Move to trash" and "Switch to draft" buttons when labels are too long to fit on a single row. (52249)

Design Tools

  • Add Typography: Text orientation (writing mode). (50822)

Components

  • RangeControl: Add support for large 40px number input size. (49105)

Command Palette

  • Command palette: Rename. (52153)

Icons

  • Remove fill="none" from pinSmall icon. (51979)

Copy

  • Block Editor: Unify texts for Create pattern modal. (52151)
  • Page List: Change modal text. (52116)
  • i18n: Add context to the word "Filters". (52198)
  • Try: Update template titles. (51428)
  • Add a hint about the rename of reusable blocks to menu and inserter. (51771)
  • Copy: "Detach pattern" instead of "Covert to regular block". (51993)
  • Polish welcome guide copy for page / template editing. (52282)
  • Update delete page button label. (51812)

Widgets

  • Export store for the core/customize-widgets package. (52189)
  • Export the store for the core/edit-widgets package. (52190)

New APIs

Block Editor

  • Add new registerInserterMediaCategory API to make media categories extensible. (51542)

Bug Fixes

  • Adjust the position of sticky headings in preferences modal. (52248)
  • BlockRemovalWarningModal: Fix incorrect '_n' usage. (52164)
  • Editor initrial appender: Zero out margins in constrained layouts. (52026)
  • Export store from the edit-site package. (51986)
  • Fix disable DFM when opening styles command. (52165)
  • Fix unintentional toggling on of distraction free. (52090)
  • Footnotes: Increase selector specificity for anchor. (52179)
  • Respect custom aspect ratio. (52286)
  • Turn off DFM for style book and style editing. (52117)
  • Update fixed block toolbar. (52123)
  • Updating the BlockEditorProvider settings prop should reset the store's settings entirely. (51904)
  • [Command Palette]: Remove suggestion for deleting templates/parts. (52168)
  • [Command Palette]: Add preferences and keyboard shortcuts commands. (51862)
  • Rename block theme activation nonce variable. (52398)
  • hasResolvingSelectors: Exclude from result of resolveSelect. (52038)
  • Drop-indicator: Remove white border. (52122)

Block Library

  • Fix default block dimensions visibility. (52256)

  • Fix fetching Nav fallback ID flushing Navigation entity cache. (52069)

  • Fix: Term Description block should only be available in the site editor. (51053)

  • Footnotes: Register meta field for pages. (52024)

  • Image block: Fix cursor style when lightbox is opened. (52187)

  • Navigation: Add the draft status to the navigation title. (51967)

  • Navigation: Fix end-to-end test failures caused by sidebar title change. (52308)

  • Navigation: Fix sidebar title. (52167)

  • Navigation: Remove one preloaded endpoint. (52115)

  • Page List: Fix parent block selection when converting to link. (52193)

  • Post editor: Require confirmation before removing Footnotes. (52277)

  • fix: Display heading level dropdown icons and labels. (52004)

  • RichText/Footnotes: Make getRichTextValues work with InnerBlocks.Content. (52241)

  • Post and Comment Template blocks: Change render_block_context priority to 1 (#52364)

  • Footnotes: Fix incorrect anchor position in Firefox (#52425)

  • Footnotes: fix lingering format boundary attr (#52439)

  • Footnotes: save numbering through the entity provider (#52423)

  • Allow editing existing footnote from RichText formats toolbar. (52506)

  • Revert "Post editor: Require confirmation before removing Footnotes (#52277)". (52486)

  • Trim footnote anchors from excerpts. (52518)

Site Editor

  • Add confirmation step when deleting a Template. (52236)
  • Command Palette: Fix incorrect path and snackbar message when template part is deleted. (52034)
  • Default to showing status slug in sidebar. (52226)
  • Fix missing MenuGroup segment in Site Editor header more menu. (51860)
  • Fix missing snackbars in Library. (52021)
  • Fix stepper styling in Home template sidebar. (52025)
  • Get the top toolbar preference from the correct scope. (51840)
  • Hide word count and reading time meta data for the Posts Page details panel. (52186)
  • Modal: Add small top padding to the content so that avoid cutting off the visible outline when hovering items. (51829)
  • Site Editor Frame: Ignore Spotlight in view mode. (52262)
  • Try restoring the site editor animation. (51956)
  • Site Editor: Restore quick inserter 'Browse all' button. (52529)
  • Library: Update icons in the creation menu. (52108)
  • Update stepper styling in Home template details panel. (51972)
  • Update text color of active menu items. (51965)

Patterns

  • Fix custom patterns console error. (51947)
  • Fix history back after entering edit mode from Patterns. (52112)
  • Fix setting of sync status for fully synced patterns. (51952)
  • Fix sidebar tab label. (51953)
  • Fix: Pattern focus mode DocumentActions should use the pattern icon. (52031)
  • Include template parts for custom areas in Uncategorized category. (52159)
  • Remove ability for user to toggle sync status after pattern creation. (51998)
  • Rename sync_status and move to top level field on rest return instead of a meta field. (52146)
  • Library - make pattern title clickable. (51898)
  • Check that core hasn't already moved sync status meta before moving and unsetting. (52494)

Global Styles

  • Check if experiment enabled for realsies this time. (52315)
  • Check randomizer experiment is enabled before rendering button. (52306)

Navigation Menu Sidebar

  • Make the entire preview clickable in order to enter "edit" mode in focus mode. (51973)
  • Restore sidebar in focus mode on Pattern click through in Browse Mode Library. (51897)

Page Content Focus

  • Hide parent selector when parent's block editing mode is 'disabled' or 'contentOnly'. (52264)

Post Editor

  • Editor: Avoid remounting pre-publish sidebar contents during autosave. (52208)

Block Editor

  • Enable draft entity creation in Nav block offcanvas. (52166)
  • Iframe: avoid asset parsing & fix script localisation (52405)
  • [Edit Post]: Add toggle fullscreen mode and list view commands. (52184)

History

  • Update the behavior of the cached undo/redo stack. (51644)

Components

  • DropdownMenu: Fix icon style when dashicon is used. (43574)

Accessibility

  • Fix incorrect aria-describedby attributes for theme patterns. (52263)
  • Guide: Place focus on the guide's container instead of its first tabbable. (52300)
  • Site Editor: Update headings hierarchy in the 'Manage all' screens. (52271)
  • Navigation block: Do not toggle aria-expanded on hover when the overlay menu is opened. (52170)
  • Navigation block: Don't close submenu when it has focus. (52177)

Performance

  • Migrate performance tests to Playwright. (51084)
  • Social links: Reverts updating class and style attributes. (52019)
  • tests: Configure as a production environment. (52016)
  • Add caching to schema of REST API. (52045)
  • Try: Aggressive TinyMCE deprecation. (50387)

Experiments

Interactivity API

  • Create @wordpress/interactivity with the Interactivity API. (50906)
  • Fix the exsisting -> existing typo. (52110)
  • First version of the Interactivity API README. (52104)
  • Block Image: Lightbox - Hide animation selector if behavior is Default or None. (51748)
  • Image block: Fix responsive sizing in lightbox. (51823)
  • Image block: Lightbox animation improvements. (51721)
  • Navigation block: Check that the modal is set before using contains. (51962)
  • Image block: Remove extra lookup for external image dimensions in lightbox. (52178)
  • Image block: Use built-in directive for mouseover event in lightbox. (52067)
  • Fix md5 class messed up with new block key. (52557)

Documentation

  • Add @examples to the @wordpress/rich-text package selectors and hide the actions from documentation. (52089)
  • Add examples for core/keyboard-shortcut package. (42831)
  • Block Editor: Add README for FontFamilyControl component. (52118)
  • Block Editor: Add README for PanelColorSettings component. (52327)
  • Block Editor: Add README for RecursionProvider. (52334)
  • Docs: Update release documentation to use the right cherry-picking command. (51935)

Code Quality

  • Lodash: Refactor away from _.kebabCase() in getCleanTemplatePartSlug. (51906)
  • Lodash: Refactor away from _.kebabCase() in add page modal. (51911)
  • Lodash: Refactor away from _.kebabCase() in generic template modal. (51910)
  • Lodash: Remove completely from @wordpress/style-engine package. (51726)
  • Sidebar Navigation: Refactor delete modal with ConfirmDialog component. (51867)
  • Template revisions API: Move back to experimental. (51774)
  • Block editor store: Also attach private APIs to old store descriptor. (52088)
  • Blocks: Remove gutenberg refs in PHP files. (51978)
  • Navigation submenu: Remove unused doc block. (52152)
  • Refactor use-tab-nav shift+tab to use existing utils. (51817)
  • Perf logging: Change date to ISO 8601. (51833)
  • Heading Block: Remove unused HeadingLevelIcon component. (52008)
  • Image block and behaviors: Fix some warnings. (52109)
  • Lodash: Refactor embed block away from _.kebabCase(). (51916)
  • Lodash: Remove dependency from block library package. (51976)
  • Make Navigation fallback selector private. (51413)
  • Page List: Fix ESLint warnings. (52267)
  • Refactor, document, and fix image block deprecations. (52081)
  • Block Supports: Change prefix in gutenberg_apply_colors_support to wp_ in dynamic blocks. (51989)
  • Move grid function kses patch into 6.3 compat folder. (52098)
  • Return primitive value for 'hideInserter' in Appender component. (52161)
  • Remove redundant call to Navigation selector in Browse Mode. (51988)
  • Block removal prompt: Let consumers pass their own rules. (51841)
  • Revise LinkControl suggestions UI to use MenuItem. (50978)

Tools

Testing

  • Drops PHP 5.6 CI jobs. (52345)
  • Revert phpcs testVersion back to PHP 5.6. (52384)
  • Fix flakiness of saving entities in the site editor. (51728)
  • Fix flaky Site Editor pages end-to-end test. (52283)
  • Have createNewPost wait for editor canvas contents. (51824)
  • Add basic test for the page content focus flow. (52231)
  • Fix phpunit failures. (51950)
  • Image block: Update lightbox animation tests. (52290)
  • Restore "Buttons > can resize width" test. (51865)
  • Remove serverSideBlockDefinitions from a test. (52215)
  • Fix flaky tests in navigation.spec.js and other tests related to the Post Editor Template mode. (51790)

Build Tooling

  • Use moment-timezone-data-webpack-plugin to optimize timezones shipped in wp/date. (51519)

Plugin

  • Backport from core: Rename gutenberg_get_remote_theme_patterns to gutenberg_get_theme_directory_pattern_slugs. (51784)
  • [Github-Actions-Workflows][Plugin-Release] Allow shipping a point-release for an older stable release. (49082)
  • Global Styles Revisions API: Backport changes from Core. (52095)
  • Update versions in WP for 6.3. (51984)
  • Move block editor settings filter into 6.3 compat folder. (52100)

Project Management

  • Add code owners for the Interactivity API runtime. (52174)

Contributors

The following contributors merged PRs in this release:

@aaronrobertshaw @ajlende @annezazu @artemiomorales @c4rl0sbr4v0 @carolinan @DAreRodz @dcalhoun @draganescu @ellatrix @fullofcaffeine @getdave @glendaviesnz @hellofromtonya @jameskoster @jasmussen @jeryj @jsnajdr @juanfra @juanmaguitar @kevin940726 @luisherranz @Mamaduka @mcsf @michalczaplinski @miminari @noisysocks @ntsekouras @oandregal @ockham @peterwilsoncc @priethor @ramonjd @richtabor @ryanwelcher @SaxonF @scruffian @spacedmonkey @stokesman @t-hamano @talldan @tellthemachines @tyxla @WunderBart @youknowriad