Skip to content

Delete @react-native/assets-registry - #58780

Open
huntie wants to merge 1 commit into
react:mainfrom
huntie:pr58780
Open

huntie wants to merge 1 commit into
react:mainfrom
huntie:pr58780

Conversation

@huntie

@huntie huntie commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary:

@react-native/assets-registry has been deprecated since 0.87 (#57370), with two release cycles (0.87 and 0.88) ahead of its removal. Delete the package from the monorepo for 0.89.

Callers migrate as documented in the deprecation:

  • @react-native/assets-registry/registry → AssetRegistry from react-native, or the react-native/asset-registry entry point.
  • @react-native/assets-registry/path-support → @react-native/asset-utils.

Changelog: [General][Breaking] - Assets: Remove @react-native/assets-registry. Use AssetRegistry from react-native and @react-native/asset-utils instead.

Test Plan:

No remaining references to the package in the repo (excluding CHANGELOG*.md):

grep -rn --exclude-dir=node_modules --exclude-dir=.git 'assets-registry' . | grep -v CHANGELOG

✅ Jest for the packages that took over the package's functionality:

yarn test packages/asset-utils packages/react-native/Libraries/Image packages/community-cli-plugin/src/commands/bundle
# Test Suites: 6 passed, 6 total / Tests: 41 passed, 41 total

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 30, 2026
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Sep 30, 2026
@meta-codesync

meta-codesync Bot commented Sep 30, 2026

Copy link
Copy Markdown

@Abbondanzo has imported this pull request. If you are a Meta employee, you can view this in D122667835.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant