Skip to content

Commit d037c11

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

File tree

23 files changed

+194
-12
lines changed

23 files changed

+194
-12
lines changed

.changeset/pre.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,19 @@
3636
"@playground/split-route-modules-spa": "0.0.0",
3737
"@playground/vite-plugin-cloudflare": "0.0.0"
3838
},
39-
"changesets": []
39+
"changesets": [
40+
"bright-brooms-hammer",
41+
"dull-moons-share",
42+
"fluffy-walls-add",
43+
"long-brooms-shake",
44+
"olive-planets-think",
45+
"real-chairs-exercise",
46+
"rotten-grapes-cough",
47+
"shiny-pans-admire",
48+
"six-ways-carry",
49+
"spicy-camels-love",
50+
"stabilize-split-route-modules",
51+
"stabilize-vite-environment-api",
52+
"witty-ears-itch"
53+
]
4054
}

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.10.0-pre.0
4+
35
## 7.9.6
46

57
## 7.9.5

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.9.6",
3+
"version": "7.10.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.10.0-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
9+
- `@react-router/[email protected]`
10+
311
## 7.9.6
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.9.6",
3+
"version": "7.10.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.10.0-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
9+
310
## 7.9.6
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.9.6",
3+
"version": "7.10.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: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# `@react-router/dev`
22

3+
## 7.10.0-pre.0
4+
5+
### Minor Changes
6+
7+
- Stabilize `future.v8_splitRouteModules`, replacing `future.unstable_splitRouteModules` ([#14595](https://github.com/remix-run/react-router/pull/14595))
8+
- ⚠️ This is a breaking change if you have begun using `future.unstable_splitRouteModules`. Please update your `react-router.config.ts`.
9+
10+
- Stabilize `future.v8_viteEnvironmentApi`, replacing `future.unstable_viteEnvironmentApi` ([#14595](https://github.com/remix-run/react-router/pull/14595))
11+
- ⚠️ This is a breaking change if you have begun using `future.unstable_viteEnvironmentApi`. Please update your `react-router.config.ts`.
12+
13+
### Patch Changes
14+
15+
- Load environment variables before evaluating `routes.ts` ([#14446](https://github.com/remix-run/react-router/pull/14446))
16+
17+
For example, you can now compute your routes based on [`VITE_`-prefixed environment variables](https://vite.dev/guide/env-and-mode#env-variables):
18+
19+
```txt
20+
# .env
21+
VITE_ENV_ROUTE=my-route
22+
```
23+
24+
```ts
25+
// app/routes.ts
26+
import { type RouteConfig, route } from "@react-router/dev/routes";
27+
28+
const routes: RouteConfig = [];
29+
if (import.meta.env.VITE_ENV_ROUTE === "my-route") {
30+
routes.push(route("my-route", "routes/my-route.tsx"));
31+
}
32+
33+
export default routes;
34+
```
35+
36+
- Updated dependencies:
37+
38+
- `@react-router/[email protected]`
39+
- `@react-router/[email protected]`
40+
341
## 7.9.6
442

543
### 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.9.6",
3+
"version": "7.10.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.10.0-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
9+
310
## 7.9.6
411

512
### Patch Changes

0 commit comments

Comments
 (0)