github WordPress/gutenberg v16.0.0-rc.1
16.0.0 RC1

latest releases: @wordpress/wordcount@4.0.1, @wordpress/widgets@4.0.1, @wordpress/warning@3.0.1...
pre-release12 months ago

Changelog

Features

  • Add the ability to create a new page in the Site Editor. (50565)
  • Add the ability to focus on editing a page's content vs the page's template. (50857)
  • Add page details to the Site Editor sidebar. (50767)

Enhancements

Block Editor

  • Block Controls SlotFill: Refactor to allow passing multiple contexts, including internal components context. (51264)
  • Block Toolbar: Update the 'Unlock' button label. (51083)
  • Iframe Editor if all blocks are v3. (48286)
  • Improve (and relax) search vs direct URL entry detection in Link Control. (51011)
  • Link Control require user to manually submit any changes. (50668)
  • List View: Allow dragging outside the immediate area by passing down a dropZoneElement. (50726)
  • List View: Append when dragging into collapsed blocks. (50936)
  • Reinstate Text control outside of settings in Link Control. (50957)
  • Update the document title in the template mode of the post editor. (50864)
  • Use "Save" instead of "Apply" in Link Control. (50964)
  • Use checkbox for Open in new tab within Link Control. (50961)
  • Visually hide the LinkControl initial/results heading. (50977)

Site Editor

  • Add delete action for pages in navigation sidebar. (51101)
  • Add Paragraph prompt to Post Content when empty. (50623)
  • Add template actions in site editor navigation sidebar. (51054)
  • Directly save if only changing current context. (50567)
  • Disable block supports derived design tools when Blocking Editing Mode is not default. (50912)
  • DocumentActions: Animate between page and template mode. (51224)
  • Site Editor sidebar: Refactor page details. (51093)
  • Styles Screen: Add link to global styles revisions. (51149)
  • Try adding dynamic page templates to pages section. (50630)
  • Tweak edit site resizable frame handle. (50878)
  • Update the bottom sticky section in the site editor details panel. (51274)

Block Library

  • Details Block: Remove experimental flag and stabilize. (50997)
  • Post Excerpt: Improve preview on the editor site. (50167)
  • Post Title: Improve preview on the editor site. (50147)
  • Query Pagination: Address feedback from #50779. (51165)
  • Query Pagination: Allow hiding the label text. (50779)
  • Search Block: Add button only with expandable input. (50487)
  • Search block: Refactor to use HTML Tag Processor. (51273)
  • Post Link: Update block variation icon to match the one used in the Link UI results. (50190)
  • Post Template: Add block spacing and layout. (49050)

Components

  • Button: Add opt-in prop for larger isSmall size. (51012)
  • ListView: Converted additional content render into a component. (51163)
  • ColorPalette: Improve color name readability. (50450)
  • Spacing: Optimize and condense unlinked spacing controls. (50660)

Data Layer

  • Merge selector-binding code (except resolvers) into a new bindSelector function. (51176)
  • Move action-binding code to a bindAction function. (51161)

Accessibility

  • Add TabPanel to document overview replacing fake tabs. (50199)
  • BorderControl: Improve color code readability in aria-label. (51197)
  • Handle isDraft or isInvalid Enter keypress via onKeyDown instead of a Keyboard Shortcut. (51021)
  • ListView: Allow deleting blocks using keyboard. (50422)
  • Site Editor: Add view site link to site editor nav. (50420)
  • Use generic div instead of nav for the SidebarNavigationScreen component. (51111)

New APIs

  • Command Center: Marks the selectors and actions of the commands store as a public API. (51169)

Bug Fixes

Block Editor

  • Add inert attribute to disabled blocks that have only disabled descendants. (51079)
  • Fix multi-entity multi-property undo redo. (50911)
  • Iframe enqueuing: Add editorStyle and warning. (50091)
  • Improvements to how blocks with a 'disabled' editing mode behave. (51148)
  • Link Control: Add missing translation. (51081)
  • Navigation: Memoize link value passed to the LinkControl. (51155)
  • Hide the save draft button for published posts. (51193)

Site Editor

  • Browse Mode: Remove horizontal scrollbar during screen transitions. (51189)
  • Fix styling of actions in site editor navigation sidebar. (51153)
  • Properly decode new template title in snackbar. (51057)
  • Site Editor: Update untitled copy and rendering. (51074)

Widgets Editor

  • Update the settings icon in Widgets Editor. (51029)

Block Library

  • Freeform/Shortcode: Prevent blocks from converting HTML entities. (51123)
  • Navigation: Apply color classes to the navigation container element. (50968)
  • Post Template: Set block context via filter. (50313)
  • Term Description: Handle default margin styles. (51137)

Global Styles

  • DimensionsPanel: Fix site editor error on Columns block level screen. (51252)
  • Fluid typography: Ensure max viewport width is used in the editor. (51146)
  • SpacingSizesControl: Fix problem with the slider position being reset when saving global styles. (50956)
  • Styles Screen: Ensure variations previews will render in mobile viewports. (51080)

Components

  • Fix: Can't type space if RichText component is inside button/summary in Firefox. (50540)
  • FontSizePicker: Fix control header spacing. (50855)

Themes

  • Avoid changing non-theme-preview requests. (51221)

Data Layer

  • Data: Fix a bug where private selectors on a store with resolvers are inaccessible. (51166)

Accessibility

  • Add aria labels to the focal point picker component. (50993)
  • Fix Navigable Toolbar initialIndex. (51181)
  • Fix screen readers not announcing updated aria-describedby in Firefox. (51035)
  • Link Control: Fix the 'Save' button's disabled state. (51117)
  • Social Icons: Manually set Snapchat label color. (51237)

