Repository navigation
Core fields: Register the default fields of WordPress on the server - #84696
Conversation
🤖 PR meta 🤖🎉 PropsIf you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. 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 📦 Bundle sizeSize Change: +221 kB (+2.56%) Total Size: 8.88 MB 📦 View Changed
⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
🏁 Flaky testsSome 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. default to a list of pages if there are no menus in
|
There was a problem hiding this comment.
🟡 Changes recommended
Duplicate Core registration and several functional and accessibility defects remain unresolved.
7 open findings
Prevent duplicate post type registration callbacks · New Handle suggestion fetch errors and reset loading state · New Mark redundant author avatar as decorative · New Mark redundant author avatar as decorative · New Read the REST content raw or rendered string · New Render the missing aria-describedby target ID · New Provide an accessible name for the tooltip trigger · New
What changed in this PR
Adds the private @wordpress/core-fields package so the Entity Fields API exposes WordPress’s default fields and associated script modules.
Changes:
- Registers field collections for REST-exposed post types and core entities.
- Adds PHP declarations, JavaScript field behavior, styling, and tests.
- Integrates the package with builds, private APIs, TypeScript, and the Core backport.
| File | Description |
|---|---|
.github/labeler.yml |
Labels core-fields changes. |
backport-changelog/7.2/13911.md |
Adds the PR to the Core backport. |
lib/load.php |
Loads built field registrations. |
package-lock.json |
Records the new workspace. |
packages/core-fields/CHANGELOG.md |
Documents the package introduction. |
packages/core-fields/README.md |
Documents collections and registration. |
packages/core-fields/package.json |
Defines package exports, dependencies, and build. |
packages/core-fields/src/attachment/alt_text/field.php |
Declares attachment alt text. |
packages/core-fields/src/attachment/alt_text/field.tsx |
Implements alt-text behavior. |
packages/core-fields/src/attachment/attached_to/edit.tsx |
Implements parent-media editing. |
packages/core-fields/src/attachment/attached_to/field.php |
Declares the attached-to field. |
packages/core-fields/src/attachment/attached_to/field.tsx |
Exports attached-to behavior. |
packages/core-fields/src/attachment/attached_to/style.module.css |
Styles attached-to controls. |
packages/core-fields/src/attachment/attached_to/view.tsx |
Renders attachment parent data. |
packages/core-fields/src/attachment/author/field.php |
Declares attachment author. |
packages/core-fields/src/attachment/author/field.tsx |
Exports attachment-author behavior. |
packages/core-fields/src/attachment/author/style.module.css |
Styles attachment authors. |
packages/core-fields/src/attachment/author/view.tsx |
Renders attachment authors. |
packages/core-fields/src/attachment/caption/field.php |
Declares attachment captions. |
packages/core-fields/src/attachment/caption/field.tsx |
Implements caption behavior. |
packages/core-fields/src/attachment/date/field.php |
Declares attachment dates. |
packages/core-fields/src/attachment/description/field.php |
Declares attachment descriptions. |
packages/core-fields/src/attachment/description/field.tsx |
Implements description behavior. |
packages/core-fields/src/attachment/filename/field.php |
Declares filenames. |
packages/core-fields/src/attachment/filename/field.tsx |
Implements filename behavior. |
packages/core-fields/src/attachment/filename/style.module.css |
Styles filenames. |
packages/core-fields/src/attachment/filename/view.tsx |
Renders filenames. |
packages/core-fields/src/attachment/filesize/field.php |
Declares file sizes. |
packages/core-fields/src/attachment/filesize/field.tsx |
Formats file sizes. |
packages/core-fields/src/attachment/get-raw-content.ts |
Extracts raw media content. |
packages/core-fields/src/attachment/get-rendered-content.ts |
Extracts rendered media content. |
packages/core-fields/src/attachment/index.php |
Registers attachment fields. |
packages/core-fields/src/attachment/index.ts |
Exports attachment script parts. |
packages/core-fields/src/attachment/media_dimensions/field.php |
Declares media dimensions. |
packages/core-fields/src/attachment/media_dimensions/field.tsx |
Formats media dimensions. |
packages/core-fields/src/attachment/media_thumbnail/field.php |
Declares media thumbnails. |
packages/core-fields/src/attachment/media_thumbnail/field.tsx |
Exports thumbnail behavior. |
packages/core-fields/src/attachment/media_thumbnail/style.module.css |
Styles media thumbnails. |
packages/core-fields/src/attachment/media_thumbnail/view.tsx |
Renders media thumbnails. |
packages/core-fields/src/attachment/mime_type/field.php |
Declares MIME types. |
packages/core-fields/src/attachment/mime_type/field.tsx |
Formats MIME types. |
packages/core-fields/src/attachment/modified/field.php |
Declares modification dates. |
packages/core-fields/src/attachment/title/field.php |
Declares attachment titles. |
packages/core-fields/src/attachment/title/field.tsx |
Implements attachment titles. |
packages/core-fields/src/attachment/types.ts |
Defines attachment types. |
packages/core-fields/src/index.php |
Registers core field collections. |
packages/core-fields/src/lock-unlock.ts |
Unlocks required private APIs. |
packages/core-fields/src/page/index.php |
Registers page fields. |
packages/core-fields/src/page/index.ts |
Exports page script parts. |
packages/core-fields/src/page/title/field.php |
Declares page titles. |
packages/core-fields/src/page/title/field.tsx |
Exports page-title behavior. |
packages/core-fields/src/page/title/style.module.css |
Styles page titles. |
packages/core-fields/src/page/title/view.tsx |
Renders page titles. |
packages/core-fields/src/post_type_supports/author/field.php |
Declares author fields. |
packages/core-fields/src/post_type_supports/author/field.tsx |
Implements author behavior. |
packages/core-fields/src/post_type_supports/author/types.ts |
Defines author types. |
packages/core-fields/src/post_type_supports/author/view.tsx |
Renders authors. |
packages/core-fields/src/post_type_supports/comment_status/field.php |
Declares comment status. |
packages/core-fields/src/post_type_supports/date/field.php |
Declares publication dates. |
packages/core-fields/src/post_type_supports/date/field.tsx |
Implements date behavior. |
packages/core-fields/src/post_type_supports/date/types.ts |
Defines date types. |
packages/core-fields/src/post_type_supports/date/view.tsx |
Renders dates. |
packages/core-fields/src/post_type_supports/discussion/field.php |
Declares discussion settings. |
packages/core-fields/src/post_type_supports/discussion/field.tsx |
Implements discussion behavior. |
packages/core-fields/src/post_type_supports/excerpt/field.php |
Declares excerpts. |
packages/core-fields/src/post_type_supports/excerpt/field.tsx |
Implements excerpt behavior. |
packages/core-fields/src/post_type_supports/excerpt/style.module.css |
Styles excerpts. |
packages/core-fields/src/post_type_supports/featured_media/edit.tsx |
Implements featured-media editing. |
packages/core-fields/src/post_type_supports/featured_media/field.php |
Declares featured media. |
packages/core-fields/src/post_type_supports/featured_media/field.tsx |
Exports featured-media behavior. |
packages/core-fields/src/post_type_supports/featured_media/style.module.css |
Styles featured media. |
packages/core-fields/src/post_type_supports/featured_media/types.ts |
Defines featured-media types. |
packages/core-fields/src/post_type_supports/featured_media/view.tsx |
Renders featured media. |
packages/core-fields/src/post_type_supports/format/field.php |
Declares post formats. |
packages/core-fields/src/post_type_supports/index.ts |
Exports post-type script parts. |
packages/core-fields/src/post_type_supports/last_edited_date/field.php |
Declares last-edited dates. |
packages/core-fields/src/post_type_supports/last_edited_date/field.tsx |
Implements last-edited behavior. |
packages/core-fields/src/post_type_supports/last_edited_date/types.ts |
Defines last-edited types. |
packages/core-fields/src/post_type_supports/last_edited_date/view.tsx |
Renders last-edited dates. |
packages/core-fields/src/post_type_supports/notes/field.php |
Declares notes. |
packages/core-fields/src/post_type_supports/parent/edit.tsx |
Implements parent selection. |
packages/core-fields/src/post_type_supports/parent/field.php |
Declares parent fields. |
packages/core-fields/src/post_type_supports/parent/field.tsx |
Exports parent behavior. |
packages/core-fields/src/post_type_supports/parent/style.module.css |
Styles parent controls. |
packages/core-fields/src/post_type_supports/parent/types.ts |
Defines parent types. |
packages/core-fields/src/post_type_supports/parent/utils.ts |
Provides parent utilities. |
packages/core-fields/src/post_type_supports/parent/view.tsx |
Renders parent data. |
packages/core-fields/src/post_type_supports/password/edit.tsx |
Implements password editing. |
packages/core-fields/src/post_type_supports/password/field.php |
Declares passwords. |
packages/core-fields/src/post_type_supports/password/field.tsx |
Exports password behavior. |
packages/core-fields/src/post_type_supports/password/style.module.css |
Styles password controls. |
packages/core-fields/src/post_type_supports/password/types.ts |
Defines password types. |
packages/core-fields/src/post_type_supports/ping_status/field.php |
Declares ping status. |
packages/core-fields/src/post_type_supports/ping_status/field.tsx |
Implements ping-status behavior. |
packages/core-fields/src/post_type_supports/post_content_info/field.php |
Declares content information. |
packages/core-fields/src/post_type_supports/post_content_info/field.tsx |
Exports content-information behavior. |
packages/core-fields/src/post_type_supports/post_content_info/style.module.css |
Styles content information. |
packages/core-fields/src/post_type_supports/post_content_info/types.ts |
Defines content-information types. |
packages/core-fields/src/post_type_supports/post_content_info/view.tsx |
Renders content metrics. |
packages/core-fields/src/post_type_supports/scheduled_date/field.php |
Declares scheduled dates. |
packages/core-fields/src/post_type_supports/scheduled_date/field.tsx |
Implements scheduled-date behavior. |
packages/core-fields/src/post_type_supports/slug/edit.tsx |
Implements slug editing. |
packages/core-fields/src/post_type_supports/slug/field.php |
Declares slugs. |
packages/core-fields/src/post_type_supports/slug/field.tsx |
Exports slug behavior. |
packages/core-fields/src/post_type_supports/slug/style.module.css |
Styles slug controls. |
packages/core-fields/src/post_type_supports/slug/types.ts |
Defines slug types. |
packages/core-fields/src/post_type_supports/slug/utils.ts |
Provides slug utilities. |
packages/core-fields/src/post_type_supports/slug/view.tsx |
Renders slugs. |
packages/core-fields/src/post_type_supports/status/field.php |
Declares statuses. |
packages/core-fields/src/post_type_supports/status/field.tsx |
Implements status behavior. |
packages/core-fields/src/post_type_supports/status/style.module.css |
Styles status views. |
packages/core-fields/src/post_type_supports/status/types.ts |
Defines status types. |
packages/core-fields/src/post_type_supports/status/view.tsx |
Renders statuses. |
packages/core-fields/src/post_type_supports/sticky/field.php |
Declares sticky status. |
packages/core-fields/src/post_type_supports/sticky/field.tsx |
Implements sticky behavior. |
packages/core-fields/src/post_type_supports/template/edit.tsx |
Implements template selection. |
packages/core-fields/src/post_type_supports/template/field.php |
Declares templates. |
packages/core-fields/src/post_type_supports/template/field.tsx |
Exports template behavior. |
packages/core-fields/src/post_type_supports/template/hooks.ts |
Provides template hooks. |
packages/core-fields/src/post_type_supports/template/types.ts |
Defines template types. |
packages/core-fields/src/post_type_supports/template/view.tsx |
Renders template data. |
packages/core-fields/src/post_type_supports/title/field.php |
Declares post titles. |
packages/core-fields/src/post_type_supports/title/field.tsx |
Implements post-title behavior. |
packages/core-fields/src/root_site/description/field.php |
Declares site descriptions. |
packages/core-fields/src/root_site/description/field.tsx |
Implements site-description behavior. |
packages/core-fields/src/root_site/index.php |
Registers site fields. |
packages/core-fields/src/root_site/index.ts |
Exports site script parts. |
packages/core-fields/src/root_site/site_icon/field.php |
Declares site icons. |
packages/core-fields/src/root_site/site_icon/field.tsx |
Implements site-icon behavior. |
packages/core-fields/src/root_site/site_logo/field.php |
Declares site logos. |
packages/core-fields/src/root_site/site_logo/field.tsx |
Implements site-logo behavior. |
packages/core-fields/src/root_site/title/field.php |
Declares site titles. |
packages/core-fields/src/root_site/title/field.tsx |
Implements site-title behavior. |
packages/core-fields/src/root_site/types.ts |
Defines site types. |
packages/core-fields/src/shared/author/style.module.css |
Provides shared author styles. |
packages/core-fields/src/shared/has-action-link.ts |
Detects action-link rendering. |
packages/core-fields/src/shared/title/get-item-title.ts |
Resolves entity titles. |
packages/core-fields/src/shared/title/pattern-view.tsx |
Renders pattern titles. |
packages/core-fields/src/shared/title/style.module.css |
Provides shared title styles. |
packages/core-fields/src/shared/title/view.tsx |
Renders shared titles. |
packages/core-fields/src/test/attachment-media-thumbnail.jsdom.test.ts |
Tests media thumbnails. |
packages/core-fields/src/test/attachment.jsdom.test.ts |
Tests attachment fields. |
packages/core-fields/src/test/page.jsdom.test.ts |
Tests page fields. |
packages/core-fields/src/test/post-type-supports.jsdom.test.ts |
Tests post-type fields. |
packages/core-fields/src/test/root-site.jsdom.test.ts |
Tests site fields. |
packages/core-fields/src/test/wp-block.jsdom.test.ts |
Tests pattern fields. |
packages/core-fields/src/test/wp-template-part.jsdom.test.ts |
Tests template-part fields. |
packages/core-fields/src/test/wp-template.jsdom.test.ts |
Tests template fields. |
packages/core-fields/src/types.ts |
Defines field-extension contracts. |
packages/core-fields/src/wp_block/description/field.php |
Declares pattern descriptions. |
packages/core-fields/src/wp_block/description/field.tsx |
Implements pattern descriptions. |
packages/core-fields/src/wp_block/index.php |
Registers pattern fields. |
packages/core-fields/src/wp_block/index.ts |
Exports pattern script parts. |
packages/core-fields/src/wp_block/sync_status/field.php |
Declares pattern sync status. |
packages/core-fields/src/wp_block/sync_status/field.tsx |
Implements sync-status behavior. |
packages/core-fields/src/wp_block/title/field.php |
Declares pattern titles. |
packages/core-fields/src/wp_block/title/field.tsx |
Implements pattern-title behavior. |
packages/core-fields/src/wp_template/author/field.php |
Declares template authors. |
packages/core-fields/src/wp_template/author/field.tsx |
Exports template-author behavior. |
packages/core-fields/src/wp_template/author/get-author-elements.ts |
Builds author filter elements. |
packages/core-fields/src/wp_template/author/types.ts |
Defines template-author types. |
packages/core-fields/src/wp_template/author/view.tsx |
Renders template authors. |
packages/core-fields/src/wp_template/default_comment_status/field.php |
Declares default comment status. |
packages/core-fields/src/wp_template/default_comment_status/field.tsx |
Implements comment defaults. |
packages/core-fields/src/wp_template/description/field.php |
Declares template descriptions. |
packages/core-fields/src/wp_template/description/field.tsx |
Implements template descriptions. |
packages/core-fields/src/wp_template/description/utils.tsx |
Provides description utilities. |
packages/core-fields/src/wp_template/description_readonly/field.php |
Declares read-only descriptions. |
packages/core-fields/src/wp_template/description_readonly/field.tsx |
Renders read-only descriptions. |
packages/core-fields/src/wp_template/index.php |
Registers template fields. |
packages/core-fields/src/wp_template/index.ts |
Exports template script parts. |
packages/core-fields/src/wp_template/posts_page_title/field.php |
Declares posts-page titles. |
packages/core-fields/src/wp_template/posts_page_title/field.tsx |
Implements posts-page titles. |
packages/core-fields/src/wp_template/posts_per_page/field.php |
Declares posts-per-page settings. |
packages/core-fields/src/wp_template/posts_per_page/field.tsx |
Implements posts-per-page behavior. |
packages/core-fields/src/wp_template/title/field.php |
Declares template titles. |
packages/core-fields/src/wp_template/title/field.tsx |
Implements template titles. |
packages/core-fields/src/wp_template_part/author/field.php |
Declares template-part authors. |
packages/core-fields/src/wp_template_part/author/field.tsx |
Implements template-part authors. |
packages/core-fields/src/wp_template_part/index.php |
Registers template-part fields. |
packages/core-fields/src/wp_template_part/index.ts |
Exports template-part script parts. |
packages/core-fields/src/wp_template_part/title/field.php |
Declares template-part titles. |
packages/core-fields/src/wp_template_part/title/field.tsx |
Implements template-part titles. |
packages/core-fields/tsconfig.build.json |
Configures production type builds. |
packages/core-fields/tsconfig.json |
Configures development type checking. |
packages/private-apis/CHANGELOG.md |
Documents the new private API consumer. |
packages/private-apis/src/implementation.ts |
Allows core-fields private API access. |
phpunit/class-gutenberg-rest-entity-fields-controller-test.php |
Tests REST exposure of core fields. |
phpunit/entity-fields-api-test.php |
Tests registration and build output. |
tsconfig.build.json |
Adds core-fields to root builds. |
tsconfig.json |
Adds core-fields to root type checking. |
🧠 Review effort: Balanced
| @@ -0,0 +1,31 @@ | |||
| import { __ } from '@wordpress/i18n'; | |||
| import { Link } from '@wordpress/ui'; | |||
There was a problem hiding this comment.
The fields code comes from the core/fields package, I know it is temporary and they will be removed in the future as part of a clean up. But on #84643 I opted to move the actions directly on the PR, I found it safe considering it is a bundled package and people realying on them could just keep the current version. Would doing the same here work? It would reduce the diff size on the PR and avoid future removal work.
There was a problem hiding this comment.
That'd work too. I am just worried about making a potential revert easy: if we have a single PR that removes/switches everything it's easy than having multiple of them. By separating addition/removal we can revert the removal while keeping the PRs that added new stuff. Not a strong opinion, though. Whatever works to help us ship and make a potential revert easy.
There was a problem hiding this comment.
A revert of this magnitude will always be very complex 😅 I fear keeping the fields in both places, may easily create divergencies one file is updated while other is not, but I understand your point and I accept the current solution.
There was a problem hiding this comment.
I hear you there. I'll follow up on this after merging this PR and #84700
| // Register fields for root/site (entity/kind). | ||
| wp_register_entity_field_collection( __DIR__ . '/root_site' ); | ||
| } | ||
| add_action( 'wp_entity_fields_api_init', 'register_core_field_collections', 0 ); |
There was a problem hiding this comment.
Minor non blocker: once core ships the same fields, core's callback and this one both run on wp_entity_fields_api_init, so every field is registered twice and the second registration triggers _doing_it_wrong. I guess we should remove core's action before registering, like lib/blocks.php and lib/icons.php do, but it can be addressed during the backport.
jorgefilipecosta
left a comment
There was a problem hiding this comment.
The PR seems big bug most is moving code from wordpress/fields, left some comments (and pushed some commits with small fixes).
Smoked tested things and things seem to work.Left some comments for consideration but they are non blocking.
The PR is safe to merge.
The fields of the upcoming `@wordpress/core-fields` package read private selectors of `@wordpress/core-data` and private components of `@wordpress/media-utils`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add `@wordpress/core-fields`, a private package holding the fields WordPress core registers on the server for the Entity fields API. This adds its JavaScript half: one script module per field collection (`post_type_supports`, `page`, `wp_template`, `wp_template_part`, `wp_block`, `attachment`, and `root_site`), whose default export maps each field id to the parts PHP cannot serialize, such as `render`, `Edit`, or `getElements`. Nothing imports these modules yet: the editor loads them in a later change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the PHP half of `@wordpress/core-fields`, loaded from `lib/load.php` once the build copies it to `build/scripts/core-fields` with its functions prefixed. On `wp_entity_fields_api_init` at priority 0 it registers the default fields of every post type exposed in the REST API, from what each supports, unregisters those the core post types replace or do not get, and registers the field collections of pages, templates, template parts, patterns, attachments, and the site. The `/wp/v2/entity-fields` route now returns them. The tests now run against the real registrations instead of a fixture: which post types get each default field, the collections that replace them, that a plugin can update or drop them, that the build copies the collections as they are and only prefixes the functions of the loader, and that the route exposes them with their script modules and the `core` origin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Port #84345 to the template field of `@wordpress/core-fields`, which was copied from `@wordpress/fields` before trunk moved that control to the `SelectControl` of `@wordpress/ui`. The editor renders the server field once it reads the fields from the server, and the e2e specs written for the `@wordpress/ui` select expect it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Once WordPress core ships the core fields package, its callback and the plugin's both run on `wp_entity_fields_api_init`, so every field would be registered twice and the second registration refused. Unhook core's callback before loading the plugin copy, like `lib/icons.php` does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…` prefix The function becomes `wp_register_core_field_collections()` in WordPress core. The Gutenberg build strips the `wp_` before adding its own prefix, so the plugin keeps `gutenberg_register_core_field_collections()`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…wp_` prefix Matches `wp_register_core_field_collections()`, which calls it. The Gutenberg build strips the `wp_` before adding its own prefix, so the plugin keeps `gutenberg_register_core_post_type_supports_fields()`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
d8fbd32 to
19f5de1
Compare
`@wordpress/date` split its TypeScript configuration on trunk (#84830), so its default `tsconfig.json` no longer emits and the reference has to point at `tsconfig.build.json`, or the declaration emit fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ports the REST controller tests of WordPress/gutenberg#84696: the fields route exposes the default fields of pages and the fields of patterns, with the script modules of their collections and the `core` origin. See #66229.
Copies the PHP of the `core-fields` package from the Gutenberg build and loads it, so WordPress registers its own fields through the entity fields API: the default fields every post type derives from its supports, and the field collections of pages, templates, template parts, patterns, attachments, navigation menus, and the site. Synced from WordPress/gutenberg#84696. See #66229.
Ports the REST controller tests of WordPress/gutenberg#84696: the fields route exposes the default fields of pages and the fields of patterns, with the script modules of their collections and the `core` origin. See #66229.
Copies the PHP of the `core-fields` package from the Gutenberg build and loads it, so WordPress registers its own fields through the entity fields API: the default fields every post type derives from its supports, and the field collections of pages, templates, template parts, patterns, attachments, navigation menus, and the site. Synced from WordPress/gutenberg#84696. See #66229.
Ports the REST controller tests of WordPress/gutenberg#84696: the fields route exposes the default fields of pages and the fields of patterns, with the script modules of their collections and the `core` origin. See #66229.
Copies the PHP of the `core-fields` package from the Gutenberg build and loads it, so WordPress registers its own fields through the entity fields API: the default fields every post type derives from its supports, and the field collections of pages, templates, template parts, patterns, attachments, navigation menus, and the site. Synced from WordPress/gutenberg#84696. See #66229.
Ports the REST controller tests of WordPress/gutenberg#84696: the fields route exposes the default fields of pages and the fields of patterns, with the script modules of their collections and the `core` origin. See #66229.
Gutenberg registers the core fields (title, author, status, the media fields, …) on the server through the entity fields API, and the editors read them from the `wp/v2/entity-fields` route. Core has the API but registered no fields, so the title column of the Site Editor's pages list was blank. Register them in Core the same way. Copy the PHP files of `@wordpress/core-fields` from the Gutenberg build in the `gutenberg-php` Grunt copy task, next to the core actions, and load their `index.php` from `wp-settings.php`. They register the default fields every post type gets from its supports, plus the field collections of pages, templates, template parts, patterns, attachments, navigation menus, and the site. The entity fields tests now swap the core fields for their fixture defaults, so they still test the API on its own. The tests for the core fields are skipped until the pinned Gutenberg build includes them. Developed in #14512. Synced from WordPress/gutenberg#84696. Follow-up to [64528]. Props oandregal, jorgefilipecosta. Fixes #66229. git-svn-id: https://develop.svn.wordpress.org/trunk@64581 602fd350-edb4-49c9-b593-d223f7449a82
Gutenberg registers the core fields (title, author, status, the media fields, …) on the server through the entity fields API, and the editors read them from the `wp/v2/entity-fields` route. Core has the API but registered no fields, so the title column of the Site Editor's pages list was blank. Register them in Core the same way. Copy the PHP files of `@wordpress/core-fields` from the Gutenberg build in the `gutenberg-php` Grunt copy task, next to the core actions, and load their `index.php` from `wp-settings.php`. They register the default fields every post type gets from its supports, plus the field collections of pages, templates, template parts, patterns, attachments, navigation menus, and the site. The entity fields tests now swap the core fields for their fixture defaults, so they still test the API on its own. The tests for the core fields are skipped until the pinned Gutenberg build includes them. Developed in WordPress/wordpress-develop#14512. Synced from WordPress/gutenberg#84696. Follow-up to [64528]. Props oandregal, jorgefilipecosta. Fixes #66229. Built from https://develop.svn.wordpress.org/trunk@64581 git-svn-id: http://core.svn.wordpress.org/trunk@63731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates the pinned commit hash of the Gutenberg repository from 7b95ee96b54de2e35886971ccf7eb449c324c830 (version 24.2.0) to be6a50be6834e922b9db12c75c9a2cd817b2db59. The new hash is the tip of the wp/7.2 branch rather than a release tag. It covers the 24.3.0 RC1 release plus the changes cherry-picked to the branch after it was tagged: Gutenberg PRs 85155, 82730, 71634, and 81644. A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@7b95ee9...be6a50b - Icons: Experiment with proportional stroke scaling (WordPress/gutenberg#84081) - PaletteEdit: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84130) - Editor: Validate parent container when converting blocks to template parts (WordPress/gutenberg#84155) - Build: Keep absolute paths out of worker source maps (WordPress/gutenberg#84163) - Chore: Update simple-git to v4 (WordPress/gutenberg#84137) - SearchableChipSelect: Preserve selected chips on Escape (WordPress/gutenberg#84172) - Props Bot: Queue runs instead of cancelling superseded ones (WordPress/gutenberg#84176) - Custom HTML: Show a floating marker when the block renders nothing (WordPress/gutenberg#84150) - DateTimePicker: Migrate Emotion wrapper to SCSS Modules (WordPress/gutenberg#84129) - Bump simple-git and promptfoo in /test/ai-development (WordPress/gutenberg#84104) - Bump the github-actions group across 1 directory with 4 updates (WordPress/gutenberg#84121) - UI: Keep popups open for presses inside their iframes (WordPress/gutenberg#83870) - Tests: Fix HTML comparison tests (WordPress/gutenberg#84294) - Playlist: Add minimum width and height support (WordPress/gutenberg#83909) - Navigation Overlay Close: Add minimum width and height support (WordPress/gutenberg#83907) - Post Template: Add minimum width and height support (WordPress/gutenberg#83911) - Bump proxy-addr from 2.0.7 to 2.0.8 in /test/ai-development (WordPress/gutenberg#84092) - A11y: Move `prefersReducedMotion` into the block library's shared utils (WordPress/gutenberg#84297) - Bump moment from 2.29.4 to 2.31.0 (WordPress/gutenberg#83828) - Packages: Stop publishing tsconfig files, TypeScript build info and tests (WordPress/gutenberg#84164) - Tests: Fix list item unsafe markup test on older WordPress versions (WordPress/gutenberg#84302) - Bump joi from 18.2.5 to 18.2.9 (WordPress/gutenberg#84211) - Bump ip-address from 10.5.0 to 10.7.3 (WordPress/gutenberg#83734) - Bump proxy-addr from 2.0.7 to 2.0.8 (WordPress/gutenberg#84212) - Bump seroval from 1.5.4 to 1.6.8 (WordPress/gutenberg#84151) - Tab List: Add background image, size, and gradient support (WordPress/gutenberg#83953) - Pullquote: Add writing mode and text indent support (WordPress/gutenberg#83964) - CustomSelectControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84131) - ColorPicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84128) - Build: Guard SCRIPT_DEBUG with defined() in script and style registration (WordPress/gutenberg#83633) - Notes: Mark the text an unsent note is about with a draft marker (WordPress/gutenberg#84125) - Quote: Add writing mode support (WordPress/gutenberg#83965) - Tip: Migrate inserter usages to Notice and deprecate the component (WordPress/gutenberg#84197) - Query Loop: list taxonomy terms so they can be browsed, not recalled (WordPress/gutenberg#82583) - Primitives: Refactor to TypeScript (WordPress/gutenberg#84309) - Release Tooling: Publish wp/X.Y branches with their own npm config (WordPress/gutenberg#84160) - Packages: Stop publishing Markdown files other than README.md (WordPress/gutenberg#84307) - Raise the minimum required Node.js to 22 with CJS/ESM interop (WordPress/gutenberg#84313) - Automated Testing: Fix Storybook manifest errors and validate in CI (WordPress/gutenberg#84198) - Notes: Select the note under the caret (WordPress/gutenberg#84147) - Table: Add text align support (WordPress/gutenberg#83966) - Accordion Heading: Add background gradient support (WordPress/gutenberg#83938) - Style Book: Fix crash when the Heading block is unregistered (WordPress/gutenberg#84359) - Icon: Add shadow support (WordPress/gutenberg#83921) - Playlist: Add background image, size, and gradient support (WordPress/gutenberg#83928) - Cover: Add minimum width support (WordPress/gutenberg#83975) - UI: Consolidate shared iframe dismissal tests (WordPress/gutenberg#84296) - File: Add typography support (WordPress/gutenberg#83969) - List: Add minimum width and height support (WordPress/gutenberg#83915) - CI: Run the required trunk changes cron every 4 hours (WordPress/gutenberg#84301) - Workflow: Refactor to TypeScript (WordPress/gutenberg#84311) - Remove the lazy-import package (WordPress/gutenberg#84318) - Terms Query: Add padding, margin, and block gap support (WordPress/gutenberg#83959) - Notes: Read note markers from the rich-text record, not its HTML (WordPress/gutenberg#84310) - Paragraph: Add background image, size, and gradient support (WordPress/gutenberg#83934) - Paragraph: Add minimum width and height support (WordPress/gutenberg#83924) - Sorting: assume standard sort is stable, try out the new toSorted method (WordPress/gutenberg#52213) - DataForm: Center the text control's prefix and suffix (WordPress/gutenberg#84314) - Cover: Add link and button colour support (WordPress/gutenberg#83972) - Remove redundant checkJs: false from fully TypeScript packages (WordPress/gutenberg#84366) - Fields: Fix the page title row jumping on hover when a page type badge is shown (WordPress/gutenberg#84368) - Search: Add background gradient support (WordPress/gutenberg#83954) - UI: Hook AlertDialog into compat overlay slot (WordPress/gutenberg#83878) - ESLint: Align UI caution components with Storybook status (WordPress/gutenberg#84319) - Comments Pagination Next: Add border and padding support (WordPress/gutenberg#64310) - Comment Pagination Previous: Add Border and Padding Support (WordPress/gutenberg#64308) - Preferences Persistence: Refactor to TypeScript (WordPress/gutenberg#84312) - Rich Text: Refactor store and value creation to TypeScript (WordPress/gutenberg#84324) - NumberControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84330) - navigateRegions: Only outline focused Publish and Save regions (WordPress/gutenberg#84343) - Theme: Consolidate border mode overrides in the token resolver (WordPress/gutenberg#84108) - DOM: Refactor to TypeScript (WordPress/gutenberg#84317) - Fields: Lock the status and slug fields for users who can't publish (WordPress/gutenberg#84371) - Commands: Refactor to TypeScript (WordPress/gutenberg#84315) - Cache the theme.json data merged from all origins (WordPress/gutenberg#81979) - Workflow: Address follow-ups from the TypeScript refactor (WordPress/gutenberg#84361) - Fields API: Take over core's registry singleton like the icons API (WordPress/gutenberg#84168) - DOM: Fix getOffsetParent infinite loop on a non-element parent (WordPress/gutenberg#84374) - UI: Support button items in Breadcrumb (WordPress/gutenberg#84156) - TimePicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84331) - Bump actions/setup-node from 6.4.0 to 7.0.0 in /.github/workflows (WordPress/gutenberg#80965) - InputControl: ignore the drag gesture on touch devices (WordPress/gutenberg#81519) - Tabs: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84332) - UI: Add Avatar component (WordPress/gutenberg#84145) - SelectControl: Migrate smaller package consumers to @wordpress/ui (WordPress/gutenberg#84345) - Editor: Keep the block toolbar row on phones while no block is selected (WordPress/gutenberg#84461) - Tests: Use strict assertions for post time-to-read word counts (WordPress/gutenberg#84510) - Tests: Use strict assertions in image block tests (WordPress/gutenberg#84513) - Tests: Use a strict assertion in Heading block tests (WordPress/gutenberg#84514) - Tests: Use a strict assertion in Paragraph block tests (WordPress/gutenberg#84515) - Video: Add minimum width and height support (WordPress/gutenberg#83974) - Icon: Add minimum width and height support (WordPress/gutenberg#83971) - Table: Add background gradient support (WordPress/gutenberg#83949) - Post Navigation Link: Add minimum width and height support (WordPress/gutenberg#83973) - Tests: Scope Classic block media checkbox locator (WordPress/gutenberg#84524) - Term Template: Add heading and button colour support (WordPress/gutenberg#83968) - Tab List: Add line height, font weight, letter spacing, and text transform support (WordPress/gutenberg#83961) - Navigation Overlay Close: Add margin support (WordPress/gutenberg#83970) - Global Styles: Ignore theme.json values of unexpected types (WordPress/gutenberg#84523) - Search: Add shadow support (WordPress/gutenberg#83937) - Icon: Add background image, size, and gradient support (WordPress/gutenberg#83948) - Enable style state-specific custom CSS (WordPress/gutenberg#83539) - Media editor: Add an edits slice to the session (WordPress/gutenberg#83899) - Bump compression from 1.8.1 to 1.8.2 (WordPress/gutenberg#84304) - Bump nx from 23.2.0 to 23.3.0 (WordPress/gutenberg#84299) - Enable Gallery columns to override legacy responsive styles (WordPress/gutenberg#84360) - Global Styles: Ignore per-origin spacingScale values that are not objects (WordPress/gutenberg#84529) - Icon block: Show collection name in the "All" tab of the icon library (WordPress/gutenberg#84055) - Accordion Heading: Anchor inline notes to selected title text (WordPress/gutenberg#84497) - Upgrade JSDOM to 30.1.2 with likely perf improvements (WordPress/gutenberg#84367) - Icon block: Speed up rendering of the icon library (WordPress/gutenberg#84327) - Build: Update Ariakit to 0.4.41 (WordPress/gutenberg#84539) - ToolsPanel: Put setting names first in accessible action labels (WordPress/gutenberg#84341) - Build: Update Vite to 8.3.4 (WordPress/gutenberg#84544) - RichText: remove refs from event listeners contexts (WordPress/gutenberg#84545) - Block Toolbar: Fix UI menus requiring two clicks to open (WordPress/gutenberg#84547) - UI: Preserve explicit null portal containers (WordPress/gutenberg#84370) - DataViews: Enable compatibility for mixed-library overlays (WordPress/gutenberg#84305) - Theme: Enrich `design-tokens.js` export with more token data (WordPress/gutenberg#76604) - UI: Add missing popup width stories (WordPress/gutenberg#84320) - React 19 types: migrate away from MutableRefObject (WordPress/gutenberg#84550) - Tests: Add unit test coverage for WP_REST_Icon_Collections_Controller (WordPress/gutenberg#83168) - Button: Use Spinner for loading indicators (WordPress/gutenberg#84321) - Select, Combobox, Autocomplete: Align popup list spacing (WordPress/gutenberg#84393) - Block Editor: Remove unused subdirectory icon (WordPress/gutenberg#84575) - Modal: Add focus fallback for firstContentElement (WordPress/gutenberg#84344) - SelectControl: Migrate native block-editor consumers to @wordpress/ui (WordPress/gutenberg#84546) - Menu: Clarify icon, label, and description usage guidelines (WordPress/gutenberg#84020) - Add iOS e2e test harness + test selecting text across two paragraphs (WordPress/gutenberg#84463) - Enable editableRoot for the heading block for multi-selection on mobile (WordPress/gutenberg#84358) - iOS tests: serve WordPress with PHP and start Safari during setup (WordPress/gutenberg#84585) - Ensure block style variations use correct selector for custom CSS on the front end (WordPress/gutenberg#84530) - Search: Add border style support (WordPress/gutenberg#83960) - Video: Don't autoplay on the front end when reduced motion is preferred (WordPress/gutenberg#84308) - Allow rich text formatting across blocks (WordPress/gutenberg#58913) - Cover: Don't autoplay an uploaded background video when reduced motion is preferred (WordPress/gutenberg#83853) - Block breadcrumbs: Use `@wordpress/ui` package component (WordPress/gutenberg#84295) - Docs: Note reduced-motion handling for autoplaying media (WordPress/gutenberg#84594) - Media editor: Reset the whole session in one step (WordPress/gutenberg#84591) - Block Supports: Add background-clip block support UI (WordPress/gutenberg#77142) - Media & Text: replace deprecated word-break with overflow-wrap: anywhere (WordPress/gutenberg#82580) - React 19 codemod: apply defaultProps when rendering a memo component (WordPress/gutenberg#84568) - Style states: Add footer viewport and responsive styles status (WordPress/gutenberg#84146) - Block Toolbar: Fix the unnamed placeholder button when the default block is unregistered (WordPress/gutenberg#84533) - DropdownMenu: Keep a disabled toggle closed on ArrowDown (WordPress/gutenberg#84556) - Navigation: Keep the flex layout on a block inserted into an overlay (WordPress/gutenberg#82232) - UI: Document Combobox popup accessible names (WordPress/gutenberg#84551) - Docs: Fix Breadcrumb usage guidelines sidebar structure (WordPress/gutenberg#84564) - Rich Text: Refactor the remaining modules to TypeScript (WordPress/gutenberg#84365) - E2E Tests: Open settings sidebar in constrained canvas test (WordPress/gutenberg#84606) - Term Count: Reuse term data from Term Template (WordPress/gutenberg#84119) - Rich Text: Convert the hook to TypeScript (WordPress/gutenberg#84378) - Commands: Fix icon, loader state and recent command follow-ups (WordPress/gutenberg#84377) - Preferences Persistence: Address TypeScript conversion follow-ups (WordPress/gutenberg#84375) - React 19: add new incompatible plugins (WordPress/gutenberg#84607) - Block Toolbar: Keep last item fills out of the placeholder toolbar (WordPress/gutenberg#84554) - JSDoc: Escape wordpress package names in comments (WordPress/gutenberg#84369) - rich-text: strip every object replacement character in getTextContent (WordPress/gutenberg#81526) - Components: Convert the remaining files to TypeScript (WordPress/gutenberg#84611) - Table Block: Adds link color support (WordPress/gutenberg#72229) - Experiments: don't invalidate saved option with a legacy key (WordPress/gutenberg#84619) - Interactivity API: Align directive name validation with WordPress Core (WordPress/gutenberg#81023) - UI: Use the compatibility overlay slot for Drawer (WordPress/gutenberg#84380) - Rich Text: Address TypeScript conversion follow-ups (WordPress/gutenberg#84610) - DataViews: Format footer counts (WordPress/gutenberg#84622) - Customize Widgets: Keep the block selected when using @wordpress/ui overlays (WordPress/gutenberg#84628) - Tabs: Restore fit-content width for horizontal tab lists (WordPress/gutenberg#84626) - Components: Improve accessibility, discoverability of `ColorPicker` inputs (WordPress/gutenberg#70214) - UI: Use the compatibility overlay slot for Dialog (WordPress/gutenberg#84379) - Post Taxonomies: Restore shortcuts to create terms (WordPress/gutenberg#84601) - Snackbar: Restore focus when used outside SnackbarList (WordPress/gutenberg#84342) - Fix icon display issues in icon block within block manager (WordPress/gutenberg#84107) - Components: Generate JavaScript design token fallbacks (WordPress/gutenberg#84569) - Build: Update Base UI to 1.9.0 (WordPress/gutenberg#84542) - RangeControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84562) - Zed: Exclude node_modules from the file scan and turn off Tailwind CSS (WordPress/gutenberg#84604) - Modal: keep an accessible name when the header is hidden (WordPress/gutenberg#82645) - Grid: point bottomLeft alignment at the bottom left corner (WordPress/gutenberg#82641) - UnitControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84561) - Switched to the official gradient-parser types (WordPress/gutenberg#84582) - Navigator: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84565) - PaletteEdit: Name picker dialogs and add screen reader dismissal (WordPress/gutenberg#84333) - Dialog: Add an `auto` popup size that fits content width (WordPress/gutenberg#84559) - Add e2e tests for the autosave failure notice (WordPress/gutenberg#84644) - iOS tests: launch Safari before opening the setup page (WordPress/gutenberg#84640) - Media Inserter: Redesign using DataViews grid for displaying media items (WordPress/gutenberg#82749) - Remove compat function for unsupported unprefixed style states (WordPress/gutenberg#84531) - Global Styles: Remove the custom styles dot from the block list (WordPress/gutenberg#84657) - InserterDraggableBlocks: Add JSDoc types, and tidy up media-tab inserter files (WordPress/gutenberg#84655) - Storybook: Sort unlisted sidebar folders alphabetically (WordPress/gutenberg#84563) - Tabs: Fix filled link icon in Storybook (WordPress/gutenberg#84618) - ESLint: Require WCSpinner alias for legacy Spinner imports (WordPress/gutenberg#84390) - Navigation: Fix error when inserting block via Browse all in list view (WordPress/gutenberg#84665) - Patterns: Let users load synced patterns they can't edit, without "Edit original" (WordPress/gutenberg#84641) - Notes: Focus the new note form once it's positioned (WordPress/gutenberg#84639) - Block Editor: Keep multiline paste inside empty Preformatted and Poetry blocks (WordPress/gutenberg#83552) - Popover: Use design-system tokens on the default surface. (WordPress/gutenberg#84574) - Font Library: Load all installed font families (WordPress/gutenberg#84684) - Patterns: Let users detach synced patterns they can't edit (WordPress/gutenberg#84681) - Rename "fields" to "entity fields" (WordPress/gutenberg#84691) - Font Library: Mark installed font variants in font collections (WordPress/gutenberg#84023) - Automated Testing: Add AI review guidance for lint suppressions (WordPress/gutenberg#84638) - SearchableSelectControl: Fix search icon orientation (WordPress/gutenberg#84690) - PR meta: Add a Playground preview link (WordPress/gutenberg#84687) - Block Editor: PR 1: Add every source file to the TypeScript build project (WordPress/gutenberg#84615) - Build: Update pr-baseline-action to v0.3.0 (WordPress/gutenberg#84692) - Gallery: Improve mobile lightbox with animated swiping (WordPress/gutenberg#79114) - Tabs: Align interaction backgrounds and focus states (WordPress/gutenberg#84572) - Block Editor: PR 5: Convert the remaining utils and the state style helpers to TypeScript (WordPress/gutenberg#84629) - Remove some stale overrides (WordPress/gutenberg#84674) - Actions API: Register the entity actions on the server (WordPress/gutenberg#84650) - Compose: Convert the remaining files to TypeScript (WordPress/gutenberg#84382) - Navigation Link: Check page create permission only when needed (WordPress/gutenberg#84663) - Dialog: Check story and test sizes against popup prop types (WordPress/gutenberg#84705) - Block Editor: PR 2: Convert the small store modules to TypeScript (WordPress/gutenberg#84616) - Block Editor: PR 3: Convert the store reducer to TypeScript (WordPress/gutenberg#84624) - Block Editor: PR 6: Convert the store selectors to TypeScript (WordPress/gutenberg#84631) - Block Editor: PR 7: Convert the store private selectors to TypeScript (WordPress/gutenberg#84662) - Block Editor: PR 8: Convert the store actions to TypeScript (WordPress/gutenberg#84672) - Menu: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84706) - Blocks: Accept a feature path array in getBlockSupport and hasBlockSupport (WordPress/gutenberg#84708) - Block Editor: PR 4: Convert the shared component modules to TypeScript (WordPress/gutenberg#84625) - Blocks: Type the background clip, gradient, position and repeat supports (WordPress/gutenberg#84709) - Block Editor: PR 9: Convert the store defaults, getBlockSettings and index to TypeScript (WordPress/gutenberg#84677) - Link: Add a small radius for consistent focus rings (WordPress/gutenberg#84697) - Remove the autosave failure notice once a later save succeeds (WordPress/gutenberg#84649) - CI: Expire large workflow artifacts sooner (WordPress/gutenberg#84525) - Changes to custom CSS from core review (WordPress/gutenberg#84757) - Rename inspector and toolbar style-states slots for consistency (WordPress/gutenberg#84598) - Patterns: List synced patterns the user can read but not edit in the inserter (WordPress/gutenberg#84661) - PR meta: Write sections on stacked pull requests (WordPress/gutenberg#84703) - Media Inserter: visually clear the grid and use a loading state spinner when switching categories (WordPress/gutenberg#84667) - ESLint: Make jsdoc/escape-inline-tags an error (WordPress/gutenberg#84701) - Block Editor: Type isValueSpacingPreset as returning a boolean (WordPress/gutenberg#84730) - Cover: Decode the oEmbed iframe source before parsing its query string (WordPress/gutenberg#83770) - Block Editor: Preserve rich text selection on Shift+click within the same block (WordPress/gutenberg#84579) - Build: Remove Emotion compiler tooling (WordPress/gutenberg#84707) - Pattern block: Load the view record, and the edit record only once it's loaded (WordPress/gutenberg#84799) - PostURL: Remove double focus ring outline (WordPress/gutenberg#84694) - LinkControl: Use design system focus ring for link preview (WordPress/gutenberg#84695) - Notice: Match dismiss controls and titles to status colors (WordPress/gutenberg#84571) - BaseControl: Remove unsupported `as` prop from types and docs (WordPress/gutenberg#70064) - Avatar: Add shared initials and improve fallbacks (WordPress/gutenberg#84653) - Search: Add minimum width and height support (WordPress/gutenberg#83977) - Revisions: Meet AA contrast for the inline del diff without an opacity filter (WordPress/gutenberg#82258) - CustomGradientPicker: Keep the color interpolation method when editing a gradient (WordPress/gutenberg#84383) - Post Navigation Link: Add background image, size, and gradient support (WordPress/gutenberg#83940) - Notes: Drop misleading aria-haspopup from Add note menu item (WordPress/gutenberg#84818) - RichText: Derive active formats at the caret for input and paste (WordPress/gutenberg#84303) - Editor: Fix long author name overflowing the Post sidebar panel (WordPress/gutenberg#84165) - Interactivity API: Fix late `data-wp-html` values, throwing functions and directive conflicts (WordPress/gutenberg#84652) - FontAppearanceControl: Migrate to @wordpress/ui (WordPress/gutenberg#84716) - Kebab Case: Convert the tests to TypeScript (WordPress/gutenberg#84825) - Date: Convert the tests to TypeScript (WordPress/gutenberg#84830) - Block Editor: PR 10: Convert the hook utils, block style state and Global Styles hooks to TypeScript (WordPress/gutenberg#84720) - Block Editor: PR 11: Convert the block support helpers to TypeScript (WordPress/gutenberg#84721) - Block Editor: PR 12: Convert the layout helpers and block gap utils to TypeScript (WordPress/gutenberg#84722) - Block Editor: PR 13: Convert the block attribute filter hooks to TypeScript (WordPress/gutenberg#84723) - SelectControl: Migrate date format and preset input consumers to @wordpress/ui (WordPress/gutenberg#84584) - Changelog validation: Reject blank lines between Unreleased entries (WordPress/gutenberg#84804) - DataViews: Convert the filterSortAndPaginate tests to TypeScript (WordPress/gutenberg#84836) - ESLint: Allow design token references in component JavaScript (WordPress/gutenberg#84827) - babel-preset-default: Add polyfill list to generated bundle (WordPress/gutenberg#84835) - Tests: Use a strict assertion in block template tests (WordPress/gutenberg#84683) - Tests: Use a strict assertion in PHPUnit environment setup tests (WordPress/gutenberg#84686) - Core Data: Keep read-only taxonomy fields out of collaborative edits (WordPress/gutenberg#84838) - Select: Preserve scrolling when item alignment falls back (WordPress/gutenberg#84682) - Search: Don't clip the button focus outline when the field is collapsed (WordPress/gutenberg#84685) - List View: Show appender in contentOnly locked sections (WordPress/gutenberg#84713) - Raise the PHP request time limit for the iOS tests (WordPress/gutenberg#84741) - Env: Use the matching wordpress-develop branch for pre-release PHPUnit tests (WordPress/gutenberg#84758) - Editor: Keep a preview canvas from adopting the entity's selection (WordPress/gutenberg#84832) - Core fields: Register the default fields of WordPress on the server (WordPress/gutenberg#84696) - Editor: Read the entity fields from the server (WordPress/gutenberg#84700) - iOS tests: run the editor in a web view instead of Safari (WordPress/gutenberg#84859) - BorderBoxControl: Unpack multi-value shorthand width when unlinking border sides (WordPress/gutenberg#84826) - Actions API: Extract the core actions into the `@wordpress/core-actions` script modules (WordPress/gutenberg#84643) - Global Styles: Remove preset items of unexpected types to avoid fatals (WordPress/gutenberg#84534) - Media: Skip auto-attach on save when attachment pages are enabled (WordPress/gutenberg#84851) - Block Editor: PR 14: Convert InspectorControls to TypeScript (WordPress/gutenberg#84725) - Block Editor: PR 15: Convert the anchor and custom class name hooks to TypeScript (WordPress/gutenberg#84726) - Block Editor: PR 16: Convert the auto-generated inspector controls to TypeScript (WordPress/gutenberg#84727) - Block Editor: PR 17: Convert the zoom out and content only section hooks to TypeScript (WordPress/gutenberg#84731) - Block Editor: PR 18: Convert BlockControls to TypeScript (WordPress/gutenberg#84733) - Block Editor: PR 19: Convert the flow layout to TypeScript (WordPress/gutenberg#84734) - Block Editor: PR 20: Convert BlockPopover, the color and gradient controls, BlockTitle, useBlockDisplayInformation and MediaUpload to TypeScript (WordPress/gutenberg#84813) - Media Inserter: Add a FilePreview component for rendering audio or other non image/video files (WordPress/gutenberg#84882) - Data Controls: Convert the tests to TypeScript (WordPress/gutenberg#84852) - Undo Manager: Convert the tests to TypeScript (WordPress/gutenberg#84895) - Build: Fix `npm run dev` failing on the patterns tsconfig comment (WordPress/gutenberg#84898) - Snackbar: Keep snackbars with an action on screen longer (WordPress/gutenberg#84842) - DatePicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84724) - Fields: Remove the fields that moved to @wordpress/core-fields (WordPress/gutenberg#84897) - FocalPointPicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84736) - Notes: Remove divider between canvas and floating notes (WordPress/gutenberg#84850) - SelectControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84732) - Core Actions: Register the core actions on the server (WordPress/gutenberg#84660) - InputControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84728) - Tabs: Show design system focus ring on tab panels (WordPress/gutenberg#84914) - PostURL: Use `@wordpress/ui` Link for post URL link (WordPress/gutenberg#84820) - URL: Convert the tests to TypeScript (WordPress/gutenberg#84916) - Framework: Improve AGENTS.md guidance around running package scripts (WordPress/gutenberg#84195) - Components: Remove Emotion from the context system (WordPress/gutenberg#84925) - Interactivity API: Keep server-rendered data-wp-html content for the server's token representation (WordPress/gutenberg#84889) - Badge: Clarify that badges should not be interactive (WordPress/gutenberg#84920) - SelectControl: Add a trigger slot for props and content (WordPress/gutenberg#84828) - ESLint: Require TypeScript for new files (WordPress/gutenberg#84829) - Private APIs: Convert the tests to TypeScript (WordPress/gutenberg#84901) - Navigation: Edit links in a popover from the sidebar List View (WordPress/gutenberg#84005) - Block Editor: PR 21: Convert LinkControl and URLInput to TypeScript (WordPress/gutenberg#84844) - Block Editor: PR 22: Convert Warning, BlockEdit and PrivateBlockContext to TypeScript (WordPress/gutenberg#84846) - Block Editor: PR 23: Convert the layouts and the alignment controls to TypeScript (WordPress/gutenberg#84847) - Link: Keep the new-tab indicator with the link text (WordPress/gutenberg#84806) - Interactivity API: Optimize toVdom walk() (WordPress/gutenberg#81699) - Bump the github-actions group across 2 directories with 7 updates (WordPress/gutenberg#84937) - Components: Remove unused Emotion styling utilities (WordPress/gutenberg#84929) - List View: Allow nesting with top level items (WordPress/gutenberg#84856) - Login/out: Mark the block as content (WordPress/gutenberg#84849) - Block Editor: PR 24: Convert the typography controls to TypeScript (WordPress/gutenberg#84848) - Block Editor: PR 25: Convert the color utilities and controls to TypeScript (WordPress/gutenberg#84875) - Block Editor: PR 26: Convert the block visibility, lock and bindings components to TypeScript (WordPress/gutenberg#84876) - Block Editor: PR 27: Convert the image dimension tools to TypeScript (WordPress/gutenberg#84877) - Block Editor: PR 28: Convert PresetInputControl to TypeScript (WordPress/gutenberg#84878) - Block Editor: PR 29: Convert URLPopover and LinkPicker to TypeScript (WordPress/gutenberg#84879) - Block Editor: PR 30: Convert BorderRadiusControl and DimensionControl to TypeScript (WordPress/gutenberg#84880) - Block Editor: PR 31: Convert the keyboard shortcuts, ObserveTyping and Typewriter to TypeScript (WordPress/gutenberg#84902) - Block Editor: PR 32: Convert the block drop, paste styles and block command hooks to TypeScript (WordPress/gutenberg#84906) - Block Editor: PR 33: Convert SpacingSizesControl, the line height hook and the spacing visualizer to TypeScript (WordPress/gutenberg#84907) - Block Editor: PR 34: Convert the contrast checker, block bindings, block style variation and position hooks to TypeScript (WordPress/gutenberg#84908) - Block Editor: PR 35: Convert the alignment, heading level, HTML element, unit and height controls to TypeScript (WordPress/gutenberg#84912) - Block Editor: PR 36: Convert the inserter listbox, BlockCard, block variation and inspector leaves to TypeScript (WordPress/gutenberg#84913) - Block Editor: PR 37: Convert BlockEditorProvider and useBlockSync to TypeScript (WordPress/gutenberg#84915) - Block Editor: PR 38: Convert WritingFlow to TypeScript (WordPress/gutenberg#84918) - Block Editor: PR 39: Convert Iframe, EditorStyles, NavigableToolbar, CopyHandler and BlockBreadcrumb to TypeScript (WordPress/gutenberg#84922) - Block Editor: PR 40: Convert MediaPlaceholder and ImageEditor to TypeScript (WordPress/gutenberg#84923) - Show the browser backup's date and compare it before restoring (WordPress/gutenberg#84735) - Generate animated image sub-sizes for animated uploads (WordPress/gutenberg#80385) - Avatar: Add an optional color ring (WordPress/gutenberg#84822) - Tests: Use a strict assertion in background block support tests (WordPress/gutenberg#84883) - Tests: Use strict assertions in layout block support tests (WordPress/gutenberg#84884) - Tests: Use a strict assertion in typography block support tests (WordPress/gutenberg#84885) - Tests: Use strict assertions in REST icons controller tests (WordPress/gutenberg#84886) - Tests: Use strict assertions in hierarchical sort tests (WordPress/gutenberg#84887) - Tests: Use strict assertions in navigation link variations tests (WordPress/gutenberg#84888) - Components: Replace remaining Emotion test and story fixtures (WordPress/gutenberg#84926) - Connectors: preload REST API responses on the Connectors screen (WordPress/gutenberg#77353) - Add emoji reactions to notes! ❤️ 🎉 😄 👀 🚀 (WordPress/gutenberg#76767) - Editor: add copy option for save failures & a "show/hide details" button (WordPress/gutenberg#82496) - Upload Media: Convert the private actions tests to TypeScript (WordPress/gutenberg#84930) - Format Library: Convert the tests to TypeScript (WordPress/gutenberg#85032) - StyleProvider: Remove the Emotion cache (WordPress/gutenberg#85019) - Scripts: Run e2e tests against the configured wp-env test environment (WordPress/gutenberg#84654) - Notes: Skip the reaction summary pre-fetch when core already does it (WordPress/gutenberg#85047) - Navigation Link: Apply "Open in new tab" from the link popover (WordPress/gutenberg#83506) - Media auto-attach: For published posts, only attach newly added image ids (WordPress/gutenberg#84890) - Drag a multi-selection by pressing anywhere inside it (WordPress/gutenberg#81602) - Mark non-breaking spaces with a red dot and add a button to replace them (WordPress/gutenberg#84737) - Duotone: Sync unsupported attribute type guard from Core (WordPress/gutenberg#84801) - Post Title: Add fit text support. (WordPress/gutenberg#83036) - Ensure "hide block tools" text isn't wider than button background. (WordPress/gutenberg#85051) - Editor restoreRevisions: if there are unsaved changes, save these as a revision before restoring a revision (WordPress/gutenberg#84590) - Allow block toolbar to wrap when text labels are enabled (WordPress/gutenberg#84802) - Post slug: Derive the slug preview from the current title instead of `generated_slug` (WordPress/gutenberg#84893) - DataViews and Storybook: Remove unused Emotion dependencies (WordPress/gutenberg#85021) - Components: Update guidance after the Emotion migration (WordPress/gutenberg#85020) - URL: Make `cleanForSlug` match WordPress core's `sanitize_title()` (WordPress/gutenberg#84896) - Notes: Make the "Add note" toolbar button add-only and drop the avatars (WordPress/gutenberg#84635) - Components: Finish Emotion dependency and test cleanup (WordPress/gutenberg#85022) - feat: Add dry-run optional param in cherry-pick script (WordPress/gutenberg#78878) - Build: Update Terrazzo token tools to 2.9.0 (WordPress/gutenberg#85067) - Tabs: Expand vertical interaction backgrounds and focus rings (WordPress/gutenberg#84821) - Build: Update Testing Library user-event to 14.6.8 (WordPress/gutenberg#85068) - Components: Retire completed Emotion migration guidance (WordPress/gutenberg#85023) - Use `Select` for remaining `SelectControl` `variant="minimal"` call sites (WordPress/gutenberg#83035) - Patterns: Rename the inserter's "My patterns" to "Site patterns" and add an author filter (WordPress/gutenberg#84680) - Storybook: present motion tokens as an MDX docs page (WordPress/gutenberg#85080) - Avatar: Add colored fallbacks with foreground tinting (WordPress/gutenberg#84824) - FontFamilyControl: Migrate to @wordpress/ui (WordPress/gutenberg#84715) - Project management automation: Move to tools as an internal action (WordPress/gutenberg#85087) - Build: Update Ariakit to 0.4.42 (WordPress/gutenberg#85066) - Block editor: Remove unused internal helpers (WordPress/gutenberg#85092) - Stylelint: Consolidate Lint rules for simplification (WordPress/gutenberg#71235) - Tools: Migrate project-management-automation to TS (WordPress/gutenberg#71193) - Notes: Improve how anchor highlight and connect to content (WordPress/gutenberg#80578) - Upload media: Remove unused filename helpers (WordPress/gutenberg#85094) - Global Styles UI: Remove unused preview and wrappers (WordPress/gutenberg#85093) - Components: Remove case-conversion dependencies (WordPress/gutenberg#85098) - Components: Remove unused internal helpers (WordPress/gutenberg#85091) - ESLint: Remove an unused comments-plugin dependency (WordPress/gutenberg#85102) - Icons: Ship popular icons to `core-admin` collection (WordPress/gutenberg#85072) - Storybook: add more visual pages for all tokens (WordPress/gutenberg#84373) - Warning: Convert the tests to TypeScript (WordPress/gutenberg#85085) - Text: Simplify the internal highlighter (WordPress/gutenberg#85101) - Site Editor: Show the inserter for an empty Navigation Menu in the sidebar (WordPress/gutenberg#84003) - Components: Remove obsolete JavaScript style configuration (WordPress/gutenberg#85038) - Editor: Stabilize the DataForm-based inspector (WordPress/gutenberg#85081) - Entity Actions: Fix the taxonomy collision test against core trunk (WordPress/gutenberg#85146) - Core Actions, Core Fields: Translate the labels with the default text domain (WordPress/gutenberg#85139) - Global Styles: List elements alongside blocks (WordPress/gutenberg#81645) - Global Styles: Preview the selected state on element screens (WordPress/gutenberg#83787) - Block Toolbar: Only show the parent selector plus when no allowed block splits (WordPress/gutenberg#84645) - Navigation: List only the blocks the sidebar supports in its link search (WordPress/gutenberg#85122) - Show a countdown to the next autosave after an autosave fails (WordPress/gutenberg#84656) - LinkControl: Use `@wordpress/ui` Link for preview link (WordPress/gutenberg#84819) - PR meta: Log fallback bodies verbatim and keep query strings in run links (WordPress/gutenberg#85119) - Don't promise a browser backup in save failure notices (WordPress/gutenberg#84948) - Components: Simplify RangeControl, Tabs, and BorderBoxControl styles (WordPress/gutenberg#85086) - Media Inserter: Dynamically change page size when categories are switched, based on window height (WordPress/gutenberg#85053) - Block Editor: PR 41: Convert useBlockDropZone to TypeScript (WordPress/gutenberg#84946) - Block Editor: PR 42: Convert BlockManager, PublishDateTimePicker and the fit text hook to TypeScript (WordPress/gutenberg#84949) - Move a dragged text selection (WordPress/gutenberg#81603) - Explain autosave failures with no response, and show the HTTP status (WordPress/gutenberg#85157) - Block Supports: Share the state text clip helpers with theme.json (WordPress/gutenberg#85057) - Icons: Mirror the tag icons to match the other angled icons (WordPress/gutenberg#84675) - Block Editor: Include migration hint in useSetting deprecation warning (WordPress/gutenberg#85100) - PresetInputControl: Use SelectControl for preset dropdowns (WordPress/gutenberg#84936) - Table of Contents: Read headings from the post in block context (WordPress/gutenberg#85040) - Template field: Show the default template instead of the `Select` placeholder (WordPress/gutenberg#85167) - Components: Add size prop to `RangeControl` (WordPress/gutenberg#69844) - Use the null coalescing assignment operator in singleton getters (WordPress/gutenberg#85174) - SearchableSelect: Add trigger slots for props and content (WordPress/gutenberg#84934) - Blocks: Clarify button background comment and template part error string (WordPress/gutenberg#85176) - WP Build: Support importing SVG files as inlined data URIs (WordPress/gutenberg#85147) - Tests: Add Component Tests for DuotonePicker Component (WordPress/gutenberg#69264) - Custom CSS: Generate styles for blocks rendered by their parent block (WordPress/gutenberg#82590) - Site Editor: Preload the entity actions of the screen (WordPress/gutenberg#85155) - Dataviews bulk actions discoverability (WordPress/gutenberg#82730) - Global Styles: Add pseudo-selector support for text inputs (WordPress/gutenberg#71634) - Global Styles: Add pseudo-selector support for select elements (WordPress/gutenberg#81644) Props mamaduka, jorgefilipecosta. See #66340 git-svn-id: https://develop.svn.wordpress.org/trunk@64599 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned commit hash of the Gutenberg repository from 7b95ee96b54de2e35886971ccf7eb449c324c830 (version 24.2.0) to be6a50be6834e922b9db12c75c9a2cd817b2db59. The new hash is the tip of the wp/7.2 branch rather than a release tag. It covers the 24.3.0 RC1 release plus the changes cherry-picked to the branch after it was tagged: Gutenberg PRs 85155, 82730, 71634, and 81644. A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@7b95ee9...be6a50b - Icons: Experiment with proportional stroke scaling (WordPress/gutenberg#84081) - PaletteEdit: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84130) - Editor: Validate parent container when converting blocks to template parts (WordPress/gutenberg#84155) - Build: Keep absolute paths out of worker source maps (WordPress/gutenberg#84163) - Chore: Update simple-git to v4 (WordPress/gutenberg#84137) - SearchableChipSelect: Preserve selected chips on Escape (WordPress/gutenberg#84172) - Props Bot: Queue runs instead of cancelling superseded ones (WordPress/gutenberg#84176) - Custom HTML: Show a floating marker when the block renders nothing (WordPress/gutenberg#84150) - DateTimePicker: Migrate Emotion wrapper to SCSS Modules (WordPress/gutenberg#84129) - Bump simple-git and promptfoo in /test/ai-development (WordPress/gutenberg#84104) - Bump the github-actions group across 1 directory with 4 updates (WordPress/gutenberg#84121) - UI: Keep popups open for presses inside their iframes (WordPress/gutenberg#83870) - Tests: Fix HTML comparison tests (WordPress/gutenberg#84294) - Playlist: Add minimum width and height support (WordPress/gutenberg#83909) - Navigation Overlay Close: Add minimum width and height support (WordPress/gutenberg#83907) - Post Template: Add minimum width and height support (WordPress/gutenberg#83911) - Bump proxy-addr from 2.0.7 to 2.0.8 in /test/ai-development (WordPress/gutenberg#84092) - A11y: Move `prefersReducedMotion` into the block library's shared utils (WordPress/gutenberg#84297) - Bump moment from 2.29.4 to 2.31.0 (WordPress/gutenberg#83828) - Packages: Stop publishing tsconfig files, TypeScript build info and tests (WordPress/gutenberg#84164) - Tests: Fix list item unsafe markup test on older WordPress versions (WordPress/gutenberg#84302) - Bump joi from 18.2.5 to 18.2.9 (WordPress/gutenberg#84211) - Bump ip-address from 10.5.0 to 10.7.3 (WordPress/gutenberg#83734) - Bump proxy-addr from 2.0.7 to 2.0.8 (WordPress/gutenberg#84212) - Bump seroval from 1.5.4 to 1.6.8 (WordPress/gutenberg#84151) - Tab List: Add background image, size, and gradient support (WordPress/gutenberg#83953) - Pullquote: Add writing mode and text indent support (WordPress/gutenberg#83964) - CustomSelectControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84131) - ColorPicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84128) - Build: Guard SCRIPT_DEBUG with defined() in script and style registration (WordPress/gutenberg#83633) - Notes: Mark the text an unsent note is about with a draft marker (WordPress/gutenberg#84125) - Quote: Add writing mode support (WordPress/gutenberg#83965) - Tip: Migrate inserter usages to Notice and deprecate the component (WordPress/gutenberg#84197) - Query Loop: list taxonomy terms so they can be browsed, not recalled (WordPress/gutenberg#82583) - Primitives: Refactor to TypeScript (WordPress/gutenberg#84309) - Release Tooling: Publish wp/X.Y branches with their own npm config (WordPress/gutenberg#84160) - Packages: Stop publishing Markdown files other than README.md (WordPress/gutenberg#84307) - Raise the minimum required Node.js to 22 with CJS/ESM interop (WordPress/gutenberg#84313) - Automated Testing: Fix Storybook manifest errors and validate in CI (WordPress/gutenberg#84198) - Notes: Select the note under the caret (WordPress/gutenberg#84147) - Table: Add text align support (WordPress/gutenberg#83966) - Accordion Heading: Add background gradient support (WordPress/gutenberg#83938) - Style Book: Fix crash when the Heading block is unregistered (WordPress/gutenberg#84359) - Icon: Add shadow support (WordPress/gutenberg#83921) - Playlist: Add background image, size, and gradient support (WordPress/gutenberg#83928) - Cover: Add minimum width support (WordPress/gutenberg#83975) - UI: Consolidate shared iframe dismissal tests (WordPress/gutenberg#84296) - File: Add typography support (WordPress/gutenberg#83969) - List: Add minimum width and height support (WordPress/gutenberg#83915) - CI: Run the required trunk changes cron every 4 hours (WordPress/gutenberg#84301) - Workflow: Refactor to TypeScript (WordPress/gutenberg#84311) - Remove the lazy-import package (WordPress/gutenberg#84318) - Terms Query: Add padding, margin, and block gap support (WordPress/gutenberg#83959) - Notes: Read note markers from the rich-text record, not its HTML (WordPress/gutenberg#84310) - Paragraph: Add background image, size, and gradient support (WordPress/gutenberg#83934) - Paragraph: Add minimum width and height support (WordPress/gutenberg#83924) - Sorting: assume standard sort is stable, try out the new toSorted method (WordPress/gutenberg#52213) - DataForm: Center the text control's prefix and suffix (WordPress/gutenberg#84314) - Cover: Add link and button colour support (WordPress/gutenberg#83972) - Remove redundant checkJs: false from fully TypeScript packages (WordPress/gutenberg#84366) - Fields: Fix the page title row jumping on hover when a page type badge is shown (WordPress/gutenberg#84368) - Search: Add background gradient support (WordPress/gutenberg#83954) - UI: Hook AlertDialog into compat overlay slot (WordPress/gutenberg#83878) - ESLint: Align UI caution components with Storybook status (WordPress/gutenberg#84319) - Comments Pagination Next: Add border and padding support (WordPress/gutenberg#64310) - Comment Pagination Previous: Add Border and Padding Support (WordPress/gutenberg#64308) - Preferences Persistence: Refactor to TypeScript (WordPress/gutenberg#84312) - Rich Text: Refactor store and value creation to TypeScript (WordPress/gutenberg#84324) - NumberControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84330) - navigateRegions: Only outline focused Publish and Save regions (WordPress/gutenberg#84343) - Theme: Consolidate border mode overrides in the token resolver (WordPress/gutenberg#84108) - DOM: Refactor to TypeScript (WordPress/gutenberg#84317) - Fields: Lock the status and slug fields for users who can't publish (WordPress/gutenberg#84371) - Commands: Refactor to TypeScript (WordPress/gutenberg#84315) - Cache the theme.json data merged from all origins (WordPress/gutenberg#81979) - Workflow: Address follow-ups from the TypeScript refactor (WordPress/gutenberg#84361) - Fields API: Take over core's registry singleton like the icons API (WordPress/gutenberg#84168) - DOM: Fix getOffsetParent infinite loop on a non-element parent (WordPress/gutenberg#84374) - UI: Support button items in Breadcrumb (WordPress/gutenberg#84156) - TimePicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84331) - Bump actions/setup-node from 6.4.0 to 7.0.0 in /.github/workflows (WordPress/gutenberg#80965) - InputControl: ignore the drag gesture on touch devices (WordPress/gutenberg#81519) - Tabs: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84332) - UI: Add Avatar component (WordPress/gutenberg#84145) - SelectControl: Migrate smaller package consumers to @wordpress/ui (WordPress/gutenberg#84345) - Editor: Keep the block toolbar row on phones while no block is selected (WordPress/gutenberg#84461) - Tests: Use strict assertions for post time-to-read word counts (WordPress/gutenberg#84510) - Tests: Use strict assertions in image block tests (WordPress/gutenberg#84513) - Tests: Use a strict assertion in Heading block tests (WordPress/gutenberg#84514) - Tests: Use a strict assertion in Paragraph block tests (WordPress/gutenberg#84515) - Video: Add minimum width and height support (WordPress/gutenberg#83974) - Icon: Add minimum width and height support (WordPress/gutenberg#83971) - Table: Add background gradient support (WordPress/gutenberg#83949) - Post Navigation Link: Add minimum width and height support (WordPress/gutenberg#83973) - Tests: Scope Classic block media checkbox locator (WordPress/gutenberg#84524) - Term Template: Add heading and button colour support (WordPress/gutenberg#83968) - Tab List: Add line height, font weight, letter spacing, and text transform support (WordPress/gutenberg#83961) - Navigation Overlay Close: Add margin support (WordPress/gutenberg#83970) - Global Styles: Ignore theme.json values of unexpected types (WordPress/gutenberg#84523) - Search: Add shadow support (WordPress/gutenberg#83937) - Icon: Add background image, size, and gradient support (WordPress/gutenberg#83948) - Enable style state-specific custom CSS (WordPress/gutenberg#83539) - Media editor: Add an edits slice to the session (WordPress/gutenberg#83899) - Bump compression from 1.8.1 to 1.8.2 (WordPress/gutenberg#84304) - Bump nx from 23.2.0 to 23.3.0 (WordPress/gutenberg#84299) - Enable Gallery columns to override legacy responsive styles (WordPress/gutenberg#84360) - Global Styles: Ignore per-origin spacingScale values that are not objects (WordPress/gutenberg#84529) - Icon block: Show collection name in the "All" tab of the icon library (WordPress/gutenberg#84055) - Accordion Heading: Anchor inline notes to selected title text (WordPress/gutenberg#84497) - Upgrade JSDOM to 30.1.2 with likely perf improvements (WordPress/gutenberg#84367) - Icon block: Speed up rendering of the icon library (WordPress/gutenberg#84327) - Build: Update Ariakit to 0.4.41 (WordPress/gutenberg#84539) - ToolsPanel: Put setting names first in accessible action labels (WordPress/gutenberg#84341) - Build: Update Vite to 8.3.4 (WordPress/gutenberg#84544) - RichText: remove refs from event listeners contexts (WordPress/gutenberg#84545) - Block Toolbar: Fix UI menus requiring two clicks to open (WordPress/gutenberg#84547) - UI: Preserve explicit null portal containers (WordPress/gutenberg#84370) - DataViews: Enable compatibility for mixed-library overlays (WordPress/gutenberg#84305) - Theme: Enrich `design-tokens.js` export with more token data (WordPress/gutenberg#76604) - UI: Add missing popup width stories (WordPress/gutenberg#84320) - React 19 types: migrate away from MutableRefObject (WordPress/gutenberg#84550) - Tests: Add unit test coverage for WP_REST_Icon_Collections_Controller (WordPress/gutenberg#83168) - Button: Use Spinner for loading indicators (WordPress/gutenberg#84321) - Select, Combobox, Autocomplete: Align popup list spacing (WordPress/gutenberg#84393) - Block Editor: Remove unused subdirectory icon (WordPress/gutenberg#84575) - Modal: Add focus fallback for firstContentElement (WordPress/gutenberg#84344) - SelectControl: Migrate native block-editor consumers to @wordpress/ui (WordPress/gutenberg#84546) - Menu: Clarify icon, label, and description usage guidelines (WordPress/gutenberg#84020) - Add iOS e2e test harness + test selecting text across two paragraphs (WordPress/gutenberg#84463) - Enable editableRoot for the heading block for multi-selection on mobile (WordPress/gutenberg#84358) - iOS tests: serve WordPress with PHP and start Safari during setup (WordPress/gutenberg#84585) - Ensure block style variations use correct selector for custom CSS on the front end (WordPress/gutenberg#84530) - Search: Add border style support (WordPress/gutenberg#83960) - Video: Don't autoplay on the front end when reduced motion is preferred (WordPress/gutenberg#84308) - Allow rich text formatting across blocks (WordPress/gutenberg#58913) - Cover: Don't autoplay an uploaded background video when reduced motion is preferred (WordPress/gutenberg#83853) - Block breadcrumbs: Use `@wordpress/ui` package component (WordPress/gutenberg#84295) - Docs: Note reduced-motion handling for autoplaying media (WordPress/gutenberg#84594) - Media editor: Reset the whole session in one step (WordPress/gutenberg#84591) - Block Supports: Add background-clip block support UI (WordPress/gutenberg#77142) - Media & Text: replace deprecated word-break with overflow-wrap: anywhere (WordPress/gutenberg#82580) - React 19 codemod: apply defaultProps when rendering a memo component (WordPress/gutenberg#84568) - Style states: Add footer viewport and responsive styles status (WordPress/gutenberg#84146) - Block Toolbar: Fix the unnamed placeholder button when the default block is unregistered (WordPress/gutenberg#84533) - DropdownMenu: Keep a disabled toggle closed on ArrowDown (WordPress/gutenberg#84556) - Navigation: Keep the flex layout on a block inserted into an overlay (WordPress/gutenberg#82232) - UI: Document Combobox popup accessible names (WordPress/gutenberg#84551) - Docs: Fix Breadcrumb usage guidelines sidebar structure (WordPress/gutenberg#84564) - Rich Text: Refactor the remaining modules to TypeScript (WordPress/gutenberg#84365) - E2E Tests: Open settings sidebar in constrained canvas test (WordPress/gutenberg#84606) - Term Count: Reuse term data from Term Template (WordPress/gutenberg#84119) - Rich Text: Convert the hook to TypeScript (WordPress/gutenberg#84378) - Commands: Fix icon, loader state and recent command follow-ups (WordPress/gutenberg#84377) - Preferences Persistence: Address TypeScript conversion follow-ups (WordPress/gutenberg#84375) - React 19: add new incompatible plugins (WordPress/gutenberg#84607) - Block Toolbar: Keep last item fills out of the placeholder toolbar (WordPress/gutenberg#84554) - JSDoc: Escape wordpress package names in comments (WordPress/gutenberg#84369) - rich-text: strip every object replacement character in getTextContent (WordPress/gutenberg#81526) - Components: Convert the remaining files to TypeScript (WordPress/gutenberg#84611) - Table Block: Adds link color support (WordPress/gutenberg#72229) - Experiments: don't invalidate saved option with a legacy key (WordPress/gutenberg#84619) - Interactivity API: Align directive name validation with WordPress Core (WordPress/gutenberg#81023) - UI: Use the compatibility overlay slot for Drawer (WordPress/gutenberg#84380) - Rich Text: Address TypeScript conversion follow-ups (WordPress/gutenberg#84610) - DataViews: Format footer counts (WordPress/gutenberg#84622) - Customize Widgets: Keep the block selected when using @wordpress/ui overlays (WordPress/gutenberg#84628) - Tabs: Restore fit-content width for horizontal tab lists (WordPress/gutenberg#84626) - Components: Improve accessibility, discoverability of `ColorPicker` inputs (WordPress/gutenberg#70214) - UI: Use the compatibility overlay slot for Dialog (WordPress/gutenberg#84379) - Post Taxonomies: Restore shortcuts to create terms (WordPress/gutenberg#84601) - Snackbar: Restore focus when used outside SnackbarList (WordPress/gutenberg#84342) - Fix icon display issues in icon block within block manager (WordPress/gutenberg#84107) - Components: Generate JavaScript design token fallbacks (WordPress/gutenberg#84569) - Build: Update Base UI to 1.9.0 (WordPress/gutenberg#84542) - RangeControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84562) - Zed: Exclude node_modules from the file scan and turn off Tailwind CSS (WordPress/gutenberg#84604) - Modal: keep an accessible name when the header is hidden (WordPress/gutenberg#82645) - Grid: point bottomLeft alignment at the bottom left corner (WordPress/gutenberg#82641) - UnitControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84561) - Switched to the official gradient-parser types (WordPress/gutenberg#84582) - Navigator: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84565) - PaletteEdit: Name picker dialogs and add screen reader dismissal (WordPress/gutenberg#84333) - Dialog: Add an `auto` popup size that fits content width (WordPress/gutenberg#84559) - Add e2e tests for the autosave failure notice (WordPress/gutenberg#84644) - iOS tests: launch Safari before opening the setup page (WordPress/gutenberg#84640) - Media Inserter: Redesign using DataViews grid for displaying media items (WordPress/gutenberg#82749) - Remove compat function for unsupported unprefixed style states (WordPress/gutenberg#84531) - Global Styles: Remove the custom styles dot from the block list (WordPress/gutenberg#84657) - InserterDraggableBlocks: Add JSDoc types, and tidy up media-tab inserter files (WordPress/gutenberg#84655) - Storybook: Sort unlisted sidebar folders alphabetically (WordPress/gutenberg#84563) - Tabs: Fix filled link icon in Storybook (WordPress/gutenberg#84618) - ESLint: Require WCSpinner alias for legacy Spinner imports (WordPress/gutenberg#84390) - Navigation: Fix error when inserting block via Browse all in list view (WordPress/gutenberg#84665) - Patterns: Let users load synced patterns they can't edit, without "Edit original" (WordPress/gutenberg#84641) - Notes: Focus the new note form once it's positioned (WordPress/gutenberg#84639) - Block Editor: Keep multiline paste inside empty Preformatted and Poetry blocks (WordPress/gutenberg#83552) - Popover: Use design-system tokens on the default surface. (WordPress/gutenberg#84574) - Font Library: Load all installed font families (WordPress/gutenberg#84684) - Patterns: Let users detach synced patterns they can't edit (WordPress/gutenberg#84681) - Rename "fields" to "entity fields" (WordPress/gutenberg#84691) - Font Library: Mark installed font variants in font collections (WordPress/gutenberg#84023) - Automated Testing: Add AI review guidance for lint suppressions (WordPress/gutenberg#84638) - SearchableSelectControl: Fix search icon orientation (WordPress/gutenberg#84690) - PR meta: Add a Playground preview link (WordPress/gutenberg#84687) - Block Editor: PR 1: Add every source file to the TypeScript build project (WordPress/gutenberg#84615) - Build: Update pr-baseline-action to v0.3.0 (WordPress/gutenberg#84692) - Gallery: Improve mobile lightbox with animated swiping (WordPress/gutenberg#79114) - Tabs: Align interaction backgrounds and focus states (WordPress/gutenberg#84572) - Block Editor: PR 5: Convert the remaining utils and the state style helpers to TypeScript (WordPress/gutenberg#84629) - Remove some stale overrides (WordPress/gutenberg#84674) - Actions API: Register the entity actions on the server (WordPress/gutenberg#84650) - Compose: Convert the remaining files to TypeScript (WordPress/gutenberg#84382) - Navigation Link: Check page create permission only when needed (WordPress/gutenberg#84663) - Dialog: Check story and test sizes against popup prop types (WordPress/gutenberg#84705) - Block Editor: PR 2: Convert the small store modules to TypeScript (WordPress/gutenberg#84616) - Block Editor: PR 3: Convert the store reducer to TypeScript (WordPress/gutenberg#84624) - Block Editor: PR 6: Convert the store selectors to TypeScript (WordPress/gutenberg#84631) - Block Editor: PR 7: Convert the store private selectors to TypeScript (WordPress/gutenberg#84662) - Block Editor: PR 8: Convert the store actions to TypeScript (WordPress/gutenberg#84672) - Menu: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84706) - Blocks: Accept a feature path array in getBlockSupport and hasBlockSupport (WordPress/gutenberg#84708) - Block Editor: PR 4: Convert the shared component modules to TypeScript (WordPress/gutenberg#84625) - Blocks: Type the background clip, gradient, position and repeat supports (WordPress/gutenberg#84709) - Block Editor: PR 9: Convert the store defaults, getBlockSettings and index to TypeScript (WordPress/gutenberg#84677) - Link: Add a small radius for consistent focus rings (WordPress/gutenberg#84697) - Remove the autosave failure notice once a later save succeeds (WordPress/gutenberg#84649) - CI: Expire large workflow artifacts sooner (WordPress/gutenberg#84525) - Changes to custom CSS from core review (WordPress/gutenberg#84757) - Rename inspector and toolbar style-states slots for consistency (WordPress/gutenberg#84598) - Patterns: List synced patterns the user can read but not edit in the inserter (WordPress/gutenberg#84661) - PR meta: Write sections on stacked pull requests (WordPress/gutenberg#84703) - Media Inserter: visually clear the grid and use a loading state spinner when switching categories (WordPress/gutenberg#84667) - ESLint: Make jsdoc/escape-inline-tags an error (WordPress/gutenberg#84701) - Block Editor: Type isValueSpacingPreset as returning a boolean (WordPress/gutenberg#84730) - Cover: Decode the oEmbed iframe source before parsing its query string (WordPress/gutenberg#83770) - Block Editor: Preserve rich text selection on Shift+click within the same block (WordPress/gutenberg#84579) - Build: Remove Emotion compiler tooling (WordPress/gutenberg#84707) - Pattern block: Load the view record, and the edit record only once it's loaded (WordPress/gutenberg#84799) - PostURL: Remove double focus ring outline (WordPress/gutenberg#84694) - LinkControl: Use design system focus ring for link preview (WordPress/gutenberg#84695) - Notice: Match dismiss controls and titles to status colors (WordPress/gutenberg#84571) - BaseControl: Remove unsupported `as` prop from types and docs (WordPress/gutenberg#70064) - Avatar: Add shared initials and improve fallbacks (WordPress/gutenberg#84653) - Search: Add minimum width and height support (WordPress/gutenberg#83977) - Revisions: Meet AA contrast for the inline del diff without an opacity filter (WordPress/gutenberg#82258) - CustomGradientPicker: Keep the color interpolation method when editing a gradient (WordPress/gutenberg#84383) - Post Navigation Link: Add background image, size, and gradient support (WordPress/gutenberg#83940) - Notes: Drop misleading aria-haspopup from Add note menu item (WordPress/gutenberg#84818) - RichText: Derive active formats at the caret for input and paste (WordPress/gutenberg#84303) - Editor: Fix long author name overflowing the Post sidebar panel (WordPress/gutenberg#84165) - Interactivity API: Fix late `data-wp-html` values, throwing functions and directive conflicts (WordPress/gutenberg#84652) - FontAppearanceControl: Migrate to @wordpress/ui (WordPress/gutenberg#84716) - Kebab Case: Convert the tests to TypeScript (WordPress/gutenberg#84825) - Date: Convert the tests to TypeScript (WordPress/gutenberg#84830) - Block Editor: PR 10: Convert the hook utils, block style state and Global Styles hooks to TypeScript (WordPress/gutenberg#84720) - Block Editor: PR 11: Convert the block support helpers to TypeScript (WordPress/gutenberg#84721) - Block Editor: PR 12: Convert the layout helpers and block gap utils to TypeScript (WordPress/gutenberg#84722) - Block Editor: PR 13: Convert the block attribute filter hooks to TypeScript (WordPress/gutenberg#84723) - SelectControl: Migrate date format and preset input consumers to @wordpress/ui (WordPress/gutenberg#84584) - Changelog validation: Reject blank lines between Unreleased entries (WordPress/gutenberg#84804) - DataViews: Convert the filterSortAndPaginate tests to TypeScript (WordPress/gutenberg#84836) - ESLint: Allow design token references in component JavaScript (WordPress/gutenberg#84827) - babel-preset-default: Add polyfill list to generated bundle (WordPress/gutenberg#84835) - Tests: Use a strict assertion in block template tests (WordPress/gutenberg#84683) - Tests: Use a strict assertion in PHPUnit environment setup tests (WordPress/gutenberg#84686) - Core Data: Keep read-only taxonomy fields out of collaborative edits (WordPress/gutenberg#84838) - Select: Preserve scrolling when item alignment falls back (WordPress/gutenberg#84682) - Search: Don't clip the button focus outline when the field is collapsed (WordPress/gutenberg#84685) - List View: Show appender in contentOnly locked sections (WordPress/gutenberg#84713) - Raise the PHP request time limit for the iOS tests (WordPress/gutenberg#84741) - Env: Use the matching wordpress-develop branch for pre-release PHPUnit tests (WordPress/gutenberg#84758) - Editor: Keep a preview canvas from adopting the entity's selection (WordPress/gutenberg#84832) - Core fields: Register the default fields of WordPress on the server (WordPress/gutenberg#84696) - Editor: Read the entity fields from the server (WordPress/gutenberg#84700) - iOS tests: run the editor in a web view instead of Safari (WordPress/gutenberg#84859) - BorderBoxControl: Unpack multi-value shorthand width when unlinking border sides (WordPress/gutenberg#84826) - Actions API: Extract the core actions into the `@wordpress/core-actions` script modules (WordPress/gutenberg#84643) - Global Styles: Remove preset items of unexpected types to avoid fatals (WordPress/gutenberg#84534) - Media: Skip auto-attach on save when attachment pages are enabled (WordPress/gutenberg#84851) - Block Editor: PR 14: Convert InspectorControls to TypeScript (WordPress/gutenberg#84725) - Block Editor: PR 15: Convert the anchor and custom class name hooks to TypeScript (WordPress/gutenberg#84726) - Block Editor: PR 16: Convert the auto-generated inspector controls to TypeScript (WordPress/gutenberg#84727) - Block Editor: PR 17: Convert the zoom out and content only section hooks to TypeScript (WordPress/gutenberg#84731) - Block Editor: PR 18: Convert BlockControls to TypeScript (WordPress/gutenberg#84733) - Block Editor: PR 19: Convert the flow layout to TypeScript (WordPress/gutenberg#84734) - Block Editor: PR 20: Convert BlockPopover, the color and gradient controls, BlockTitle, useBlockDisplayInformation and MediaUpload to TypeScript (WordPress/gutenberg#84813) - Media Inserter: Add a FilePreview component for rendering audio or other non image/video files (WordPress/gutenberg#84882) - Data Controls: Convert the tests to TypeScript (WordPress/gutenberg#84852) - Undo Manager: Convert the tests to TypeScript (WordPress/gutenberg#84895) - Build: Fix `npm run dev` failing on the patterns tsconfig comment (WordPress/gutenberg#84898) - Snackbar: Keep snackbars with an action on screen longer (WordPress/gutenberg#84842) - DatePicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84724) - Fields: Remove the fields that moved to @wordpress/core-fields (WordPress/gutenberg#84897) - FocalPointPicker: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84736) - Notes: Remove divider between canvas and floating notes (WordPress/gutenberg#84850) - SelectControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84732) - Core Actions: Register the core actions on the server (WordPress/gutenberg#84660) - InputControl: Migrate Emotion styles to SCSS Modules (WordPress/gutenberg#84728) - Tabs: Show design system focus ring on tab panels (WordPress/gutenberg#84914) - PostURL: Use `@wordpress/ui` Link for post URL link (WordPress/gutenberg#84820) - URL: Convert the tests to TypeScript (WordPress/gutenberg#84916) - Framework: Improve AGENTS.md guidance around running package scripts (WordPress/gutenberg#84195) - Components: Remove Emotion from the context system (WordPress/gutenberg#84925) - Interactivity API: Keep server-rendered data-wp-html content for the server's token representation (WordPress/gutenberg#84889) - Badge: Clarify that badges should not be interactive (WordPress/gutenberg#84920) - SelectControl: Add a trigger slot for props and content (WordPress/gutenberg#84828) - ESLint: Require TypeScript for new files (WordPress/gutenberg#84829) - Private APIs: Convert the tests to TypeScript (WordPress/gutenberg#84901) - Navigation: Edit links in a popover from the sidebar List View (WordPress/gutenberg#84005) - Block Editor: PR 21: Convert LinkControl and URLInput to TypeScript (WordPress/gutenberg#84844) - Block Editor: PR 22: Convert Warning, BlockEdit and PrivateBlockContext to TypeScript (WordPress/gutenberg#84846) - Block Editor: PR 23: Convert the layouts and the alignment controls to TypeScript (WordPress/gutenberg#84847) - Link: Keep the new-tab indicator with the link text (WordPress/gutenberg#84806) - Interactivity API: Optimize toVdom walk() (WordPress/gutenberg#81699) - Bump the github-actions group across 2 directories with 7 updates (WordPress/gutenberg#84937) - Components: Remove unused Emotion styling utilities (WordPress/gutenberg#84929) - List View: Allow nesting with top level items (WordPress/gutenberg#84856) - Login/out: Mark the block as content (WordPress/gutenberg#84849) - Block Editor: PR 24: Convert the typography controls to TypeScript (WordPress/gutenberg#84848) - Block Editor: PR 25: Convert the color utilities and controls to TypeScript (WordPress/gutenberg#84875) - Block Editor: PR 26: Convert the block visibility, lock and bindings components to TypeScript (WordPress/gutenberg#84876) - Block Editor: PR 27: Convert the image dimension tools to TypeScript (WordPress/gutenberg#84877) - Block Editor: PR 28: Convert PresetInputControl to TypeScript (WordPress/gutenberg#84878) - Block Editor: PR 29: Convert URLPopover and LinkPicker to TypeScript (WordPress/gutenberg#84879) - Block Editor: PR 30: Convert BorderRadiusControl and DimensionControl to TypeScript (WordPress/gutenberg#84880) - Block Editor: PR 31: Convert the keyboard shortcuts, ObserveTyping and Typewriter to TypeScript (WordPress/gutenberg#84902) - Block Editor: PR 32: Convert the block drop, paste styles and block command hooks to TypeScript (WordPress/gutenberg#84906) - Block Editor: PR 33: Convert SpacingSizesControl, the line height hook and the spacing visualizer to TypeScript (WordPress/gutenberg#84907) - Block Editor: PR 34: Convert the contrast checker, block bindings, block style variation and position hooks to TypeScript (WordPress/gutenberg#84908) - Block Editor: PR 35: Convert the alignment, heading level, HTML element, unit and height controls to TypeScript (WordPress/gutenberg#84912) - Block Editor: PR 36: Convert the inserter listbox, BlockCard, block variation and inspector leaves to TypeScript (WordPress/gutenberg#84913) - Block Editor: PR 37: Convert BlockEditorProvider and useBlockSync to TypeScript (WordPress/gutenberg#84915) - Block Editor: PR 38: Convert WritingFlow to TypeScript (WordPress/gutenberg#84918) - Block Editor: PR 39: Convert Iframe, EditorStyles, NavigableToolbar, CopyHandler and BlockBreadcrumb to TypeScript (WordPress/gutenberg#84922) - Block Editor: PR 40: Convert MediaPlaceholder and ImageEditor to TypeScript (WordPress/gutenberg#84923) - Show the browser backup's date and compare it before restoring (WordPress/gutenberg#84735) - Generate animated image sub-sizes for animated uploads (WordPress/gutenberg#80385) - Avatar: Add an optional color ring (WordPress/gutenberg#84822) - Tests: Use a strict assertion in background block support tests (WordPress/gutenberg#84883) - Tests: Use strict assertions in layout block support tests (WordPress/gutenberg#84884) - Tests: Use a strict assertion in typography block support tests (WordPress/gutenberg#84885) - Tests: Use strict assertions in REST icons controller tests (WordPress/gutenberg#84886) - Tests: Use strict assertions in hierarchical sort tests (WordPress/gutenberg#84887) - Tests: Use strict assertions in navigation link variations tests (WordPress/gutenberg#84888) - Components: Replace remaining Emotion test and story fixtures (WordPress/gutenberg#84926) - Connectors: preload REST API responses on the Connectors screen (WordPress/gutenberg#77353) - Add emoji reactions to notes! ❤️ 🎉 😄 👀 🚀 (WordPress/gutenberg#76767) - Editor: add copy option for save failures & a "show/hide details" button (WordPress/gutenberg#82496) - Upload Media: Convert the private actions tests to TypeScript (WordPress/gutenberg#84930) - Format Library: Convert the tests to TypeScript (WordPress/gutenberg#85032) - StyleProvider: Remove the Emotion cache (WordPress/gutenberg#85019) - Scripts: Run e2e tests against the configured wp-env test environment (WordPress/gutenberg#84654) - Notes: Skip the reaction summary pre-fetch when core already does it (WordPress/gutenberg#85047) - Navigation Link: Apply "Open in new tab" from the link popover (WordPress/gutenberg#83506) - Media auto-attach: For published posts, only attach newly added image ids (WordPress/gutenberg#84890) - Drag a multi-selection by pressing anywhere inside it (WordPress/gutenberg#81602) - Mark non-breaking spaces with a red dot and add a button to replace them (WordPress/gutenberg#84737) - Duotone: Sync unsupported attribute type guard from Core (WordPress/gutenberg#84801) - Post Title: Add fit text support. (WordPress/gutenberg#83036) - Ensure "hide block tools" text isn't wider than button background. (WordPress/gutenberg#85051) - Editor restoreRevisions: if there are unsaved changes, save these as a revision before restoring a revision (WordPress/gutenberg#84590) - Allow block toolbar to wrap when text labels are enabled (WordPress/gutenberg#84802) - Post slug: Derive the slug preview from the current title instead of `generated_slug` (WordPress/gutenberg#84893) - DataViews and Storybook: Remove unused Emotion dependencies (WordPress/gutenberg#85021) - Components: Update guidance after the Emotion migration (WordPress/gutenberg#85020) - URL: Make `cleanForSlug` match WordPress core's `sanitize_title()` (WordPress/gutenberg#84896) - Notes: Make the "Add note" toolbar button add-only and drop the avatars (WordPress/gutenberg#84635) - Components: Finish Emotion dependency and test cleanup (WordPress/gutenberg#85022) - feat: Add dry-run optional param in cherry-pick script (WordPress/gutenberg#78878) - Build: Update Terrazzo token tools to 2.9.0 (WordPress/gutenberg#85067) - Tabs: Expand vertical interaction backgrounds and focus rings (WordPress/gutenberg#84821) - Build: Update Testing Library user-event to 14.6.8 (WordPress/gutenberg#85068) - Components: Retire completed Emotion migration guidance (WordPress/gutenberg#85023) - Use `Select` for remaining `SelectControl` `variant="minimal"` call sites (WordPress/gutenberg#83035) - Patterns: Rename the inserter's "My patterns" to "Site patterns" and add an author filter (WordPress/gutenberg#84680) - Storybook: present motion tokens as an MDX docs page (WordPress/gutenberg#85080) - Avatar: Add colored fallbacks with foreground tinting (WordPress/gutenberg#84824) - FontFamilyControl: Migrate to @wordpress/ui (WordPress/gutenberg#84715) - Project management automation: Move to tools as an internal action (WordPress/gutenberg#85087) - Build: Update Ariakit to 0.4.42 (WordPress/gutenberg#85066) - Block editor: Remove unused internal helpers (WordPress/gutenberg#85092) - Stylelint: Consolidate Lint rules for simplification (WordPress/gutenberg#71235) - Tools: Migrate project-management-automation to TS (WordPress/gutenberg#71193) - Notes: Improve how anchor highlight and connect to content (WordPress/gutenberg#80578) - Upload media: Remove unused filename helpers (WordPress/gutenberg#85094) - Global Styles UI: Remove unused preview and wrappers (WordPress/gutenberg#85093) - Components: Remove case-conversion dependencies (WordPress/gutenberg#85098) - Components: Remove unused internal helpers (WordPress/gutenberg#85091) - ESLint: Remove an unused comments-plugin dependency (WordPress/gutenberg#85102) - Icons: Ship popular icons to `core-admin` collection (WordPress/gutenberg#85072) - Storybook: add more visual pages for all tokens (WordPress/gutenberg#84373) - Warning: Convert the tests to TypeScript (WordPress/gutenberg#85085) - Text: Simplify the internal highlighter (WordPress/gutenberg#85101) - Site Editor: Show the inserter for an empty Navigation Menu in the sidebar (WordPress/gutenberg#84003) - Components: Remove obsolete JavaScript style configuration (WordPress/gutenberg#85038) - Editor: Stabilize the DataForm-based inspector (WordPress/gutenberg#85081) - Entity Actions: Fix the taxonomy collision test against core trunk (WordPress/gutenberg#85146) - Core Actions, Core Fields: Translate the labels with the default text domain (WordPress/gutenberg#85139) - Global Styles: List elements alongside blocks (WordPress/gutenberg#81645) - Global Styles: Preview the selected state on element screens (WordPress/gutenberg#83787) - Block Toolbar: Only show the parent selector plus when no allowed block splits (WordPress/gutenberg#84645) - Navigation: List only the blocks the sidebar supports in its link search (WordPress/gutenberg#85122) - Show a countdown to the next autosave after an autosave fails (WordPress/gutenberg#84656) - LinkControl: Use `@wordpress/ui` Link for preview link (WordPress/gutenberg#84819) - PR meta: Log fallback bodies verbatim and keep query strings in run links (WordPress/gutenberg#85119) - Don't promise a browser backup in save failure notices (WordPress/gutenberg#84948) - Components: Simplify RangeControl, Tabs, and BorderBoxControl styles (WordPress/gutenberg#85086) - Media Inserter: Dynamically change page size when categories are switched, based on window height (WordPress/gutenberg#85053) - Block Editor: PR 41: Convert useBlockDropZone to TypeScript (WordPress/gutenberg#84946) - Block Editor: PR 42: Convert BlockManager, PublishDateTimePicker and the fit text hook to TypeScript (WordPress/gutenberg#84949) - Move a dragged text selection (WordPress/gutenberg#81603) - Explain autosave failures with no response, and show the HTTP status (WordPress/gutenberg#85157) - Block Supports: Share the state text clip helpers with theme.json (WordPress/gutenberg#85057) - Icons: Mirror the tag icons to match the other angled icons (WordPress/gutenberg#84675) - Block Editor: Include migration hint in useSetting deprecation warning (WordPress/gutenberg#85100) - PresetInputControl: Use SelectControl for preset dropdowns (WordPress/gutenberg#84936) - Table of Contents: Read headings from the post in block context (WordPress/gutenberg#85040) - Template field: Show the default template instead of the `Select` placeholder (WordPress/gutenberg#85167) - Components: Add size prop to `RangeControl` (WordPress/gutenberg#69844) - Use the null coalescing assignment operator in singleton getters (WordPress/gutenberg#85174) - SearchableSelect: Add trigger slots for props and content (WordPress/gutenberg#84934) - Blocks: Clarify button background comment and template part error string (WordPress/gutenberg#85176) - WP Build: Support importing SVG files as inlined data URIs (WordPress/gutenberg#85147) - Tests: Add Component Tests for DuotonePicker Component (WordPress/gutenberg#69264) - Custom CSS: Generate styles for blocks rendered by their parent block (WordPress/gutenberg#82590) - Site Editor: Preload the entity actions of the screen (WordPress/gutenberg#85155) - Dataviews bulk actions discoverability (WordPress/gutenberg#82730) - Global Styles: Add pseudo-selector support for text inputs (WordPress/gutenberg#71634) - Global Styles: Add pseudo-selector support for select elements (WordPress/gutenberg#81644) Props mamaduka, jorgefilipecosta. See #66340 Built from https://develop.svn.wordpress.org/trunk@64599 git-svn-id: http://core.svn.wordpress.org/trunk@63749 1a063a9b-81f0-0310-95a4-ce76da25c4cd


Part of #74865
Part of #83368, which is being split into smaller PRs.
What?
Adds
@wordpress/core-fields, a new private package with the fields WordPress core registers through the Entity fields API. Each field has a PHP declaration and a script module with its JavaScript parts. With this PR, the/wp/v2/entity-fieldsroute returns the default fields of every post type exposed in the REST API, plus the collections for pages, templates, template parts, patterns, attachments, and the site.Why?
The server-side registry and the REST route are on trunk, but no fields are registered yet, so the route returns nothing for core entities. This PR registers core's own fields through the same public API a plugin uses, so the server side works on its own. Nothing on the client reads these fields yet, so the editor does not change. A stacked PR adds the loaders that fetch the route and import the script modules.
The package is
"private": true, so it is not published to npm until the API settles. The plugin still builds and ships its PHP and script modules.How?
packages/core-fields/src/<collection>/holds one folder per field collection:post_type_supports,page,wp_template,wp_template_part,wp_block,attachment, androot_site. Each field folder has afield.phpdeclaration and, where needed, the JavaScript parts PHP cannot serialize (render,Edit,getElements). Each collection has its own script module (@wordpress/core-fields/<collection>).src/index.phpruns onwp_entity_fields_api_initat priority 0, so a plugin hooking the action at the default priority can update or unregister core fields. It:wp_register_entity_field_collection().build/scripts/core-fieldswith its functions prefixed (wpCopyFiles), andlib/load.phploads it.@wordpress/core-fieldsis added to the private APIs allowlist. It unlocksMediaEditandMediaEditControlfrom@wordpress/media-utils.Testing Instructions
npm run build) and check thatbuild/scripts/core-fields/index.phpandbuild/modules/core-fields/exist.npm run test:unit:php:base -- --filter 'Tests_Entity_Fields_API|Tests_REST_Entity_Fields_Controller'./wp-json/wp/v2/entity-fields?kind=postType&name=postand check that it lists the default post fields (title, status, author, featured_media, …) with the@wordpress/core-fields/post_type_supportsmodule.name=page,name=attachment,name=wp_template, andkind=root&name=site. Each returns its own collection.Use of AI Tools
Claude Code (Claude Opus 5.5) split this PR out of #83368, adapted it to the rename in #84691, and wrote this summary. I reviewed the changes.