github WordPress/gutenberg v21.2.0-rc.1
21.2.0 RC1

latest releases: @wordpress/wordcount@4.30.1-next.836ecdcae.0, @wordpress/widgets@4.30.1-next.836ecdcae.0, @wordpress/warning@3.30.1-next.836ecdcae.0...
pre-releaseone month ago

Changelog

Enhancements

  • DataViews: Introduce perPageSizes to control the available sizes of the items per page. (70604)
  • ESLint: Enforce stricter translator comment placeholder matching. (70458)
  • Format Library: Improve inline image replacement workflow. (70598)
  • I18N: Use @tannin/sprintf. (70434)

Block Library

  • Gallery: Refactor "Settings" panel of Gallery block to use ToolsPanel instead of PanelBody. (67904)
  • Navigation Link: Add "Open in new tab" toggle to navigation block sidebar. (67262)
  • Site Logo: Refactor the media panel to use ToolsPanel. (70599)

Icons

  • Update circle icons to have a unified footprint. (70581)
  • Update icons: Help, PlusCircle, Typography. (70299)

Block Editor

  • Use consistent sizing for the block locking modal. (70593)

Post Editor

  • Editor: Allow replacing the 'PostLockedModal' component. (70586)

Components

  • Add DateCalendar and DateRangeCalendar components. (70578)

DataViews

  • More fields, controls and operators. (70567)

Interactivity API

  • iAPI Router: Prioritize custom click event handlers when full-page navigation is enabled. (70566)

Templates API

  • Site Editor: Sort post types alphabetically within the Add Template modal. (70562)

Bug Fixes

Block Library

  • Cover: Fixed resetAll to return image resolution to default value. (70608)
  • Featured Image: Fixed resetAll to return image resolution to default value. (70514)
  • Fix submenu border visibility in Navigation block. (70520)
  • Image Block: Preserve line breaks in media caption. (70476)
  • RSS Block: Decode HTML entities in feed titles before display. (70491)

Icons

  • Fix plusCircleFilled size. (70650)

DataViews

  • Correct padding for empty-state elements when is in a . (70638)

Components

  • Remove the extra font-size override for the select control on medium layouts. (70619)

Style Book

  • Enable support for showing individual block variations. (70448)

Accessibility

Components

  • FormTokenField: Fix focus lost on tab when __experimentalExpandOnFocus is set. (70591)

Performance

  • usePostActions: Avoid fetching all templates (unbound request). (70535)

Block Library

  • Post Author: Optimize and improve user control queries. (70510)

Documentation

  • Add isPostAutosavingLocked example to doc block. (70640)
  • Docs: Update Locking interface example image. (70590)
  • Media Upload: Correct wrapper reference in docstring. (70651)
  • RawHTML: Clarify the wrapper 'div' element behavior. (70527)
  • ServerSideRender: Remove the 'POST' method shim example. (70577)
  • Update nested-blocks-inner-blocks.md. (70587)
  • Updated support for MS Word Images. (70564)

Code Quality

  • I18n: Use more descriptive type arguments in i18n package. (70606)
  • ServerSideRender: Remove unnecessary props for default loading placeholder. (70576)
  • ServerSideRender: Use data hooks instead of HoC. (70529)

Block Editor

  • Background panel: Remove unused props. (70573)
  • Background panel: Remove unused style. (70556)

Block Library

  • List Block: Remove unused __unstableMultilineWrapperTags field from block.json. (70209)

Components

  • Fix Floating UI packages dependencies. (70553)

Tools

Testing

  • CodeVitals: Use a different SHA for the base branch. (70565)
  • Fix unit test for flaky filterSortAndPaginate function. (70582)
  • e2e: Re-enable skipped end-to-end tests related to the settings REST API. (70551)

First-time contributors

The following PRs were merged by first-time contributors:

Contributors

The following contributors merged PRs in this release:

@Adi-ty @arthur791004 @BugReportOnWeb @chihsuan @coderGtm @DAreRodz @ellatrix @himanshupathak95 @Infinite-Null @jameskoster @jasmussen @Lovor01 @Mamaduka @mecskyverse @p-jackson @R1shabh-Gupta @sejas @shimotmk @sirreal @Sukhendu2002 @swissspidy @t-hamano @USERSATOSHI @yogeshbhutkar @youknowriad

Don't miss a new gutenberg release

NewReleases is sending notifications on new releases.