Repository navigation
Commit 56c48ac
Delete @react-native/assets-registry (#58780)
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.
Pull Request resolved: #58780
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
```
Reviewed By: javache
Differential Revision: D122667835
Pulled By: Abbondanzo
fbshipit-source-id: 57c6964f3926b8cfb7d9ed7c030d0dee3860dd981 parent d787826 commit 56c48ac
8 files changed
Lines changed: 0 additions & 343 deletions
File tree
- packages/assets-registry
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments