github WordPress/gutenberg v20.8.0
20.8.0

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...
3 months ago

Changelog

Enhancements

  • Create Block: Add --textdomain flag to create block tool. (69802)

Components

  • Guide: Make next and previous button text customizable. (69907)
  • Popover: Add virtual padding to prevent it from hitting the viewport edge. (69555)

Document Settings

  • Editor: Add search functionality to template swapping modal. (69667)

Block Editor

  • Widget Editor: Don't close the inserter when focusing outside it. (67838)

Editor

  • Use split view for meta boxes only when canvas is iframed and “Desktop” view. (69958)

New APIs

Widgets Editor

  • Edit Widgets: Save lock control via actions. (69984)

Bug Fixes

  • GitHub Actions: Fix components changelog CI check. (70034)
  • Persist git credentials when publishing via lerna. (70007)
  • Plugin: Fix deprecation for 'apply_block_hooks_to_content_from_post_object'. (69909)
  • ServerSideRender: Don't render the previous error response in loading state. (69988)
  • ServerSideRender: Refactor fetchData to use useCallback and refs. (69237)

Block Library

  • Author, Author Name block: Fix PHP warning error when there is no context. (69949)
  • Block Editor: Allow editing invalid blocks as HTML. (69902)
  • Block Editor: Prevent negative width values in Spacer block when used inside a row block. (68845)
  • Calendar block: Disable edit as HTML support. (69961)
  • Image: Avoid stale URL when reselecting the same image from the library. (69985)
  • Latest Posts: Update content display labels to Display post content and Content length. (69839)
  • Navigation Link, Navigation Submenu: Fix undefined key warning. (69951)
  • fix: Update the logic of fetching current URL in loginout block. (70031)

Block Editor

  • Block HTML: Add box-sizing property to prevent overflow. (70014)
  • Fix: Improve warning message and add spacing in HTMLElementControl. (70002)
  • MediaPlaceholder: Fix Regression with media URL input type to allow a local URL path. (70043)
  • Prevent block merging on blocks with the 'disabled' editing mode. (69918)

Components

  • Don't mutate 'ALL_CSS_UNITS' default value in 'useCustomUnits'. (70037)
  • Fix double border in ItemGroup when last item is focused. (70021)
  • Fix: Duotone unset button. (69981)
  • ToggleGroupControl: Fix active background for empty string value. (69969)

Site Editor

  • Check user permissions before rendering export menu item. (69971)

Widgets Editor

  • Fix: Browser Warnings when closing keyboard shortcut modal. (69929)

Block API

  • Fix: Missing conversion from json styled variable to CSS variable. (69551)

Typography

  • Fix: Prevent FontSizePicker crash when no font size exists. (68733)

Icons

  • Remove width / height attributes from svg element. (43747)

Accessibility

  • Keyboard Shortcuts: Revert delete shortcut to access + z. (69931)

Block Library

  • Add new HTMLElementControl component. (69904)

Performance

Block Library

  • Latest Posts: Delay inspector control queries until the block is selected. (69898)
  • Latest Posts: Embed author in response. (69889)

Document Settings

  • Lazy load post authors' data. (69950)

Documentation

  • Add WP version note for 'setAttributes' updater function. (69972)
  • Create Block: Add --textdomain in create-block README. (69927)
  • Docs: Add post meta limitations to Block Bindings API documentation. (68583)
  • Docs: Added copy and code for style_data. (69920)
  • Fix missing CSS import in data basics tutorial code. (69914)
  • Fix typos. (69957)
  • Fix: Remove an unnecessary @return tag from this filter docblock. (69960)

Code Quality

  • ServerSideRender: Use useLayoutEffect to update latestPropsRef. (69999)
  • Stylelint: Migrate configuration from JSON to JavaScript format. (69590)
  • theme.json: Unify property order. (70033)

Themes

  • Simplify color specifications from rgba to rgb. (70008)

Block Editor

  • Simplify condition selectors for 'useHasBlockToolbar'. (69930)

Block Library

  • Latest Posts: Only fetch necessary fields for categories. (69888)

Components

  • ColorPicker: Add tests for ColorPicker Alpha slider. (69203)

Tools

Testing

  • Automated Testing: Skip storybook smoke test. (69943)
  • List View: Add end-to-end test to verify pasting block styles via keyboard. (69979)
  • Try: Fix 'wp-polyfill' script dependents unit test. (69912)
  • Workflows: Try different SHA. (70048)

First-time contributors

The following PRs were merged by first-time contributors:

  • @jrmd: Block Editor: Prevent block merging on blocks with the 'disabled' editing mode. (69918)
  • @Maikuolan: Navigation Link, Navigation Submenu: Fix undefined key warning. (69951)

Contributors

The following contributors merged PRs in this release:

@bph @Debarghya-Banerjee @georgestephanis @himanshupathak95 @im3dabasia @Infinite-Null @johnbillion @jrmd @karthikeya-io @Maikuolan @Mamaduka @Mayank-Tripathi32 @Rishit30G @SH4LIN @shimotmk @stokesman @Sukhendu2002 @t-hamano @yogeshbhutkar

Don't miss a new gutenberg release

NewReleases is sending notifications on new releases.