github WordPress/gutenberg v14.5.0-rc.1
14.5.0 RC1

latest releases: @wordpress/widgets@4.8.14, @wordpress/reusable-blocks@5.8.14, @wordpress/patterns@2.8.14...
pre-release2 years ago

Changelog

Enhancements

  • Create Block: Update templates to use APIs introduced in WP 6.1. (44185)
  • Style Engine: Add support for dimensions.minHeight property. (45334)

Block Library

  • Comment Template: Add spacing support. (45101)
  • Post Comment Count: Add spacing support. (45150)
  • Post Comments Form: Add spacing support. (45091)

Components

  • Block mover button: Do not show focus styles on pointer interactions. (45126)
  • BorderControl, BorderBoxControl, BorderRadiusControl: Update control components to allow 40px height. (41860)
  • Button: Change the color on the destructive button focus state. (44427)
  • ColorPalette: Convert to TypeScript. (44632)
  • NumberControl: Add custom spin buttons. (45333)
  • BoxControl, Card, ToolsPanel: Remove unnecessary wrappers in stories. (45305)
  • SelectControl: Add onChange, onBlur, and onFocus to storybook actions. (45432)
  • FontSizePicker: Update design when withSlider is set. (44598)

Post Editor

  • Edit Post: Improve distraction-free mode notices. (45348)
  • Move document information and outline to list view panel. (44788)

Patterns

  • Add block pattern categories' descriptions to the REST API and update the descriptions. (45244)

Design Tools

  • Spacing visualizer: Add option to trigger with mousover as well as value change. (44955)

Bug Fixes

  • Fix distraction free shortcut typo. (45186)
  • Fix resizeable editor scrolling. (45189)
  • Hide insertion point when moving out of the canvas. (45420)
  • I18n: Fix handling of nullish pot comments. (45414)
  • Prevent unexpected copying of the post title. (41284)
  • Typo in id in URL. (45232)

Components

  • AutocompleteUI: Close popup when click happens outside of the popover. (44795)
  • Button component: Fix RTL alignment when containing icon and text. (44787)
  • ColorPalette: Fix transparent checkered background pattern. (45295)
  • Fix UnitControl disabled style is overridden by WP forms.css. (45250)
  • Fix popover deprecations. (45195)
  • InputControl: Allow inline styles to be applied to wrapper instead of inner input. (45340)
  • ItemGroup: Fix RTL text alignment when item is clickable. (45280)
  • Set AnglePickerControl Storybook Label Control type to text. (45122)
  • TabPanel: Add tests and changelog for onSelect behavior change. (45211)
  • Update ExternalLink to support onClick handler. (45214)
  • BorderControl: Await floating-ui state changes when rendering/opening popover to fix unit test failures. (45241)

Block Library

  • Allow direct selection of nested Page List block by avoiding dual rendering within block. (45143)
  • Fix Nav uncontrolled blocks saving/loading experience. (45486)
  • List v2: Fix migration when nested list is invalid. (44822)
  • Navigation block: Add padding to buttons when Submenus Open on click is enabled. (44605)
  • Site Tagline: Fix user permission HTTP errors. (45140)
  • Site Title: Avoid 403 errors for users with low permissions. (45093)

Design Tools

  • Fix control widths for Cover, Search, and Spacer blocks. (45329)
  • SpacingSizesControl: Remove UnitControl inline style use. (45412)

Testing

  • Fix uploading artifacts even when the tests are successful. (45187)
  • Migrate Gallery tests to Playwright. (45202)

Patterns

  • Fix PHP warning in categories REST API controller. (45410)

Build Tooling

  • ESLint: Exclude Playwright tests from testing library rules. (45366)

Layout

  • Ensure block content is always returned as a string after processing. (45330)

Plugin

  • Fix failing PHPUnit tests. (45265)

Post Editor

  • Visual Editor: Fix permission error. (45262)

Global Styles

  • Fix: Site editor clips body background style. (45261)

Meta Boxes

  • Metaboxes save: Perform hasMetaBoxes check on every save. (45145)

Webfonts

  • Web Font: Fix ascent/descent-override property typo. (45125)

Accessibility

  • fix: Image caption supports Voice Control. (44850)

Document Settings

  • PublishDateTimePicker: Retrieve all future posts in a given month. (44540)

Site Editor

  • Only mark the 'Site' menu item active when editing a home template. (42807)

Performance

  • Lodash: Refactor @wordpress/blocks away from _.includes(). (45311)
  • Lodash: Refactor @wordpress/keycodes away from _.includes(). (45306)
  • Lodash: Refactor away from _.kebabCase() in site editor. (45192)
  • Lodash: Refactor block editor away from _.some(). (45335)
  • Lodash: Refactor blocks away from _.some(). (45338)

Post Editor

  • Lodash: Refactor @wordpress/edit-post away from _.includes(). (45310)
  • Lodash: Refactor away from _.castArray(). (45098)
  • Lodash: Refactor away from _.escape(). (45282)
  • Lodash: Refactor away from _.includes(). (45316)
  • Lodash: Refactor editor away from _.some(). (45342)

Block Library

  • Lodash: Refactor @wordpress/block-library away from _.includes(). (45307)
  • Lodash: Refactor away from a few similar _.pickBy(). (45312)
  • Lodash: Refactor block library away from _.some(). (45337)

Components

  • Lodash: Refactor away from _.some(). (45367)
  • Lodash: Refactor away from _.without(). (44980)

Block Editor

  • Lodash: Refactor away from _.words() - take 2. (45281)

Documentation

  • Add a readme to the letter spacing component. (45308)
  • Add changelogs for internal refactorings using inert. (45269)
  • Add storybook intro. (45115)
  • Character Swap. (45355)
  • Code Quality: Fix some misspelled words. (45222)
  • LinkControl: Use Popover new placement prop instead of legacy position prop in README. (44388)
  • Updating curation document to include content lock ability. (44908)
  • useAnchorRef: Update deprecation message. (45302)

Components

  • Disabled: Update documentation to clarify the absence of inert polyfill. (45272)

Code Quality

  • Block Editor: Improve MediaReplaceFlow tests. (45424)
  • Block Editor: Refactor align tests to RTL. (45152)
  • Block switcher preview Popover: Use new placement prop instead of legacy position prop. (44387)
  • Button block Popover: Use placement prop instead of legacy position prop. (44392)
  • Fix indent and quote in dependbot.yml. (45167)
  • Fix: PHP 8.1 Deprecation - strncmp(): Passing null to parameter. (44829)
  • Format Toolbar Popover: Use new placement prop instead of legacy position prop. (44389)
  • Image format popover: Use placement prop instead of legacy position prop. (44398)
  • Link format Popover: Use placement prop instead of legacy position prop. (44399)
  • Navigation Link Popover: Use placement prop instead of legacy position prop. (44394)
  • Navigation Submenu Popover: Use placement prop instead of legacy position prop. (44395)
  • Replace the MainDashboardButton slot with a setting in the site editor. (45149)
  • Run script loader test. (45288)
  • Site Editor: Move the save view state to the edit site store. (45200)
  • Small follow-ups to the distraction free mode PR. (45151)
  • Tests: Use container instead of container.firstChild for snapshots. (45278)
  • URL Input Popover: Use new placement prop instead of legacy position prop. (44390)
  • useFocusOutside: Rewrite hook to TypeScript, rewrite tests to model RTL and user-event. (45317)
  • useFocusableIframe: Refactor to TypeScript. (45428)

Components

  • Add a popover variant prop and refactor popovers to use it, deprecate isAlternate. (45137)
  • Add parseQuantityAndUnitFromRawValue tests. (45260)
  • Autocompleter Popover: Use placement prop instead of legacy position prop. (44396)
  • FontSizePicker: Rewrite unit tests to use userEvent and be more comprehensive. (45298)
  • Improve BorderBoxControl tests. (45208)
  • Refactor ContextSystemProvider and the useUpdateEffect util to ignore exhaustive-deps. (45044)
  • Refactor SlotFill to pass exhaustive-deps. (44403)
  • Refactor Snackbar to pass exhaustive-deps. (44934)
  • Refactor TabPanel to pass exhaustive-deps. (44935)
  • Remove unnecessary .firstChild from tests. (45419)
  • Update some React 18 related types. (45279)

Global Styles

  • Add wp_theme_has_theme_json as a public API to know whether a theme has a theme.json. (45168)
  • Deprecate WP_Theme_JSON_Resolver:Theme_has_support(). (45380)

Post Editor

  • Editors: Refactor icon tests to follow no-container rule. (45422)

Tools

Testing

  • Add end-to-end tests for Drag-and-Drop in the inserter. (44631)
  • Cleanup after the writing flow end-to-end tests. (45119)
  • Migrate Fullscreen mode test to Playwright. (43963)
  • Migrate New Default Post Content Test to Playwright. (45267)
  • Migrate Splitting Merging test to Playwright. (44916)
  • Migrate site-editor-inserter end-to-end test to Playwright. (44507)
  • Migrate templates end-to-end test to Playwright. (45393)
  • Migrate columns test case to Playwright. (43964)
  • Re-enable skipped Gallery block end-to-end test. (45266)
  • Try fixing Site Title flaky end-to-end tests. (45160)
  • Update Playwright to v1.27. (45193)

Build Tooling

  • ESLint: Add and enable eslint-plugin-testing-library. (45103)
  • Remove comments from compiled styles. (43177)
  • Upgrade rtlcss to v4.0.0. (43208)
  • build: Native demo editor supports Xcode 14. (45120)

Various

  • Add :Visited to theme.json schema. (45236)
  • Add Playwright Compatibility-classic-editor Test. (43979)
  • Add rel attribute for Social Icons. (45469)
  • Add: Do not use in production to content locking experimental API's. (45291)
  • Migrate iframe-rendering test case. (44535)
  • Post comments link: Add spacing support. (45184)
  • PostTextEditor test: Wrap .blur calls in act(). (45243)
  • Revert "Lodash: Refactor away from _.kebabCase() in site editor". (45206)

Components

  • Button: Refactor Storybook to controls and align documentation. (44105)
  • DateTimePicker: Add __next* props in Storybook. (45164)
  • Font Size Picker: Update changelog for #45041. (45180)
  • FormFileUpload: Remove unused story file. (45286)
  • RadioGroup: Mark as deprecated. (45389)
  • Revert "Navigator: Remove overflow styles from NavigatorScreen". (45303)
  • Storybook: Addon to wrap stories in max-width div. (45134)
  • TextControl: Set Storybook control types on help, label and type. (45405)
  • ToggleGroupControl: Add de-selectable variant. (45123)
  • ToggleGroupControl: Remove invalid props from types. (45114)

Block Library

  • Gallery: Register styles with style engine. (43070)
  • Navigation block: Return undefined from useEffect. (45239)
  • Reset background-image property for outline button style. (45234)
  • [Audio]: Add toolbar button to add/remove caption. (45112)
  • [Video]: Add toolbar button to add/remove caption. (45113)
  • [Video]: Update tracks editor icon to text button. (45245)

Global Styles

  • Embed: Add deprecation for the caption element. (45166)
  • File Block: Add a deprecation for the button element class name. (45159)
  • Gallery: Add a deprecation for captions in the gallery block. (45173)
  • Table Block: Add a deprecation for the figcaption element class name. (45161)
  • Video: Add a deprecation for the caption element. (45169)

Meta Boxes

  • setAvailableMetaBoxesPerLocation: Merge new metaboxes into existing. (45156)

Post Editor

  • hasChangedContent: Remove obsolete blocks check. (45090)

Block Editor

  • Raw handling: Markdown: Also convert bulleted list with bullet characters. (45017)

Layout

  • Try adding layout classnames to inner block wrapper. (44600)

First time contributors

The following PRs were merged by first time contributors:

Contributors

The following contributors merged PRs in this release:

@aaronrobertshaw @alvitazwar @andrewserong @annezazu @aristath @BE-Webdesign @bph @brookewp @carolinan @chad1008 @ciampo @dcalhoun @ellatrix @fluiddot @GeoJunkie @georgeh @getdave @glendaviesnz @gziolo @Initsogar @jorgefilipecosta @jornp @jsnajdr @kevin940726 @KevinBatdorf @kienstra @Mamaduka @mikachan @mirka @noisysocks @ntsekouras @oandregal @pkorzelius @pooja-muchandikar @ramonjd @SavPhill @scruffian @SiobhyB @Soean @t-hamano @talldan @tellthemachines @tyxla @walbo @youknowriad

Don't miss a new gutenberg release

NewReleases is sending notifications on new releases.