github WordPress/gutenberg v13.1.0-rc.1
13.1.0 RC1

latest releases: rnmobile/1.118.0, v18.2.0, v18.2.0-rc.1...
pre-release2 years ago

Changelog

Enhancements

  • Removed the logic that was preventing the toolbar from hiding when typing within formats. (40476)
  • Added new duotone filter icon. (40435)
  • DocumentSettingPanel: Removed plugin icon fallback. (40355)

Block Library

  • Added constants file to Spacer block. (40446)
  • Added new option to show or hide empty categories. (39426)
  • Media & Text: Removed font size declaration from template. (40329)
  • Navigation:
    • Renamed Navigation Menus to Navigation. (40413)
    • Split navigation block view script. (40135)
  • Comments :
    • Comment template: Call comment_class() before recursing into child comments. (40455)
    • Comment meta data isn’t queued for lazy loading. (40242)
    • Post Comments Form: Fix layout quirks. (40359)
    • Fixed comments no results placeholder not appearing. (40234)
    • Fixed comments query loop pagination not respecting Discussion Settings. (40284)
    • Create comments title with simple styling. (40419)
  • Embed block: Fixed inline preview cut-off when editing URL. (35326)
  • Image Block: Added window to the optional chaining. (40394)
  • Post Featured Image: Used translatable post type label. (40378)
  • Remove async useEffect. (40373)
  • Remove pointless <span>s in Custom HTML block controls. (39820)
  • Embed block: Use preview html for flickr embed previews in editor. (40187)

Accessibility

  • Post editing: After closing welcome dialog, if content is empty, focus title field. (40195)
  • Fixed focus loss happening when installing blocks from the directory. (40340)
  • Fixed focus loss when creating pages from link control search results. (40342)
  • Fixed focus loss when navigating the guide component. (40324)
  • Navigation block: After choosing an option from Select Menu, focus after block rerender. (40390)
  • Block Styles: Remove unnecessary button role and 'onKeyDown' handler. (40427)

Bug Fixes

  • Added the missing class-wp-style-engine-gutenberg.php in the plugin build. (40191)
  • Fixed block toolbar text button padding. (40438)

Testing

  • Playwright migration:
    • Fixed outdated playwright snapshot directory. (40422)
    • Tried to fix flaky playwright tests not being reported. (40290)
    • E2E: Cross-platform support for Playwright end-to-end tests. (39765)
    • Migrate post-editor-template-mode to Playwright. (40175)
    • Migrate block api test to Playwright. (40217)
    • Migrate document settings test to playwright. (40258)
    • Migrate style variation test to Playwright. (40216)
  • E2E test: Verify that user can type right after inserting the quote block. (40466)
  • Block supports: Unregister block in PHP unit tests. (40239)
  • Tests: Fix escaping for error message in create block test. (40473)
  • Add end-to-end comments tests to stable, wait for selector on set option. (40405)

Global Styles

  • Add a debounce to the custom color onChange event. (40285)
  • Do not render global styles coming from the server in the site editor. (40185)
  • Elements: Add styles to the footer before the block is rendered. (37728)
  • Fixed duotone rendering in site editor. (37727)
  • Rename wp_translate_settings_using_i18n_schema to translate_settings_using_i18n_schema. (40227)

Patterns

  • Patterns API: Add 'inserter' to the schema. (40416)

Block Editor

  • [Multi-selection]: Copy whole block when selection is collapsed. (40374)
  • i18n: Fix incorrect '_n' usage. (40292)
  • useBlockLock: Always check inherited 'templateLock' status. (40263)
  • Remove unused sub-components in list view. (40448)
  • useBlockDisplayInformation: Return anchor for block variations in list view. (40458)
  • Remove redundant block name from "settings" panels. (40275)

Site Editor

  • Don't render the secondary sidebar in text mode. (40337)
  • Fixed webfont loading in the Site Editor. (40262)

Build Tooling

  • Fixed commands containing dot-slashes in npm scripts. (39739)
  • Added new TypeScript project for unit tests. (39436)
  • Fixed the flaky template editor mode test. (40325)
  • Excluded BEM class from stylelint @wordpress/scripts. (37531)

Performance

  • Added a context param to sidebar entity request. (40148)

Documentation

  • Added README for Gradient and NavigableToolbar. (25580)
  • Added documentation for ancestor property in block metadata. (40027)
  • Updated individual block locking section. (40372)
  • Fixed OnNumberOfItemsChange event docs error. (39942)
  • Patterns: Documented 'inserter' argument. (40425)
  • Removed WordPress 5.9 specific warning from FSE documentation. (40274)
  • Updates theme.json documentation for theme authors. (40005)
  • Replaced fixtures with inline parsed code. (40428)
  • Unwrapped wrapped selectors when inferring types of JSDoc params. (40236)

Components

  • InputControl: Improved type annotations and stories. (40119)
  • Stopped exporting individual color objects from color values file. (40387)
  • Unified black color to gray-900. (40391)

Code Quality

  • Added edit context to patterns REST controllers. (40259)
  • Added reusable BlockPopover and BlockPopoverInbetween components. (40441)
  • Cleaned BlockMover component and styles. (40379)
  • Created Block: Fix warnings and errors reported during scaffolding and validation. (40479)
  • Moved list and quote block registration to experimental blocks. (40350)

Plugin

  • Cleaned up non-dynamic block registration list. (40426)
  • Moved the logic for iframed editor to WP 6.0 compat. (40278)
  • Post WordPress 6.0 Beta 1 cleanup. (40349)

Data Layer

  • useSelect:
    • Add async mode test suite and fix two bugs. (40321)
    • Update unit tests to testing-library. (40229)
    • Cancel render queue in a more straightforward way. (40433)

Tools

  • [wp-env]: Add support to override core by the WP_ENV_CORE environment variable. (40407)

Various

Design Tools

  • Borders: Use new border control components in block support. (37770)
  • Column: Add border support to column blocks. (39967)

First time contributors

The following PRs were merged by first time contributors:

  • @chintu51: OnNumberOfItemsChange event attribute issue. (39942)
  • @khoipro: Scripts: Exclude BEM class from stylelint @wordpress/scripts. (37531)
  • @mauriac: Add new option to show or hide empty categories. (39426)
  • @roseg43: Media & Text: Remove font size declaration from template. (40329)
  • @zutigrm: Update theme.json documentation for theme authors. (40005)

Contributors

The following contributors merged PRs in this release:

@aaronrobertshaw @adamziel @ajlende @alexstine @aristath @c4rl0sbr4v0 @chintu51 @ciampo @dmsnell @EliezerSPP @fabiankaegy @fluiddot @georgeh @geriux @glendaviesnz @gziolo @jasmussen @jsnajdr @JustinyAhin @kevin940726 @khoipro @Mamaduka @mashikag @mauriac @mchowning @michalczaplinski @mirka @ntsekouras @oandregal @ockham @peterwilsoncc @ramonjd @roseg43 @scruffian @SiobhyB @t-hamano @talldan @tomasztunik @torounit @youknowriad @ZebulanStanphill @zutigrm

Don't miss a new gutenberg release

NewReleases is sending notifications on new releases.