Skip to content

Update uuid dependency#77848

Merged
manzoorwanijk merged 5 commits intoWordPress:trunkfrom
anomiex:update/uuid-dependency
May 2, 2026
Merged

Update uuid dependency#77848
manzoorwanijk merged 5 commits intoWordPress:trunkfrom
anomiex:update/uuid-dependency

Conversation

@anomiex
Copy link
Copy Markdown
Contributor

@anomiex anomiex commented Apr 30, 2026

What?

Packages are updated to the latest version, 14.0.0. The monorepo root is updated to 11.1.1, which is the latest version that still supports CommonJS.

Why?

Upstream has deprecated all versions of uuid before 11, and notes that 11 will likely be deprecated in 2028.

How?

... By updating the version numbers in package.json files.

Testing Instructions

There should be no functional changes due to this PR.

Testing Instructions for Keyboard

N/A

Screenshots or screencast

N/A

Use of AI Tools

None

Upstream has deprecated all versions of `uuid` before 11, and notes that
11 will likely be deprecated in 2028.

Packages are updated to the latest version, 14.0.0. The monorepo root is
updated to 11.1.1, which is the latest version that still supports
CommonJS.
@github-actions github-actions Bot added [Package] Core data /packages/core-data [Package] Components /packages/components [Package] Blocks /packages/blocks [Package] Editor /packages/editor [Package] Block library /packages/block-library labels Apr 30, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 30, 2026

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: anomiex <bjorsch@git.wordpress.org>
Co-authored-by: manzoorwanijk <manzoorwanijk@git.wordpress.org>
Co-authored-by: jsnajdr <jsnajdr@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@anomiex
Copy link
Copy Markdown
Contributor Author

anomiex commented Apr 30, 2026

@manzoorwanijk Care to review? Or suggest who should? Thanks! 🙂

@manzoorwanijk manzoorwanijk added [Type] Task Issues or PRs that have been broken down into an individual action to take dependencies Pull requests that update a dependency file labels Apr 30, 2026
Copy link
Copy Markdown
Member

@manzoorwanijk manzoorwanijk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be fine. Let us wait for CI to be happy.

@manzoorwanijk manzoorwanijk enabled auto-merge (squash) April 30, 2026 14:53
@anomiex
Copy link
Copy Markdown
Contributor Author

anomiex commented Apr 30, 2026

Looks like these E2E tests are broken in trunk too.

@jsnajdr
Copy link
Copy Markdown
Member

jsnajdr commented Apr 30, 2026

The monorepo root is updated to 11.1.1, which is the latest version that still supports CommonJS.

Why do we need to do this, because of Jest?

@anomiex
Copy link
Copy Markdown
Contributor Author

anomiex commented Apr 30, 2026

Because various files in the root use require( 'uuid' ), I left it at the latest version supporting CommonJS.

On the other hand, if you're using node 20.19.0+, it may be possible to use uuid v14 despite it being esm-only thanks to the unflagging of the require(esm) feature in that version. Jest or other stuff may still have issues with it though. I'll leave experimenting with that for someone else.

@manzoorwanijk manzoorwanijk disabled auto-merge May 1, 2026 22:11
@manzoorwanijk manzoorwanijk enabled auto-merge (squash) May 1, 2026 22:12
@manzoorwanijk
Copy link
Copy Markdown
Member

Linting is broken. Fix in #77888

@manzoorwanijk manzoorwanijk merged commit 5d968eb into WordPress:trunk May 2, 2026
39 of 40 checks passed
@github-actions github-actions Bot added this to the Gutenberg 23.2 milestone May 2, 2026
@anomiex anomiex deleted the update/uuid-dependency branch May 4, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file [Package] Block library /packages/block-library [Package] Blocks /packages/blocks [Package] Components /packages/components [Package] Core data /packages/core-data [Package] Editor /packages/editor [Type] Task Issues or PRs that have been broken down into an individual action to take

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants