Skip to content

16.1.0 RC1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 26 Jun 00:39
· 55 commits to release/16.1 since this release

Changelog

Features

Navigation Menu Sidebar

  • Add focus mode for Navigation Menus. (39286)
  • Allow renaming, duplication and deleting of Navigation menus from Browse Mode Sidebar. (50880)

Block Library

  • Add Navigation Menus to Template Parts screen sidebar in Browse Mode. (51492)
  • Add Footnotes block to text blocks. (51201)

Patterns

  • Allow for filtering of block patterns by source. (51672)
  • Reusable blocks: Rename to 'Patterns' and add option to also add a non-synced Pattern. (51144)
  • Site Editor: Add Library for Template Parts & Patterns Management. (51078)

Themes

  • Remove the experiment option for Block Theme Previews. (50983)

Enhancements

Site Editor

  • Edit Site: Make admin background consistent with layout. (51741)
  • Edit Site: Remove first loading spinner. (51736)
  • Edit Site: Use global background color while loading. (51709)
  • Improve guidance to editing template when focused on editing a page. (51366)
  • Only show view site link in view mode. (51279)
  • Page Details View: Show featured image only if there is one. (51649)
  • Page Details View: Show parent only if there is one. (51648)
  • Site editor sidebar: Home template details. (51223)
  • Navigation on Browse Mode: Move the action to the leaf menu. (50843)
  • Remove Taxonomy as an option in the add template flow. (51586)
  • Remove shadows in Site Editor sidebar. (51546)
  • Show warning on critical block removal. (51145)
  • Site editor navigation: Use chevron left in RTL mode. (51588)
  • Add ability to set status, publish date and password in site editor. (51408)
  • Add table view to manage templates page. (50766)
  • Update Library panel footer. (51652)
  • Update page list footer. (51438)
  • List draft navigations in Browse mode Navigation section. (51422)
  • Show actions for empty menus in Navigation on Browse mode. (51420)
  • Unify welcome guides labels casing. (51700)
  • Site editor sidebar: Add footer to template part and ensure nested template areas display. (51669)

Components

  • ItemGroup: Update button focus styles to be more consistent. (51576)
  • Toolbar: Use Ariakit instead of Reakit. (51623)
  • Update: Adjust modal radius to be between frame and buttons. (51254)
  • UnitControl: Revamp support for changing unit by typing. (39303)
  • Move HeadinglevelDropdown to its own component. (46003)

Block Editor

  • List View: Try showing blocks that are dragged (no longer hide them). (51724)
  • Updated unstyled Button hover selector to change fill of svg and path element. (50819)
  • Writing Flow: Allow Escape key to deselect blocks and selection during multiselection. (48904)
  • Change "Copy block" to "Copy". (51532)
  • Limit Copy/Paste Styles menu item. (51503)
  • Force disable suggestions until URL field is dirty in Link Control. (51354)
  • Top toolbar: Refine the icons on the right. (51735)

Block Library

  • List block: Add numbering type selection. (51186)
  • Patterns: Removes the pattern experiment. (51719)
  • Remove accordion from details block keywords. (51597)
  • Add init modules to details and post-time-to-read blocks. (51606)
  • Improve logic in render_block_core_template_part. (50636)
  • Indicate Draft status of menus in Nav block menu selector. (51427)
  • Mobile - Image block - Fix issue with set width and height images. (51463)
  • Navigation: Remove destructive colors from modal. (51691)
  • Pass the block to the onGoToPage function. (51699)
  • Post Author - don't show 0 in inspector controls. (51345)
  • Remove anchor support from dynamic blocks. (51288)
  • Site Tagline Block: Remove unnecessary square path from block icon SVG. (51611)

Accessibility

  • Autocomplete: Announce results to screen readers when first becoming visible. (51018)
  • List View: A11Y focus enhancements for edit-site based on modifications to edit-post. (51404)
  • Add a description key to theme.json style variations. (45242)
  • Focus first focusable on Link UI. (51105)

Interactivity API

  • Add missing tests for image block. (51305)
  • Image block: Add animation toggle to lightbox behavior. (51357)

