Skip to content

build(deps-dev): bump @wordpress/core-data from 7.37.0 to 8.0.0 - #4612

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/wordpress/core-data-8.0.0
Open

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/wordpress/core-data-8.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor

Bumps @wordpress/core-data from 7.37.0 to 8.0.0.

Changelog

Sourced from @​wordpress/core-data's changelog.

8.0.0 (2026-09-10)

Breaking Changes

  • The entity record selectors infer the record from their kind and name arguments with a const type parameter. TypeScript consumers now require TypeScript 5 or newer. (#81863)
  • Post and Page now match the REST schema: content.is_protected is replaced by content.protected, and content.block_version is typed as a number rather than a string. Rename any read of content.is_protected, and drop annotations or casts that treated block_version as a string. (#81863)
  • The getGlobalStyles and saveGlobalStyles shortcuts now use GlobalStyles instead of the unrelated GlobalStylesRevision record. saveGlobalStyles requires the record ID and accepts a plain string title, matching the REST API update route and schema. (#81863)
  • RenderedText omits raw outside the edit context instead of typing it as never, so a record requested with context: 'view' or context: 'embed' no longer exposes title.raw or content.raw. Read rendered in those contexts, or request the record with context: 'edit'. (#81863)

Bug Fixes

  • Keep a query's totalItems in sync when records are removed from it, so the page count is correct after a deletion instead of only after the next fetch (#82244).
  • EntityProvider: a revisionId now only affects the entity it is set on. Other entities rendered inside it, such as the posts in a Query Loop, keep showing their own data (#82517).
  • getEntityRecord and getRevision return the same record for queries that request the same _fields, instead of a new object on every call, which made useSelect warn under SCRIPT_DEBUG (#82552).

Enhancements

  • 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)
  • 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)
  • 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)
  • Keep Attachment.caption.rendered available in view and embed contexts while limiting caption.raw to edit responses, matching the REST schema. (#81863)
  • Match the Navigation embed record and current global styles ID types to their REST responses. (#81863)
  • Export ContextualField so plugins can describe context-sensitive fields when extending the entity record map. (#81863)
  • PostStatus accepts statuses registered by WordPress or plugins while preserving autocomplete for the built-in values. (#81863)
  • Add page_for_privacy_policy to the Settings entity type, exposed by the Gutenberg plugin from the wp_page_for_privacy_policy option (#82422).

Internal

  • Remove the template activation (active_templates) experiment: drop the registeredTemplate entity and the experiment-only wp_template endpoint rewrites and query params (#82241).
  • Remove unused dependency @wordpress/is-shallow-equal (#82103).
  • Use the .jsx extension for JavaScript source files that contain JSX (#80990).
  • Remove tsconfig project references to packages that are not dependencies (#82106).

7.54.0 (2026-08-26)

Bug Fixes

  • Validate the shared parsed-blocks cache against the registered block types as well as the content, so a record resolved before the block types register — as happens when the editor's assets load lazily — is re-parsed instead of rendering, and one save later persisting, an empty block list (#81809).
  • Allow keyless entities to be addressed without a record ID in the entity record selectors and actions (#81857).
  • Fix getEntityRecordsTotalItems and getEntityRecordsTotalPages returning NaN for endpoints that send no pagination headers.

Internal

  • Split tsconfig into a build project and a default dev project so dev files are type checked without publishing their declarations. (#81514)
  • Gate entity sync configuration and sync manager creation on the window.__experimentalEnableRealTimeCollaboration flag set by the Real-Time Collaboration experiment, replacing the window._wpCollaborationEnabled option flag (#80658).

7.53.0 (2026-08-12)

Enhancements

... (truncated)

Commits
  • 485f42a chore(release): publish
  • c89dd70 Update changelog files
  • a55a0d7 Merge changes published in the Gutenberg plugin "release/24.0" branch
  • d06b010 chore(release): publish (#82084)
  • 0790fa5 Update changelog files
  • 098e3ba Merge changes published in the Gutenberg plugin "release/23.9" branch
  • 989764d chore(release): publish
  • e18aa00 Update changelog files
  • dbb73c9 Merge changes published in the Gutenberg plugin "release/23.8" branch
  • 7e8b17a chore(release): publish
  • Additional commits viewable in compare view

@dependabot dependabot Bot added Deps Reserved to dependency/dependabot PRs Deps: JavaScript Reserved to dependency/dependabot PRs labels Sep 14, 2026
@coderabbitai

coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: f0d266af-04ee-4bb4-a520-a5e24674c2f0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/wordpress/core-data-8.0.0 branch from c14c133 to fdfa8f6 Compare September 14, 2026 13:44
Bumps [@wordpress/core-data](https://github.com/WordPress/gutenberg/tree/HEAD/packages/core-data) from 7.37.0 to 8.0.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/core-data/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/core-data@8.0.0/packages/core-data)

---
updated-dependencies:
- dependency-name: "@wordpress/core-data"
  dependency-version: 8.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/wordpress/core-data-8.0.0 branch from fdfa8f6 to 4d94992 Compare September 14, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Deps: JavaScript Reserved to dependency/dependabot PRs Deps Reserved to dependency/dependabot PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants