Repository navigation
chore(deps): migrate to React Native 0.88 - #41
Merged
Merged
Conversation
…dates Bumps the react-native group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@react-native/babel-preset](https://github.com/react/react-native/tree/HEAD/packages/react-native-babel-preset) | `0.84.1` | `0.88.1` | | [@react-native/eslint-config](https://github.com/react/react-native/tree/HEAD/packages/eslint-config-react-native) | `0.84.1` | `0.88.1` | | [react-native](https://github.com/react/react-native/tree/HEAD/packages/react-native) | `0.84.1` | `0.88.1` | | [react-native-builder-bob](https://github.com/callstack/react-native-builder-bob/tree/HEAD/packages/react-native-builder-bob) | `0.40.18` | `0.44.1` | | [@react-native/metro-config](https://github.com/react/react-native/tree/HEAD/packages/metro-config) | `0.84.1` | `0.88.1` | | [@react-native/typescript-config](https://github.com/react/react-native/tree/HEAD/packages/typescript-config) | `0.84.1` | `0.88.1` | | [react-native-monorepo-config](https://github.com/satya164/react-native-monorepo-config) | `0.3.3` | `0.4.0` | Updates `@react-native/babel-preset` from 0.84.1 to 0.88.1 - [Release notes](https://github.com/react/react-native/releases) - [Changelog](https://github.com/react/react-native/blob/main/CHANGELOG.md) - [Commits](https://github.com/react/react-native/commits/v0.88.1/packages/react-native-babel-preset) Updates `@react-native/eslint-config` from 0.84.1 to 0.88.1 - [Release notes](https://github.com/react/react-native/releases) - [Changelog](https://github.com/react/react-native/blob/main/CHANGELOG.md) - [Commits](https://github.com/react/react-native/commits/v0.88.1/packages/eslint-config-react-native) Updates `react-native` from 0.84.1 to 0.88.1 - [Release notes](https://github.com/react/react-native/releases) - [Changelog](https://github.com/react/react-native/blob/main/CHANGELOG.md) - [Commits](https://github.com/react/react-native/commits/v0.88.1/packages/react-native) Updates `react-native-builder-bob` from 0.40.18 to 0.44.1 - [Release notes](https://github.com/callstack/react-native-builder-bob/releases) - [Changelog](https://github.com/callstack/react-native-builder-bob/blob/main/packages/react-native-builder-bob/CHANGELOG.md) - [Commits](https://github.com/callstack/react-native-builder-bob/commits/react-native-builder-bob@0.44.1/packages/react-native-builder-bob) Updates `@react-native/metro-config` from 0.84.1 to 0.88.1 - [Release notes](https://github.com/react/react-native/releases) - [Changelog](https://github.com/react/react-native/blob/main/CHANGELOG.md) - [Commits](https://github.com/react/react-native/commits/v0.88.1/packages/metro-config) Updates `@react-native/typescript-config` from 0.84.1 to 0.88.1 - [Release notes](https://github.com/react/react-native/releases) - [Changelog](https://github.com/react/react-native/blob/main/CHANGELOG.md) - [Commits](https://github.com/react/react-native/commits/v0.88.1/packages/typescript-config) Updates `react-native-monorepo-config` from 0.3.3 to 0.4.0 - [Release notes](https://github.com/satya164/react-native-monorepo-config/releases) - [Changelog](https://github.com/satya164/react-native-monorepo-config/blob/main/CHANGELOG.md) - [Commits](satya164/react-native-monorepo-config@v0.3.3...v0.4.0) --- updated-dependencies: - dependency-name: "@react-native/babel-preset" dependency-version: 0.88.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: react-native - dependency-name: "@react-native/eslint-config" dependency-version: 0.88.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: react-native - dependency-name: "@react-native/metro-config" dependency-version: 0.88.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: react-native - dependency-name: "@react-native/typescript-config" dependency-version: 0.88.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: react-native - dependency-name: react-native dependency-version: 0.88.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: react-native - dependency-name: react-native-builder-bob dependency-version: 0.44.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: react-native - dependency-name: react-native-monorepo-config dependency-version: 0.4.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: react-native ... Signed-off-by: dependabot[bot] <support@github.com>
- Move Jest preset to @react-native/jest-preset (removed from react-native) - Bump example Gradle wrapper to 9.4.1 and AGP to 9.2.1 (required by RN 0.88) - Bump example @react-native-community/cli to 20.2.0 per RN 0.88 template - Narrow AbortSignal.reason to unknown (RN 0.88 types it as any) - README: keep RN >=0.84 minimum, note CI tests against 0.88
# Conflicts: # package.json # yarn.lock
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrates the library and example app to React Native 0.88. This replaces Dependabot PR #31, which only bumped versions and failed lint, Jest and both Android jobs. This branch includes #31's commit, so merging it closes #31.
Changes
jest-presetinsidereact-native. The preset is now@react-native/jest-preset@0.88.1. This fixes theValidation Error.Failed to apply plugin 'com.android.internal.version-check'inbuild-androidandAndroid unit tests.@react-native-community/cli*bumped 20.1.0 → 20.2.0, as in the 0.88 template.AbortSignal.reasonasany.abortError()now narrows it tounknown. No behaviour change.RN 0.84 minimum: kept
peerDependencies.react-nativestays>=0.84.0. Nothing in the library's JS, codegen spec orandroid/uses anything added after 0.84. The changes above are dev, test and example only. Raising the minimum would be a breaking change for consumers with no technical reason behind it. The library's ownandroid/build.gradlealso stays on AGP 9.1.1, and min AGP stays 9.1.0. The README now says CI tests against 0.88.Verification (local)
yarn lint✅,yarn typecheck✅yarn test:coverage: 231/231 pass, thresholds met ✅yarn prepare(bob build + plugin) ✅