Global Styles

  • Accept transforms in gutenberg_get_global_styles context params. (50484)
  • Split styles menus in revisions and everything else. (51318)

Icons

  • Tweak icons for improved HiDPI devices. (51511)

Plugin

  • Remove Details block setting field from the experiments page. (51372)

Templates API

  • Return post modified datetime in response. (51362)

List View

  • Style Book: Close list view when opening the style book. (50438)

Design Tools

  • List View: Add an indicator of when a position type is set for a block. (49122)
  • Sticky Position: Try re-enabling non-root sticky position. (49321)
  • Clarify error message if duotone color values is incorrect. (51397)
  • List all the font families and font sizes from all the theme.json origins in the font picker. (51488)

Post Editor

  • Adjust the name of the custom field button labels. (47407)
  • Block manager: Display a 'Reset' button when blocks are hidden to quickly enable all. (51200)

Media

  • Prepublish: Suggest uploading external images. (46014)

Patterns

  • Block Options: Use consistent capitalization on template parts and patterns. (51761)

CSS & Styling

  • Update editor UI modal width. (51733)

Commands

  • Add commands to access template, template parts and styles. (51501)
  • Add global styles related commands. (51637)

Themes

  • Block Theme Previews: Change the URL query string for more safety. (51312)
  • Update the Save Button label when you're previewing a theme. (51361)

Bug Fixes

Block Library

  • Fix navigation error in library. (51589)
  • Fix site editor rendering of Categories block. (51329)
  • Gallery block - Add default value for innerBlockImages. (51443)
  • Latest posts: Make more link consistent between frontend and editor. (51190)
  • Navigation: Don't interfere with pointer events. (51378)
  • Post editor: Make the Post Content block available as a child of the Query block. (51405)
  • Search Block: Fix problem with buttons not outputting primary status. (51529)
  • Try providing a non-zero value for client width in image editor. (51285)
  • Query Loop: Properly initialize and update perPage when we inherit from global query. (51641)
  • Avatar block: Fix not 1:1 between the editor and the front-end. (49963)
  • Spacer block: Fix invalid markup when set to fill. (51317)

Commands

  • Show pages with any status in the command center. (51324)

Core Data

  • Core Data: Fix ESLint warning for the 'useEntityRecord' hook. (51562)
  • useEntityRecord: Fix destructure error when enabled option is false. (51534)

Block Editor

  • Fix blocks autocompleter 'rootClientId' selector. (51673)
  • Inserter: Fix arrows in RTL mode. (51622)
  • Link Format: Don't return focus on the selected text 'onFocusOutside'. (51684)
  • ListView: Update drop indicator line positioning to support rtl languages. (51284)
  • Page Content Focus: Default insertion point to the Post Content block. (51773)

Site Editor

  • Add 'Edit template' and 'Back to page' commands. (51364)
  • Fix template display in page details with a custom template. (51638)
  • Page details: Fix displaying slugs with non-latin characters. (51679)
  • Prevent block overlay on blocks with a 'contentOnly' editing mode. (51780)
  • Fix gradient background color repeats. (51374)
  • Global styles: Fix back button tooltip. (51725)
  • Site editor header: Fix document title back and shortcut color contrast. (51442)
  • Site editor sidebar: Fix the heading hierarchy. (51696)

Accessibility

  • Distraction Free: Avoid focus loss when enabling/disabling distraction free mode via the more menu. (51627)
  • Library: Add an explicit label to the search control. (51781)
  • Site editor: Add a navigable region for content area of Library and Template views. (51782)
  • Fix shift+tab behavior to move to toolbar when the preceding block has a form element. (51548)

Global Styles

  • Color Panel: Fix rendering of tabs with no color. (51498)
  • Remove custom padding on style revisions button. (51269)

Components

  • MediaPlaceholder: Fix position of URLPopover. (51363)
  • Popover: Allow legitimate 0 positions to update popover position. (51320)
  • Button: Remove unnecessary margin from dashicon. (51395)

Patterns

  • Library: Reinstate sidebar navigation menu editing for template parts. (51825)

Interactivity API

  • Image block: Remove Lightbox markup if is set as disabled. (51692)

