16.8.0 RC1
Pre-releaseChangelog
Features
Block Editor
- Adds 'nofollow' setting to Button block. (54110)
Site Editor
- Add 'Show template' toggle when editing pages. (52674)
Enhancements
- Update pattern import menu item. (54782)
Components
- Adding label/description to
BlockEditor/DuotoneControl
. (54473) - Deprecating
isPressed
inButton
component. (54740) - Follow ariakit best practices. (54696)
- InputControl-based components: Add opt-in prop for next 40px default size. (53819)
- Modal: Add
contentWidth
prop to support a selection of preset modal sizes. (54471) - Remove unused components from
ui/
. (54573) - Update ariakit to 0.3.3. (54818)
- Update compact search control metrics. (54663)
- Wrapped
TextareaControl
in aforwardRef
call. (54975)
Block Library
- Add a brief description to the Footnotes block. (54613)
- Footnotes: Use core’s meta revisioning if available. (52988)
- Login/out: Add spacing support. (45147)
- Query view.js: Code quality. (54982)
- Set custom color when applying initial background image. (54054)
- Use
wp_get_inline_script_tag()
inbuild_dropdown_script_block_core_categories()
. (54637)
Block Editor
- Default suggested links to pages. (54622)
- Remove base URL from link control search results. (54553)
- Simplify
BlockHTMLConvertButton
. (54972) - Update strings in blocks 'RenameModal' component. (54887)
Post Editor
- Edit Post: Use hooks instead of HoCs in 'PostStatus' components. (54951)
- Editor: Use hooks instead of HoCs in 'PostSticky' components. (54949)
- Editor: Use hooks instead of HoCs in 'PostSwitchToDraftButton'. (54695)
- Show confirmation dialog when moving a post to the trash. (50219)
Site Editor
- Add template replace flow to template inspector. (54609)
- [Site Editor]: Update copy of using the default template in a page. (54728)
Patterns
- Remove category description in inserter panel. (54894)
Typography
- Font Library: Refactor endpoint permissions. (54829)
Bug Fixes
- Fix the ShortcutProvider usage. (54851)
- Fix warning when a template calls a template area twice. (54861)
- Revert "Fix warning when a template calls a template area twice". (54926)
Block Library
- All Nav block items to break long titles. (54866)
- Fallback to Twitter provider when embedding X URLs. (54876)
- Fix Deleted Navigation Menu warning string. (55033)
- Fix Search Block not updating in Nav block. (54823)
- Fix left and right aligmnent in children of Post Template. (54997)
- Fix output of Navigation block classnames in the editor. (54992)
- Fix overwriting of published post meta when previewing footnote changes. (54339)
- Image: Ensure Expand on Click toggle is shown if block-level lightbox setting exists. (54878)
- Image: Fix layout shift when lightbox is opened and closed. (53026)
- Media & Text: Fix React warning. (55038)
- Search block: Allow space for input field only when form expanded. (54846)
- Search block: Update alignment and icon button width. (54773)
Site Editor
- Avoid same key warnings in template parts area listings. (54863)
- Avoid stale navigation block values when parsing entity record. (54996)
- Don't display the navigation section in template parts details when a menu is missing. (54993)
- Fix ToolSelector popover variant. (54840)
- Reset 'Show template' toggle when leaving edit mode. (54679)
- remove
overflow: Hidden
from the entity title in the site editor sidebar. (54769)
Components
- FormTokenField: Add
box-sizing
reset style and reset default padding. (54734) - Popover: Fix the styles for components that use emotion within popovers. (54912)
- Remove hover style for secondary Button when aria-disabled is set. (54978)
- Reverting addition of
aria-selected
style hook inButton
. (54931) SlotFill
: PassComponent
instance to unregisterSlot. (54765)
Block Editor
- Avoid double-wrapping selectors when transforming the styles. (54981)
- [Inserter]: Fix reset of registered media categories. (55012)
Typography
- Font Library: Changed the OTF mime type expected value to be what PHP returns. (54886)
- Font Library: Move font uploads to a new tab. (54655)
Global Styles
- Block custom CSS: Fix incorrect CSS when multiple root selectors. (53602)
- Image: Ensure
false
values are preserved in memory when defined intheme.json
. (54639)
List View
- Fix performance issue when selecting all blocks. (54900)
Colors
- Format Library: Try to fix highlight popover jumping. (54736)
Interactivity API
- Image: Fix duotone not being applied to lightbox image. (54670)
Accessibility
Block Library
- Footnotes: Add aria-label to return links. (54843)
- Table of contents block accessibility improvements. (54322)
Components
- HTML block: Fix accessibility issues on back-end. (54408)
Modal
: Accessibly hide/show outer modal when nested. (54743)
Patterns
- Use list role instead of listbox in patterns list. (54884)
Post Editor
- Editor: Always render the 'Switch to Draft' button to avoid focus loss. (54722)
Block Editor
- Block Switcher: Use a different label for multi-selection. (54692)
Performance
- Tests: Support the Site Editor's legacy spinner. (54784)
- Use instanceOf over property_exists. (54835)
Block Editor
- Subscribe only to block editor store in
useBlockSync
. (55041)
Experiments
Site Editor
- al]: First version of pages list in site editor. (54966)
Block Editor
- Expose
getDuotoneFilter()
as private API. (54905)
Documentation
- Add a documentation page about the block editor settings. (54870)
- Add a page about the format library to the platform documentation site. (55037)
- Docs: Add a callout to the
wp-now
documentation to mention it's still experimental. (55044) - Docs: Remove outdated info. (54707)
- Docs: Remove the Full Site Editing doc. (54516)
- Docs: Rename Block Hooks handbook page to Block Filters. (54862)
- Document the current state of the Real-Time collaboration experiment. (54932)
- Fix a broken MD link in callout. (54772)
- Platform Docs: Add a documentation page explaining how to use the block library. (54967)
- Update the documentation of the block editor and replace @wordpress/element with react. (54908)
- Update versions in WP for 6.4. (54890)
Code Quality
- Add a unit test for the "ValidBlockLibraryFunctionNameSniff" sniff. (53928)
- Move dependencies to the right place. (54597)
- Move mime-type collection generation to a function that can be tested…. (54844)
- Post Title block should use esc_url(). (53981)
- Rich text: Use getPasteEventData. (55048)
- Writing flow: Absorb clipboard handler. (55006)
Block Library
- Footnotes: Avoid regexes in entity provider. (54505)
- Image Block: Fix browser console error when clicking "Expand on Click". (54938)
- Removed unwanted space from the string. (54654)
- Update CODEOWNERS for
core/image
block. (54793)
Patterns
- Add a new spec for for adding an unsynced pattern. (54892)
- Add end-to-end tests for filtering and searching patterns. (54906)
- Add new end-to-end test for creating a pattern. (54855)
- Include pattern category in main end-to-end critical path test. (54923)
Components
- Consolidate utils to remove
ui/
. (54922) - Move
ContextSystemProvider
out of/ui
. (54847) - SlotFill: Migrate to Typescript. (51350)
- Tidying
CircularOptionPicker.Option
. (54903)
Typography
- Font Library: Syntax refactor repace strpos with str_contains. (54832)
- Font Library: Use snake_case instead of camelCase on fontFamilies endpoint param. (54977)
Block Editor
- Rich text: Avoid shortcode logic, adjust paste handler instead. (55052)
Plugin
- Remove legacy logic for '__unstableResolvedAssets' setting. (54812)
Data Layer
- createResolversCacheMiddleware: Remove dependency on core/data store. (54733)
Site Editor
- Use constants rather than hard coded template strings (round 3). (54705)
Tools
- Label enforcer workflow: Make accessibility a focus instead of a type. (54941)
- Scripts: Update webpack and related dependencies to the latest version. (54657)
- Update changelog automation and test fixtures to match the last a11y label renaming. (54974)
Testing
- Don’t use TypeScript files in scripts package. (54856)
- ESLint: Update eslint-plugin-testing-library to v6. (54910)
- Fix end-to-end test: ”WP Editor Meta Boxes > Should save the changes”. (51884)
- Font Library: Avoid deprected error in test. (54802)
- Make
editor.getBlocks
to return only testing-related properties. (54901) - Migrate 'Global styles sidebar' test to Playwright. (55045)
- Migrate 'iframed block editor settings styles' tests to Playwright. (55014)
- Migrate 'iframed inline styles' tests to Playwright. (55009)
- Migrate 'iframed masonry block' tests to Playwright. (55016)
- Migrate 'iframed multiple block stylesheets' tests to Playwright. (55003)
- Migrate keyboard-navigable-blocks end-to-end tests from puppeteer to playwright. (54944)
- Scripts: Properly use CommonJS for default Playwright configuration. (54988)
- Try fixing the flaky 'Toolbar roving tabindex' end-to-end test. (54785)
- end-to-end Tests: Revert temporary fixes. (54865)
- end-to-end Utils: Allow overriding username/password. (53267)
Build Tooling
- Add some @types packages as proper dependencies. (50231)
- Update the default JSX pragma to React instead of @wordpress/element. (54494)
- Upgrade wp-prettier to v3.0.3 (final). (54775)
Security
Data Layer
- Replace turbo-combine-reducers with combineReducers from Redux. (54606)
Various
- (chore) Revert the 16.7 RC2 release in order to release it again due to wrong changelog. (54744)
Design Tools
- Background image block support: Add tests, adjust injection logic slightly. (54489)
- Background support: Backport fix for undefined array key. (54850)
Typography
- Revert "Font Library: Avoid rendering font library ui outisde gutenberg plugin". (54947)
Commands
- Make the reset styles command consistent. (54841)
Patterns
- Use "Not synced" in place of "Standard" nomenclature for patterns. (54839)
Block Editor
- Simplify BlockPatternsSyncFilter with clearer labels and additional context. (54838)
Site Editor
- Use consistent capitalization for template parts in Site Editor constants. (54709)
First time contributors
The following PRs were merged by first time contributors:
- @leemyongpakvn: Fix a broken MD link in callout. (54772)
Contributors
The following contributors merged PRs in this release:
@aaronrobertshaw @adamsilverstein @alexstine @andrewhayward @andrewserong @annezazu @anton-vlasenko @artemiomorales @aurooba @bangank36 @brookewp @c4rl0sbr4v0 @carolinan @chad1008 @ciampo @dcalhoun @derekblank @draganescu @ellatrix @fluiddot @fullofcaffeine @geriux @getdave @glendaviesnz @gziolo @jameskoster @jeryj @jsnajdr @juhi123 @kevin940726 @leemyongpakvn @madhusudhand @MaggieCabrera @Mamaduka @matiasbenedetto @michalczaplinski @mirka @mtias @mujuonly @ndiego @noahtallen @noisysocks @ntsekouras @oandregal @ockham @pbking @priethor @ramonjd @richtabor @scruffian @SiobhyB @spacedmonkey @stokesman @swissspidy @t-hamano @tellthemachines @tellyworth @them-es @torounit @tyxla @westonruter @WunderBart @youknowriad