Skip to content

Update Bundled @wordpress/* monorepo - #51701

Merged
retrofox merged 19 commits into
trunkfrom
renovate/bundled-@wordpress-monorepo
Sep 2, 2026
Merged

retrofox merged 19 commits into
trunkfrom
renovate/bundled-@wordpress-monorepo

Conversation

@matticbot

@matticbot matticbot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Closes MONOREP-1258

This PR contains the following updates:

Package Change Age Confidence
@wordpress/a11y (source) 4.53.0 → 4.54.0 age confidence
@wordpress/admin-ui (source) 2.8.0 → 2.9.0 age confidence
@wordpress/boot (source) ^0.20.0 → ^0.21.0 age confidence
@wordpress/boot (source) 0.20.0 → 0.21.0 age confidence
@wordpress/build (source) 0.21.0 → 0.22.0 age confidence
@wordpress/compose (source) 8.6.0 → 8.7.0 age confidence
@wordpress/data (source) 10.51.0 → 10.54.0 age confidence
@wordpress/dataviews (source) 18.0.0 → 18.1.0 age confidence
@wordpress/icons (source) 15.4.0 → 15.5.0 age confidence
@wordpress/interface (source) 9.38.0 → 10.0.0 age confidence
@wordpress/notices (source) 5.51.0 → 5.54.0 age confidence
@wordpress/private-apis (source) 1.53.0 → 1.54.0 age confidence
@wordpress/rich-text (source) 7.53.0 → 7.54.0 age confidence
@wordpress/route (source) ^0.19.0 → ^0.20.0 age confidence
@wordpress/route (source) 0.19.0 → 0.20.0 age confidence
@wordpress/theme (source) 1.2.0 → 2.0.0 age confidence
@wordpress/theme (source) ^1.0.0 → ^2.0.0 age confidence
@wordpress/ui (source) 0.20.0 → 0.21.0 age confidence
@wordpress/ui (source) ^0.20.0 → ^0.21.0 age confidence
@wordpress/views (source) ~1.20.0 → ~1.21.0 age confidence
@wordpress/widget-dashboard (source) 0.5.0 → 0.6.0 age confidence
@wordpress/widget-primitives (source) 0.5.0 → 0.6.0 age confidence

Testing

Manual matrix on a docker site running this branch. Cells are the combinations that change who serves @wordpress/private-apis and @wordpress/widget-primitives; wp-build-polyfills fills the gaps. Reviewers on a WoA dev site with Jetpack Beta are on E.

cell WP Gutenberg private-apis widget-primitives proves
E 7.0.4 off polyfill polyfill Atomic today. The polyfill must accept Core's DataViews opt-in (b9f1180)
F 7.0.4 23.8.0 Gutenberg polyfill (gate) Gutenberg's widget-primitives 0.5 replaced by ours (357ef49)
G 7.1 off Core polyfill plain Core 7.1
G' 7.1 23.8.0 Gutenberg polyfill (gate) F on 7.1
H 7.1 23.9.0-rc.1 Gutenberg (no dataviews in its allowlist) polyfill DataViews 18.1 no longer opts in; the 26/8 red is gone

notices, theme, boot, route, a11y follow the same split (Core on E/G, Gutenberg otherwise); rich-text is the polyfill on E; views is always the polyfill; dataviews, ui, widget-dashboard, admin-ui, fields, interface are always bundled.

Screens: Stats v2 (admin.php?page=jetpack-premium-analytics-wp-admin, plus &p=/reports/referrers), Forms (page=jetpack-forms-responses-wp-admin), VideoPress, My Jetpack, the block editor with the Jetpack sidebar (Social). Per screen: admin bar → Package provenance matches the row, and the console filtered by unlock|specifier|unstable|does not provide stays empty. Findings go in the "Visual issues" comment below.


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 02:59 AM, on day 1 of the month ( * 0-2 1 * * ) in timezone UTC, Automerge - At any time (no schedule defined).

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

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This PR has been generated by Renovate Bot.

@matticbot
matticbot requested review from a team as code owners August 28, 2026 06:00
@matticbot matticbot added [Status] Needs Review This PR is ready for review. Task labels Aug 28, 2026
@matticbot
matticbot requested review from a team August 28, 2026 06:00
@github-actions

github-actions Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WoA dev site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin (Jetpack or WordPress.com Site Helper), and enable the renovate/bundled-@wordpress-monorepo branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack renovate/bundled-@wordpress-monorepo
bin/jetpack-downloader test jetpack-mu-wpcom-plugin renovate/bundled-@wordpress-monorepo

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

@simison

simison commented Aug 28, 2026

Copy link
Copy Markdown
Member

Boot changes have some other bugs coming up:

It might make sense to organise @next version release or force-pin Boot to previous version here.

manzoorwanijk
manzoorwanijk previously approved these changes Aug 28, 2026

@manzoorwanijk manzoorwanijk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks good to me. Just have a question about not using Jest for tests.

* which is invisible until Core's editor blanks on WP 7.0; the bundle has to be executed.
*/

const assert = require( 'node:assert/strict' );

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Don't we already use Jest everywhere?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This package runs its tests with node --test (all 11 files; pnpm test is node --test 'tests/js/**/*.test.js').

