Skip to content

chore(deps): update wordpress monorepo (major)

Michael Iseard requested to merge renovate/major-wordpress-monorepo into master

This MR contains the following updates:

Package Type Update Change
@wordpress/api-fetch (source) devDependencies major ^5.2.5 -> ^6.0.0
@wordpress/babel-preset-default (source) devDependencies major ^6.3.4 -> ^7.0.0
@wordpress/block-editor (source) devDependencies major ^3.9.1 -> ^12.0.0
@wordpress/blocks (source) devDependencies major ^11.1.4 -> ^12.0.0
@wordpress/browserslist-config (source) devDependencies major ^4.1.0 -> ^5.0.0
@wordpress/components (source) devDependencies major ^19.0.1 -> ^25.0.0
@wordpress/compose (source) devDependencies major ^5.0.5 -> ^6.0.0
@wordpress/dependency-extraction-webpack-plugin (source) devDependencies major ^3.2.1 -> ^4.0.0
@wordpress/element (source) devDependencies major ^4.0.3 -> ^5.0.0
@wordpress/env (source) devDependencies major ^5.7.0 -> ^8.0.0

Release Notes

WordPress/gutenberg (@​wordpress/api-fetch)

v6.41.0

Compare Source

v6.40.0

Compare Source

v6.39.9

Compare Source

v6.39.8

Compare Source

v6.39.7

Compare Source

v6.39.6

Compare Source

v6.39.5

Compare Source

v6.39.4

Compare Source

v6.39.3

Compare Source

v6.39.2

Compare Source

v6.39.1

Compare Source

v6.39.0

Compare Source

v6.38.0

Compare Source

v6.37.1

Compare Source

v6.37.0

Compare Source

v6.36.0

Compare Source

v6.35.0

Compare Source

v6.34.0

Compare Source

v6.33.0

Compare Source

v6.32.2

Compare Source

v6.32.1

Compare Source

v6.32.0

Compare Source

v6.31.0

Compare Source

v6.30.0

Compare Source

v6.29.0

Compare Source

v6.28.0

Compare Source

v6.27.0

Compare Source

v6.26.0

Compare Source

v6.25.0

Compare Source

v6.24.0

Compare Source

v6.23.2

Compare Source

v6.23.1

Compare Source

v6.23.0

Compare Source

v6.22.0

Compare Source

v6.21.0

Compare Source

v6.20.0

Compare Source

v6.19.0

Compare Source

v6.18.0

Compare Source

v6.17.0

Compare Source

v6.16.0

Compare Source

v6.15.0

Compare Source

v6.14.1

Compare Source

v6.14.0

Compare Source

v6.13.0

Compare Source

v6.12.0

Compare Source

v6.11.0

Compare Source

v6.10.0

Compare Source

v6.9.0

Compare Source

v6.8.0

Compare Source

v6.7.0

Compare Source

v6.6.0

Compare Source

v6.5.0

Compare Source

v6.4.0

Compare Source

v6.3.1

Compare Source

v6.3.0

Compare Source

v6.2.0

Compare Source

v6.1.1: 6.1.1

Compare Source

Bug Fixes
  • Prevent automatic conversion of widgets to blocks when using the customizer.
  • Fix missing block properties on block registration filters used for the deprecated versions.

v6.1.0

Compare Source

v6.0.1

Compare Source

v6.0.0

Compare Source

Breaking changes

OPTIONS requests handled by the preloading middleware are now resolved as window.Response objects if you explicitly set parse: false (for consistency with how GET requests are resolved). They used to be resolved as Plain Old JavaScript Objects.

WordPress/gutenberg (@​wordpress/babel-preset-default)

v7.28.0

Compare Source

v7.27.0

Compare Source

