Skip to content

Build: allow wp-theme 3.x peer deps - #85383

Closed
simison wants to merge 1 commit into
trunkfrom
simison/wp-build-theme-version-91073d
Closed

simison wants to merge 1 commit into
trunkfrom
simison/wp-build-theme-version-91073d

Conversation

@simison

@simison simison commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

What?

Build: allow wp-theme 3.x peer deps

Similar range-widening change like we did in:

Note that I'm suggesting linting correct peer dep version ranges in future:

Why?

Theme package now is at 3.0.0

How?

Testing Instructions

I don't think there's really anything particular to test other than CI is passing.

Use of AI Tools

yes

@simison
simison requested a review from a team October 22, 2026 11:13
@simison simison added [Type] Build Tooling Issues or PRs related to build tooling [Package] wp-build /packages/wp-build labels Oct 22, 2026
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

🤖 PR meta 🤖

Preview in WordPress Playground

🎉 Props

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: simison <simison@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.

Updated as activity occurs, without notifying anyone named here. Add the props-bot label to refresh.

📦 Bundle size

Size Change: 0 B

Total Size: 9.05 MB

eca6884 Run

⚡ Performance

Show the results

Client side metrics exclude the server response time.

front-end-block-theme

Metric c6110b5 trunk % Change
timeToFirstByte 58 ms +6.38% -3.19% 59.95 ms +3.17% -6.76% -3.25%
largestContentfulPaint 96 ms +10.42% -4.17% 96 ms +6.25% -4.17% 0%
lcpMinusTtfb 37.4 ms +18.72% -5.21% 36 ms +5.14% -4.03% 3.89%
wpBeforeTemplate 30.35 ms +9.46% -3% 31.24 ms +9.96% -6.72% -2.85%
wpTemplate 22.77 ms +3.43% -3.91% 22.85 ms +5.25% -1.27% -0.35%
wpTotal 53.84 ms +6.2% -2.82% 55.2 ms +4.28% -6.29% -2.46%
wpMemoryUsage 7.66 MB +0% -0% 7.63 MB +0% -0% 0.43%
wpDbQueries 16 +0% -0% 16 +0% -0% 0%

front-end-classic-theme

Metric c6110b5 trunk % Change
timeToFirstByte 45.6 ms +4.61% -5.15% 49.6 ms +5.44% -1.92% -8.06%
largestContentfulPaint 96 ms +4.17% -4.17% 104 ms +3.85% -0% -7.69%
lcpMinusTtfb 50.8 ms +3.84% -3.54% 55.4 ms +1.17% -0.54% -8.3%
wpBeforeTemplate 28.6 ms +7.24% -4.51% 29.65 ms +5.87% -5.46% -3.54%
wpTemplate 12.98 ms +9.24% -2.31% 17.39 ms +2.59% -3.34% -25.36%
wpTotal 42.14 ms +4.53% -4.46% 46.35 ms +4.94% -2.24% -9.08%
wpMemoryUsage 6.24 MB +0% -0% 6.32 MB +0% -0% -1.23%
wpDbQueries 9 +0% -0% 13 +0% -0% -30.77%

media-processing

Metric c6110b5 trunk % Change
mediaProcessingJpeg 418.91 ms +1.86% -0.84% 418.56 ms +0.25% -0.87% 0.08%
mediaProcessingAvif 6225.83 ms +0.69% -0.61% 6198.66 ms +0.62% -0.33% 0.44%
mediaProcessingJpegToAvif 4289.62 ms +0.38% -0.2% 4281.37 ms +0.23% -0.25% 0.19%

media-upload

Metric c6110b5 trunk % Change
jpegUploadProcessing 1988.07 ms +1.26% -0.67% 1957.15 ms +1.89% -0.28% 1.58%
pngUploadProcessing 223.03 ms +25.18% -8.63% 251.69 ms +16.82% -21.14% -11.39%
largeJpegUploadProcessing 1939.49 ms +0.97% -0.3% 1961.04 ms +0.22% -0.35% -1.1%
multipleImageUploadProcessing 2166.03 ms +0.88% -0.9% 2114.9 ms +0.18% -1.1% 2.42%

post-editor

