From 19da61f989c8c9c6a8c4bb33194bd2889b3eefee Mon Sep 17 00:00:00 2001 From: Charly Gomez Date: Wed, 28 Oct 2026 12:42:57 +0100 Subject: [PATCH 1/2] fix(remix): Drop Remix 3 release candidates from the peer range Remix 3.0.0 stable is out and 3.1.0 is latest. Nothing in the SDK depends on a release candidate, and the E2E app tests against stable. Use 3.x, matching the other peer ranges. Users still on a 3.0.0 release candidate get a peer warning and should upgrade. Co-Authored-By: Claude Opus 5.5 --- packages/remix/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/remix/package.json b/packages/remix/package.json index 35e651a3cdfa..9ba20c92c624 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -106,7 +106,7 @@ "@remix-run/react": "2.x", "@remix-run/server-runtime": "2.x", "react": "18.x", - "remix": ">=3.0.0-rc.1 <4" + "remix": "3.x" }, "scripts": { "build": "run-p build:transpile build:types", From 7348d09395f4681d5973a61dc7017a511f0d58fb Mon Sep 17 00:00:00 2001 From: Charly Gomez Date: Wed, 28 Oct 2026 13:44:58 +0100 Subject: [PATCH 2/2] test(remix): Expect the Remix 3 peer range to reject release candidates Co-Authored-By: Claude Opus 5.5 --- packages/remix/test/v3-exports.test.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/remix/test/v3-exports.test.ts b/packages/remix/test/v3-exports.test.ts index a549611f10b8..a515a9f015b3 100644 --- a/packages/remix/test/v3-exports.test.ts +++ b/packages/remix/test/v3-exports.test.ts @@ -40,11 +40,9 @@ describe('Remix 3 exports', () => { describe('the Remix 3 peer range', () => { const range = packageJson.peerDependencies.remix; - // Asserted by behaviour, so the range can change after Remix 3 reaches GA without failing here. - it('accepts release candidates', () => { - // `3.x` does not match `3.0.0-rc.1`: semver ranges exclude prereleases unless they name one. - expect(semver.satisfies('3.0.0-rc.1', range)).toBe(true); - expect(semver.satisfies('3.0.0-rc.2', range)).toBe(true); + it('rejects release candidates', () => { + expect(semver.satisfies('3.0.0-rc.1', range)).toBe(false); + expect(semver.satisfies('3.0.0-rc.5', range)).toBe(false); }); it('accepts stable 3.x', () => {