Skip to content

feat: upgrade CES templates to Expo SDK 57 - #616

Open
DavidJGrimsley wants to merge 1 commit into
roninoss:nextfrom
DavidJGrimsley:chore/expo-sdk-57
Open

feat: upgrade CES templates to Expo SDK 57#616
DavidJGrimsley wants to merge 1 commit into
roninoss:nextfrom
DavidJGrimsley:chore/expo-sdk-57

Conversation

@DavidJGrimsley

@DavidJGrimsley DavidJGrimsley commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • upgrade the next branch generated templates to Expo SDK 57 / React Native 0.86
  • align Expo-managed package ranges with SDK 57, including Expo Router 57 and the updated Software Mansion stack
  • remove obsolete generated New Architecture config and align CLI and website prebuild guidance with SDK 57's clean-by-default behavior
  • keep NativeWindUI disabled on next; a separate NativeWindUI v5 compatibility PR can re-enable it once that stack is ready

Files

  • .changeset/expo-sdk-57-upgrade.md - records a paired minor release for create-expo-stack and rn-new with SDK 57 upgrade notes
  • bun.lockb - refreshes the workspace lockfile for the SDK 57 Expo dependency graph
  • cli/package.json - aligns the CLI package's Expo dependency with SDK 57
  • cli/src/templates/base/app.json.ejs - stops generating newArchEnabled; the New Architecture is now the default, so the setting is redundant
  • cli/src/templates/base/package.json.ejs - updates generated app dependencies to Expo SDK 57 / React Native 0.86 compatible versions while preserving next's NativeWind v5 setup
  • cli/src/utilities/printOutput.ts - updates generated app run guidance to use expo prebuild without --clean
  • package.json - aligns the monorepo root Expo dependency with SDK 57
  • www/demo/steps/printOutput.js - keeps the website CLI demo's prebuild instructions consistent with the real CLI

Verification

  • bun install
  • bun run build:cli
  • bun run snapshot-update from cli/
  • bun run test from cli/

Notes

  • The EAS completion-output fix was split out because it is independent of SDK 57.
  • NativeWindUI remains hidden on next until a dedicated NativeWindUI v5 compatibility pass is ready.

Copilot AI review requested due to automatic review settings July 9, 2026 15:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the generated Create Expo Stack (CES) templates (and the CLI’s own Expo dependency) to align with Expo SDK 57 / React Native 0.86, including updating Expo-managed package ranges, removing now-redundant New Architecture config, and adjusting prebuild guidance to match SDK 57 behavior.

Changes:

  • Bump Expo dependency versions to SDK 57 across the repo and CLI.
  • Update generated template dependencies to SDK 57-compatible Expo + Software Mansion versions (incl. Expo Router 57).
  • Remove generated newArchEnabled config and update printed prebuild instructions for SDK 57’s default clean behavior.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
package.json Bumps repo-level Expo dependency to ~57.0.4.
cli/package.json Bumps CLI’s Expo dependency to ^57.0.4.
cli/src/utilities/printOutput.ts Updates printed prebuild guidance for SDK 57.
cli/src/templates/base/package.json.ejs Updates generated template dependency versions to SDK 57 / RN 0.86 ranges.
cli/src/templates/base/app.json.ejs Removes generated newArchEnabled config from template output.
.changeset/expo-sdk-57-upgrade.md Adds a changeset documenting the SDK 57 upgrade and related template/CLI changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cli/src/utilities/printOutput.ts
@DavidJGrimsley
DavidJGrimsley marked this pull request as draft July 9, 2026 16:00
@DavidJGrimsley
DavidJGrimsley marked this pull request as ready for review July 14, 2026 15:12
@DavidJGrimsley

DavidJGrimsley commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

@danstepanov It's ready. I generated some test apps and everything looks good.

PS I noticed the EAS install-condition fix in cli/src/utilities/printOutput.ts is unrelated to the SDK 57 upgrade. It fixes an older inverted condition that caused normal EAS output to repeat the package-install step.
Would you prefer I split that one-file bug fix into a separate PR and keep this PR focused on SDK 57? The prebuild guidance changes would remain here.

@danstepanov

Copy link
Copy Markdown
Member

@DavidJGrimsley Expo SDK should probably live in next? I don't think that Expo has made SDK 57 the stable version yet. We'll also need to go through and update NativewindUI to SDK 57.

@DavidJGrimsley
DavidJGrimsley changed the base branch from main to next July 18, 2026 20:51
@DavidJGrimsley

DavidJGrimsley commented Jul 18, 2026

Copy link
Copy Markdown
Contributor Author

Split this PR per the next discussion: PR 616 now targets next and only contains the Expo SDK 57 template upgrade. I moved the independent EAS completion-output fix to its own branch/PR targeting main, and left NativeWindUI disabled on next pending a dedicated NativeWindUI v5 compatibility pass. Does that ordering match what you had in mind for the release lane?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants