Skip to content

Commit 7ac2346

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

File tree

23 files changed

+175
-12
lines changed

23 files changed

+175
-12
lines changed

.changeset/pre.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,16 @@
3434
"@playground/split-route-modules-spa": "0.0.0",
3535
"@playground/vite-plugin-cloudflare": "0.0.0"
3636
},
37-
"changesets": []
37+
"changesets": [
38+
"beige-wasps-cover",
39+
"early-moles-drum",
40+
"fix-spa-vite-preview",
41+
"friendly-moose-argue",
42+
"fuzzy-worms-decide",
43+
"hungry-pears-battle",
44+
"little-timers-occur",
45+
"serious-bobcats-impress",
46+
"spotty-masks-beg",
47+
"young-geese-pay"
48+
]
3849
}

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

57
_No 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.11.0",
3+
"version": "7.12.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.12.0-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
9+
- `@react-router/[email protected]`
10+
311
## 7.11.0
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.11.0",
3+
"version": "7.12.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.12.0-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
9+
310
## 7.11.0
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.11.0",
3+
"version": "7.12.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: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,50 @@
11
# `@react-router/dev`
22

3+
## 7.12.0-pre.0
4+
5+
### Minor Changes
6+
7+
- Add additional layer of CSRF protection by rejecting submissions to UI routes from external origins. If you need to permit access to specific external origins, you can specify them in the `react-router.config.ts` config `allowedActionOrigins` field. ([#14708](https://github.com/remix-run/react-router/pull/14708))
8+
9+
### Patch Changes
10+
11+
- Fix `Maximum call stack size exceeded` errors when HMR is triggered against code with cyclic imports ([#14522](https://github.com/remix-run/react-router/pull/14522))
12+
- fix(vite): Skip SSR middleware in preview server for SPA mode ([#14673](https://github.com/remix-run/react-router/pull/14673))
13+
- [UNSTABLE] Add a new `future.unstable_trailingSlashAwareDataRequests` flag to provide consistent behavior of `request.pathname` inside `middleware`, `loader`, and `action` functions on document and data requests when a trailing slash is present in the browser URL. ([#14644](https://github.com/remix-run/react-router/pull/14644))
14+
15+
Currently, your HTTP and `request` pathnames would be as follows for `/a/b/c` and `/a/b/c/`
16+
17+
| URL `/a/b/c` | **HTTP pathname** | **`request` pathname`** |
18+
| ------------ | ----------------- | ----------------------- |
19+
| **Document** | `/a/b/c` | `/a/b/c`|
20+
| **Data** | `/a/b/c.data` | `/a/b/c`|
21+
22+
| URL `/a/b/c/` | **HTTP pathname** | **`request` pathname`** |
23+
| ------------- | ----------------- | ----------------------- |
24+
| **Document** | `/a/b/c/` | `/a/b/c/`|
25+
| **Data** | `/a/b/c.data` | `/a/b/c` ⚠️ |
26+
27+
With this flag enabled, these pathnames will be made consistent though a new `_.data` format for client-side `.data` requests:
28+
29+
| URL `/a/b/c` | **HTTP pathname** | **`request` pathname`** |
30+
| ------------ | ----------------- | ----------------------- |
31+
| **Document** | `/a/b/c` | `/a/b/c`|
32+
| **Data** | `/a/b/c.data` | `/a/b/c`|
33+
34+
| URL `/a/b/c/` | **HTTP pathname** | **`request` pathname`** |
35+
| ------------- | ------------------ | ----------------------- |
36+
| **Document** | `/a/b/c/` | `/a/b/c/`|
37+
| **Data** | `/a/b/c/_.data` ⬅️ | `/a/b/c/`|
38+
39+
This a bug fix but we are putting it behind an opt-in flag because it has the potential to be a "breaking bug fix" if you are relying on the URL format for any other application or caching logic.
40+
41+
Enabling this flag also changes the format of client side `.data` requests from `/_root.data` to `/_.data` when navigating to `/` to align with the new format. This does not impact the `request` pathname which is still `/` in all cases.
42+
43+
- Updated dependencies:
44+
45+
- `@react-router/[email protected]`
46+
- `@react-router/[email protected]`
47+
348
## 7.11.0
449

550
### Minor 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.11.0",
3+
"version": "7.12.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.12.0-pre.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
9+
310
## 7.11.0
411

512
### Patch Changes

0 commit comments

Comments
 (0)