It executes the built bundles in a vm sandbox and needs neither jsdom nor a transform, so the new file follows the package's convention.

@retrofox

retrofox commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Boot changes have some other bugs coming up:

I think both are covered here, @simison

The snackbar regression from #81756 (t-hamano's comment) was fixed in Boot 0.21.0 itself (#81995, "Restore bottom-centered snackbar notices after the CSS Modules migration"), which is the version this PR brings.

#82112 is the one that hit us (the mount element lost boot-layout-container, so pages don't fill the viewport in Core's Boot); backported in 7d775be via the existing @wordpress/build patch, to be dropped once a wp-build release includes it.

Pinning Boot wouldn't change what runs: on every WP we support (>= 7.0), @wordpress/boot is registered by Core or Gutenberg, so the bundled copy ships only in the polyfill for cores that lack it.

The Boot-related code this PR actually executes is wp-build's page template, which is what the patch fixes. The @next publish-in-flight already includes #82112 (its head is past the merge commit), so the patch can go as soon as a wp-build carrying it is on npm; it isn't needed to land this.

@simison

simison commented Aug 28, 2026

Copy link
Copy Markdown
Member

@retrofox you can swap to using more new @wordpress/boot@0.21.2-next.v.202608281122.0 version which includes WordPress/gutenberg#82112, and undo the local patch.

@retrofox

Copy link
Copy Markdown
Contributor

@retrofox you can swap to using more new @wordpress/boot@0.21.2-next.v.202608281122.0 version which includes WordPress/gutenberg#82112, and undo the local patch.

#82112 is a wp-build change, not Boot: boot@0.21.2-next doesn't carry it, build@0.23.1-next.v.202608281122.0 does.

That one restores the class, but it still hands init modules to initSinglePage(), so the other hunk of our patch stays needed, and it depends on style-runtime@^0.10.1-next…, which adds a pre-release copy to the lock.

Given 16.2 ships on Tuesday, I'd keep stable 0.22.0 plus the patch and drop the class hunk once 0.23.0 is out.

Am I right? I wouldn't like it if my AI confused me even more 😅

…rdpress-monorepo

# Conflicts:
#	pnpm-lock.yaml
Comment thread .pnpmfile.cjs
[ '@wordpress/components', '@wordpress/hooks' ],
[ '@wordpress/components', 'react-colorful' ],
[ '@wordpress/components', 'react-day-picker' ],
[ '@wordpress/element', 'react-dom' ],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I so wish #49809 had happened so we could kill this hack...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@CGastrell is working on deprecating the old forms admin UI.

Nikschavan
Nikschavan previously approved these changes Aug 31, 2026

@Nikschavan Nikschavan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I tested the Premium Analytics dashboard on this branch and it looks good. Approving.

…rdpress-monorepo

Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	pnpm-lock.yaml
#	projects/js-packages/webpack-config/package.json
#	projects/packages/premium-analytics/packages/fields/package.json
#	projects/packages/premium-analytics/widgets/popular-post/package.json
#	projects/plugins/jetpack/package.json
…rdpress-monorepo

# Conflicts:
#	pnpm-lock.yaml
#	projects/packages/activity-log/routes/dashboard/package.json
#	projects/packages/backup/routes/dashboard/package.json
#	projects/packages/backup/routes/download/package.json
#	projects/packages/backup/routes/restore/package.json
#	projects/packages/blaze/package.json
#	projects/packages/connection/package.json
#	projects/packages/forms/routes/forms/package.json
#	projects/packages/forms/routes/response/package.json
#	projects/packages/forms/routes/responses/package.json
#	projects/packages/newsletter/routes/dashboard/package.json
#	projects/packages/newsletter/routes/subscribers-announcement/package.json
#	projects/packages/paypal-payments/package.json
#	projects/packages/podcast/package.json
#	projects/packages/podcast/routes/dashboard/package.json
#	projects/packages/publicize/routes/dashboard/package.json
#	projects/packages/rtc/package.json
#	projects/packages/scan/routes/index/package.json
#	projects/packages/search/package.json
#	projects/packages/seo/routes/ai/package.json
#	projects/packages/seo/routes/content/package.json
#	projects/packages/seo/routes/overview/package.json
#	projects/packages/seo/routes/settings/package.json
#	projects/packages/videopress/routes/library/package.json
#	projects/packages/videopress/routes/overview/package.json
#	projects/packages/videopress/routes/settings/package.json
#	projects/packages/videopress/routes/video-editor/package.json
#	projects/packages/videopress/routes/video/package.json
#	projects/packages/yoast-promo/package.json
#	projects/plugins/automattic-for-agencies-client/package.json
#	projects/plugins/boost/package.json
#	projects/plugins/classic-theme-helper-plugin/package.json
#	projects/plugins/starter-plugin/package.json
#	projects/plugins/videopress/package.json
collapses the @types/react 18.3.28 remnants left by the merge
@retrofox

retrofox commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Manual matrix, real screens

Every cell from the Testing table above, on a docker site running this branch. Screens per cell: Stats v2, Forms, My Jetpack, VideoPress and the editor with the Jetpack sidebar. On each screen the console filtered by unlock|specifier|unstable|does not provide|Uncaught stayed empty, and the Package provenance panel matched the expected providers for the cell.

The pair that motivates the round — cell H (WP 7.1 + Gutenberg 23.9.0-rc.1), Forms

trunk (DataViews 17.3) this branch (DataViews 18.1)
trunk, cell H, Forms dead branch, cell H, Forms fine

Trunk's bundles opt in to private APIs as @wordpress/dataviews, and Gutenberg 23.9's private-apis 1.54 dropped dataviews from its allowlist, so the whole app dies at import with You tried to opt-in to unstable APIs as module "@wordpress/dataviews". DataViews 18.1 no longer opts in. The same failure (and the same fix) applies to Stats v2, My Jetpack and VideoPress; they are connection-gated, so Forms is the surface that captures cleanly.

Cell H — WP 7.1 + Gutenberg 23.9.0-rc.1, all screens green

Stats v2 with comparison
Referrers report
My Jetpack
VideoPress library
Editor, Share to social media panel
Editor, SEO panel
Editor, Newsletter sidebar
Editor, Audience panel
Package provenance panel

Cell G' — WP 7.1 + Gutenberg 23.8.0: the module gate replaces Gutenberg's widget-primitives 0.5 with ours (provenance shows POLYFILL)

Stats v2
Forms

Cell G — plain WP 7.1, no Gutenberg: everything from Core except wp-views and widget-primitives

Stats v2
Forms

Cell F — WP 7.0.4 + Gutenberg 23.8.0

Stats v2
Forms

Cell E — WP 7.0.4, no Gutenberg (today's WoA baseline): private-apis and rich-text served by the polyfill

Stats v2
Forms
My Jetpack
Editor, Share to social media panel

One red, not from this PR: the VideoPress dashboard is blank on this cell because the new onboarding modal imports ThemeProvider from @wordpress/theme, which core 7.0.x does not export — identical on trunk, filed as #51837.

VideoPress blank on WP 7.0.4, pre-existing trunk bug

…rdpress-monorepo

# Conflicts:
#	pnpm-lock.yaml
#	projects/js-packages/eslint-config-target-es/package.json
…rdpress-monorepo

# Conflicts:
#	pnpm-lock.yaml
#	projects/packages/premium-analytics/package.json
…rdpress-monorepo

# Conflicts:
#	pnpm-lock.yaml
@retrofox

retrofox commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Also verified on WordPress on Atomic (cell H)

A WoA site on WP 7.1 + Gutenberg 23.9.0-rc.1, running this branch through Jetpack Beta (build of d9454fd): Stats v2 (including the Woo Store/Ads tabs), Forms, VideoPress, the editor's Share to social media panel and Jetpack Social all render cleanly.

Screens

Stats v2 on WoA
Forms on WoA
VideoPress on WoA
Editor, Share to social media panel on WoA
Jetpack Social on WoA

My Jetpack is not exposed on that site (the WordPress.com admin interface removes it) — environment policy, unrelated to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Ad [Block] Subscriptions E2E Tests [Feature] Contact Form [Feature] Masterbar WordPress.com Toolbar and Dashboard customizations [Feature] Publicize Now Jetpack Social, auto-sharing [Feature] Theme Tools [JS Package] AI Client [JS Package] API [JS Package] Base Styles [JS Package] Boost Score Api [JS Package] Charts [JS Package] Components [JS Package] Connection [JS Package] Eslint Config Target Es [JS Package] I18n Loader Webpack Plugin [JS Package] IDC [JS Package] Jetpack Shared Stores [JS Package] Licensing [JS Package] Partner Coupon [JS Package] Scan [JS Package] Shared Extension Utils [JS Package] Social Previews [JS Package] Storybook [JS Package] Webpack Config [Package] Activity Log [Package] Admin Ui [Package] Agents Manager [Package] Assets [Package] Backup [Package] Blaze [Package] Classic Theme Helper [Package] Comments [Package] Connection [Package] Cookie Consent [Package] Explat [Package] External Connections [Package] External Media [Package] Forms [Package] Jetpack mu wpcom WordPress.com Features [Package] Jitm [Package] Masterbar [Package] My Jetpack [Package] Newsletter [Package] Paypal Payments [Package] Podcast [Package] Post List [Package] Premium Analytics [Package] Publicize [Package] Rtc [Package] Scan [Package] Search Contains core Search functionality for Jetpack and Search plugins [Package] Seo [Package] VideoPress [Package] Wp Build Polyfills [Package] Yoast Promo [Plugin] Automattic For Agencies Client [Plugin] Boost A feature to speed up the site and improve performance. [Plugin] Classic Theme Helper Plugin [Plugin] Debug Helper Debug Tools plugin [Plugin] Inspect [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Plugin] Paypal Payment Buttons [Plugin] Protect A plugin with features to protect a site: brute force protection, security scanning, and a WAF. [Plugin] Starter Plugin [Plugin] VideoPress A standalone plugin to add high-quality VideoPress videos to your site. RNA Task [Tests] Includes Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants