Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move the core-data changelog entry back under Unreleased
The 8.0.0 release moved trunk's Unreleased section to a published
heading, and the rebase merged the #81803 entry into it. The PR is
unmerged, so its entry belongs under Unreleased.
  • Loading branch information
ramonjd committed Oct 2, 2026
commit 86e3f1974ff7968be90a6c93ffbfbee4bc970ae7
2 changes: 1 addition & 1 deletion packages/core-data/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Enhancements

- Add the root-level `original_attachment` field to the `Attachment` entity type — the original attachment's id, or `0` when the attachment was not created by editing another one; embeddable via the `wp:original-attachment` link, exposed in the `edit` context ([#81803](https://github.com/WordPress/gutenberg/pull/81803)).
- `Icon`: add the `keywords` field exposed by the icons REST endpoint ([#82367](https://github.com/WordPress/gutenberg/pull/82367)).
- `__experimentalFetchLinkSuggestions`: add a `preferTypes` option to rank matches from one or more search types above the usual order ([#83408](https://github.com/WordPress/gutenberg/pull/83408)).

Expand Down Expand Up @@ -41,7 +42,6 @@

### Enhancements

- Add the root-level `original_attachment` field to the `Attachment` entity type — the original attachment's id, or `0` when the attachment was not created by editing another one; embeddable via the `wp:original-attachment` link, exposed in the `edit` context ([#81803](https://github.com/WordPress/gutenberg/pull/81803)).
- `getEntityRecord` and `getEntityRecords` now infer verified post, page, media, block, navigation, global styles, icon, and icon collection records from their `kind` and `name` arguments and resolve their context from the query, so `getEntityRecord( 'postType', 'post', id ).title` type checks without naming `Post` by hand, and a `context: 'view'` request is not typed with the edit-context fields. Pairs the map does not cover still resolve to the previous union, and a plugin opts in by merging into `EntityRecordTypes` or a per-kind interface. A call that names no context resolves the one its entity is registered to be fetched in, declared in `EntityContextDefaults` and extended the same way; a pair that declares none resolves to every context. Adds `Block`, `Navigation`, `GlobalStyles`, and `IconCollection` records, and drops assertions only from mapped call sites; one assertion was hiding a nullable draft date. ([#81863](https://github.com/WordPress/gutenberg/pull/81863))
- Add the REST `class_list` field to inferred posts, pages, and media, and add media `filename` and `filesize` fields. Embed records omit these view/edit-only fields. ([#81863](https://github.com/WordPress/gutenberg/pull/81863))
- Queries that use `_fields` infer a recursively partial entity record, so TypeScript requires callers to account for omitted top-level and nested object fields. ([#81863](https://github.com/WordPress/gutenberg/pull/81863))
Expand Down