Skip to content

Commit 0604d66

Browse files
retrofoxmatticbot
authored andcommitted
Update Bundled @wordpress/* monorepo (#52187)
* Update Bundled @wordpress/* monorepo * Fix patch for `@wordpress/build` v0.23.0 * align protect a11y pin with the bundled group * Backup: report unknown activity totals as null to DataViews dataviews 19 clamps the page to the last one it knows about, so a fallback of 1 sent the reader to page 1 whenever the log failed or was paused offline * wp-build-polyfills: keep reusable-blocks on the private-apis allowlist private-apis 1.55.0 dropped it, but the copy WordPress 7.0 ships still opts in * Premium Analytics: cast the report params Edit control like its key dataviews 19 adds setValue to NormalizedField, so the unresolved Attributes generic no longer unifies with the concrete control props * Boost: expect the theme 2.1 warning color in the overview e2e @wordpress/theme 2.1.0 moves --wpds-color-foreground-content-warning-weak from #926300 to #936300 * update @wordpress/* packages to the .55 train folds the wordpress-monorepo renovate round (#52188) so both trains land together and the tree stops carrying two copies of components, element and core-data * pnpmfile: drop the dataviews dependency hack dataviews 19 declares every dependency of its wp bundle itself (WordPress/gutenberg#81843), so the hack only duplicated them as optionalDependencies * refresh the pnpmfile checksum in the lockfile * align My Jetpack wp-build pins with the round the wp-build port (#52204) landed pinned to admin-ui 2.9, build 0.22, route 0.20 and the .54 train * dedupe the lockfile after the trunk merge collapses the testing-library 16.3.2 / 14.6.1 copies left behind trunk's #52297 bump * Forms: assert the console error useCreateForm logs jest-console 9.3.0 keeps its spies across jest.restoreAllMocks(), so the error the hook logs on a failed creation has to be expected * Charts: wrap useElementSize test updates in act() jest-console 9.3.0 surfaces the act() warnings that clearAllMocks() used to discard before the console assertion ran * Social: pre-fill the Bluesky handle on reconnect InputControl spreads defaultValue onto its controlled input, so the handle never showed and React warned; keep the handle in state * Jetpack: await the Newsletter email toggle in its test ToggleGroupControl settles its radio store after render, and jest-console 9.3.0 now reports that act() warning * Jetpack: fix the Popover ignoreContext prop type PropTypes.function does not exist, so the shape check only logged a warning that jest-console 9.3.0 now reports * VideoPress: narrow the files transform before calling it blocks 16 types findTransform's result as the union of every transform kind, and files.isMatch takes the file list alone * e2e: accept both labels of the preview menu item e2e-test-utils-playwright 2.0.0 looks for Gutenberg trunk's 'Preview (opens in a new tab)', while the WP 7.0/7.1 editor still says 'Preview in new tab', so Forms' openPreviewPage never found it * e2e: match the View button exactly the substring match also resolved Document Overview in the editor top bar * PayPal: drop the spy tracking jest-console needed jest-console 9.3.0 keeps its console spies across restoreAllMocks(), so afterEach can restore every spy the suite made again * recolor stroke-based icons with color, not fill @wordpress/icons 16 draws 98 icons as strokes with an inline fill:none, so the CSS fill rules that tinted them stopped applying; the AI message keeps fill for its own filled SVG --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Co-authored-by: Damián Suárez <rdsuarez@gmail.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/35092463185 Upstream-Ref: Automattic/jetpack@f2ea15a
1 parent 3bdf8be commit 0604d66

8 files changed

Lines changed: 30 additions & 8 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ This is an alpha version! The changes listed here are not final.
1111

1212
### Changed
1313
- Exclude source map files from the distributed package.
14+
- Update package dependencies.
15+
16+
### Fixed
17+
- Keep the event and actor icons colored now that @wordpress/icons 16 draws them as strokes.
1418

1519
## [0.3.4] - 2026-09-14
1620
### Changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-editor', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-primitives', 'wp-private-apis', 'wp-theme', 'wp-url', 'wp-warning'), 'module_dependencies' => array(array('id' => '@wordpress/a11y', 'import' => 'static'), array('id' => '@wordpress/lazy-editor', 'import' => 'dynamic'), array('id' => '@wordpress/route', 'import' => 'static')), 'version' => '8787afd204cc58f9');
1+
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-editor', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-primitives', 'wp-private-apis', 'wp-theme', 'wp-url', 'wp-warning'), 'module_dependencies' => array(array('id' => '@wordpress/a11y', 'import' => 'static'), array('id' => '@wordpress/lazy-editor', 'import' => 'dynamic'), array('id' => '@wordpress/route', 'import' => 'static')), 'version' => '95a53c730c212b7e');

‎build/pages/jetpack-activity-log-dashboard/page-wp-admin.php‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,4 +358,3 @@ function jetpack_activity_log_jetpack_activity_log_dashboard_wp_admin_render_pag
358358

359359
// Hook the enqueue function to admin_enqueue_scripts
360360
add_action( 'admin_enqueue_scripts', 'jetpack_activity_log_jetpack_activity_log_dashboard_wp_admin_enqueue_scripts' );
361-

‎build/pages/jetpack-activity-log-dashboard/page.php‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,22 @@ function ( $handle ) {
332332
function jetpack_activity_log_jetpack_activity_log_dashboard_intercept_render() {
333333
// phpcs:ignore WordPress.Security.NonceVerification.Recommended
334334
if ( isset( $_GET['page'] ) && 'jetpack-activity-log-dashboard' === $_GET['page'] ) {
335+
// The page renders outside the menu page callback flow, so it must
336+
// enforce authentication and capability checks itself. Without this,
337+
// any admin entry point firing `admin_init` (such as admin-post.php,
338+
// which serves logged-out requests) would render the page for
339+
// unauthenticated visitors.
340+
if ( ! is_user_logged_in() ) {
341+
auth_redirect();
342+
}
343+
344+
if ( ! current_user_can( 'manage_options' ) ) {
345+
wp_die(
346+
__( 'Sorry, you are not allowed to access this page.' ),
347+
403
348+
);
349+
}
350+
335351
jetpack_activity_log_jetpack_activity_log_dashboard_render_page();
336352
exit;
337353
}

‎build/routes/dashboard/content.js‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ __( "Jetpack", "jetpack-activity-log" );
1616
__( "Sections", "jetpack-activity-log" );
1717
/* translators: %s: an error message. */
1818
__( "There was an error testing Jetpack. Error: %s", "jetpack-activity-log" );
19-
__( "Loading", "jetpack-activity-log" );
2019
/* translators: %s: keyboard shortcut. */
2120
__( "Keyboard shortcut: %s", "jetpack-activity-log" );
21+
__( "Loading", "jetpack-activity-log" );
2222
__( "Dismiss", "jetpack-activity-log" );
2323
/* translators: %s: the error. */
2424
__( "There was an error reconnecting Jetpack. Error: %s", "jetpack-activity-log" );
@@ -213,6 +213,9 @@ __( "Weeks ago", "jetpack-activity-log" );
213213
__( "Months ago", "jetpack-activity-log" );
214214
__( "Years ago", "jetpack-activity-log" );
215215
__( "Unit", "jetpack-activity-log" );
216+
__( "Coordinated Universal Time", "jetpack-activity-log" );
217+
/* translators: %s: timezone detail, e.g. "(CEST) Europe/Madrid" or "UTC+3". */
218+
__( "Timezone: %s", "jetpack-activity-log" );
216219
__( "Date time", "jetpack-activity-log" );
217220
__( "Today", "jetpack-activity-log" );
218221
__( "Yesterday", "jetpack-activity-log" );
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-primitives', 'wp-private-apis', 'wp-theme', 'wp-url', 'wp-warning'), 'module_dependencies' => array(array('id' => '@wordpress/a11y', 'import' => 'static'), array('id' => '@wordpress/route', 'import' => 'static')), 'version' => '9055eeb8d1360bb59910');
1+
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-primitives', 'wp-private-apis', 'wp-theme', 'wp-url', 'wp-warning'), 'module_dependencies' => array(array('id' => '@wordpress/a11y', 'import' => 'static'), array('id' => '@wordpress/route', 'import' => 'static')), 'version' => '7c066bc9e9b8c2861938');

‎build/routes/dashboard/content.min.js‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"automattic/jetpack-composer-plugin": "^5.0.0",
1212
"automattic/jetpack-connection": "^9.3.0-alpha",
1313
"automattic/jetpack-status": "^7.0.1",
14-
"automattic/jetpack-wp-build-polyfills": "^0.5.4"
14+
"automattic/jetpack-wp-build-polyfills": "^0.5.5-alpha"
1515
},
1616
"require-dev": {
1717
"automattic/jetpack-changelogger": "^7.0.4-alpha",

0 commit comments

Comments
 (0)