Metric c6110b5 trunk % Change
serverResponse 319.38 ms +10.59% -9.47% 314.46 ms +8.04% -4.25% 1.56%
firstPaint 229.03 ms +76.97% -18.39% 300.72 ms +36.61% -45.25% -23.84%
domContentLoaded 925.55 ms +3.34% -2.14% 942.55 ms +1.57% -3.37% -1.8%
loaded 926.5 ms +3.34% -2.13% 943.62 ms +1.57% -3.37% -1.81%
firstContentfulPaint 403.4 ms +5.18% -7.32% 410.53 ms +2.13% -2.27% -1.74%
firstBlock 2815.86 ms +2.11% -4.04% 2854.07 ms +1.15% -4.6% -1.34%
type 16.31 ms +5.46% -4.9% 15.67 ms +3.06% -3.25% 4.08%
typeWithoutInspector 16.71 ms +3.53% -8.14% 15.11 ms +5.49% -1.52% 10.59%
typeWithTopToolbar 20.97 ms +2.38% -1.05% 19.91 ms +2.91% -1.71% 5.32%
typeContainer 7.45 ms +14.77% -6.31% 7.19 ms +6.54% -4.87% 3.62%
focus 101.63 ms +2.23% -5.98% 97.68 ms +1.63% -1.54% 4.04%
firstFocus 186.92 ms +0% -0% 188.2 ms +0% -0% -0.68%
selectAll 458.42 ms +5.32% -0.97% 454.65 ms +0.62% -3.09% 0.83%
listViewOpen 63.67 ms +6.05% -5.92% 60.65 ms +6.22% -5.08% 4.98%
inserterOpen 35.58 ms +10.54% -4.86% 35.14 ms +11.87% -6.37% 1.25%
inserterHover 10.16 ms +10.43% -6.1% 10.55 ms +7.87% -9.86% -3.7%
inserterSearch 7.13 ms +3.09% -8.84% 7.6 ms +9.08% -14.08% -6.18%
loadPatterns 523.27 ms +5.87% -5% 515.99 ms +0.98% -3.75% 1.41%
wpTotal 310.27 ms +10.63% -9.7% 305.24 ms +8.38% -4.26% 1.65%
wpMemoryUsage 14.70 MB +0% -0% 14.66 MB +0% -0% 0.24%
wpDbQueries 55 +0% -0% 55 +0% -1.82% 0%

site-editor

Metric c6110b5 trunk % Change
serverResponse 407.35 ms +2.22% -4.52% 414.56 ms +2.01% -6.16% -1.74%
firstPaint 247.83 ms +10.62% -18.31% 212.57 ms +20.44% -6.08% 16.59%
domContentLoaded 1132.9 ms +2.07% -1.29% 1142.45 ms +1.48% -2.5% -0.84%
loaded 1133.91 ms +2.05% -1.31% 1143.44 ms +1.47% -2.51% -0.83%
firstContentfulPaint 466.18 ms +2.05% -1.71% 455.61 ms +5.45% -19.89% 2.32%
firstBlock 4116.91 ms +0.8% -0.98% 4130.5 ms +1.42% -0.7% -0.33%
type 18 ms +0.5% -6.17% 17.86 ms +3.81% -2.52% 0.78%
navigate 111.3 ms +9% -1.84% 115.45 ms +9.74% -2.91% -3.59%
loadPatterns 1244.49 ms +10.36% -3.87% 1174.86 ms +2.52% -3.04% 5.93%
loadPages 965.04 ms +0.45% -1.65% 973.68 ms +10.04% -0.65% -0.89%
wpTotal 396.43 ms +2.59% -4.5% 404.47 ms +2.09% -6.21% -1.99%
wpMemoryUsage 12.71 MB +0% -0% 12.68 MB +0% -0% 0.27%
wpDbQueries 44 +2.27% -0% 44 +2.27% -0% 0%

eca6884 Run

🏁 Flaky tests

Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

Regression: updating a specific option will only change its value and will not corrupt others in /test/e2e/specs/editor/various/core-settings.spec.js, passed after 1 failed attempt.
Error: expect(received).toStrictEqual(expected) // deep equality

- Expected  - 1
+ Received  + 1

  Array [
    "rewrite_rules",
-   "SERIALIZED DATA",
+   "",
  ]
    at forEach (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/core-settings.spec.js:46:26)
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/core-settings.spec.js:43:35
refuses the drop and uploads nothing in /test/e2e/specs/editor/various/single-file-placeholder-drop.spec.js, passed after 1 failed attempt.
Error: expect(received).toHaveLength(expected)

Expected length: 0
Received length: 1
Received array:  [{"_links": {"about": [{"href": "http://localhost:8889/wp-json/wp/v2/types/attachment"}], "author": [{"embeddable": true, "href": "http://localhost:8889/wp-json/wp/v2/users/1"}], "collection": [{"href": "http://localhost:8889/wp-json/wp/v2/media"}], "curies": [{"href": "https://api.w.org/{rel}", "name": "wp", "templated": true}], "replies": [{"embeddable": true, "href": "http://localhost:8889/wp-json/wp/v2/comments?post=223"}], "self": [{"href": "http://localhost:8889/wp-json/wp/v2/media/223", "targetHints": {"allow": ["GET", "POST", "PUT", "PATCH", "DELETE"]}}], "wp:attached-to": [{"embeddable": true, "href": "http://localhost:8889/wp-json/wp/v2/posts/222", "id": 222, "post_type": "post"}]}, "alt_text": "", "author": 1, "caption": {"rendered": ""}, "class_list": ["post-223", "attachment", "type-attachment", "status-inherit", "hentry", "entry"], "comment_status": "open", "date": "2026-10-22T11:33:43", "date_gmt": "2026-10-22T11:33:43", "description": {"rendered": "<p class=\"attachment\"><a href='http://localhost:8889/wp-content/uploads/2026/10/f78b37c5-19bf-453d-9e8b-45a1c85016d2.png'><img loading=\"lazy\" decoding=\"async\" width=\"10\" height=\"10\" src=\"http://localhost:8889/wp-content/uploads/2026/10/f78b37c5-19bf-453d-9e8b-45a1c85016d2.png\" class=\"attachment-medium size-medium\" alt=\"\" style=\"width:100%;height:100%;max-width:10px;\" /></a></p>
"}, "featured_media": 0, "filename": "f78b37c5-19bf-453d-9e8b-45a1c85016d2.png", "filesize": 80, "guid": {"rendered": "http://localhost:8889/wp-content/uploads/2026/10/f78b37c5-19bf-453d-9e8b-45a1c85016d2.png"}, "id": 223, "link": "http://localhost:8889/?attachment_id=223", "media_details": {"file": "2026/10/f78b37c5-19bf-453d-9e8b-45a1c85016d2.png", "filesize": 80, "height": 10, "image_meta": {"alt": "", "aperture": "0", "camera": "", "caption": "", "copyright": "", "created_timestamp": "0", "credit": "", "focal_length": "0", "iso": "0", "keywords": [], "orientation": "0", "shutter_speed": "0", "title": ""}, "sizes": {}, "width": 10}, "media_type": "image", "meta": [], "mime_type": "image/png", "modified": "2026-10-22T11:33:43", "modified_gmt": "2026-10-22T11:33:43", "ping_status": "closed", "post": 222, "slug": "f78b37c5-19bf-453d-9e8b-45a1c85016d2", "source_url": "http://localhost:8889/wp-content/uploads/2026/10/f78b37c5-19bf-453d-9e8b-45a1c85016d2.png", "status": "inherit", "template": "", "title": {"rendered": "f78b37c5-19bf-453d-9e8b-45a1c85016d2"}, "type": "attachment"}]
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/single-file-placeholder-drop.spec.js:71:45

shows hidden notes when adding a note in /test/e2e/specs/editor/various/block-notes-floating.spec.js, passed after 1 failed attempt.

eca6884 Run

@simison

simison commented Oct 22, 2026 •

Copy link
Copy Markdown
Member Author

Hold up; ended up merging #83568 sooner than I thought would be able. :-)

@jsnajdr

jsnajdr commented Oct 22, 2026

Copy link
Copy Markdown
Member

Also, package-lock.json changes are missing in the diff, that's why the static analysis job fails.

@simison simison added the [Status] In Progress Tracking issues with work in progress label Oct 22, 2026
@simison

simison commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

Moving to #85388

@simison simison closed this Oct 22, 2026
@simison
simison deleted the simison/wp-build-theme-version-91073d branch October 22, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] wp-build /packages/wp-build [Status] In Progress Tracking issues with work in progress [Type] Build Tooling Issues or PRs related to build tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants