Skip to content

Conversation

@kitten
Copy link
Member

@kitten kitten commented Dec 3, 2025

Why

Note

Backport will at least be needed for SDK 54, maybe SDK 53, if the range is compatible with it

We don't need to open up the range, and can set a new minimum as of latest publishing date. We can also bump our internal version.

jest-expo had a hard dependency on react-server-dom-webpack which can also be switched to a peer dependency.

How

  • Tighten peer range on react-server-dom-webpack and bump
  • Switch react-server-dom-webpack to optional peers in jest-expo and bump

Test Plan

  • CI-only

Checklist

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

Subscribed to pull request

File Patterns Mentions
docs/** @amandeepmittal
packages/@expo/router-server/** @EvanBacon, @hassankhan
packages/expo-modules-core/** @Kudo, @lukmccall
packages/expo-router/** @EvanBacon, @Ubax, @hassankhan
packages/jest-expo/** @brentvatne, @EvanBacon

Generated by CodeMention

@expo-bot expo-bot added bot: suggestions ExpoBot has some suggestions bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Dec 3, 2025
@kitten kitten requested review from Kudo, byCedric and vonovak December 4, 2025 12:28
Co-authored-by: Vojtech Novak <vonovak@gmail.com>
@expo-bot
Copy link
Collaborator

expo-bot commented Dec 4, 2025

Hi there! 👋 I'm a bot whose goal is to ensure your contributions meet our guidelines.

I've found some issues in your pull request that should be addressed (click on them for more details) 👇

⚠️ Suggestion: Missing changelog entries


Your changes should be noted in the changelog, e.g.:
- chore(expo-router,jest-expo): Tighten react-server-dom-webpack peer requirements and bump ([#41379](https://github.com/expo/expo/pull/41379) by [@kitten](https://github.com/kitten))
Read Updating Changelogs guide and consider adding an appropriate entry to the following changelogs:


Generated by ExpoBot 🤖 against e75ce52

@expo-bot expo-bot added bot: suggestions ExpoBot has some suggestions and removed bot: passed checks ExpoBot has nothing to complain about labels Dec 4, 2025
@expo-bot
Copy link
Collaborator

expo-bot commented Dec 4, 2025

The Pull Request introduced fingerprint changes against the base commit: ed5035a

Fingerprint diff
[
  {
    "op": "changed",
    "beforeSource": {
      "type": "dir",
      "filePath": "../../packages/expo-modules-core",
      "reasons": [
        "expoAutolinkingIos",
        "expoAutolinkingAndroid",
        "expoAutolinkingIos"
      ],
      "hash": "3bb286d0365a33550abac15b973cfbee6bf6746d"
    },
    "afterSource": {
      "type": "dir",
      "filePath": "../../packages/expo-modules-core",
      "reasons": [
        "expoAutolinkingIos",
        "expoAutolinkingAndroid",
        "expoAutolinkingIos"
      ],
      "hash": "7da7483f71ce550814088483fae82eec1bc9c554"
    }
  }
]

Generated by PR labeler 🤖

@kitten kitten merged commit 97e0d42 into main Dec 4, 2025
45 of 46 checks passed
@kitten kitten deleted the @kitten/security/bump-react-server-dom-webpack branch December 4, 2025 14:02
kitten added a commit that referenced this pull request Dec 4, 2025
… requirements and bump (#41379)

> [!NOTE]
> Backport will at least be needed for SDK 54, maybe SDK 53, if the
range is compatible with it

We don't need to open up the range, and can set a new minimum as of
latest publishing date. We can also bump our internal version.

`jest-expo` had a hard dependency on `react-server-dom-webpack` which
can also be switched to a peer dependency.

- Tighten peer range on `react-server-dom-webpack` and bump
- Switch `react-server-dom-webpack` to optional peers in `jest-expo` and
bump

- CI-only

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [x] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)

---------

Co-authored-by: Vojtech Novak <vonovak@gmail.com>
kitten added a commit that referenced this pull request Dec 4, 2025
… requirements and bump (#41379)

> [!NOTE]
> Backport will at least be needed for SDK 54, maybe SDK 53, if the
range is compatible with it

We don't need to open up the range, and can set a new minimum as of
latest publishing date. We can also bump our internal version.

`jest-expo` had a hard dependency on `react-server-dom-webpack` which
can also be switched to a peer dependency.

- Tighten peer range on `react-server-dom-webpack` and bump
- Switch `react-server-dom-webpack` to optional peers in `jest-expo` and
bump

- CI-only

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [x] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)

---------

Co-authored-by: Vojtech Novak <vonovak@gmail.com>
kitten added a commit that referenced this pull request Dec 4, 2025
…edNativeModules.json` and bump (#41417)

# Why

Related to:
- #41379
-
8f714de

# How

- ~~Bump `react-server-dom-webpack` to align with `react` version on
`sdk-54`~~
- Add to `bundledNativeModules.json`

# Test Plan

<!--
Please describe how you tested this change and how a reviewer could
reproduce your test, especially if this PR does not include automated
tests! If possible, please also provide terminal output and/or
screenshots demonstrating your test/reproduction.
-->

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [x] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
kitten added a commit that referenced this pull request Dec 4, 2025
…edNativeModules.json` (#41429)

# Why

Related to: #41379

As stated in #41417, we won't bump
`react-server-dom-webpack` for now for `expo/expo`, since the Flight
format has changed and the debug information needs to be parsed and
formatted

# How

- Add `react-server-dom-webpack` to `bundledNativeModules.json`

# Test Plan

- n/a

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [x] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
kitten added a commit that referenced this pull request Dec 4, 2025
…edNativeModules.json` (#41423)

# Why

Related to:
- #41379
-
a6674f5

# How

- Add `react-server-dom-webpack` to `bundledNativeModules.json`

# Test Plan

<!--
Please describe how you tested this change and how a reviewer could
reproduce your test, especially if this PR does not include automated
tests! If possible, please also provide terminal output and/or
screenshots demonstrating your test/reproduction.
-->

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [x] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
@Kudo Kudo added the published Changes from the PR have been published to npm label Dec 5, 2025
aleqsio pushed a commit that referenced this pull request Dec 5, 2025
… requirements and bump (#41379)

# Why

> [!NOTE]
> Backport will at least be needed for SDK 54, maybe SDK 53, if the
range is compatible with it

We don't need to open up the range, and can set a new minimum as of
latest publishing date. We can also bump our internal version.

`jest-expo` had a hard dependency on `react-server-dom-webpack` which
can also be switched to a peer dependency.

# How

- Tighten peer range on `react-server-dom-webpack` and bump
- Switch `react-server-dom-webpack` to optional peers in `jest-expo` and
bump

# Test Plan

- CI-only

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [x] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)

---------

Co-authored-by: Vojtech Novak <vonovak@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: fingerprint changed bot: suggestions ExpoBot has some suggestions published Changes from the PR have been published to npm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants