Repository navigation
Update Bundled @wordpress/* monorepo - #51701
Conversation
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
backport of WordPress/gutenberg#82112: Core's Boot sizes the page with it
|
Boot changes have some other bugs coming up:
It might make sense to organise |
manzoorwanijk
left a comment
There was a problem hiding this comment.
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' ); |
There was a problem hiding this comment.
Don't we already use Jest everywhere?
There was a problem hiding this comment.
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.
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 Pinning Boot wouldn't change what runs: on every WP we support (>= 7.0), The Boot-related code this PR actually executes is wp-build's page template, which is what the patch fixes. The |
|
@retrofox you can swap to using more new |
#82112 is a wp-build change, not Boot: That one restores the class, but it still hands init modules to 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
| [ '@wordpress/components', '@wordpress/hooks' ], | ||
| [ '@wordpress/components', 'react-colorful' ], | ||
| [ '@wordpress/components', 'react-day-picker' ], | ||
| [ '@wordpress/element', 'react-dom' ], |
There was a problem hiding this comment.
I so wish #49809 had happened so we could kill this hack...
There was a problem hiding this comment.
@CGastrell is working on deprecating the old forms admin UI.
Nikschavan
left a comment
There was a problem hiding this comment.
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
Manual matrix, real screensEvery 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 The pair that motivates the round — cell H (WP 7.1 + Gutenberg 23.9.0-rc.1), Forms
Trunk's bundles opt in to private APIs as Cell G' — WP 7.1 + Gutenberg 23.8.0: the module gate replaces Gutenberg's widget-primitives 0.5 with ours (provenance shows POLYFILL)Cell E — WP 7.0.4, no Gutenberg (today's WoA baseline): private-apis and rich-text served by the polyfillOne red, not from this PR: the VideoPress dashboard is blank on this cell because the new onboarding modal imports |
…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
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. My Jetpack is not exposed on that site (the WordPress.com admin interface removes it) — environment policy, unrelated to this PR. |



























Closes MONOREP-1258
This PR contains the following updates:
4.53.0→4.54.02.8.0→2.9.0^0.20.0→^0.21.00.20.0→0.21.00.21.0→0.22.08.6.0→8.7.010.51.0→10.54.018.0.0→18.1.015.4.0→15.5.09.38.0→10.0.05.51.0→5.54.01.53.0→1.54.07.53.0→7.54.0^0.19.0→^0.20.00.19.0→0.20.01.2.0→2.0.0^1.0.0→^2.0.00.20.0→0.21.0^0.20.0→^0.21.0~1.20.0→~1.21.00.5.0→0.6.00.5.0→0.6.0Testing
Manual matrix on a docker site running this branch. Cells are the combinations that change who serves
@wordpress/private-apisand@wordpress/widget-primitives;wp-build-polyfillsfills the gaps. Reviewers on a WoA dev site with Jetpack Beta are on E.private-apiswidget-primitivesdataviewsin its allowlist)notices,theme,boot,route,a11yfollow the same split (Core on E/G, Gutenberg otherwise);rich-textis the polyfill on E;viewsis always the polyfill;dataviews,ui,widget-dashboard,admin-ui,fields,interfaceare 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 byunlock|specifier|unstable|does not providestays 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.
This PR has been generated by Renovate Bot.