Performance

  • Make getBlockEditingMode() return 'default' when parent is 'contentOnly'. (51185)
  • Use static closures when not using $this. (50723)
  • Add removeAllNotices action to allow all notices to be removed from a given context. (44059)
  • Add a new action removeNotices which allows bulk removal of notices. (39940)

Experiments

Interactivity API

  • Change label and description for the gutenberg-interactivity-api-core-blocks experiments setting. (51059)
  • Disable Lightbox UI if link has an image. (51180)
  • Experiment: Put directives on element and insert lightbox as its child. (51089)
  • Image Lightbox: Add a reset button. (51239)
  • Image Lightbox: Add support for external urls in the lightbox. (51278)
  • Image Lightbox: Fix design of close button for the lightbox (correct PR). (51206)
  • Image Lightbox: Improve image block lightbox escaping. (51061)
  • Move the directives and markup needed for the lightbox to block supports. (51232)
  • Navigation block: Set correct aria-expanded on hover. (50953)
  • Remove experimental flag from navigation and file blocks to use the Interactivity API (as private). (51266)
  • Rename directives suffix character and island directive in the Interactivity API. (51152)
  • Remove not needed aria-hidden attribute in navigation block experiment. (51044)

DropdownMenu v2

  • Change default placement to match the legacy DropdownMenu component. (51133)
  • Render in the default Popover.Slot. (51046)
  • Style tweaks. (50967)
  • Tweak styles, add toolbar-specific styles. (51097)

Documentation

  • Add documentation about the entities abstraction and the undo/redo stack. (51052)
  • Fix code example error in the Curating the Editor doc. (51070)
  • Fix formatting and use sentence case for titles in Scripts doc. (51069)
  • Fix headings in the View component readme. (51157)
  • Fix text in readme. (51268)
  • Remove Block Grammar doc and all corresponding internal links. (51106)
  • Remove Roadmap doc. (51062)
  • Undo/Redo: Minor edits. (51085)
  • Update README.md on SlotFills to add info + example about the prop fillProps. (51013)
  • Update React documentation link for propTypes. (51208)

Code Quality

  • Extract BlockThemePreviews-related code from the editor package. (50863)
  • Fluid typography: Extract logic to derive fluid typography settings. (51188)
  • Fonts API: Refactor Theme JSON global functions into WP_Fonts_Resolver. (50811)
  • Iframe: Clarify how dependencies related to inline styles work. (51199)
  • Iframe: Fix blob cleanup. (51004)
  • Iframe: Remove obsolete readyState checks. (51003)
  • Iframe: Remove obsolete styles HTML parsing. (51136)
  • Lodash: Remove _.isEmpty(). (51096, 50974, 51098, 50917, 51168)
  • mapSelectorsWithResolvers: Don't init hasResolver, mapSelectors already did it. (51160)
  • mapValues: Use fromEntries, avoid re-creating object in each reducer call. (51159)
  • Refactor code that adds resolver fulfillment to selector calls. (51009)
  • Remove legacy logic for __unstableResolvedAssets. (51100)
  • Remove outdated Babel spread optimization from selectors. (50987)
  • Remove the insert.ref field from insertUsage data. (51130)
  • Separate template screens in the Site Editor. (51040)
  • Writing flow: Fix tab into iframe. (50955)

Block Editor

  • Refactor Link Control Settings Drawer to avoid unnecessary prop drilling. (50963)
  • ListView: Remove unused 'useSelect' dependency. (51134)

Components

  • BlockDraggable: Use the getBlockType selector. (51174)
  • PreferenceToggleMenuItem: Add missing useSelect dependency. (51158)

Tools

wp-env

  • Fixed Docker Image Size Ballooning. (51034)
  • Preferentially Execute Local wp-env. (50980)

Scripts

  • Scripts: Optimize updating render paths when developing blocks. (51162)
  • Fix: Build render.php when webpack watch in progress. (50939)

Testing

  • Add tests to useIsDirty. (51036)
  • Button: Add basic visual regression tests. (51000)
  • Comment Template Block: Add test coverage for context setting. (50879)
  • Comment Template Block: Retain inner blocks inserted via render_block_data filter. (50883)
  • Fix flaky Behaviors UI end-to-end tests. (50954)
  • Ignore framer-motion warning when running end-to-end tests locally. (50938)
  • Link Control test migration: Should contain a label when it should open in a new tab. (51001)
  • Link control: Migrate tests to Playwright. Can be created by selecting text and using keyboard shortcuts. (50996)
  • End-to-end tests: Add an assertion to confirm that the URL changed. (50835)

Build Tooling

  • babel-preset-default: Enable the bugfixes option for preset-env. (50994)

First time contributors

The following PRs were merged by first time contributors:

Contributors

The following contributors merged PRs in this release:

@aaronrobertshaw @afercia @alexstine @andrewserong @anton-vlasenko @artemiomorales @benlk @c4rl0sbr4v0 @carolinan @chad1008 @ciampo @derekblank @ellatrix @fluiddot @geriux @getdave @gigitux @glendaviesnz @gziolo @jameskoster @jeryj @jffng @jsnajdr @juanfra @kevin940726 @luisherranz @MaggieCabrera @Mamaduka @mcsf @michalczaplinski @mikachan @mirka @ndiego @noisysocks @ntsekouras @oandregal @ObliviousHarmony @ockham @okmttdhr @opr @ramonjd @richtabor @rmorse @SantosGuillamot @SaxonF @scruffian @SiobhyB @t-hamano @Takshil-Kunadia @tellthemachines @tyxla @wayheming @westonruter @youknowriad

Don't miss a new gutenberg release

NewReleases is sending notifications on new releases.