Block Locking

  • Fix regression in selectors. (51541)

Typography

  • Fluid typography: Custom font-sizes should use max viewport width. (51516)

Widgets Editor

  • Fix fixed toolbar in customize widgets. (51092)

Navigation Menu Sidebar

  • Hide the hidden navigation block. (50662)

Block Variations

  • [Block Library - Post Terms]: Custom taxonomies do not show icons when transforming from the toolbar. (51476)

Performance

Site Editor

  • Edit Site: Add a loading timeout. (51049)
  • Improve DocumentActions performance. (51432)
  • Prevent BlockBreadcrumb from re-rendering unnecessarily when typing. (51628)
  • Reduce number of List View re-renders while typing. (51518)
  • Improve PagePanels performance. (51319)

Block Editor

  • Improve getBlockEditingMode() and useAppender() performance. (51675)

Experiments

Global Styles

  • Color Randomizer: Fix an error when the theme has no color palette. (51539)

Documentation

  • Docs: Fix incorrect import of useEntityRecords in code example. (51630)
  • Fix broken links in editor documentation. (51321)
  • Fix grammar in the Create a Block > WordPress Plugin page. (51663)
  • Fix grammar on the Create a Block tutorial page. (51662)
  • Fix grammar on the Getting Started page. (51661)
  • Update broken link. (41758)
  • Update components README.md. (51557)
  • Update wp-env changelog. (51614)
  • Updated getEntityRecord doc by using selector instead of dispatch. (51298)

Code Quality

  • Add tests for WP_Classic_To_Block_Menu_Converter class. (51410)
  • Adopt lock-unlock.js and private-apis.js convention. (51322)
  • Formats: Avoid rerendering language edit component when typing. (51440)
  • Keyboard Shortcut: Clean up shortcut names. (51739)
  • Lodash: Refactor away from _.kebabCase() in block editor. (51687)
  • Lodash: Refactor away from _.mergeWith(). (51483)
  • Lodash: Remove from blocks package. (51703)
  • Remove pattern directory categories endpoint. (51340)
  • Require relocated class files for back-compat in WordPress releases. (51670)

Block Library

  • Details: Set 'clientId' as useSelect dependency. (51634)
  • Move Navigation fallback files to 6.3 directory. (51572)
  • Navigation: Fix ListView deprecation notice. (51094)
  • Navigation: Just a simple refactor. (51382)
  • Remove legacy isTopLevelLink attribute from Navigation block tests. (51759)
  • Search Block: Write "Button Only" label in sentence capitalization. (51629)

Site Editor

  • Browse Mode: Move CSS to more generic selector. (51547)
  • DRY up ContentBlocksList and BlockInspectorLockedBlocks. (51281)
  • Edit Site: Refactor the NavigationMenuContent component and fix the deprecation notice. (51469)
  • PageContent: Fix unlock import. (51360)
  • Refactor Site Editor block editor code. (51524)

Block Editor

  • Lodash: Replace _.mergeWith() with deepmerge in blocks. (50637)
  • useInsertionPoint: Add missing dependency for useCallback. (51682)
  • Block Editor: Improve data selector for BlockQuickNavigationItem. (51429)
  • Block Editor: Remove redundant memoization from 'ImageURLInputUI'. (51658)
  • Block Editor: Simplify filtering condition for getBlockParentsByBlockName selector. (51439)
  • Block Editor: Remove unused selectors. (51674)

Navigation Menu Sidebar

  • Extract nav editor component in Nav in Browse mode. (51436)
  • Remove custom button and (conditionally) show single menu on Navigation route in Browse Mode. (51565)

Design Tools

  • Fluid typography: Add missing changelog from #51516. (51668)

Layout

  • Move layout definitions out of theme.json. (50621)
  • Try stabilising layout and its associated APIs. (51434)

Global Styles

  • Global styles revisions: Move from experimental to 6.3. (51474)

Post Editor

  • Fix refactor flat term selector to use data api for creating new terms. (50952)

Data Layer

  • Private actions and selectors: Return stable references, expose to thunks. (51051)

Themes

  • Block Theme Previews: Rename GET variable and prepare for core compat. (51738)

Interactivity API

  • Remove the hydration console log of the Interactivity API. (51571)
  • Use interactivity API for Navigation and File blocks only in Gutenberg. (51694)
  • Behaviors: Move behaviors code to experimental folder. (51654)

Components

  • Convert ClipboardButton to TypeScript. (51334)
  • Use internal context system to apply toolbar variant to toolbar dropdowns. (51154)

Parser

  • Split each class in parser.php to a separate file. (48693)

Tools

Testing

  • Add 'Mamaduka' as one of the code owners for Playwright tests. (51470)
  • Combine Site Editor list view tests into a single file. (51635)
  • Consolidate duplicate block tests. (51352)
  • Fix flaky 'Keep styles on block transforms' end-to-end test. (51593)
  • Fix flaky 'Push to Global Styles' end-to-end test. (51636)
  • Fix flaky 'Switch to Draft' action in preview end-to-end tests. (51564)
  • Fix flaky 'hooks API' end-to-end test. (51592)
  • Fix flaky Image block interactivity end-to-end test. (51573)
  • Fix the flaky site editor list view tests. (51598)
  • Migrate 'Allowed Blocks Setting on InnerBlocks' tests to Playwright. (51677)
  • Migrate block hierarchy navigation tests to Playwright. (51517)
  • Playwright Utils: Change preference update method in setIsFixedToolbar. (51659)
  • Playwright Utils: Simplify editor preference updates in createNewPost. (51560)
  • Styles Navigation Screen: Close style book using location. (51365)
  • Update BlockEditorProvider tests. (51497)
  • Update E2E test sharding on CI, make Playwright tests faster, Puppeteer tests slower. (50362)
  • Update the 'Iframe block' test and fix flakiness. (51631)
  • end-to-end tests: Try fixing 'networkidle' timeout errors. (51826)
  • test: Re-enable native integration tests. (51706)
  • Migrate Navigable toolbar test to Playwright. (51514)
  • Mobile unit tests: Remove custom waitFor implementation. (46735)
  • Set fixedToolbar to false after each top toolbar test to ensure proper cleanup. (51600)
  • Fix performance test failure on trunk. (51407)
  • Performance tests: Make theme versions consistent cross-env. (50905)
  • Performance tests: Update base point to compare. (51381)

Build Tooling

  • Babel config: Enable useSpread option for JSX transform to reduce transpilation. (51574)
  • Lodash: Remove from lint staged type check. (51698)
  • Performance Tests: Update the base point to compare against. (51689)
  • wp-env: Try to fix failing PHP Github actions. (51513)
  • npm lockfile: Hoist reakit and date-fns packages to the top. (51500)

Plugin

  • Add script to compile usage of experimental APIs. (51341)

First time contributors

The following PRs were merged by first time contributors:

  • @bangank36: Update components README.md. (51557)
  • @samnajian: Accept transforms in gutenberg_get_global_styles context params. (50484)
  • @xerpa43: Avatar block: Fix not 1:1 between the editor and the front-end. (49963)

Contributors

The following contributors merged PRs in this release:

@aaronrobertshaw @afercia @alexstine @andrewserong @aristath @artemiomorales @aurooba @bangank36 @c4rl0sbr4v0 @carolinan @ciampo @dcalhoun @derekblank @diegohaz @draganescu @ellatrix @fabiankaegy @fluiddot @geriux @getdave @glendaviesnz @jameskoster @jasmussen @jeryj @jhnstn @jsnajdr @juanfra @kozer @luisherranz @MaggieCabrera @Mamaduka @matiasbenedetto @mcliwanow @mcsf @mikachan @n2erjo00 @noahtallen @noisysocks @ntsekouras @oandregal @okmttdhr @paulopmt1 @pbking @peterwilsoncc @pooja-muchandikar @ramonjd @richtabor @samnajian @SantosGuillamot @SavPhill @SaxonF @scruffian @shimotmk @Sidsector9 @SiobhyB @spacedmonkey @stokesman @sunyatasattva @t-hamano @talldan @tellthemachines @tyxla @walbo @WunderBart @xerpa43 @youknowriad