Make WordPress Core

Opened 5 months ago

Closed 5 months ago

Last modified 4 months ago

#64117 closed task (blessed) (fixed)

Update Gutenberg Packages (WP 6.9 Beta 1 edition)

Reported by: ellatrix's profile ellatrix Owned by: ellatrix's profile ellatrix
Milestone: 6.9 Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch has-unit-tests
Focuses: Cc:

Description (last modified by ellatrix)

See Github PR for more info.

Change History (12)

This ticket was mentioned in PR #10355 on WordPress/wordpress-develop by @ellatrix.


5 months ago
#1

  • Keywords has-patch has-unit-tests added

Trac ticket: https://core.trac.wordpress.org/ticket/64117

Still have to test these changes, just logging this PR ahead for visibility.

I ran into an error, I had to tweak the script because package-lock.json changed in format.

I also ran into a warning at the end that I need to investigate further:

Running "verify:source-maps" task
Warning: The build/wp-includes/js/dist/core-data.js file must not contain a sourceMappingURL. Use --force to continue.

Aborted due to warnings.

---

The following package versions were changed:
@wordpress/a11y: 4.19.1 -> 4.33.0
@wordpress/annotations: 3.19.2 -> 3.33.0
@wordpress/api-fetch: 7.19.2 -> 7.33.0
@wordpress/autop: 4.19.1 -> 4.33.0
@wordpress/babel-preset-default: 8.19.1 -> 8.33.0
@wordpress/blob: 4.19.1 -> 4.33.0
@wordpress/block-directory: 5.19.7 -> 5.33.0
@wordpress/block-editor: 14.14.6 -> 15.6.0
@wordpress/block-library: 9.19.6 -> 9.33.0
@wordpress/block-serialization-default-parser: 5.19.1 -> 5.33.0
@wordpress/blocks: 14.8.2 -> 15.6.0
@wordpress/commands: 1.19.4 -> 1.33.0
@wordpress/components: 29.5.4 -> 30.6.0
@wordpress/compose: 7.19.2 -> 7.33.0
@wordpress/core-commands: 1.19.6 -> 1.33.0
@wordpress/core-data: 7.19.6 -> 7.33.0
@wordpress/customize-widgets: 5.19.6 -> 5.33.0
@wordpress/data: 10.19.2 -> 10.33.0
@wordpress/data-controls: 4.19.2 -> 4.33.0
@wordpress/dataviews: 4.15.4 -> 10.0.0
@wordpress/date: 5.19.1 -> 5.33.0
@wordpress/dependency-extraction-webpack-plugin: 6.19.1 -> 6.33.0
@wordpress/deprecated: 4.19.1 -> 4.33.0
@wordpress/dom: 4.19.2 -> 4.33.0
@wordpress/dom-ready: 4.19.1 -> 4.33.0
@wordpress/e2e-test-utils-playwright: 1.19.1 -> 1.33.0
@wordpress/edit-post: 8.19.7 -> 8.33.0
@wordpress/edit-site: 6.19.7 -> 6.33.0
@wordpress/edit-widgets: 6.19.6 -> 6.33.0
@wordpress/editor: 14.19.7 -> 14.33.0
@wordpress/element: 6.19.1 -> 6.33.0
@wordpress/escape-html: 3.19.1 -> 3.33.0
@wordpress/fields: 0.11.6 -> 0.25.0
@wordpress/format-library: 5.19.6 -> 5.33.0
@wordpress/hooks: 4.19.1 -> 4.33.0
@wordpress/html-entities: 4.19.1 -> 4.33.0
@wordpress/i18n: 5.19.1 -> 6.6.0
@wordpress/icons: 10.19.1 -> 11.0.0
@wordpress/interactivity: 6.19.1 -> 6.33.0
@wordpress/interactivity-router: 2.19.1 -> 2.33.0
@wordpress/interface: 9.4.4 -> 9.18.0
@wordpress/is-shallow-equal: 5.19.1 -> 5.33.0
@wordpress/keyboard-shortcuts: 5.19.2 -> 5.33.0
@wordpress/keycodes: 4.19.1 -> 4.33.0
@wordpress/list-reusable-blocks: 5.19.4 -> 5.33.0
@wordpress/media-utils: 5.19.2 -> 5.33.0
@wordpress/notices: 5.19.2 -> 5.33.0
@wordpress/nux: 9.19.4 -> 9.33.0
@wordpress/patterns: 2.19.6 -> 2.33.0
@wordpress/plugins: 7.19.4 -> 7.33.0
@wordpress/preferences: 4.19.4 -> 4.33.0
@wordpress/preferences-persistence: 2.19.2 -> 2.33.0
@wordpress/prettier-config: 4.19.1 -> 4.33.0
@wordpress/primitives: 4.19.1 -> 4.33.0
@wordpress/priority-queue: 3.19.1 -> 3.33.0
@wordpress/private-apis: 1.19.1 -> 1.33.0
@wordpress/redux-routine: 5.19.1 -> 5.33.0
@wordpress/reusable-blocks: 5.19.6 -> 5.33.0
@wordpress/rich-text: 7.19.2 -> 7.33.0
@wordpress/router: 1.19.2 -> 1.33.0
@wordpress/scripts: 30.12.1 -> 30.26.0
@wordpress/server-side-render: 5.19.4 -> 6.9.0
@wordpress/shortcode: 4.19.1 -> 4.33.0
@wordpress/style-engine: 2.19.1 -> 2.33.0
@wordpress/sync: 1.19.2 -> 1.33.0
@wordpress/token-list: 3.19.1 -> 3.33.0
@wordpress/undo-manager: 1.19.1 -> 1.33.0
@wordpress/upload-media: 0.4.4 -> 0.18.0
@wordpress/url: 4.19.2 -> 4.33.0
@wordpress/viewport: 6.19.2 -> 6.33.0
@wordpress/warning: 3.19.1 -> 3.33.0
@wordpress/widgets: 4.19.6 -> 4.33.0
@wordpress/wordcount: 4.19.1 -> 4.33.0

#2 @ellatrix
5 months ago

  • Description modified (diff)

#3 @ellatrix
5 months ago

  • Owner set to ellatrix
  • Resolution set to fixed
  • Status changed from new to closed

In 61009:

Editor: update packages.

Updates the packages to match Gutenberg version 21.9.0 RC2.

Also updates the sync script to work with the new package-lock.json format.
Some reusable block tests were adjusted to work with more render arguments.
Added core-data to the ignore list for verify:source-maps because Yjs has been bundled by accident. To be removed in a follow-up. See https://core.trac.wordpress.org/ticket/64120. See https://github.com/WordPress/gutenberg/pull/72503.

See: https://github.com/WordPress/wordpress-develop/pull/10355.
See: https://core.trac.wordpress.org/ticket/64117.

Props ellatrix, dmsnell.
Fixes #64117.

This ticket was mentioned in PR #10371 on WordPress/wordpress-develop by @ellatrix.


5 months ago
#4

I ran npm run sync-gutenberg-packages -- --dist-tag=latest again and there are more changes. This is strange because I ran the command last night and added all the changes to https://github.com/WordPress/wordpress-develop/pull/10355.

Trac ticket: https://core.trac.wordpress.org/ticket/64117

@ellatrix commented on PR #10371:


5 months ago
#5

I'm going to commit this to unblock everyone.

#6 @ellatrix
5 months ago

In 61012:

Packages: sync dependencies arrays.

These arrays were updated through npm run sync-gutenberg-packages -- --dist-tag=latest.
Tests started failing after [61009]. They pass with these changes, see https://github.com/WordPress/wordpress-develop/pull/10371.

See #64117.

@jorbin commented on PR #10371:


5 months ago
#7

Still investigating, but I unpacking the arrays, the changes are:

for src/wp-includes/assets/script-loader-packages.min.php

  • edit-post.min.js no longer has a dependency on wp-admin-ui and wp-views
  • edit-widgets.min.js no longer has a dependency on wp-admin-ui
  • editor.min.js no longer has a dependency on wp-admin-ui
  • views.min.js has a version bump

For src/wp-includes/assets/script-modules-packages.min.php

  • Adding interactivity-router/full-page.min.js
  • Adding block-library/accordion/view.min.js

@ellatrix commented on PR #10371:


5 months ago
#8

Looks correct

This ticket was mentioned in Slack in #core by jorbin. View the logs.


5 months ago

#11 @peterwilsoncc
5 months ago

In 61042:

Editor: Ignore built assets introduced in WordPress 6.9, SVN edition.

Update the svn:ignore property for newly introduced assets in the src/wp-includes/blocks directory.

The code run for this commit was:

cd src/wp-includes/blocks
svn propset svn:ignore '*.js.map
*.js
*.css' . --recursive

Follow up to [61012].

See #64117.

#12 @desrosj
4 months ago

The miscellaneous developer-focused changes developer note mentioned that the new block_core_social_link_get_services hook was introduced in [61009], but did not detail its usage: https://make.wordpress.org/core/2025/11/17/miscellaneous-developer-focused-changes-in-6-9/.

Note: See TracTickets for help on using tickets.