github WordPress/gutenberg v14.4.0-rc.1
14.4.0 RC1

latest releases: @wordpress/widgets@4.8.4, @wordpress/server-side-render@5.8.4, @wordpress/reusable-blocks@5.8.4...
pre-release23 months ago

Changelog

Enhancements

  • Add prop to disable block selection clearer in BlockList. (44517)
  • Add support for React 18 and later to jest-preset-default. (44680)
  • Block Editor: Refactor ColorPaletteControl tests to RTL. (44869)
  • Block Editor: Refactor ColorPalette tests to RTL. (44870)
  • Block Editor: Refactor useBlockSync tests to RTL. (44871)
  • Compose: Refactor useInstanceId tests to RTL. (44818)
  • Compose: Refactor useViewportMatch tests to RTL. (44819)
  • Compose: Refactor useMediaQuery tests to RTL. (44912)
  • Element: Refactor 'createInterpolateElement' tests to use RTL. (44804)
  • Interface: Refactor FullscreenMode component tests to use RTL. (44803)
  • Multi-select: Fix 1px indent. (44709)
  • Refactor dropzone for unmodified default blocks with useBlockDropZone and InsertionPoint. (44647)
  • ServerSideRender: Add new skipBlockSupportAttributes prop. (44491)
  • Style engine: Permit wp custom CSS properties. (43071)
  • Tag Processor: Add get_updated_html as a non-toString method of stringifying the markup. (44597)
  • Try: Add a small radius to the multi selection style. (44708)
  • Viewport: Refactor ifViewportMatches to use RTL. (44766)
  • Viewport: Refactor withViewportMatch to use RTL. (44769)

Components

  • BorderBoxControl: Omit unit select when values are mixed. (44592)
  • Modal: Convert component to TypeScript. (42949)
  • Refactor Notice tests to use RTL. (44801)
  • Refactor TreeGridCell tests to RTL. (44826)
  • Refactor TreeGridRow tests to RTL. (44824)
  • Refactor TreeGrid's RovingTabIndexItem tests to RTL. (44821)
  • Refactor TreeGrid's RovingTabIndex tests to RTL. (44820)
  • Refactor useFocusOutside to @testing-library/react. (44698)
  • Refactor withFocusOutside to @testing-library/react. (44695)
  • Refactor withState to @testing-library/react. (44697)
  • Sandbox: Use toString to create observe and resize script string. (42872)
  • SuggestionList: Use requestAnimationFrame instead of setTimeout when scrolling selected item into view. (44573)

Post Editor

  • Edit Post: Refactor 'PluginPostStatusInfo' tests to use RTL. (44835)
  • Edit Post: Refactor listener hook tests to RTL. (45066)
  • Editor: Refactor PostTextEditor tests to RTL. (44923)
  • Editor: Refactor PostTypeSupportCheck test to use RTL. (44872)

Data Layer

  • Data: Refactor 'useDispatch' tests to use RTL. (44802)
  • Data: Refactor 'withDispatch' tests to use RTL. (44855)
  • Data: Refactor 'withSelect' tests to use RTL. (45058)

Block Library

  • Comments: Add spacing support. (45102)
  • Cover: Fix erroneous focus style in editor. (44707)

Block Editor

  • Introduce distraction free mode. (41740)
  • Redesign the main pattern inserter. (44028)

Layout

  • SpacingSizesControl: Increase slider's max value to 300. (44956)

Block Locking

  • Adds content locking to navigation block. (44739)

Rich Text

  • Use fallback icon for highlight format. (44705)

Design Tools

  • List Item: Adopt typography supports. (43312)

Bug Fixes

  • Cherry Pick Script: Restore retrieval of merge_commit_sha. (44890)
  • FIX: Typo in block.json schema default scope values. (44944)
  • Fix broken link to 01-basic-esnext example. (45000)
  • Fix clickable placeholder upload button. (44817)
  • Fix insertion point showing up unexpectedly. (44702)
  • Fix overflowing patterns. (44853)
  • Fix typo in block.json schema. (44798)
  • Fix/theme json schema validation. (44799)
  • Fix: Inspector is usable on the top level block even if it is content locked. (44878)
  • Fix: Use active variation as the parent block if available. (44609)
  • Fixes the placeholder for the navigation link label, to be about the label. (44733)
  • Hide the inbetween inserter consistently as you move the mouse. (44814)
  • Margin visualiser: Apply negative value to margins with calc(). (44718)
  • Placeholder: Fix hover style. (44701)
  • Post editor: Rename view to Preview. (45074)
  • Prevent empty block toolbars from showing empty slots. (44704)
  • Use inert attribute instead of useDisabled. (44865)
  • cleanForSlug: Replace multiple hyphens with a single one. (44873)

Block Library

  • Avoid querying block templates during installation. (44584)
  • Buttons: Add specificity for the editor. (44731)
  • Embed Block: Add support for Tumblr Dashboard URLs. (44854)
  • Fix list outdents on Enter in quote block. (44809)
  • Fix the cover block focal point picker. (44991)
  • Fix typo for word occurred. (44914)
  • Fix visibility of nested Group block appender. (45050)
  • Fix: Follow discussion settings in the comments block edit. (44463)
  • Group, Row, Stack, Columns. Fix missing border regression. (44696)
  • List Item: Allow Gutenberg to override core block type. (44911)
  • List v2: Fix selection when creating paragraph from empty list item. (44864)
  • Remove anchor support from the navigation block. (44721)
  • Removes __unstableMaxPages attribute from Page List block (and Nav block). (44415)
  • Site Logo: Fix user permission HTTP errors. (45104)
  • Site logo: Fix centered state, for upload button. (44861)
  • [Site Editor]: Toggle Navigation Menus Sidebar. (44860)

Typography

  • Fluid typography: Convert server-side block support values. (44762)
  • Fluid typography: Covert font size number values to pixels. (44807)
  • Fluid typography: Ensure fontsizes are strings or integers. (44847)
  • Font Size Picker Hint: Fallback to font size slug if name is undefined. (45041)
  • Make custom font sizes appear fluid in the block editor when fluid typography is enabled. (44765)
  • Search block: Ensure font sizes values are converted to fluid in the editor. (44852)

Components

  • FontSizePicker: Fix header order in RTL languages. (44590)
  • Navigator: Restore focus only once per location. (44972)
  • Spacing Sizes Control: Try improving layout spacing. (44858)

Accessibility

  • Fix the block toolbar styling when the 'Show button text labels' preference is enabled. (44779)
  • Fluid typography: Add font size constraints. (44993)

Global Styles

  • Ensure style card effect doesn't cause scrollbars to appear. (44823)
  • Fluid Typography: Fix bug in global styles where fluid clamp rules were not calculated for custom values. (44761)

Build Tooling

  • end-to-end tests: Update button selector. (45087)

Block Editor

  • fix: Native inner blocks merge where appropriate. (45048)

Testing

  • wp-env: Use case insensitive regex when checking WP version string. (44887)

Block settings menu

  • [Block Settings]: Show move to on nested blocks when only one root block. (44827)

Templates API

  • Avoid PHP warning when getting dynamic template data. (44783)

Site Editor

  • Zoomed out view: Keep list view open when entering mode. (44781)

CSS & Styling

  • Fluid typography: Convert font size inline style attributes to fluid values. (44764)

Patterns

  • Fix: Hide list items from content area of content locked blocks. (44676)

Icons

  • Fix arrow icons being misaligned. (44666)

Media

  • Fix cover block text color heuristic for cross origin media. (44552)

Performance

  • Lodash: Refactor away from _.every() in block editor. (44892)
  • Lodash: Refactor away from _.omit() in style addSaveProps(). (45014)
  • Lodash: Refactor away from _.omitBy(). (45010)
  • Lodash: Refactor away from _.without() in block editor. (44875)
  • Lodash: Remove completely from @wordpress/viewport package. (44572)
  • Remove unnecessary repeated function call. (44545)

Block Library

  • Lodash: Refactor away from _.every() in block library. (44894)
  • QueryInspectorControls: Avoid rerender of TaxonomyControls on every keystroke. (44562)

Components

  • Lodash: Refactor away from _.every(). (44901)

Post Editor

  • Lodash: Refactor away from _.without() in post editor. (44874)

Documentation

  • Add ariaLabel support to block supports reference documentation. (45006)
  • Docs: Fix some typos. (44713)
  • Layout Docs: Fix broken link in table of contents. (44719)
  • Layout: Document the current state of the layout block support. (42619)
  • Make spacingScale description more accurate in theme.json schema. (44794)
  • Remove duplicate img tag. (44936)
  • Updating versions in WP in light of 6.0.3 release. (45052)
  • package(prettier-config): Update documentation. (44620)

Code Quality

  • Block Editor: Refactor BlockModeToggle tests to RTL. (45071)
  • Compose: Refactor withGlobalEvents tests to RTL. (45108)
  • ESLint: Fix jest-dom/prefer-checked rule violations. (44927)
  • ESLint: Fix jest-dom/prefer-empty rule violations. (44896)
  • ESLint: Fix jest-dom/prefer-enabled-disabled rule violations. (44895)
  • ESLint: Fix jest-dom/prefer-focus rule violations. (44926)
  • ESLint: Fix jest-dom/prefer-in-document rule violations. (44939)
  • ESLint: Fix jest-dom/prefer-to-have-attribute rule violations. (44930)
  • ESLint: Fix jest-dom/prefer-to-have-class rule violations. (44902)
  • ESLint: Fix jest-dom/prefer-to-have-style rule violations. (44928)
  • ESLint: Fix jest-dom/prefer-to-have-text-content rule violations. (44925)
  • ESLint: Fix testing-library/no-wait-for-multiple-assertions violations. (45067)
  • ESLint: Fix testing-library/prefer-presence-queries violations. (45061)
  • ESLint: Fix a few jsdoc/check-line-alignment warnings. (44984)
  • ESLint: Fix empty toHaveTextContent. (45007)
  • Fix comment in edit post reducer. (44978)
  • Fix: PHP 8.1 Deprecation messages. (44828)
  • Navigator: Remove overflow styles from NavigatorScreen. (44973)
  • Refactor the document actions component. (45060)
  • Simplify BlockStyles preview by removing the slot. (44825)
  • Update 6.1 CSS filter to match core. (44962)

Components

  • ESLint: Fix testing-library/no-render-in-setup violations. (45097)
  • ESLint: Fix testing-library/no-wait-for-side-effects violations. (45064)
  • Navigator: Refactor Storybook code to TypeScript and controls. (44979)
  • Navigator: Refactor tests to TypeScript and user-event. (44970)
  • Refactor NoticeList tests to RTL. (45072)
  • Refactor ToolsPanel to pass exhaustive-deps. (45028)
  • Refactor Tooltip tests to always render inline. (45105)
  • Refactor withFocusReturn tests to RTL. (45012)

Data Layer

  • Data: Cleanup useDispatch tests. (44856)
  • Data: Fix ESLint violations in useSelect. (45018)
  • ESLint: Fix testing-library/await-async-utils violations. (45068)
  • ESLint: Fix testing-library/prefer-find-by violations. (45062)
  • ESLint: Fix testing-library/prefer-screen-queries violations. (45096)
  • ESLint: Fix testing-library/render-result-naming-convention violations. (45106)

Post Editor

  • Refactor EnableCustomFields tests to RTL. (45011)

Typography

  • Fluid Typography: Add missing style.css file to test theme. (44958)

Site Editor

  • Dynamic Templates Names and Descriptions: Code parity with wp/6.1. (44646)

Tools

  • Combine stale issue gardening workflows into one. (44754)
  • Ensure stale github actions workflow only runs for particular issue labels. (44910)