Internal
  • The bundled browserslist dependency has been updated from requiring ^4.21.9 to requiring ^4.21.10 (#​54657).

v7.26.9

Compare Source

v7.26.8

Compare Source

v7.26.7

Compare Source

v7.26.6

Compare Source

v7.26.5

Compare Source

v7.26.4

Compare Source

v7.26.3

Compare Source

v7.26.2

Compare Source

v7.26.1

Compare Source

v7.26.0

Compare Source

v7.25.0

Compare Source

v7.24.1

Compare Source

v7.24.0

Compare Source

v7.23.0

Compare Source

v7.22.0

Compare Source

v7.21.0

Compare Source

v7.20.0

Compare Source

v7.19.2

Compare Source

v7.19.1

Compare Source

v7.19.0

Compare Source

Enhancement
  • Enable the bugfixes option in @babel/preset-env to remove unneeded transpilation (#​50994).

v7.18.0

Compare Source

v7.17.0

Compare Source

v7.16.0

Compare Source

v7.15.0

Compare Source

v7.14.0

Compare Source

Enhancement
  • Exclude IE-only setImmediate/clearImmediate from list of polyfills.

v7.13.0

Compare Source

v7.12.0

Compare Source

v7.11.0

Compare Source

v7.10.3

Compare Source

v7.10.2

Compare Source

v7.10.1

Compare Source

v7.10.0

Compare Source

v7.9.0

Compare Source

v7.8.0

Compare Source

v7.7.0

Compare Source

v7.6.0

Compare Source

v7.5.0

Compare Source

v7.4.0

Compare Source

v7.3.0

Compare Source

v7.2.0

Compare Source

v7.1.1

Compare Source

v7.1.0: 7.1.0

Compare Source

Features
Enhancements
Bug Fixes
APIs
Experiments
Documentation
Performance
Various

v7.0.0

Compare Source

Breaking Change
  • Increase the minimum Node.js version to 14 (#​43141).
WordPress/gutenberg (@​wordpress/block-editor)

v12.12.0

Compare Source

v12.11.1

Compare Source

v12.11.0

Compare Source

  • Deprecated CopyHandler, absorbed into WritingFlow.

v12.10.9

Compare Source

v12.10.8

Compare Source

v12.10.7

Compare Source

v12.10.6

Compare Source

v12.10.5

Compare Source

v12.10.4

Compare Source

v12.10.3

Compare Source

v12.10.2

Compare Source

v12.10.1

Compare Source

v12.10.0

Compare Source

  • The Deprecated multiline prop on RichText will now fall back to using multiple rich text instances instead of a single multiline instance. The prop remains deprecated.

v12.9.0

Compare Source

Enhancements
  • Embed the ObserveTyping behavior within the BlockList component making to simplify instanciations of third-party block editors.

v12.8.1: 12.8.1

Compare Source

Changelog

Bug Fixes
  • Templates page: reduce z-index of content area (39331)

v12.8.0

Compare Source

v12.7.0

Compare Source

v12.6.0

Compare Source

v12.5.0

Compare Source

v12.4.0

Compare Source

Enhancements
  • Add HeadingLevelDropdown component for selecting H1-H6 and paragraph HTML tags from the block toolbar.
Bug Fix
  • Fluid typography: custom font-sizes should use max viewport width (#​51516).

v12.3.15

Compare Source

v12.3.14

Compare Source

v12.3.13

Compare Source

v12.3.12

Compare Source

v12.3.11

Compare Source

v12.3.10

Compare Source

v12.3.9

Compare Source

v12.3.8

Compare Source

v12.3.7

Compare Source

v12.3.6

Compare Source

v12.3.5

Compare Source

v12.3.4

Compare Source

v12.3.3

Compare Source

v12.3.2: 12.3.2

Compare Source

Bug Fixes
Block Library
  • Spacer: Fix unit settings filter. (37774)

v12.3.1: 12.3.1

Compare Source

Bug Fixes
  • Restore canvas padding for classic themes (#​37741).
  • Site logo: Fix range control on landscape logos (#​37733).
  • RichText: Fix dead key input on Windows (#​37777).
  • Update: Improve escaping on the search block (#​37829).
  • Fix: Impossible to clear colors if color palettes are removed. (#​37791).

v12.3.0

Compare Source

v12.2.0

Compare Source

v12.1.0

Compare Source

  • MediaPlaceholder: Remove the undocumented onHTMLDrop prop (#​49673).

v12.0.0

Compare Source

Breaking Changes
  • Renamed utility function immutableSet to setImmutably (#​50040).

v11.8.0

Compare Source

v11.7.0

Compare Source

  • ImageSizeControl: Update image size label (#​49112).

v11.6.0

Compare Source

v11.5.0

Compare Source

Bug Fix
  • SpacingSizesControl: fix white dot on thumb (#​48574).

v11.4.0

Compare Source

Bug Fix
  • LinkControl: fix scrollbar displayed on toggle link settings (#​47986).

v11.3.11

Compare Source

v11.3.10

Compare Source

v11.3.9

Compare Source

v11.3.8

Compare Source

v11.3.7

Compare Source

v11.3.6

Compare Source

v11.3.5

Compare Source

v11.3.4

Compare Source

v11.3.3

Compare Source

v11.3.2

Compare Source

v11.3.1

Compare Source

v11.3.0

Compare Source

v11.2.0

Compare Source

Bug Fix
  • BlockInspector: Fix browser warning error when block is not selected (#​46875).
  • Move component styles needed for iframes to content styles (#​47103).
  • Block Inserter: Correctly apply style to the default inserter (#​47166).
  • List View: Fix crash when the first template-parts is deleted width del key (#​47227).

v11.1.0

Compare Source

v11.0.0

Compare Source

Breaking Changes
  • Updated dependencies to require React 18 (45235)
Enhancements
  • URLInput: the renderSuggestions callback prop now receives currentInputValue as a new parameter (45806).
  • Fluid typography: add configurable fluid typography settings for minimum font size to theme.json (#​42489).
  • URLInput: Add __nextHasNoMarginBottom prop for opting into the new margin-free styles (46692).
Bug Fix
  • SpacingSizesControl: Change ARIA role from region to group to avoid unwanted ARIA landmark regions (#​46530).
  • FocalPointPicker: Fix layout misalignment when placed in the BlockInspector (#​46631).

v10.5.0

Compare Source

Enhancement
  • BlockLockModal: Move Icon component out of CheckboxControl label (#​45535)
  • Fluid typography: adjust font size min and max rules (#​45536).

v10.4.0

Compare Source

Bug Fix
  • InserterListItem: Fix dragging and dropping in Firefox. (#​44631)

v10.3.0

Compare Source

Bug Fix
  • FontSizePicker: Update fluid utils so that only string, floats and integers are treated as valid font sizes for the purposes of fluid typography (#​44847)
  • getTypographyClassesAndStyles(): Ensure that font sizes are transformed into fluid values if fluid typography is activated (#​44852)
  • BlockPopover: Ensure that padding and margin visualizers display in correct position even when scrolling past block. (#​44998)
New features
  • You can now drop files/blocks/HTML on unmodified default blocks to transform them into corresponding blocks (#​44647).

v10.2.0

Compare Source

v10.1.0

Compare Source

v10.0.10

Compare Source

v10.0.9

Compare Source

v10.0.8

Compare Source

v10.0.7

Compare Source

v10.0.6

Compare Source

v10.0.5

Compare Source

v10.0.4

Compare Source

v10.0.3

Compare Source

v10.0.2: 10.0.2

Compare Source

Bug Fixes
  • Fix white screen on RTL languages. (29256)
  • Fix Button block borders for the solid style variation.

v10.0.1: 10.0.1

Compare Source

Bug Fixes
  • CSS-in-JS: Fix inline comment for select-dropdown (external module)

v10.0.0

Compare Source

Breaking change
  • FontSizePicker: Deprecate bottom margin style. Add a __nextHasNoMarginBottom prop to start opting into the margin-free styles that will become the default in a future version, currently scheduled to be WordPress 6.4 (#​43870).

v9.8.0

Compare Source

v9.7.0

Compare Source

v9.6.0

Compare Source

v9.5.0

Compare Source

v9.4.0

Compare Source

v9.3.0

Compare Source

Bug fix
  • Fix focus trap on certain input elements when navigating within a block with the left/right arrow keys (#​41538).

v9.2.0

Compare Source

v9.1.0

Compare Source

v9.0.0

Compare Source

Breaking change
  • BlockNavigationDropdown is now deprecated. Use the Dropdown component from the @wordpress/components package and the ListView component from this package (#​40777).
  • ListView no longer accepts the __experimentalFeatures, __experimentalPersistentListViewFeatures, __experimentalHideContainerBlockActions, and showNestedBlocks props. Passing additional undocumented props through to ListView is also now disallowed. (#​40777).

v8.6.0

Compare Source

v8.5.10

Compare Source

v8.5.9

Compare Source

v8.5.8

Compare Source

v8.5.7

Compare Source

v8.5.6

Compare Source

v8.5.5

Compare Source

v8.5.4

Compare Source

v8.5.3

Compare Source

v8.5.2

Compare Source

v8.5.1: 8.5.1

Compare Source

Bug Fixes
  • Improve the performance of the Site builder page.
  • Load external images if local images not present.

v8.5.0

Compare Source

v8.4.0

Compare Source

v8.3.1

Compare Source

v8.3.0

Compare Source

v8.2.0

Compare Source

New Features
  • LineHeightControl: Changes internal implementation to use NumberControl, which allows enhanced interactions such as dragging to change the value. To improve consistency with other control components, the bottom margin styles on the component has been deprecated, and will be removed in a future version. To opt into this simplified margin style, set the __nextHasNoMarginBottom prop to true.

v8.1.2

Compare Source

v8.1.1

Compare Source

Bug Fix
  • Removed unused @wordpress/block-serialization-default-parser, css-mediaquery, memize and redux-multi dependencies (#​38388).
New Features
  • List View now supports selecting and dragging multiple blocks via SHIFT clicking items in the list #​38314.

v8.1.0

Compare Source

v8.0.18

Compare Source

v8.0.17

Compare Source

v8.0.16

Compare Source

v8.0.15

Compare Source

v8.0.14

Compare Source

v8.0.13

Compare Source

v8.0.12

Compare Source

v8.0.11

Compare Source

v8.0.10

Compare Source

v8.0.9

Compare Source

v8.0.8

Compare Source

v8.0.7

Compare Source

v8.0.6

Compare Source

v8.0.5

Compare Source

v8.0.4

Compare Source

v8.0.3

Compare Source

v8.0.2

Compare Source

v8.0.1

Compare Source

v8.0.0

Compare Source

Performance
  • Avoid re-rendering all List View items on block focus #​35706. When List View is open Block focus time is 4 times faster in large posts.
  • Render fixed number of items in List View #​35706. Opening List View is 13 times faster in large posts.
Breaking change
  • List View no longer supports the showOnlyCurrentHierarchy flag #​35706. To display a subset of blocks, use the blocks parameter instead.

v7.0.4

Compare Source

v7.0.3

Compare Source

v7.0.2

Compare Source

v7.0.1

Compare Source

v7.0.0

Compare Source

Breaking Change
  • Upgraded React components to work with v17.0 (#​29118). There are no new features in React v17.0 as explained in the blog post.

v6.2.0

Compare Source

New Features
  • ButtonBlockerAppender is now ButtonBlockAppender, the original name was a typo, but is still being exported for backward compatibility.

v6.1.15

Compare Source

v6.1.14

Compare Source

v6.1.13

Compare Source

v6.1.12

Compare Source

v6.1.10

Compare Source

v6.1.9

Compare Source

v6.1.8

Compare Source

v6.1.7

Compare Source

v6.1.6

Compare Source

v6.1.5

Compare Source

v6.1.4

Compare Source

v6.1.3

Compare Source

v6.1.2

Compare Source

v6.1.1: 6.1.1

Compare Source

Bug Fixes
  • Prevent automatic conversion of widgets to blocks when using the customizer.
  • Fix missing block properties on block registration filters used for the deprecated versions.

v6.1.0

Compare Source

v6.0.0

Compare Source

Breaking Changes

v5.3.3

Compare Source

v5.3.2

Compare Source

v5.3.1

Compare Source

v5.3.0

Compare Source

  • Add JustifyToolbar component abstracted out of the Navigation block so can be used elsewhere.

v5.2.13

Compare Source

v5.2.12

Compare Source

v5.2.11

Compare Source

v5.2.10

Compare Source

v5.2.9

Compare Source

v5.2.8

Compare Source

v5.2.7

Compare Source

v5.2.6

Compare Source

v5.2.5

Compare Source

v5.2.4

Compare Source

v5.2.3

Compare Source

v5.2.2

Compare Source

v5.2.1

Compare Source

v5.2.0

Compare Source

New Feature
  • Added a store definition store for the block editor namespace to use with @wordpress/data API (#​26655).

v5.1.8

Compare Source

v5.1.7

Compare Source

v5.1.6

Compare Source

v5.1.5

Compare Source

v5.1.4

Compare Source

v5.1.3

Compare Source

v5.1.2

Compare Source

v5.1.1: 5.1.1

Compare Source

Changelog

Bug Fixes

v5.1.0: 5.1.0

Compare Source

Features

Enhancements

Bug Fixes

Various

Chore

Documentation

Mobile

v5.0.2

Compare Source

v5.0.1

Compare Source

v5.0.0

Compare Source

Breaking Changes
  • The block editor does not contain default colors, gradients, and font sizes anymore. If one wants to take advantage of these features, please explicitly pass colors, gradients, and/or settings or use the new __experimentalFeatures setting that is available.

v4.5.0: 4.5.0

Compare Source

Changelog

  • Add relevant attribute data from images to be used server side to handle things like theme specific responsive media.
  • In order to be able to use srcset and sizes on the front end, wp-image-### CSS class has been added to the media and text block.
  • Add minimal multi-selection block panel to replace “Coming Soon” message. It shows word and block count for the selection.
  • Exclude reusable blocks from the global block count in Document Outline.
  • Upgrade admin notices to use Notices module at runtime. It attempts to seamlessly upgrade notices output via an admin_notices or all_admin_notices action server-side.
  • Adjust the prefix transforms so that they only execute when they match text right at the caret so that they are undoable. Also makes it faster by checking if the previous character is a space.
  • Add ability to specify a different default editor font per locale.
  • Add link rel and link class settings to Image block inspector.
  • Transform an Image and Audio block to an Embed block if the URL matches an embed.
  • Respect the “Disable Visual Editor” setting per user.
  • Make it easy to access image IDs server-side on the Gallery block.
  • Recursively step through edits to track individually changed post meta in Block API. This prevents saving the default value for each registered meta when only one of them is changed.
  • Perform a complete draft save on preview.
  • Save all meta-boxes when clicking the preview button. Set preview URL only after saving is complete.
  • Disable hover interaction on mobile to improve scrolling.
  • Update the displayed permalink when the slug is cleared.
  • When converting to blocks, place unhandled HTML within an HTML block.
  • Ensure content that cannot be handled in quotes is preserved within an HTML block.
  • Localize the DateTimePicker Component.
  • Fixes the behavior of link validation including properly handling URL fragments, validating forward slashes in HTTP URLs, more strictness to match getProtocol, addressing false positives in E2E tests.
  • Fix issue where existing reusable blocks on a post would not render if the user was an author or a contributor. This happens because requests to fetch a single block or post are blocked when ?context=edit is passed and the current user is not an editor.
  • Make sure the media library collection is refreshed when a user uploads media outside of the Media Library workflow (i.e. file drops, file uploads, etc).
  • Update the editor reducer so that RESET_BLOCKS will only remove blocks that are actually in the post.
  • It used to be possible to add a reusable block inside the same reusable block in the UI, e.g. someone could create a column block inside another column block. Now it is not.
  • Deleting after certain types of selection was causing the caret to appear in the wrong place, now that it fixed, along with unexpected behavior of Ctrl+A after other kinds of selection, and the associated E2E tests updated.
  • Remove permalink-based features from non-public CPTs.
  • Address various issues with post locking modal.
  • Fix issue with duplicating blocks and undo on Top Toolbar mode.
  • Visual fix of margin on icons that are not dashicons in placeholders.
  • Visual fix for centre-aligned text on coverblocks.
  • Visual fix for embeds that are wider than the mobile breakpoint, cropping them to fit within the screen.
  • Adds MediaUploadCheck before some MediaUpload components where it was not being checked in time, creating a confusing experience for users in the “contributor” role.
  • Fix undefined variable warning in gutenberg.php.
  • Add missing stringifier and iterator in TokenList component.
  • Address i18n issue in MultiSelectionInspector.
  • Fix small visual regression with button variation preview.
  • Fix interaction regression with Sibling Inserter.
  • Fix issue with the Privacy Policy help notice.
  • Fix post visibility popover not appearing on mobile.
  • Fix issue with toolbar in IE11.
  • Fix small gap in style variation button.
  • Fix popovers position in RTL languages.
  • Fix double border issue with disabled toggle control.
  • Fix the TinyMCE init array.
  • RichText content that comes from headings content attribute should use the RichText.Content instead of rendering it directly.
  • Makes the escape key consistently exit the inline link popover – previously this could behave unexpectedly depending on focus.
  • Improve accessibility of permalink sidebar panel using external link component.
  • Display selected block outlines on Top Toolbar mode.
  • Avoid responding to componentDidUpdate in withDispatch.
  • Allow previewing changes to the post featured image.
  • Preserve unknown attributes and respect null in server attributes preparation
  • Adds missing periods to notification that another user has control of the post.
  • Restore the help modal in the Classic block.
  • Reduce specificity in core button styles to reduce conflicts with theme styles.
  • Update name of “Unified Toolbar” to “Top Toolbar” for extra clarity.
  • Make it possible to have an editor-only annotation format that stays in
  • position when typing inside RichText.
  • Adds missing periods to notification that the user does not have permission to read the blocks of the post.
  • Only add data-align for wide/full aligns if editor/theme supports them.
  • Updates jest to latest version to address vulnerabilities.
  • Removes redundant code now that TinyMCE is not being used to handle paste events.
  • Remove the gutenberg text-domain from dynamic blocks.
  • Remove redundant word from media and text block description.
  • Makes the URL for the classic editor translatable, so that the appropriate translated version can be linked to.
  • Update More block description.
  • Avoid .default on browser global assignments.
  • Mirror packages dependencies registration with core.
  • Remove absolute positions in the link popover E2E test.
  • Improve keyboard mappings in E2E tests, replacing custom utils with modifiers from the keycodes package.
  • Add missing imports on some E2E test utilities.
  • Update API Fetch documentation – removes unnecessary wp-json.
  • Remove iOS scroll adjusting now that enter behavior is more smooth.
  • Register the paragraph block as the default block.
  • Handle isSelected in plain text blocks (currently Code and More blocks).

v4.4.0: 4.4.0

Compare Source

Changelog

  • Improves discoverability of permalinks by adding permalink panel to the document sidebar.
  • Improves margins, column child block, and mobile display of columns.
  • Allow for programmatically removing editor document panels.
  • Replaces the uploading indicator of images and galleries with a spinner and faded out image.
  • Toolbar for floats was a little offset beyond the mobile breakpoint, now fixed.
  • Text and code editing blocks did not have width set, now set to fill the space.
  • Correctly align URL input autocomplete.
  • Improve animations: new, consistent naming convention, adds editor prefix, and moves keyframe animations (which don’t work well with mixins) into the edit post style.
  • Hover styles were showing on mobile, where hover is not available – now disabled.
  • Click and drag was incorrectly triggering a selection event in the block list under the popover, resulting in the popover dismissing. This was causing blocks to be selected when trying to set links to open in a new tab, for example. Fixed by preventing the mouse down event from propagating.
  • Adds some padding to the block inserter so that it never overlaps text in nested contexts or mobile views.
  • Better handle images larger than the editor by allowing a 2.5x buffer. Allows images inserted in TwentyNineteen and other themes that have a wider than 580px editor width, to look as expected, but prevents infinite resizing of images.
  • Stop mousedown event propagating through the toolbar, fixing problem of unexpectedly selecting blocks.
  • Improve the way that long words are broken on multiple lines, using word-break: keep-all;
  • Preserve the ratio of video backgrounds in cover blocks, videos may be cropped to fit but will keep their original ratio.
  • It was not possible to scroll a long menu on first load of Gutenberg, fixed by removing sticky-menu.
  • Properly check for allowed types of Media in Media Placeholder components.
  • “Resolve” and “Convert to HTML” buttons were not clickable (regression), now resolved.
  • Exclude HTML editing from Columns and Column blocks.
  • Better handle links without href, which were showing as undefined.
  • Renders block appender after the template is processed, to prevent incorrectly inserting new paragraphs.
  • Parent pages were being lost when draft pages were autosaved, fixed by removing parent pages from autosave requests and refactoring to stop using “parent” as the path argument name.
  • Adding line breaks in formatted content in quote blocks were not working correctly, fixed by persisting formats when new lines are added.
  • Prevent users in the contributor role from using blocks that require upload privileges.
  • Fix block selection in removing blocks, correct typo in comparison.
  • Japanese text (double byte characters) was not usable in the list block, fixed by changing handling of composition events.
  • Better handles different text encodings (e.g. emoji) within a block in block validation.
  • Use a query argument instead of data to prevent error being thrown on post refresh.
  • Keyboard navigation was not working as expected in Firefox, added extra key binding.
  • Adds missing alt values to images when editing.
  • Better communicate block nesting level by using unordered lists.
  • Fix sidebar icons being incorrectly announced in NVDA by adding a span with aria-hidden=”true”.
  • Fixes block toolbar aria label to announce “block tools toolbar” rather than “block toolbar (a11y).
  • Adjusts focus on media and text blocks to select the overall block, not the child paragraph block.
  • Refactors i18n module to replaces Jed with Tannin for significant performance improvements.
  • Replace getSelectedBlock and getMultiSelectedBlocks with more performant getSelectedBlockClientId and a getBlocks selectors in copy handler.
  • Replace getBlock selector in favor of the more performant getBlockName.
  • Replace getSelectedBlock with more performant getSelectedBlockClientId and new isBlockValid selectors in the BlockToolbar.
  • Replace getSelectedBlock with more performant getSelectedBlockClientId and new isBlockValid selectors in the Block Inspector.
  • Replaces getInserterItems with a new hasInserterItems selector which is more performant, and makes some adjustments to memorization.
  • Avoid using the getSelectedBlock selector in autocompleters.
  • Remove use of getBlock selector in the DefaultBlockAppender and EditorKeyboardShortcuts components.
  • Move undo handling out of TinyMCE and into the RichText component.
  • is_gutenberg_page incorrectly assumes get_current_screen exists, add check.
  • Brings code inline with CSS standards by switching font weight to numeric values.
  • Wrapped component would not the most up-to-date store values if it incurred a store state change during its own mount (e.g. dispatching during its own constructor), resolved by rerunning selection.
  • Display an error message if Javascript is disabled.
  • Update to React 16.6.3.
  • Adds missing components dependency for RichText.
  • Refactors list block to remove previously exposed RichText/TinyMCE logic.
  • Removes focusOnMount prop from NavigableToolbar components, which was generating a warning.
  • Refactor checks for upload permissions, removing unnecessary checks for store permissions.
  • Use the large image size when inserting images in both galleries and image blocks.
  • Fixes dependency of wp-polyfill which needs to be registered before React and React-Dom when plugins (like Yoast) rely on Gutenberg’s React.
  • Mark onSplit as unstable as it is pending refactor.
  • Remove 4.4 deprecated features.
  • Fix SCSS syntax error.
  • Remove export of previously removed function.
  • Add an E2E test for unsupported blocks.
  • Refactor E2E utility functions.
  • Formatting updates to copy guidelines.
  • Makes headings consistent in the dropdown documentation.
  • Removes outdated documentation referring to function support in registerBlockType.
  • Fixes some typos and line breaks in block design documentation.
  • Fixes some typos and improves readability of README.
  • Adds toolbar to the editing block, and edit button.
  • Passes the isSelected prop down to the implementation of RichText components to make them respond properly to focus changes.

v4.3.10

Compare Source

v4.3.9

Compare Source

v4.3.8

Compare Source

v4.3.7

Compare Source

v4.3.6

Compare Source

v4.3.5

Compare Source

v4.3.4

Compare Source

v4.3.3

Compare Source

v4.3.2

Compare Source

v4.3.1

Compare Source

v4.3.0: 4.3.0

Compare Source

  • Allow toggling the core custom fields meta box.
  • Introduce Annotations API across Block and Formatting.
  • Allow using a YouTube URL (or other sources) in the Video block and transparently convert it to Embed.
  • Allow Alt+F10 keyboard shortcut to navigate to block toolbar regardless of the toolbar visibility (isTyping, etc).
  • Return focus to element that opened the post publish panel after it is closed.
  • Avoid unnecessary re-renders when navigating between blocks.
  • Improve interactions around Columns block.
  • Improve keyboard navigation through the Gallery block.
  • Use full parser in do_blocks with nested block support. This switch will allow dynamic blocks which contain nested blocks inside of them and it will pave the way for a filtering API to structurally process blocks.
  • Refactor contextual toolbar to work better with floats.
  • Auto-refresh Popovers position but only refresh if the anchor position changes.
  • Add min-width to audio block.
  • Avoid auto-saving with empty post content.
  • Display correct Taxonomy labels.
  • Fix incorrect import name.
  • Fix styling issue with checkboxes.
  • Add full set of reusable block post type labels (addresses “no blocks found” state).
  • Fix right to left block alignment.
  • Fix “updating failed” notices showing on long-open tabs.
  • Fix default PHP parser to cast inner blocks as arrays.
  • Fix JS/PHP inconsistencies with empty attributes on parsing.
  • Link to the source image in the media block.
  • Fix select all keyboard shortcut for Safari and Firefox.
  • Create multiple blocks when multiple files are drag and dropped.
  • Fixes potential theme syle.css clash.
  • Makes preview button a link (a11y).
  • Stop re-rendering all blocks on arrow navigation.
  • Add constraint tabbing to post publish panel (a11y).
  • Fix image uploading bug (incorrect JSON in apiFetch).
  • Fix taxonomy visibility for contributors.
  • Adds aria labels to images in gallery blocks during editing (a11y).
  • Formatting fix for blockquotes.
  • Hide custom fields when meta box is disabled.
  • Limits blockquote color auto-selection to solid color blocks for readability.
  • Fixes announcement on multi-selection of blocks (a11y).
  • Display upload errors in the image block.
  • Fixes selection of embed type blocks.
  • Fixes JSON attribute parsing.
  • Fixes post publish focus (a11y).
  • Resolve macOS Firefox / Safari sibling inserter behavior.
  • Fix visibility of sibling inserter on tab focus.
  • Fix issue with pasting from Word where an image would be created instead of text.
  • Fix multi-selection for float elements.
  • Fetch all tag terms, not just first 100.
  • Correctly displays media on the right.
  • Only show named image sizes.
  • Improves handling of paste action.
  • Updates displayed permalink after permalink is edited.
  • Adjust font size for contrast warning (a11y).
  • Better handles formatting – nested and Google Docs.
  • Fixes suggestion list scrolling when using keyboard (a11y).
  • Fixes block and menu navigation a11y.
  • Click to close dropdown popover.
  • Fix save lock control.
  • Timezone handling fix.
  • Improve a11y of empty text blocks.
  • Fix states for publish buttons.
  • Fix backspace behavior.
  • Change aria labels for paragraph blocks (a11y).
  • Add support for prepare RichText tree.
  • With this change we force the browser to treat the textarea for the
  • code editor as auto when handling direction for its display to preserve the ability to interact with the block delimiters.
  • Rename parentClientId to rootClientId.
  • Remove deprecated findDOMNode call from Tooltip component.
  • Remove unused ref assignment to RichText.
  • Remove redundant onClickOutside handler from Dropdown.
  • Refactor block state.
  • Remove Cloudflare warning for blocked API calls.
  • Remove _wpGutenbergCodeEditorSettings (dead code).
  • Adds periods to block a11y descriptions.
  • Refactor embed block.
  • Handle metabox warning exceptions.
  • Refactor RichText to update formatting bar on format availability changes.
  • Rename wp-polyfill-ecmascript.
  • Update translator comments for quote and pullquote.
  • Remove findDOMNode useage from NavigableToolbar.
  • Changes handling of dates to properly handling scheduling.
  • Remove findDomNode from withHoverAreas.
  • Fixes missing translator comments.
  • Refactor to import Format API components.
  • Refactor of change detection: initial edits.
  • Adds better translation comments to “resolve” and “resolve block”.
  • Adds option for blocks with child blocks to change selection behavior.
  • Allows blocks to disable being converted to reusable blocks.
  • Improve undo/redo states.
  • Updates parsing to better handle nested content.
  • Remove undefined className argument from save().
  • Use different tooltips for different alignment buttons.
  • Improve performance and handling of autosave.
  • Improve gallery upload for multiple images: load one by one.
  • Adds context variable to RichText component.
  • Avoid calling missing get_current_screen function.
  • Make cssnano remove all style comments.
  • Refactor normalizeBlockType.
  • Shows icon in block toolbar.
  • Makes kitchensink button removable from plugins.
  • Fix popover sizing on screen change (autorefresh)
  • Improvement to Columns block.
  • Update block description for consistency.
  • Refactor block styles registration.
  • Use apostrophe instead of single-quote character in strings.
  • Add transformations between video and media and text block.
  • Version update for NPM packages.
  • Update Lerna to latest version.
  • Validates link format in RichText.
  • Refactor contextual toolbar to work better with floats.
  • Move wp-polyfill-ecmascript override to scripts registration.
  • Improves consistency of parser tests.
  • Remove code coverage.
  • Adds mocking helpers for E2E tests.
  • Runs E2E tests with the user in author role.
  • Adds tests for Format API.
  • Adds E2E test for rapid enter presses.
  • Fix typo in documentation.
  • Fix typos in block API documentation.
  • Improved documentation and examples for withFilters.
  • Fix some broken links in documentation.
  • Fix typo and quote consistency.
  • Remove duplicated word.
  • Adds custom block icon instructions.
  • Update documentation on keyboard shortcuts.
  • Updates isSelectionEnabledDocumentation.
  • Update FontSizePicker component documentation.
  • Export switchToBlockType function.
  • Remove mobile RN test suite (temporary measure).
  • Improve styling of next page block.
  • Removes fixed cover on iOS (unsupported in mobile Safari).
  • Adds support for native media picker.
  • Remove onChange delay.
  • Exposes slot/fill pattern to mobile.
  • Expose @​wordpress/editor to mobile.
  • Refreshes native post block merge.
  • Properly handle cancel on the media picker.

v4.2.0: 4.2.0

Compare Source

Changelog (in addition to the changelog of 4.2.0 rc 1)

  • RichText: fix buggy enter/delete behaviour (Extra br elements)
  • Fix showing categories for contributors
  • Improvements to the Format API

v4.1.0: 4.1.0

Compare Source

  • Implement a block navigation system that allows selecting child or parent blocks within nested blocks (like folder path traversal) as well as functioning as a general fast navigation system when a root block is selected.
  • Add a Media & Text block that can facilitate the creation of split column content and allows the split to be resizable.
  • Show block style selector in the block inspector.
  • Rename Cover Image to just Cover and add support for video backgrounds.
  • Add a new accessible Date Picker. This was months in the works.
  • Reimplement the Color Picker component to greatly improve keyboard navigation and screenreader operations.
  • Add style variation for Table block with stripe design.
  • Add “Options” modal to toggle on/off the different document panels.
  • Allow toggling visibility of registered meta-boxes from the “Options” modal.
  • Handle cases where a block is on the page but the block is not registered by showing a dialog with the available options.
  • Ensure compatibility with WordPress 5.0.
  • When pasting single lines of text, treat them as inline text.
  • Add ability to insert images from URL directly in the Image block.
  • Make Columns block responsive.
  • Make responsive embeds a theme option.
  • Add direction attribute / LTR button to the Paragraph block.
  • Display accurate updated and publish notices based on post type.
  • Update buttons in the editor header area to improve consistency (save, revert to draft, etc).
  • Avoid horizontal writing flow navigation in native inputs.
  • Move toggle buttons to the left of their control handle.
  • Add explicit bottom margin to figure elements (like image and embed).
  • Allow transforming a Pullquote to a Quote and viceversa.
  • Allow block inserter to search for blocks by typing their category.
  • Add a label to the URL field in the Publishing Flow panel.
  • Use the stored date format in settings for the LatestPosts block.
  • Remove the placeholder text and use visible label instead in TokenField.
  • Add translator comment for “View” menu label.
  • Make YouTube embed classes consistent between front-end and back-end.
  • Take into account citation when transforming a Quote to a Paragraph.
  • Restore ⌘A’s “select all blocks” behaviour.
  • Allow themes to disable custom font size functionality.
  • Make missing custom font sizes labels translatable.
  • Ensure cite is string when merging quote.
  • Defer fetching non-hierarchical terms in FlatTermSelector.
  • Move the theme support data previously exposed at the REST API index into a read-only theme controller for the active theme.
  • Detect oEmbed responses where the oEmbed provider is missing.
  • Use “Save as Pending” when the Pending checkbox is active.
  • Use the post type’s REST controller class as autosave parent controller.
  • Use post type labels in PostFeaturedImage component.
  • Enforce text color within inline boundaries to ensure contrast and legibility.
  • Add self-closing tag support (like path element) when comparing HTML.
  • Make sure autocomplete triggers are regex safe.
  • Silence PHP errors on REST API responses.
  • Show permalink label as bold text.
  • Change the block renderer controller endpoint and namespace from /gutenberg/v1/block-renderer/ to /wp/v2/block-renderer/.
  • Hide “edit image” toolbar buttons when no image is selected.
  • Hide “Add to Reusable Blocks” action when ‘core/block’ is disabled.
  • Handle blocks passing null as RichText value.
  • Improve validation for attribute names in rich-text toHTMLString.
  • Allow to globally overwrite defined colors in PanelColorSettings.
  • Fix regressions with Button block preview display.
  • Fix issue with color picker not appearing on mobile.
  • Fix publish buttons with long text.
  • Fix link to manifest file in contributing file.
  • Fix demo content crash on malformed URL.
  • Fix issue in docs manifest.
  • Fix media caption processing with the new RichText structure.
  • Fix problem with Gallery losing assigned columns when alignments are applied.
  • Fix an issue where the Categories block would always use the center class alignment regardless of what was set.
  • Fix scroll issue on small viewports.
  • Fix formatting in getEditorSettings docs and update getTokenSettings docs.
  • Fix padding in block validation modal.
  • Fix extra instances of old rich text value source.
  • Fix issue with adding links from the auto-completer.
  • Fix outdated docs for RichText.
  • Fix pre-publish panel overflow issue.
  • Fix missing styles for medium and huge font size classes.
  • Fix autocomplete keyboard navigation in link popover.
  • Fix a text selection exception in Safari.
  • Fix WordPress embed URL resolution and embeds as reusable blocks.
  • Avoid triggering a redirect when creating a new Table block.
  • Only use rich text value internally to the RichText component.
  • Ensure multiline prop is either “p” or “li” in RichText.
  • Do not use dangerouslySetInnerHTML with i18n string.
  • Account for null value in redux-routine createRuntime.
  • Extract link container from RichText.
  • Allow default_title, default_content, and default_excerpt filters to function as expected.
  • Replace gutenberg in classNames with block-editor.
  • Restore the order of actions usually fired in edit-form-advanced.php.
  • Update REST Search controller to use ‘wp/v2’ namespace.
  • Improve keyboard shortcuts section in FAQ.
  • Change all occurrences of ‘new window’ to ‘new tab’.
  • Conditionally load PHP classes in preparation for inclusion in core.
  • Update rich-text source mentions in docs.
  • Deprecate PanelColor components.
  • Use mock response for demo test if Vimeo is down.
  • Adding a bit more verbosity to the install script instructions.
  • Document isDefault option for block styles.
  • Update docs for new REST API namespace.
  • Update shortcut docs with new block navigation menu shortcut.
  • Further improve Release docs.
  • Updated custom icon documentation links.
  • Add all available script handles to documentation.
  • Add wp-polyfill to scripts.md.
  • Add e2e tests for List and Quote transformations.
  • Fail CI build if local changes exist.
  • Attempt to always use the latest version of nvm.
  • Add bare handling for lint-js script.
  • Add support for Webpack bundle analyzer.
  • Improve setup of Lerna.
  • Update clipboard dependency to at least 2.0.1.
  • Recreate the demo content post as an e2e test using keyboard commands.
  • Add mobile SVG compatibility for SVG block icons.
  • Fix className style in SVG primitive.
  • Split Paragraph and Heading blocks on enter.KEY. Refactor block splitting code on paragraph and heading blocks.
  • Add caption support for image block.
  • Rename PHP functions to prevent conflict with core
  • Fix some typos
  • Improve the Toggle Control elements DOM order for better accessibility
  • Set correct media type for video poster image and manage focus properly.
  • Implement fetchAllMiddleware to handle per_page=-1 through pagination in wp.apiFetch
  • Fix Slash autocomplete: Support non-Latin inputs
  • Add WordPress logo animation for preview

v4.0.0

Compare Source

Breaking Changes
  • The block control value for InnerBlocks has been changed from __experimentalBlocks to value and is now considered a stable API.
  • Removed the utility property from the objects returned by the getInserterItems selector.
WordPress/gutenberg (@​wordpress/blocks)

v12.21.0

Compare Source

v12.20.1

Compare Source

v12.20.0

Compare Source

v12.19.9

Compare Source

v12.19.8

Compare Source

v12.19.7

Compare Source

v12.19.6

Compare Source

v12.19.5

Compare Source

v12.19.4

Compare Source

v12.19.3

Compare Source

v12.19.2

Compare Source

v12.19.1

Compare Source

v12.19.0

Compare Source

v12.18.0

Compare Source

v12.17.1

Compare Source

v12.17.0

Compare Source

v12.16.0

Compare Source

v12.15.0

Compare Source

v12.14.0

Compare Source

v12.13.0

Compare Source

v12.12.8

Compare Source

v12.12.7

Compare Source

v12.12.6

Compare Source

v12.12.5

Compare Source

v12.12.4

Compare Source

v12.12.3

Compare Source

v12.12.2

Compare Source

v12.12.1

Compare Source

v12.12.0

Compare Source

v12.11.0

Compare Source

v12.10.0

Compare Source

v12.9.0

Compare Source

v12.8.0

Compare Source

v12.7.0

Compare Source

v12.6.0

Compare Source

v12.5.0

Compare Source

v12.4.0

Compare Source

v12.3.4

Compare Source

v12.3.3

Compare Source

v12.3.2: 12.3.2

Compare Source

Bug Fixes
Block Library
  • Spacer: Fix unit settings filter. (37774)

v12.3.1: 12.3.1

Compare Source

Bug Fixes
  • Restore canvas padding for classic themes (#​37741).
  • Site logo: Fix range control on landscape logos (#​37733).
  • RichText: Fix dead key input on Windows (#​37777).
  • Update: Improve escaping on the search block (#​37829).
  • Fix: Impossible to clear colors if color palettes are removed. (#​37791).

v12.3.0

Compare Source

v12.2.0

Compare Source

v12.1.0

Compare Source

v12.0.0

Compare Source

Breaking Changes
  • Updated dependencies to require React 18 (45235)
WordPress/gutenberg (@​wordpress/browserslist-config)

v5.27.0

Compare Source

v5.26.0

Compare Source

v5.25.9

Compare Source

v5.25.8

Compare Source

v5.25.7

Compare Source

v5.25.6

Compare Source

v5.25.5

Compare Source

v5.25.4

Compare Source

v5.25.3

Compare Source

v5.25.2

Compare Source

v5.25.1

Compare Source

v5.25.0

Compare Source

v5.24.0

Compare Source

v5.23.1

Compare Source

v5.23.0

Compare Source

v5.22.0

Compare Source

v5.21.0

Compare Source

v5.20.0

Compare Source

v5.19.0

Compare Source

v5.18.2

Compare Source

v5.18.1

Compare Source

v5.18.0

Compare Source

v5.17.0

Compare Source

v5.16.0

Compare Source

v5.15.0

Compare Source

v5.14.0

Compare Source

v5.13.0

Compare Source

v5.12.0

Compare Source

v5.11.0

Compare Source

v5.10.0

Compare Source

v5.9.2: 5.9.2

Compare Source

Bug Fixes
  • Fix Regression for blocks using InnerBlocks.Content from the editor package (support forwardRef components in the block serializer).

v5.9.1: 5.9.1

Compare Source

Bug Fixes

v5.9.0

Compare Source

v5.8.0

Compare Source

v5.7.0

Compare Source

v5.6.0

Compare Source

v5.5.0

Compare Source

v5.4.0

Compare Source

v5.3.0

Compare Source

v5.2.0

Compare Source

v5.1.0

Compare Source

v5.0.1

Compare Source

v5.0.0

Compare Source

Breaking Change
  • Increase the minimum Node.js version to 14 (#​43141).
WordPress/gutenberg (@​wordpress/components)

v25.10.0

Compare Source

Enhancements
  • ProgressBar: use text color to ensure enough contrast against background (#​55285).
  • Notice: Remove margins from Notice component (#​54800).
  • Allow using CSS level 4 viewport-relative units (54415)
  • ToolsPanel: do not apply the className to prop to ToolsPanelItem components when rendered as placeholders (#​55207).
  • GradientPicker: remove overflow styles and padding from ColorPicker popovers (#​55265).
  • Tabs: Expose via private APIs (#​55327).
  • ColorPalette/ToggleGroupControl/ToggleGroupControlOptionBase: add type="button" attribute to native <button>s (#​55125).
Bug Fix
  • Render a "mouse event trap" when using a ColorPicker inside a Popover to prevent issues when rendering on top of iframes (#​55149).
  • Modal: fix closing when contained iframe is focused (#​51602).
  • Autocomplete: Fix disappearing results issue when using multiple triggers inline (#​55301)
Internal
  • Update @ariakit/react to version 0.3.5 (#​55365)
  • ConfirmDialog: Migrate to TypeScript. (#​54954).
New Features
  • Toolbar: add new variant prop for 'unstyled' option (#​55139).

v25.9.1

Compare Source

v25.9.0

Compare Source

Enhancements
  • SearchControl: polish metrics for compact size variant (#​54663).
  • Button: deprecating isPressed prop in favour of aria-pressed (#​54740).
  • DuotonePicker/ColorListPicker: Adds appropriate label and description to 'Duotone Filter' picker (#​54473).
  • Modal: Accessibly hide/show outer modal when nested (#​54743).
  • InputControl, NumberControl, UnitControl, SelectControl, CustomSelectControl, TreeSelect: Add opt-in prop for next 40px default size, superseding the __next36pxDefaultSize prop (#​53819).
  • Modal: add a new size prop to support preset widths, including a fill option to eventually replace the isFullScreen prop (#​54471).
  • Wrapped TextareaControl in a forwardRef call (#​54975).
  • Composite/AlignmentMatrixControl/CircularOptionPicker: Starts the Composite migration from reakit to ariakit (#​54225).
Bug Fix
  • Placeholder: Improved DOM structure and screen reader announcements (#​45801).
  • DateTimePicker: fix onChange callback check so that it also works inside iframes (#​54669).
  • FormTokenField: Add box-sizing reset style and reset default padding (#​54734).
  • SlotFill: Pass Component instance to unregisterSlot (#​54765).
  • Button: Remove aria-selected CSS selector from styling 'active' buttons (#​54931).
  • Popover: Apply the CSS in JS styles properly for components used within popovers. (#​54912)
  • Button: Remove hover styles when aria-disabled is set to true for the secondary variant. (#​54978)
  • Button: Revert toggled style selector to use a class instead of attributes (#​55065).
Internal
  • Update @ariakit/react to version 0.3.3 (#​54818)
  • Tooltip, Shortcut: Remove unused ui/ components from the codebase (#​54573)
  • Refactor ariakit usages to use the render prop instead of as and to use the namespace import (#​54696).
  • Update uuid package to 9.0.1 (#​54725).
  • ContextSystemProvider: Move out of ui/ (#​54847).
  • SlotFill: Migrate to TypeScript and Convert to Functional Component <Slot bubblesVirtually />. (#​51350).
  • Components: move ui/utils to utils and remove ui/ folder (#​54922).
  • Ensure @types/ dependencies used by final type files are included in the main dependency field (#​50231).
  • Text: Migrate to TypeScript. (#​54953).
Experimental
  • Introduce Tabs, an experimental v2 of TabPanel: (#​53960).

v25.8.9

Compare Source

v25.8.8

Compare Source

v25.8.7

Compare Source

v25.8.6

Compare Source

v25.8.5

Compare Source

v25.8.4

Compare Source

v25.8.3

Compare Source

v25.8.2

Compare Source

v25.8.1

Compare Source

v25.8.0

Compare Source

Enhancements
  • Add new option firstContentElement to Modal's focusOnMount prop to allow consumers to focus the first element within the Modal's contents (#​54590).
  • Notice: Improve accessibility by adding visually hidden text to clarify what a notice text is about and the notice type (success, error, warning, info) (#​54498).
  • Making Circular Option Picker a listbox. Note that while this changes some public API, new props are optional, and currently have default values; this will change in another patch (#​52255).
  • ToggleGroupControl: Rewrite backdrop animation using framer motion shared layout animations, add better support for controlled and uncontrolled modes (#​50278).
  • Popover: Add the is-positioned CSS class only after the popover has finished animating (#​54178).
  • Tooltip: Replace the existing tooltip to simplify the implementation and improve accessibility while maintaining the same behaviors and API (#​48440).
  • Dropdown and DropdownMenu: support controlled mode for the dropdown's open/closed state (#​54257).
  • BorderControl: Apply proper metrics and simpler text (#​53998).
  • FormTokenField: Update styling for consistency and increased visibility (#​54402).
  • CircularOptionPicker: Add option to use previous non-listbox behaviour, for contexts where buttons are more appropriate than a list of options (#​54290).
  • DuotonePicker/ColorListPicker: Adds appropriate labels to 'Duotone Filter' color pickers (#​54468).
  • SearchControl: support new 40px and 32px sizes (#​54548).
  • FormTokenField: Add tokenizeOnBlur prop to add any incompleteTokenValue as a new token when field loses focus (#​54445).
  • Sandbox: Add tabIndex prop (#​54408).
Bug Fix
  • Notice: Make the Close button render a tooltip to visually expose its accessible name. All icon buttons must always show a tooltip (#​54498).
  • Tooltip: dynamically render in the DOM only when visible (#​54312).
  • PaletteEdit: Fix padding in RTL languages (#​54034).
  • ToolbarItem: Fix children not showing in rendered components (#​53314).
  • CircularOptionPicker: make focus styles resilient to button size changes (#​54196).
  • InputControl: Fix focus style size (#​54394).
  • BorderControl: Use standard focus style on BorderControl (#​54429).
  • Color values: Update borderFocus to ADMIN.theme (#​54425).
Internal
  • Toolbar/ToolbarDropdownMenu : Convert to TypeScript (#​54321).
  • Composite: Convert to TypeScript (#​54028).
  • BorderControl: Refactor unit tests to use userEvent (#​54155)
  • FocusableIframe: Convert to TypeScript (#​53979).
  • Popover: Remove unused overlay type from positionToPlacement utility function (#​54101).
  • Higher Order -- with-focus-outside: Convert to TypeScript (#​53980).
  • IsolatedEventContainer: Convert unit test to TypeScript (#​54316).
  • Popover: Remove scroll and resize listeners for iframe overflow parents and rely on recently added native Floating UI support (#​54286).
  • Button: Update documentation to remove the button focus prop (#​54397).
  • Toolbar/ToolbarGroup: Convert component to TypeScript (#​54317).
  • Modal: add more unit tests (#​54569).
Experimental
  • DropdownMenu v2: Fix submenu chevron direction in RTL languages (#​54036.
New Features
  • Tooltip: Add new hideOnClick prop (#​54406).
  • Tooltip: Add placement prop to replace deprecated position(#​54264).

v25.7.0

Compare Source

Breaking changes
  • Make the Popover.Slot optional and render popovers at the bottom of the document's body by default. (#​53889, #​53982).
Enhancements
  • ProgressBar: Add transition to determinate indicator (#​53877).
  • Prevent nested SlotFillProvider from rendering (#​53940).
Bug Fix
  • SandBox: Fix the cleanup method in useEffect (#​53796).
  • PaletteEdit: Fix the height of the PaletteItems. Don't rely on styles only present in the block editor (#​54000).
Internal
  • Shortcut: Add Storybook stories (#​53627).
  • SlotFill: Do not render children when using <Slot bubblesVirtually />. (#​53272)
  • Update @floating-ui/react-dom to the latest version (#​46845).

v25.6.1

Compare Source

v25.6.0

Compare Source

Enhancements
  • Theme: Expose via private APIs (#​53262).
  • ProgressBar: Use the theme system accent for indicator color (#​53347).
  • ProgressBar: Use gray 300 for track color (#​53349).
  • Modal: add headerActions prop to render buttons in the header. (#​53328).
  • Snackbar: Snackbar design and motion improvements (#​53248)
  • NumberControl: Add spinFactor prop for adjusting the amount by which the spin controls change the value (#​52902).
  • Modal:: Nuance outside interactions (#​52994).
  • Button: Remove default border from the destructive button (#​53607).
  • Components: Move accent colors to theme context (#​53631).
  • ProgressBar: Use the new theme system accent for indicator color (#​53632).
Bug Fix
  • Button: add :disabled selector to reset hover color for disabled buttons (#​53411).
Internal
  • ControlGroup, FormGroup, ControlLabel, Spinner: Remove unused ui/ components from the codebase (#​52953).
  • MenuItem: Convert to TypeScript (#​53132).
  • MenuItem: Add Storybook stories (#​53613).
  • MenuGroup: Add Storybook stories (#​53090).
  • Components: Remove unnecessary utils (#​53679).

v25.5.0

Compare Source

New Feature
  • Add a new ProgressBar component. (#​53030).
Enhancements
  • ColorPalette, BorderControl: Don't hyphenate hex value in aria-label (#​52932).
  • MenuItemsChoice, MenuItem: Support a disabled prop on a menu item (#​52737).
  • TabPanel: Introduce a new version of TabPanel with updated internals and improved adherence to ARIA guidance on tabpanel focus behavior while maintaining the same functionality and API surface.(#​52133).
Bug Fix
  • Modal: Fix loss of focus when clicking outside (#​52653).

v25.4.0

Compare Source

Enhancements
  • TextControl: Add id prop to allow for custom IDs in TextControls (#​52028).
  • Navigator: Add replace option to navigator.goTo() and navigator.goToParent() (#​52456).
Bug Fix
  • Popover: Pin react-dropdown-menu version to avoid breaking changes in dependency updates. (#​52356).
  • Item: Unify focus style and add default font styles. (#​52495).
  • Toolbar: Fix toolbar items not being tabbable on the first render. (#​52613)
  • FormTokenField: Fix token overflow when moving cursor left or right. (#​52662)

v25.3.0

Compare Source

Enhancements
  • SelectControl: Added option to set hidden options. (#​51545)
  • RangeControl: Add __next40pxDefaultSize prop to opt into the new 40px default size (#​49105).
  • Button: Introduce size prop with default, compact, and small variants (#​51842).
  • ItemGroup: Update button focus state styles to target :focus-visible rather than :focus. (#​51787).
  • Guide: Don't show Close button when there is only one page, and use default button and accent/theme styling (#​52014).
Bug Fix
  • ConfirmDialog: Ensure onConfirm isn't called an extra time when submitting one of the buttons using the keyboard (#​51730).
  • ZStack: ZStack: fix component bounding box to match children (#​51836).
  • Modal: Add small top padding to the content so that avoid cutting off the visible outline when hovering items (#​51829).
  • DropdownMenu: fix icon style when dashicon is used (#​43574).
  • UnitControl: Fix crash when certain units are used (#​52211).
  • Guide: Place focus on the guide's container instead of its first tabbable (#​52300).

v25.2.0

Compare Source

Enhancements
  • UnitControl: Revamp support for changing unit by typing (#​39303).
  • Modal: Update corner radius to be between buttons and the site view frame, in a 2-4-8 system. (#​51254).
  • ItemGroup: Update button focus state styles to be inline with other button focus states in the editor. (#​51576).
  • ItemGroup: Update button focus state styles to target :focus-visible rather than :focus. (#​51787).
Bug Fix
  • Popover: Allow legitimate 0 positions to update popover position (#​51320).
  • Button: Remove unnecessary margin from dashicon (#​51395).
  • Autocomplete: Announce how many results are available to screen readers when suggestions list first renders (#​51018).
Internal
  • ClipboardButton: Convert to TypeScript (#​51334).
  • Toolbar: Replace reakit dependency with @ariakit/react (#​51623).
Documentation
  • SearchControl: Improve documentation around usage of label prop (#​51781).

v25.1.12

Compare Source

v25.1.11

Compare Source

v25.1.10

Compare Source

v25.1.9

Compare Source

v25.1.8

Compare Source

v25.1.7

Compare Source

v25.1.6

Compare Source

v25.1.5

Compare Source

v25.1.4

Compare Source

v25.1.3

Compare Source

v25.1.2

Compare Source

v25.1.1

Compare Source

v25.1.0

Compare Source

Enhancements
  • BorderControl: Improve color code readability in aria-label (#​51197).
  • Dropdown and DropdownMenu: use internal context system to automatically pick the toolbar popover variant when rendered inside the Toolbar component (#​51154).
Bug Fix
  • FocalPointUnitControl: Add aria-labels (#​50993).
Enhancements
  • Wrapped TabPanel in a forwardRef call (#​50199).
  • ColorPalette: Improve readability of color name and value, and improve rendering of partially transparent colors (#​50450).
  • Button: Add __next32pxSmallSize prop to opt into the new 32px size when the isSmall prop is enabled (#​51012).
  • ItemGroup: Update styles so all SVGs inherit color from their parent element (#​50819).
Experimental
  • DropdownMenu v2: Tweak styles (#​50967, #​51097).
  • DropdownMenu v2: change default placement to match the legacy DropdownMenu component (#​51133).
  • DropdownMenu v2: Render in the default Popover.Slot (#​51046).

v25.0.0

Compare Source

Breaking Changes
  • DateTime: Remove previously deprecated props, __nextRemoveHelpButton and __nextRemoveResetButton (#​50724).
Internal
  • Modal: Remove children container's unused class name (#​50655).
  • DropdownMenu: Convert to TypeScript (#​50187).
  • Added experimental v2 of DropdownMenu (#​49473).
  • ColorPicker: its private SelectControl component no longer hides BackdropUI, thus making its focus state visible for keyboard users (#​50703).
Bug Fix
  • ColorPicker: Add an outline when the color picker select box is focused(#​50609).
  • InputControl: Fix focus style to support Windows High Contrast mode (#​50772).
  • ToggleGroupControl: Fix focus and selected style to support Windows High Contrast mode (#​50785).
  • SearchControl: Adjust icon styles to fix alignment issues in the block inserter (#​50439).
Enhancements
  • Tooltip: Update background color so tooltip boundaries are more visible in the site editor (#​50792).
  • FontSizePicker: Tweak the header spacing to be more consistent with other design tools (#​50855).

v24.0.0

Compare Source

Breaking Changes
  • onDragStart in <Draggable> is now a synchronous function to allow setting additional data for event.dataTransfer (#​49673).
Bug Fix
  • NavigableContainer: do not trap focus in TabbableContainer (#​49846).
  • Update <Button> component to have a transparent background for its tertiary disabled state, to match its enabled state. (#​50496).
Internal
  • NavigableContainer: Convert to TypeScript (#​49377).
  • ToolbarItem: Convert to TypeScript (#​49190).
  • Move rich-text related types to the rich-text package (#​49651).
  • SlotFill: simplified the implementation and removed unused code (#​50098 and #​50133).
Documentation
  • TreeGrid: Update docs with data-expanded attribute usage (#​50026).
  • Consolidate multiple versions of README and CONTRIBUTING docs, and add them to Storybook (#​50226).
  • DimensionControl: Use WordPress package instead of react in code example (#​50435).
Enhancements
  • FormTokenField, ComboboxControl: Add __next40pxDefaultSize prop to opt into the new 40px default size, superseding the __next36pxDefaultSize prop (#​50261).
  • Modal: Add css class to children container (#​50099).
  • Button: Add __next40pxDefaultSize prop to opt into the new 40px default size (#​50254).
  • PaletteEdit: Allow custom popover configuration (#​49975).
  • Change the default color scheme to use the new WP Blueberry color. See MR description for instructions on how to restore the previous color scheme when using in a non-WordPress context (#​50193).
  • CheckboxControl, CustomGradientPicker, FormToggle, : Refactor and correct the focus style for consistency (#​50127).
  • Button, update spacing values in has-text has-icon buttons. (#​50277).
  • Button, remove custom padding applied to tertiary variant. (#​50276).
  • Modal: Correct padding for title less confirm variant. (#​50283).

v23.9.0

Compare Source

Internal
  • BottomSheetCell: Refactor away from Lodash (mobile) (#​49794).
  • parseStylesVariables(): Refactor away from Lodash (mobile) (#​49794).
  • Remove Lodash dependency from components package (#​49794).
  • Tweak WordPressComponent type so selector property is optional (#​49960).
  • Update Modal appearance on small screens (#​50039).
  • Update the framer motion dependency to the latest version 10.11.6 (#​49822).
Enhancements
  • Draggable: Add appendToOwnerDocument prop to allow elementId based elements to be attached to the ownerDocument body (#​49911).
  • TreeGrid: Modify keyboard navigation code to use a data-expanded attribute if aria-expanded is to be controlled outside of the TreeGrid component (#​48461).
  • Modal: Equalize internal spacing (#​49890).
  • Modal: Increased border radius (#​49870).
  • Modal: Updated spacing / dimensions of isFullScreen (#​49894).
  • SlotFill: Added util for creating private SlotFills and supporting Symbol keys (#​49819).
  • IconType: Export for external use (#​49649).
Bug Fix
  • CheckboxControl: Add support custom IDs (#​49977).
Documentation
  • Autocomplete: Add heading and fix type for onReplace in README. (#​49798).
  • Autocomplete: Update Usage section in README. (#​49965).

v23.8.0

Compare Source

Internal
  • Mobile Refactor of the KeyboardAwareFlatList component.
  • Update reakit dependency to 1.3.11 (#​49763).
Enhancements
  • DropZone: Smooth animation (#​49517).
  • Navigator: Add skipFocus property in NavigateOptions. (#​49350).
  • Spinner: add explicit opacity and background styles (#​49695).
  • Make TypeScript types available for consumers (#​49229).
Bug Fix
  • Snackbar: Fix insufficient color contrast on hover (#​49682).

v23.7.0

Compare Source

Internal
  • Animate: Convert to TypeScript (#​49243).
  • CustomGradientPicker: Convert to TypeScript (#​48929).
  • ColorPicker: Convert to TypeScript (#​49214).
  • GradientPicker: Convert to TypeScript (#​48316).
  • FormTokenField: Add a __nextHasNoMarginBottom prop to start opting into the margin-free styles (48609).
  • QueryControls: Replace bottom margin overrides with __nextHasNoMarginBottom(47515).
Enhancements
  • CustomGradientPicker: improve initial state UI (#​49146).
  • AnglePickerControl: Style to better fit in narrow contexts and improve RTL layout (#​49046).
  • ImageSizeControl: Use large 40px sizes (#​49113).
Bug Fix
  • CircularOptionPicker: force swatches to visually render on top of the rest of the component's content (#​49245).
  • InputControl: Fix misaligned textarea input control (#​49116).
  • ToolsPanel: Ensure consistency in menu item order (#​49222).
  • TabPanel: fix initial tab selection & focus management (#​49368).
Internal
  • DuotonePicker, DuotoneSwatch: Convert to TypeScript (#​49060).

v23.6.0

Compare Source

Enhancements
  • FontSizePicker: Allow custom units for custom font size control (#​48468).
  • Navigator: Disable initial screen animation (#​49062).
  • FormTokenField: Hide suggestions list on blur event if the input value is invalid (#​48785).
Bug Fix
  • ResponsiveWrapper: use aspect-ratio CSS prop, add support for SVG elements (#​48573.
  • ResizeTooltip: Use default.fontFamily on tooltip (#​48805.
Internal
  • Guide: Convert to TypeScript (#​47493).
  • SelectControl: improve prop types for single vs multiple selection (#​47390).
  • Navigation: Convert to TypeScript (#​48742).
  • PanelBody: Convert to TypeScript (#​47702).
  • withFilters HOC: Convert to TypeScript (#​48721).
  • withFallbackStyles HOC: Convert to TypeScript (#​48720).
  • withFocusReturn HOC: Convert to TypeScript (#​48748).
  • navigateRegions HOC: Convert to TypeScript (#​48632).
  • withSpokenMessages: HOC: Convert to TypeScript (#​48163).
  • withNotices: HOC: Convert to TypeScript (#​49088).
  • ToolbarButton: Convert to TypeScript (#​47750).
  • DimensionControl(Experimental): Convert to TypeScript (#​47351).
  • PaletteEdit: Convert to TypeScript (#​47764).
  • QueryControls: Refactor away from Lodash (.groupBy) (#​48779).
  • ToolbarContext: Convert to TypeScript (#​49002).

v23.5.0

Compare Source

Enhancements
  • ToolsPanel: Separate reset all filter registration from items registration and support global resets (#​48123).
Internal
  • CircularOptionPicker: Convert to TypeScript (#​47937).
  • TabPanel: Improve unit test in preparation for controlled component updates (#​48086).
  • Autocomplete: performance: avoid setting state on every value change (#​48485).
  • Higher Order -- with-constrained-tabbing: Convert to TypeScript (#​48162).
  • Autocomplete: Convert to TypeScript (#​47751).
  • Autocomplete: avoid calling setState on input (#​48565).

v23.4.0

Compare Source

Bug Fix
  • ToolsPanel: fix type inconsistencies between types, docs and normal component usage (47944).
  • SelectControl: Fix styling when multiple prop is enabled (#​47893).
  • useAutocompleteProps, Autocomplete: Make accessible when rendered in an iframe (#​47907).
Enhancements
  • ColorPalette, GradientPicker, PaletteEdit, ToolsPanel: add new props to set a custom heading level (43848 and #​47788).
  • ColorPalette: ensure text label contrast checking works with CSS variables (#​47373).
  • Navigator: Support dynamic paths with parameters (#​47827).
  • Navigator: Support hierarchical paths navigation and add NavigatorToParentButton component (#​47883).
Internal
  • NavigatorButton: Reuse Button types (47754).
  • CustomSelectControl: lock the __experimentalShowSelectedHint prop (#​47229).
  • Lock the __experimentalPopoverPositionToPlacement function and rename it to __experimentalPopoverLegacyPositionToPlacement (#​47505).
  • ComboboxControl: Convert to TypeScript (#​47581).
  • Panel, PanelHeader, PanelRow: Convert to TypeScript (#​47259).
  • BoxControl: Convert to TypeScript (#​47622).
  • AnglePickerControl: Convert to TypeScript (#​45820).
  • ResizableBox: refactor styles to TypeScript (47756).
  • BorderBoxControl: migrate tests to TypeScript, remove act() call (47755).
  • Toolbar: Convert to TypeScript (#​47087).
  • MenuItemsChoice: Convert to TypeScript (#​47180).
  • ToolsPanel: Allow display of optional items when values are updated externally to item controls (47727).
  • ToolsPanel: Ensure display of optional items when values are updated externally and multiple blocks selected (47864).
  • Navigator: add more pattern matching tests, refine existing tests (47910).
  • ToolsPanel: Refactor Storybook examples to TypeScript (47944).
  • ToolsPanel: Refactor unit tests to TypeScript (48275).

v23.3.8

Compare Source

v23.3.7

Compare Source

v23.3.6

Compare Source

v23.3.5

Compare Source

v23.3.4

Compare Source

v23.3.3

Compare Source

v23.3.2

Compare Source

v23.3.1

Compare Source

v23.3.0

Compare Source

Deprecations
  • NumberControl: Clarify deprecation message about hideHTMLArrows prop (#​47370).
Enhancements
  • Dropdown: deprecate position prop, use popoverProps instead (46865).
  • Button: improve padding for buttons with icon and text. (46764).
  • ColorPalette: Use computed color when css variable is passed to ColorPicker (47181).
  • Popover: add overlay option to the placement prop (47004).
Internal
  • Toolbar: unify Storybook examples under one file, migrate from knobs to controls (47117).
  • DropdownMenu: migrate Storybook to controls (47149).
  • Removed deprecated @storybook/addon-knobs dependency from the package (47152).
  • ColorListPicker: Convert to TypeScript (#​46358).
  • KeyboardShortcuts: Convert to TypeScript (#​47429).
  • ColorPalette, BorderControl, GradientPicker: refine types and logic around single vs multiple palettes (#​47384).
  • Button: Convert to TypeScript (#​46997).
  • QueryControls: Convert to TypeScript (#​46721).
  • TreeGrid: Convert to TypeScript (#​47516).
  • Notice: refactor to TypeScript (47118).
  • Popover: Take iframe element scaling into account (47004).
Bug Fix
  • TabPanel: Fix initial tab selection when the tab declaration is lazily added to the tabs array (47100).
  • InputControl: Avoid the "controlled to uncontrolled" warning by forcing the internal <input /> element to be always in controlled mode (47250).

v23.2.0

Compare Source

Internal
  • AlignmentMatrixControl: Update center cell label to 'Center' instead of 'Center Center' (#​46852).
  • Toolbar: move all subcomponents under the same folder (46951).
  • Dashicon: remove unnecessary type for className prop (46849).
  • ColorPicker & QueryControls: Replace bottom margin overrides with __nextHasNoMarginBottom (#​46448).
  • SandBox: Convert to TypeScript (#​46478).
  • ResponsiveWrapper: Convert to TypeScript (#​46480).
  • ItemGroup: migrate Storybook to controls, refactor to TypeScript (46945).
Bug Fix
  • Placeholder: set fixed right margin for label's icon (46918).
  • TreeGrid: Fix right-arrow keyboard navigation when a row contains more than two focusable elements (46998).

v23.1.0

Compare Source

Breaking Changes
  • ColorPalette: The experimental __experimentalHasMultipleOrigins prop has been removed (#​46315).

v23.0.0

Compare Source

Breaking Changes
  • Updated dependencies to require React 18 (45235)
New Feature
  • TabPanel: support manual tab activation (#​46004).
  • TabPanel: support disabled prop for tab buttons (#​46471).
  • BaseControl: Add useBaseControlProps hook to help generate id-releated props (#​46170).
Bug Fix
  • ColorPalette: show "Clear" button even when colors array is empty (#​46001).
  • InputControl: Fix internal Flex wrapper usage that could add an unintended height: 100% (#​46213).
  • Navigator: Allow calling goTo and goBack twice in one render cycle (#​46391).
  • Modal: Fix unexpected modal closing in IME Composition (#​46453).
  • Toolbar: Fix duplicate focus style on anchor link button (#​46759).
  • useNavigateRegions: Ensure region navigation picks the next region based on where the current user focus is located instead of starting at the beginning (#​44883).
  • ComboboxControl: Fix unexpected behaviour in IME Composition (#​46827).
Enhancements
  • TabPanel: Simplify tab-focus style. (#​46276).
  • TabPanel: Add ability to set icon only tab buttons (#​45005).
  • InputControl, NumberControl, UnitControl: Add help prop for additional description (#​45931).
  • BorderControl, ColorPicker & QueryControls: Replace bottom margin overrides with __nextHasNoMarginBottom (#​45985).
  • CustomSelectControl, UnitControl: Add onFocus and onBlur props (#​46096).
  • ResizableBox: Prevent unnecessary paint on resize handles (#​46196).
  • Popover: Prevent unnecessary paint caused by using outline (#​46201).
  • PaletteEdit: Global styles: add onChange actions to color palette items #​45681.
  • Lighten the border color on control components (#​46252).
  • Popover: Prevent unnecessary paint when scrolling by using transform instead of top/left positionning (#​46187).
  • CircularOptionPicker: Prevent unecessary paint on hover (#​46197).
Experimental
  • TextControl: Restrict type prop to email, number, password, tel, text, search or url (#​45433).
Internal
  • useControlledValue: let TypeScript infer the return type (#​46164).
  • LinkedButton: remove unnecessary span tag (#​46063).
  • NumberControl: refactor styles/tests/stories to TypeScript, replace fireEvent with user-event (#​45990).
  • useBaseField: Convert to TypeScript (#​45712).
  • Dashicon: Convert to TypeScript (#​45924).
  • PaletteEdit: add follow up changelog for #​45681 and tests #​46095.
  • AlignmentMatrixControl: Convert to TypeScript (#​46162).
  • Theme: Remove public export (#​46427).
  • Autocomplete: Refactor away from _.find() (#​46537).
  • TabPanel: Refactor away from _.find() (#​46537).
  • BottomSheetPickerCell: Refactor away from _.find() for mobile (#​46537).
  • Refactor global styles context away from _.find() for mobile (#​46537).
  • Dropdown: Convert to TypeScript (#​45787).
Documentation
  • Tooltip: Add readme and unit tests for shortcut prop (#​46092).

v22.1.0

Compare Source

Enhancements
  • ColorPalette, BorderBox, BorderBoxControl: polish and DRY prop types, add default values (#​45463).
  • TabPanel: Add ability to set icon only tab buttons (#​45005).
Internal
  • AnglePickerControl: remove :focus-visible' outline on CircleOutlineWrapper` (#​45758)
Bug Fix
  • FormTokenField: Fix duplicate input in IME composition (#​45607).
  • Autocomplete: Check key events more strictly in IME composition (#​45626).
  • Autocomplete: Fix unexpected block insertion during IME composition (#​45510).
  • Icon: Making size prop work for icon components using dash icon strings (#​45593)
  • ToolsPanelItem: Prevent unintended calls to onDeselect when parent panel is remounted and item is rendered via SlotFill (#​45673)
  • ColorPicker: Prevent all number fields from becoming "0" when one of them is an empty string (#​45649).
  • ToggleControl: Fix toggle control label text overflow (#​45962).
Internal
  • ToolsPanel: Update to fix exhaustive-deps eslint rule (#​45715).
  • PaletteEditListView: Update to ignore exhaustive-deps eslint rule (#​45467).
  • Popover: Update to pass exhaustive-deps eslint rule (#​45656).
  • Flex: Update to pass exhaustive-deps eslint rule (#​45528).
  • withNotices: Update to pass exhaustive-deps eslint rule (#​45530).
  • ItemGroup: Update to pass exhaustive-deps eslint rule (#​45531).
  • TabPanel: Update to pass exhaustive-deps eslint rule (#​45660).
  • NavigatorScreen: Update to pass exhaustive-deps eslint rule (#​45648).
  • Draggable: Convert to TypeScript (#​45471).
  • MenuGroup: Convert to TypeScript (#​45617).
  • useCx: fix story to satisfy the react-hooks/exhaustive-deps eslint rule (#​45614)
  • Activate the react-hooks/exhuastive-deps eslint rule for the Components package (#​41166)
  • Snackbar: Convert to TypeScript (#​45472).
Experimental
  • ToggleGroupControl: Only show enclosing border when isBlock and not isDeselectable (#​45492).
  • Theme: Add support for custom background color (#​45466).

v22.0.0

Compare Source

Breaking Changes
  • Popover: The deprecated range and __unstableShift props have been removed (#​45195).
Deprecations
  • Popover: the deprecation messages for anchor-related props (anchorRef, anchorRect, getAnchorRect) have been updated (#​45195).
  • RadioGroup: Mark as deprecated, in favor of RadioControl and ToggleGroupControl (#​45389).
  • Popover: the deprecation messages for anchor-related props (anchorRef, anchorRect, getAnchorRect) have been updated. (#​45195).
  • Popover: The isAlternate prop has been replaced with a variant prop that can be called with the 'toolbar' string (#​45137).
New Feature
  • BoxControl & CustomSelectControl: Add onMouseOver and onMouseOut callback props to allow handling of these events by parent components (#​44955)
  • Popover: A variant prop has been added to style popovers, with 'unstyled' and 'toolbar' possible values (#​45137).
Enhancements
  • FontSizePicker: Pass the preset object to the onChange callback to allow conversion from preset slugs to CSS vars (#​44967).
  • FontSizePicker: Improved slider design when withSlider is set (#​44598).
  • ToggleControl: Improved types for the help prop, covering the dynamic render function option, and enabled the dynamic help behavior only for a controlled component (#​45279).
  • BorderControl & BorderBoxControl: Replace __next36pxDefaultSize with "default" and "large" size variants (#​41860).
  • UnitControl: Remove outer wrapper to normalize className placement (#​41860).
  • ColorPalette: Fix transparent checkered background pattern (#​45295).
  • ToggleGroupControl: Add isDeselectable prop to allow deselecting the selected option (#​45123).
  • FontSizePicker: Improve hint text shown next to 'Font size' label (#​44966).
Bug Fix
  • useNavigateRegions: Add new keyboard shortcut alias to cover backtick and tilde keys inconsistencies across browsers (#​45019).
  • Button: Tweak the destructive button primary, link, and default variants (#​44427).
  • UnitControl: Fix disabled style is overridden by core form.css style (#​45250).
  • ItemGroup: fix RTL Item styles when rendered as a button (#​45280).
  • Button: Fix RTL alignment for buttons containing an icon and text (#​44787).
  • TabPanel: Call onSelect() on every tab selection, regardless of whether it was triggered by user interaction (#​44028).
  • FontSizePicker: Fallback to font size slug if name is undefined (#​45041).
  • AutocompleterUI: fix issue where autocompleter UI would appear on top of other UI elements (#​44795)
  • ExternalLink: Fix to re-enable support for onClick event handler (#​45214).
  • InputControl: Allow inline styles to be applied to the wrapper not inner input (#​45340)
Internal
  • BorderBoxControl: Convert stories to TypeScript and use Controls (#​45002).
  • Disabled: add a note in the docs about the lack of polyfill for the inert attribute (#​45272)
  • Snackbar: updated to satisfy react/exhaustive-deps eslint rule (#​44934)
  • AnglePickerControl: Set Storybook Label control type to 'text' (#​45122).
  • SlotFill: updated to satisfy react/exhaustive-deps eslint rule (#​44403)
  • Context: updated to ignore react/exhaustive-deps eslint rule (#​45044)
  • Button: Refactor Storybook to controls and align docs (#​44105).
  • TabPanel: updated to satisfy react/exhaustive-deps eslint rule (#​44935)
  • ColorPalette: Convert to TypeScript (#​44632).
  • UnitControl: Add tests (#​45260).
  • Disabled: Refactor the component to rely on the HTML inert attribute.
  • CustomGradientBar: Refactor away from Lodash (#​45367).
  • TextControl: Set Storybook control types on help, label and type (#​45405).
  • Autocomplete: use Popover's new placement prop instead of legacy position prop (#​44396).
  • SelectControl: Add onChange, onBlur and onFocus to storybook actions (#​45432).
  • FontSizePicker: Add more comprehensive tests (#​45298).
  • FontSizePicker: Refactor to use components instead of helper functions (#​44891).
Experimental
  • NumberControl: Replace hideHTMLArrows prop with spinControls prop. Allow custom spin controls via spinControls="custom" (#​45333).
Experimental
  • Theming: updated Components package to utilize the new accent prop of the experimental Theme component.

v21.3.0

Compare Source

Bug Fix
  • FontSizePicker: Ensure that fluid font size presets appear correctly in the UI controls (#​44791).
  • ToggleGroupControl: Remove unsupported disabled prop from types, and correctly mark label prop as required (#​45114).
  • Navigator: prevent partially hiding focus ring styles, by removing unnecessary overflow rules on NavigatorScreen (#​44973).
  • Navigator: restore focus only once per location (#​44972).
Documentation
  • VisuallyHidden: Add some notes on best practices around stacking contexts when using this component (#​44867).
Internal
  • Modal: Convert to TypeScript (#​42949).
  • Sandbox: Use toString to create observe and resize script string (#​42872).
  • Navigator: refactor unit tests to TypeScript and to user-event (#​44970).
  • Navigator: Refactor Storybook code to TypeScript and controls (#​44979).
  • withFilters: Refactor away from _.without() (#​44980).
  • withFocusReturn: Refactor tests to @testing-library/react (#​45012).
  • ToolsPanel: updated to satisfy react/exhaustive-deps eslint rule (#​45028)
  • Tooltip: updated to ignore react/exhaustive-deps eslint rule (#​45043)

v21.2.0

Compare Source

Enhancements
Bug Fix
  • Popover: fix limitShift logic by adding iframe offset correctly (#​42950).
  • Popover: refine position-to-placement conversion logic, add tests (#​44377).
  • ToggleGroupControl: adjust icon color when inactive, from gray-700 to gray-900 (#​44575).
  • TokenInput: improve logic around the aria-activedescendant attribute, which was causing unintended focus behavior for some screen readers (#​44526).
  • NavigatorScreen: fix focus issue where back button received focus unexpectedly (#​44239)
  • FontSizePicker: Fix header order in RTL languages (#​44590).
Enhancements
  • SuggestionList: use requestAnimationFrame instead of setTimeout when scrolling selected item into view. This change improves the responsiveness of the ComboboxControl and FormTokenField components when rapidly hovering over the suggestion items in the list (#​44573).
Internal
  • Mobile updated to ignore react/exhaustive-deps eslint rule (#​44207).
  • Popover: refactor unit tests to TypeScript and modern RTL assertions (#​44373).
  • SearchControl: updated to ignore react/exhaustive-deps eslint rule in native files(#​44381)
  • ResizableBox updated to pass the react/exhaustive-deps eslint rule (#​44370).
  • Sandbox: updated to satisfy react/exhaustive-deps eslint rule (#​44378)
  • FontSizePicker: Convert to TypeScript (#​44449).
  • FontSizePicker: Replace SCSS with Emotion + components (#​44483).
Experimental
  • Add experimental Theme component (#​44668).

v21.1.0

Compare Source

Deprecations
  • Popover: added new anchor prop, supposed to supersede all previous anchor-related props (anchorRef, anchorRect, getAnchorRect). These older anchor-related props are now marked as deprecated and are scheduled to be removed in WordPress 6.3 (#​43691).
Bug Fix
  • Button: Remove unexpected has-text class when empty children are passed (#​44198).
  • The LinkedButton to unlink sides in BoxControl, BorderBoxControl and BorderRadiusControl have changed from a rectangular primary button to an icon-only button, with a sentence case tooltip, and default-size icon for better legibility. The Button component has been fixed so when isSmall and icon props are set, and no text is present, the button shape is square rather than rectangular.
New Features
  • MenuItem: Add suffix prop for injecting non-icon and non-shortcut content to menu items (#​44260).
  • ToolsPanel: Add subheadings to ellipsis menu and reset text to default control menu items (#​44260).
Internal
  • NavigationMenu updated to ignore react/exhaustive-deps eslint rule (#​44090).
  • RangeControl: updated to pass react/exhaustive-deps eslint rule (#​44271).
  • UnitControl updated to pass the react/exhaustive-deps eslint rule (#​44161).
  • Notice: updated to satisfy react/exhaustive-deps eslint rule (#​44157)

v21.0.7

Compare Source

v21.0.6

Compare Source

v21.0.5

Compare Source

v21.0.4

Compare Source

v21.0.3

Compare Source

v21.0.2

Compare Source

v21.0.1

Compare Source

v21.0.0

Compare Source

Deprecations
  • FontSizePicker: Deprecate bottom margin style. Add a __nextHasNoMarginBottom prop to start opting into the margin-free styles that will become the default in a future version, currently scheduled to be WordPress 6.4 (#​43870).
  • AnglePickerControl: Deprecate bottom margin style. Add a __nextHasNoMarginBottom prop to start opting into the margin-free styles that will become the default in a future version, currently scheduled to be WordPress 6.4 (#​43867).
  • Popover: deprecate __unstableShift prop in favour of new shift prop. The __unstableShift is currently scheduled for removal in WordPress 6.3 (#​43845).
  • Popover: removed the __unstableObserveElement prop, which is not necessary anymore. The functionality is now supported directly by the component without the need of an external prop (#​43617).
Bug Fix
  • Button, Icon: Fix iconSize prop doesn't work with some icons (#​43821).
  • InputControl, NumberControl, UnitControl: Fix margin when labelPosition is bottom (#​43995).
  • Popover: enable auto-updating every animation frame (#​43617).
  • Popover: improve the component's performance and reactivity to prop changes by reworking its internals (#​43335).
  • NavigatorScreen: updated to satisfy react/exhaustive-deps eslint rule (#​43876)
  • Popover: fix positioning when reference and floating elements are both within an iframe (#​43971)
Enhancements
  • ToggleControl: Add __nextHasNoMargin prop for opting into the new margin-free styles (#​43717).
  • CheckboxControl: Add __nextHasNoMargin prop for opting into the new margin-free styles (#​43720).
  • FocalPointControl: Add __nextHasNoMargin prop for opting into the new margin-free styles (#​43996).
  • TextControl, TextareaControl: Add __nextHasNoMargin prop for opting into the new margin-free styles (#​43782).
  • Flex: Remove margin-based polyfill implementation of flex gap (#​43995).
  • RangeControl: Tweak dark gray marking color to be consistent with the grays in @wordpress/base-styles (#​43773).
  • UnitControl: Tweak unit dropdown color to be consistent with the grays in @wordpress/base-styles (#​43773).
  • SearchControl: Add __nextHasNoMargin prop for opting into the new margin-free styles (#​43871).
  • UnitControl: Consistently hide spin buttons (#​43985).
  • CardHeader, CardBody, CardFooter: Tweak isShady background colors to be consistent with the grays in @wordpress/base-styles (#​43719).
  • InputControl, SelectControl: Tweak disabled colors to be consistent with the grays in @wordpress/base-styles (#​43719).
  • FocalPointPicker: Tweak media placeholder background color to be consistent with the grays in @wordpress/base-styles (#​43994).
  • RangeControl: Tweak rail, track, and mark colors to be consistent with the grays in @wordpress/base-styles (#​43994).
  • UnitControl: Tweak unit dropdown hover color to be consistent with the grays in @wordpress/base-styles (#​43994).
Internal
  • Icon: Refactor tests to @testing-library/react (#​44051).
  • Fix TypeScript types for isValueDefined() and isValueEmpty() utility functions (#​43983).
  • RadioControl: Clean up styles to use less custom CSS (#​43868).
  • Remove unused normalizeArrowKey utility function (#​43640).
  • SearchControl: Convert to TypeScript (#​43871).
  • FormFileUpload: Convert to TypeScript (#​43960).
  • DropZone: Convert to TypeScript (#​43962).
  • ToggleGroupControl: Rename __experimentalIsIconGroup prop to __experimentalIsBorderless (#​43771).
  • NumberControl: Add TypeScript types (#​43791).
  • Refactor FocalPointPicker to function component (#​39168).
  • Guide: use code instead of keyCode for keyboard events (#​43604).
  • ToggleControl: Convert to TypeScript and streamline CSS (#​43717).
  • FocalPointPicker: Convert to TypeScript (#​43872).
  • Navigation: use code instead of keyCode for keyboard events (#​43644).
  • ComboboxControl: Add unit tests (#​42403).
  • NavigableContainer: use code instead of keyCode for keyboard events, rewrite tests using RTL and user-event (#​43606).
  • ComboboxControl: updated to satisfy react/exhuastive-deps eslint rule (#​41417)
  • FormTokenField: Refactor away from Lodash (#​43744).
  • NavigatorButton: updated to satisfy react/exhaustive-deps eslint rule (#​42051)
  • TabPanel: Refactor away from _.partial() (#​43895).
  • Panel: Refactor tests to @testing-library/react (#​43896).
  • Popover: refactor to TypeScript (#​43823).
  • BorderControl and BorderBoxControl: replace temporary types with Popover's types (#​43823).
  • DimensionControl: Refactor tests to @testing-library/react (#​43916).
  • withFilters: Refactor tests to @testing-library/react (#​44017).
  • IsolatedEventContainer: Refactor tests to @testing-library/react (#​44073).
  • KeyboardShortcuts: Refactor tests to @testing-library/react (#​44075).
  • Slot/Fill: Refactor tests to @testing-library/react (#​44084).
  • ColorPalette: Refactor tests to @testing-library/react (#​44108).

v20.0.0

Compare Source

Deprecations
  • CustomSelectControl: Deprecate constrained width style. Add a __nextUnconstrainedWidth prop to start opting into the unconstrained width that will become the default in a future version, currently scheduled to be WordPress 6.4 (#​43230).
  • Popover: deprecate __unstableForcePosition prop in favour of new flip and resize props. The __unstableForcePosition is currently scheduled for removal in WordPress 6.3 (#​43546).
Bug Fix
  • AlignmentMatrixControl: keep the physical direction in RTL languages (#​43126).
  • AlignmentMatrixControl: Fix the width prop so it works as intended (#​43482).
  • SelectControl, CustomSelectControl: Truncate long option strings (#​43301).
  • ToggleGroupControl: Fix minor inconsistency in label height (#​43331).
  • Popover: fix and improve opening animation (#​43186).
  • Popover: fix incorrect deps in hooks resulting in incorrect positioning after calling update (#​43267).
  • FontSizePicker: Fix excessive margin between label and input (#​43304).
  • Ensure all dependencies allow version ranges (#​43355).
  • Popover: make sure offset middleware always applies the latest frame offset values (#​43329).
  • Dropdown: anchor popover to the dropdown wrapper (instead of the toggle) (#​43377).
  • Guide: Fix error when rendering with no pages (#​43380).
  • Disabled: preserve input values when toggling the isDisabled prop (#​43508)
Enhancements
  • GradientPicker: Show custom picker before swatches (#​43577).
  • CustomGradientPicker, GradientPicker: Add __nextHasNoMargin prop for opting into the new margin-free styles (#​43387).
  • ToolsPanel: Tighten grid gaps (#​43424).
  • ColorPalette: Make popover style consistent (#​43570).
  • ToggleGroupControl: Improve TypeScript documentation (#​43265).
  • ComboboxControl: Normalize hyphen-like characters to an ASCII hyphen (#​42942).
  • FormTokenField: Refactor away from _.difference() (#​43224).
  • Autocomplete: use KeyboardEvent.code instead of KeyboardEvent.keyCode (#​43432).
  • ConfirmDialog: replace (almost) every usage of fireEvent with @testing-library/user-event (#​43429).
  • Popover: Introduce new flip and resize props (#​43546).
Internal
  • Tooltip: Refactor tests to @testing-library/react (#​43061).
  • ClipboardButton, FocusableIframe, IsolatedEventContainer, withConstrainedTabbing, withSpokenMessages: Improve TypeScript types (#​43579).
  • Clean up unused and duplicate COLORS values (#​43445).
  • Update floating-ui to the latest version (#​43206).
  • DateTimePicker, TimePicker, DatePicker: Switch from moment to date-fns (#​43005).
  • DatePicker: Switch from react-dates to use-lilius (#​43005).
  • DateTimePicker: address feedback after recent refactor to date-fns and use-lilius (#​43495).
  • convertLTRToRTL(): Refactor away from _.mapKeys() (#​43258).
  • withSpokenMessages: Update to use @testing-library/react (#​43273).
  • MenuGroup: Refactor unit tests to use @testing-library/react (#​43275).
  • FormTokenField: Refactor away from _.uniq() (#​43330).
  • contextConnect: Refactor away from _.uniq() (#​43330).
  • ColorPalette: Refactor away from _.uniq() (#​43330).
  • Guide: Refactor away from _.times() (#​43374).
  • Disabled: Convert to TypeScript (#​42708).
  • Guide: Update tests to use @testing-library/react (#​43380).
  • Modal: use KeyboardEvent.code instead of deprecated KeyboardEvent.keyCode. improve unit tests (#​43429).
  • FocalPointPicker: use KeyboardEvent.code, partially refactor tests to modern RTL and user-event (#​43441).
  • CustomGradientPicker: use KeyboardEvent.code instead of KeyboardEvent.keyCode (#​43437).
  • Card: Convert to TypeScript (#​42941).
  • NavigableContainer: Refactor away from _.omit() (#​43474).
  • Notice: Refactor away from _.omit() (#​43474).
  • Snackbar: Refactor away from _.omit() (#​43474).
  • UnitControl: Refactor away from _.omit() (#​43474).
  • BottomSheet: Refactor away from _.omit() (#​43474).
  • DropZone: Refactor away from _.includes() (#​43518).
  • NavigableMenu: Refactor away from _.includes() (#​43518).
  • Tooltip: Refactor away from _.includes() (#​43518).
  • TreeGrid: Refactor away from _.includes() (#​43518).
  • FormTokenField: use KeyboardEvent.code, refactor tests to modern RTL and user-event (#​43442).
  • DropdownMenu: use KeyboardEvent.code, refactor tests to model RTL and user-event (#​43439).
  • Autocomplete: Refactor away from _.escapeRegExp() (#​43629).
  • TextHighlight: Refactor away from _.escapeRegExp() (#​43629).
Experimental
  • FormTokenField: add __experimentalAutoSelectFirstMatch prop to auto select the first matching suggestion on typing (#​42527).
  • Popover: Deprecate __unstableForcePosition, now replaced by new flip and resize props (#​43546).
WordPress/gutenberg (@​wordpress/compose)

v6.21.0

Compare Source

v6.20.0

Compare Source

v6.19.9

Compare Source

v6.19.8

Compare Source

v6.19.7

Compare Source

v6.19.6

Compare Source

v6.19.5

Compare Source

v6.19.4

Compare Source

v6.19.3

Compare Source

v6.19.2

Compare Source

v6.19.1

Compare Source

v6.19.0

Compare Source

Features
  • useStateWithHistory: Add a new hook to manage state with undo/redo support.

v6.18.0

Compare Source

v6.17.1

Compare Source

v6.17.0

Compare Source

v6.16.0

Compare Source

v6.15.0

Compare Source

v6.14.0

Compare Source

v6.13.0

Compare Source

v6.12.3

Compare Source

v6.12.2

Compare Source

v6.12.1

Compare Source

v6.12.0

Compare Source

v6.11.0

Compare Source

v6.10.0

Compare Source

v6.9.0

Compare Source

v6.8.0

Compare Source

v6.7.0

Compare Source

v6.6.0

Compare Source

v6.5.0

Compare Source

v6.4.0

Compare Source

v6.3.4

Compare Source

v6.3.3

Compare Source

v6.3.2

Compare Source

v6.3.1

Compare Source

v6.3.0

Compare Source

v6.2.0

Compare Source

v6.1.0

Compare Source

v6.0.0

Compare Source

Breaking Changes
  • Updated dependencies to require React 18 (45235)
WordPress/gutenberg (@​wordpress/dependency-extraction-webpack-plugin)

v4.27.0

Compare Source

v4.26.0

Compare Source

v4.25.9

Compare Source

v4.25.8

Compare Source

v4.25.7

Compare Source

v4.25.6

Compare Source

v4.25.5

Compare Source

v4.25.4

Compare Source

v4.25.3

Compare Source

v4.25.2

Compare Source

v4.25.1

Compare Source

v4.25.0

Compare Source

v4.24.0

Compare Source

v4.23.1

Compare Source

v4.23.0

Compare Source

v4.22.0

Compare Source

v4.21.0

Compare Source

v4.20.0

Compare Source

v4.19.0

Compare Source

v4.18.2

Compare Source

v4.18.1

Compare Source

v4.18.0

Compare Source

v4.17.0

Compare Source

v4.16.0

Compare Source

v4.15.0

Compare Source

v4.14.0

Compare Source

v4.13.0

Compare Source

v4.12.0

Compare Source

v4.11.0

Compare Source

v4.10.0

Compare Source

Bug Fix
  • The bundled json2php dependency has been upgraded from requiring ^0.0.5 to ^0.0.7 (#​47831).

v4.9.2

Compare Source

v4.9.1

Compare Source

v4.9.0

Compare Source

v4.8.0

Compare Source

v4.7.0

Compare Source

v4.6.0

Compare Source

v4.5.0

Compare Source

v4.4.0

Compare Source

v4.3.0

Compare Source

v4.2.0

Compare Source

v4.1.0

Compare Source

New Features
  • Include @wordpress/style-engine on the list of external dependencies to allow using wp.styleEngine global with WordPress 6.1 and beyond (#​43840).

v4.0.2

Compare Source

v4.0.1

Compare Source

Changelog

  • Deactivate plugin versions below 4.1 on WordPress 5.0. #​11375

v4.0.0

Compare Source

Breaking Change
  • Increase the minimum Node.js version to 14 (#​43141).
WordPress/gutenberg (@​wordpress/element)

v5.21.0

Compare Source

v5.20.0

Compare Source

v5.19.9

Compare Source

v5.19.8

Compare Source

v5.19.7

Compare Source

v5.19.6

Compare Source

v5.19.5

Compare Source

v5.19.4

Compare Source

v5.19.3

Compare Source

v5.19.2

Compare Source

v5.19.1

Compare Source

v5.19.0

Compare Source

v5.18.0

Compare Source

v5.17.1

Compare Source

v5.17.0

Compare Source

v5.16.0

Compare Source

v5.15.0

Compare Source

v5.14.0

Compare Source

v5.13.0

Compare Source

v5.12.2

Compare Source

v5.12.1

Compare Source

v5.12.0

Compare Source

v5.11.0

Compare Source

v5.10.0

Compare Source

v5.9.0

Compare Source

v5.8.0

Compare Source

v5.7.0

Compare Source

v5.6.0

Compare Source

v5.5.0

Compare Source

New Features
  • Started exporting the flushSync function from react-dom

v5.4.0

Compare Source

v5.3.3

Compare Source

v5.3.2

Compare Source

v5.3.1

Compare Source

v5.3.0

Compare Source

v5.2.0

Compare Source

v5.1.0

Compare Source

v5.0.0

Compare Source

Breaking Changes
  • Updated dependencies to require React 18 (45235)
New Features
  • Started exporting new React 18 APIs (46610)
WordPress/gutenberg (@​wordpress/env)

v8.10.0

Compare Source

Bug Fix
  • Corrected PATH to include the host user's Composer bin directory.
  • Replaced yoast/phpunit-polyfills with phpunit/phpunit to install the required PHPUnit version, avoiding the need for project-specific polyfills.

v8.9.0

Compare Source

v8.8.9

Compare Source

v8.8.8

Compare Source

v8.8.7

Compare Source

v8.8.6

Compare Source

v8.8.5

Compare Source

v8.8.4

Compare Source

v8.8.3

Compare Source

v8.8.2

Compare Source

v8.8.1

Compare Source

v8.8.0

Compare Source

v8.7.0

Compare Source

v8.6.1: 8.6.1

Compare Source

Bug Fixes:
  • Fix the plugin translations.

v8.6.0

Compare Source

v8.5.0

Compare Source

v8.4.0

Compare Source

v8.3.0

Compare Source

v8.2.0

Compare Source

v8.1.3

Compare Source

v8.1.2

Compare Source

v8.1.1

Compare Source

Bug fix
  • Address issue where a missing file in the underlying Docker image caused wp-env to crash. #​51513

v8.1.0

Compare Source

New feature
  • Execute the local package's wp-env instead of the globally installed version if one is available.
Bug fix
  • Run useradd with -l option to prevent excessive Docker image sizes.

v8.0.0

Compare Source

Breaking Change
  • Remove afterSetup option from .wp-env.json and the WP_ENV_AFTER_SETUP environment variable in favor of more granular lifecycle scripts.
New feature
  • Add afterStart, afterClean, and afterDestroy lifecycle scripts to a new lifecycleScripts key in .wp-env.json.
  • Add a series of WP_ENV_LIFECYCLE_SCRIPT_ environment variables for the various lifecycle scripts.
  • Rework run command to resolve bugs with non-quoted commands. As a consequence it is no longer possible to pass your entire command to wp-env wrapped in double-quotes. While npx wp-env run cli wp help will still work, npx wp-env run cli "wp help" will not. If you are currently escaping any quotes you will need to review those commands and ensure they are compatible with this update.
Enhancement
  • Support using double dashes in wp-env run ... to pass arguments that would otherwise be consumed by wp-env. For example, while normally --help would provide the wp-env help text, if you use npx wp-env run cli php -- --help you will see the PHP help text.
  • Validate whether or not config options exist to prevent accidentally including ones that don't.
Bug fix
  • Support Windows without requiring the use of WSL.

v7.0.0

Compare Source

Breaking Change
  • Docker containers now run as the host user. This should resolve problems with permissions arising from different owners between the host, web container, and cli container. If you still encounter permissions issues, try running npx wp-env destroy so that the environment can be recreated with the correct permissions.
  • Remove the composer and phpunit Docker containers. If you are currently using the run composer or run phpunit command you can migrate to run cli composer or run tests-cli phpunit respectively. Note that with composer, you will need to use the --env-cwd option to navigate to your plugin's directory as it is no longer the default working directory.
New feature
  • Create an afterSetup option in .wp-env.json files for setting arbitrary commands to run after setting up WordPress when using npx wp-env start and npx wp-env clean.
  • Add a WP_ENV_AFTER_SETUP environment variable to override the afterSetup option.
  • Execute the afterSetup command on npx wp-env start after the environment is set up. This can happen when your config changes, WordPress updates, or you pass the --update flag.
  • Execute the afterSetup command on npx wp-env clean.
  • Globally install composer and the correct version of phpunit in all of the Docker containers.
Bug fix
  • Ensure wordpress, tests-wordpress, cli, and tests-cli always build the correct Docker image.
  • Fix Xdebug while using PHP 7.2x.
Enhancement
  • wp-env run ... now uses docker-compose exec instead of docker-compose run. As a result, it is much faster, since commands are executed against existing services, rather than creating them from scratch each time.
  • Increase the maximum upload size to 1GB.

v6.0.0

Compare Source

Breaking Change
  • Use test environment's WP_SITEURL instead of WP_TESTS_DOMAIN as the WordPress URL.
  • Automatically add the environment's port to WP_TESTS_DOMAIN.
  • run command now has a --env-cwd option to set the working directory in the container for the command to execute from.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This MR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports