Skip to content

Commit 6683e85

Browse files
chore: Update version for release (pre) (#14943)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 610addc commit 6683e85

23 files changed

Lines changed: 221 additions & 12 deletions

File tree

.changeset/pre.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,14 @@
3737
"@playground/split-route-modules-spa": "0.0.0",
3838
"@playground/vite-plugin-cloudflare": "0.0.0"
3939
},
40-
"changesets": []
40+
"changesets": [
41+
"mighty-books-sing",
42+
"olive-suns-rest",
43+
"rsc-module-api",
44+
"slimy-tips-explode",
45+
"support-vite-8",
46+
"sweet-trees-visit",
47+
"weak-maps-double",
48+
"weak-poems-press"
49+
]
4150
}

packages/create-react-router/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# `create-react-router`
22

3+
## 7.14.0-pre.0
4+
35
## 7.13.2
46

57
### Patch Changes

packages/create-react-router/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-react-router",
3-
"version": "7.13.2",
3+
"version": "7.14.0-pre.0",
44
"description": "Create a new React Router app",
55
"homepage": "https://reactrouter.com",
66
"bugs": {

packages/react-router-architect/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# `@react-router/architect`
22

3+
## 7.14.0-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `react-router@7.14.0-pre.0`
9+
- `@react-router/node@7.14.0-pre.0`
10+
311
## 7.13.2
412

513
### Patch Changes

packages/react-router-architect/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-router/architect",
3-
"version": "7.13.2",
3+
"version": "7.14.0-pre.0",
44
"description": "Architect server request handler for React Router",
55
"bugs": {
66
"url": "https://github.com/remix-run/react-router/issues"

packages/react-router-cloudflare/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# `@react-router/cloudflare`
22

3+
## 7.14.0-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `react-router@7.14.0-pre.0`
9+
310
## 7.13.2
411

512
### Patch Changes

packages/react-router-cloudflare/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-router/cloudflare",
3-
"version": "7.13.2",
3+
"version": "7.14.0-pre.0",
44
"description": "Cloudflare platform abstractions for React Router",
55
"bugs": {
66
"url": "https://github.com/remix-run/react-router/issues"

packages/react-router-dev/CHANGELOG.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,78 @@
11
# `@react-router/dev`
22

3+
## 7.14.0-pre.0
4+
5+
### Minor Changes
6+
7+
- Add support for Vite 8 ([#14876](https://github.com/remix-run/react-router/pull/14876))
8+
9+
### Patch Changes
10+
11+
- support for prerendering multiple server bundles with v8_viteEnvironmentApi ([#14921](https://github.com/remix-run/react-router/pull/14921))
12+
- rsc framework mode prerender / spa mode support ([#14907](https://github.com/remix-run/react-router/pull/14907))
13+
- UNSTABLE RSC FRAMEWORK MODE BREAKING CHANGE - Existing route module exports remain unchanged from stable v7 non-RSC mode, but new exports are added for RSC mode. If you want to use RSC features, you will need to update your route modules to export the new annotations. ([#14901](https://github.com/remix-run/react-router/pull/14901))
14+
15+
If you are using RSC framework mode currently, you will need to update your route modules to the new conventions. The following route module components have their own mutually exclusive server component counterparts:
16+
17+
| Server Component Export | Client Component |
18+
| ----------------------- | ----------------- |
19+
| `ServerComponent` | `default` |
20+
| `ServerErrorBoundary` | `ErrorBoundary` |
21+
| `ServerLayout` | `Layout` |
22+
| `ServerHydrateFallback` | `HydrateFallback` |
23+
24+
If you were previously exporting a `ServerComponent`, your `ErrorBoundary`, `Layout`, and `HydrateFallback` were also server components. If you want to keep those as server components, you can rename them and prefix them with `Server`. If you were previously importing the implementations of those components from a client module, you can simply inline them.
25+
26+
Example:
27+
28+
Before
29+
30+
```tsx
31+
import { ErrorBoundary as ClientErrorBoundary } from "./client";
32+
33+
export function ServerComponent() {
34+
// ...
35+
}
36+
37+
export function ErrorBoundary() {
38+
return <ClientErrorBoundary />;
39+
}
40+
41+
export function Layout() {
42+
// ...
43+
}
44+
45+
export function HydrateFallback() {
46+
// ...
47+
}
48+
```
49+
50+
After
51+
52+
```tsx
53+
export function ServerComponent() {
54+
// ...
55+
}
56+
57+
export function ErrorBoundary() {
58+
// previous implementation of ClientErrorBoundary, this is now a client component
59+
}
60+
61+
export function ServerLayout() {
62+
// rename previous Layout export to ServerLayout to make it a server component
63+
}
64+
65+
export function ServerHydrateFallback() {
66+
// rename previous HydrateFallback export to ServerHydrateFallback to make it a server component
67+
}
68+
```
69+
70+
- update the reveal command to support rsc for `entry.client`, `entry.rsc`, `entry.ssr` ([#14904](https://github.com/remix-run/react-router/pull/14904))
71+
- Updated dependencies:
72+
- `react-router@7.14.0-pre.0`
73+
- `@react-router/node@7.14.0-pre.0`
74+
- `@react-router/serve@7.14.0-pre.0`
75+
376
## 7.13.2
477

578
### Patch Changes

packages/react-router-dev/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-router/dev",
3-
"version": "7.13.2",
3+
"version": "7.14.0-pre.0",
44
"description": "Dev tools and CLI for React Router",
55
"homepage": "https://reactrouter.com",
66
"bugs": {

packages/react-router-dom/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# react-router-dom
22

3+
## 7.14.0-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `react-router@7.14.0-pre.0`
9+
310
## 7.13.2
411

512
### Patch Changes

0 commit comments

Comments
 (0)