Build Tooling

  • Add .eslintcache to .gitignore. (44938)
  • ESLint: Add and enable eslint-plugin-jest-dom. (44983)
  • Style Engine: Move PHP unit tests to Gutenberg. (44722)

Testing

  • Migrate nonce.test.js to Playwright. (44929)
  • end-to-end Tests: Make attributes and innerblocks optional in insertBlock. (44933)

Various

  • Add title property to theme.json schema. (44797)
  • Block Popover: Fix incorrect positioning of padding and margin visualizers on scroll. (44998)
  • Configure Dependabot pull requests for GitHub Actions. (44677)
  • Fluid Typography: Use wp_ prefixed function. (44876)
  • Mobile - Code block - Migrate from React Test Render to React Native Testing Library. (44833)
  • Mobile - Tooltip - Migrate from React Test Render to React Native Testing Library. (44831)
  • Mobile - Update editor initial HTML test for iOS and update Appium. (44732)
  • Mobile - useResizeObserver - Migrate from React Test Render to React Native Testing Library. (44832)
  • Most used tags: Try fixing label. (44859)
  • Only include theme.css if the theme declares support for wp-block-styles. (44640)
  • Remove gutenberg_ prefix for theme_json_get_style_nodes filter. (44949)
  • Update link to plugin-sidebar example in documentation. (44790)
  • Update the names of filters for global styles data. (44940)
  • Update versions in WordPress documentation for 6.1. (44785)
  • [Create Block] Allows custom keys to be generated in block.json files and package.json files. (44649)
  • [Documentation]: Connect extend Query Loop documentation. (44699)
  • [Documentation]: Update Extending the Query Loop block documentation. (44703)

Components

  • Refactor Tooltip to ignore exhaustive-deps. (45043)
  • Storybook: Add theme switcher tool. (44715)
  • Try color theming. (44668)
  • Update visually hidden documentation to mention stacking context. (44867)

Block Editor

  • Inserter: Add a more pronounced hover effect. (44711)
  • Merge inner blocks if wrappers are equal. (43181)
  • Try nested patterns previews with block editor setting. (44784)
  • Try: Refresh selection styles. (44150)

Block Library

  • Navigation: Fallback to a classic menu if one is available. (44173)
  • Tag Cloud: Add typography supports (except font size). (43452)
  • [Image]: Add toolbar button to add a caption. (44965)

Design Tools

  • Adjust the custom range steps to match the units chosen. (44959)
  • Archive Block: Prevent spacing styles and additional CSS classes from being printed twice. (44438)
  • Tag Cloud Block: Prevent block support styles and additional CSS classes from being printed twice. (44439)

Site Editor

  • Global Styles: Invoke zoomed-out view when selecting a style variation. (44987)
  • Rename header and sidebar components in edit-site. (44974)

Global Styles

  • Modify Frame animation of styles grid. (39717)

First time contributors

The following PRs were merged by first time contributors:

Contributors

The following contributors merged PRs in this release:

@aaronrobertshaw @adamziel @afercia @ajlende @alanjacobmathew @amustaque97 @andrewserong @annezazu @BE-Webdesign @benridane @c4rl0sbr4v0 @carolinan @chad1008 @ciampo @costdev @danielbachhuber @dcalhoun @desrosj @dinhtungdu @draganescu @ellatrix @fabiankaegy @fluiddot @geriux @getdave @glendaviesnz @gvgvgvijayan @jasmussen @jeremylind @jorgefilipecosta @joshuatf @jrfnl @jsnajdr @kevin940726 @Mamaduka @mikachan @mirka @mtias @noisysocks @ntsekouras @oandregal @ockham @pento @PooSham @ramonjd @ryanwelcher @sabernhardt @SantosGuillamot @scruffian @Soean @t-hamano @talldan @tellthemachines @thelovekesh @tyxla @walbo @youknowriad

Don't miss a new gutenberg release

NewReleases is sending notifications on new releases.