Skip to content

build(deps-dev): bump @wordpress/compose from 7.37.0 to 8.1.0#4305

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/wordpress/compose-8.1.0
Open

build(deps-dev): bump @wordpress/compose from 7.37.0 to 8.1.0#4305
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/wordpress/compose-8.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 5, 2026

Copy link
Copy Markdown
Contributor

Bumps @wordpress/compose from 7.37.0 to 8.1.0.

Changelog

Sourced from @​wordpress/compose's changelog.

8.1.0 (2026-06-10)

Code Quality

  • Add missing @types/react dependency. #78882.

Documentation

  • Fix documentation typos (#78686).

8.0.0 (2026-05-27)

Breaking Changes

  • useDialog: The returned props object now exposes an onKeyDown handler. Consumers that spread it onto a wrapper which also receives an onKeyDown from elsewhere should pass that handler via the new onKeyDown option (which merges it with close-on-Escape) or merge the two themselves (#78433).

Enhancements

  • useMergeRefs: Support cleanup functions returned by inner ref callbacks (React 19 ref callback cleanup pattern). Inner refs that return a cleanup have it invoked at teardown instead of being called with null.

Bug Fixes

  • useCopyToClipboard: Call the onSuccess callback even when the trigger node unmounts before the copy resolves (#78387).
  • useDialog: Handle Escape via React onKeyDown so portaled descendants can stop propagation to prevent the dialog from closing (#78433).
  • useMediaQuery, useViewportMatch: Resolve the view default lazily so the hooks no longer throw ReferenceError: window is not defined during server-side rendering. Regression from #76446.

Deprecations

  • The pure HoC now logs a runtime deprecation warning. Use memo or PureComponent from @wordpress/element instead.

7.46.0 (2026-05-14)

7.45.0 (2026-04-29)

7.44.0 (2026-04-15)

7.43.0 (2026-04-01)

Bug Fixes

  • useDialog: Add event.stopPropagation() to the Escape key handler to prevent the event from bubbling to parent overlays (#76861).

7.42.0 (2026-03-18)

New Features

  • Hooks useMediaQuery and useViewportMatch accept a new optional view argument of type Window, which enables consumers to perform media queries in a window other than the global one (e.g. an iframe) (#76446).

7.41.0 (2026-03-04)

... (truncated)

Commits
  • 6da9506 chore(release): publish
  • 6afbb15 Update changelog files
  • e816d95 Merge changes published in the Gutenberg plugin "release/23.4" branch
  • 6237509 Update changelog files
  • d486535 Merge changes published in the Gutenberg plugin "release/23.3" branch
  • d653c5f chore(release): publish
  • 065fa3b Update changelog files
  • f63ca66 Merge changes published in the Gutenberg plugin "release/23.3" branch
  • 7f4e229 Update changelog files
  • b5afac3 Merge changes published in the Gutenberg plugin "release/23.3" branch
  • Additional commits viewable in compare view

@dependabot dependabot Bot added Deps Reserved to dependency/dependabot PRs Deps: JavaScript Reserved to dependency/dependabot PRs labels Jun 5, 2026
Bumps [@wordpress/compose](https://github.com/WordPress/gutenberg/tree/HEAD/packages/compose) from 7.37.0 to 8.1.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/compose/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/compose@8.1.0/packages/compose)

---
updated-dependencies:
- dependency-name: "@wordpress/compose"
  dependency-version: 8.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/wordpress/compose-8.1.0 branch from 3b04885 to cfbfb47 Compare June 10, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Deps: JavaScript Reserved to dependency/dependabot PRs Deps Reserved to dependency/dependabot PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants