Skip to content

Commit 49e7664

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

File tree

29 files changed

+146
-90
lines changed

29 files changed

+146
-90
lines changed

.changeset/calm-pants-film.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/curvy-pears-yawn.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/cyan-cougars-trade.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/metal-starfishes-build.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/nice-files-grow.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/two-needles-sell.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/witty-buttons-shake.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

packages/create-react-router/CHANGELOG.md

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

3+
## 7.6.2
4+
5+
### Patch Changes
6+
7+
- Update `tar-fs` ([#13675](https://github.com/remix-run/react-router/pull/13675))
8+
39
## 7.6.1
410

511
_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.6.1",
3+
"version": "7.6.2",
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.6.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
9+
- `@react-router/[email protected]`
10+
311
## 7.6.1
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.6.1",
3+
"version": "7.6.2",
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.6.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
9+
310
## 7.6.1
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.6.1",
3+
"version": "7.6.2",
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: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,67 @@
11
# `@react-router/dev`
22

3+
## 7.6.2
4+
5+
### Patch Changes
6+
7+
- Avoid additional `with-props` chunk in Framework Mode by moving route module component prop logic from the Vite plugin to `react-router` ([#13650](https://github.com/remix-run/react-router/pull/13650))
8+
9+
- When `future.unstable_viteEnvironmentApi` is enabled and an absolute Vite `base` has been configured, ensure critical CSS is handled correctly during development ([#13598](https://github.com/remix-run/react-router/pull/13598))
10+
11+
- Update `vite-node` ([#13673](https://github.com/remix-run/react-router/pull/13673))
12+
13+
- Fix typegen for non-{.js,.jsx,.ts,.tsx} routes like .mdx ([#12453](https://github.com/remix-run/react-router/pull/12453))
14+
15+
- Fix href types for optional dynamic params ([#13725](https://github.com/remix-run/react-router/pull/13725))
16+
17+
7.6.1 introduced fixes for `href` when using optional static segments,
18+
but those fixes caused regressions with how optional dynamic params worked in 7.6.0:
19+
20+
```ts
21+
// 7.6.0
22+
href("/users/:id?"); //
23+
href("/users/:id?", { id: 1 }); //
24+
25+
// 7.6.1
26+
href("/users/:id?"); //
27+
href("/users/:id?", { id: 1 }); //
28+
```
29+
30+
Now, optional static segments are expanded into different paths for `href`, but optional dynamic params are not.
31+
This way `href` can unambiguously refer to an exact URL path, all while keeping the number of path options to a minimum.
32+
33+
```ts
34+
// 7.6.2
35+
36+
// path: /users/:id?/edit?
37+
href("
38+
// ^ suggestions when cursor is here:
39+
//
40+
// /users/:id?
41+
// /users/:id?/edit
42+
```
43+
44+
Additionally, you can pass `params` from component props without needing to narrow them manually:
45+
46+
```ts
47+
declare const params: { id?: number };
48+
49+
// 7.6.0
50+
href("/users/:id?", params);
51+
52+
// 7.6.1
53+
href("/users/:id?", params); //
54+
"id" in params ? href("/users/:id", params) : href("/users"); // works... but is annoying
55+
56+
// 7.6.2
57+
href("/users/:id?", params); // restores behavior of 7.6.0
58+
```
59+
60+
- Updated dependencies:
61+
- `react-router@7.6.2`
62+
- `@react-router/node@7.6.2`
63+
- `@react-router/serve@7.6.2`
64+
365
## 7.6.1
466
567
### 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.6.1",
3+
"version": "7.6.2",
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.6.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
9+
310
## 7.6.1
411

512
### Patch Changes

packages/react-router-dom/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-dom",
3-
"version": "7.6.1",
3+
"version": "7.6.2",
44
"description": "Declarative routing for React web applications",
55
"keywords": [
66
"react",

packages/react-router-express/CHANGELOG.md

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

3+
## 7.6.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
9+
- `@react-router/[email protected]`
10+
311
## 7.6.1
412

513
### Patch Changes

packages/react-router-express/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/express",
3-
"version": "7.6.1",
3+
"version": "7.6.2",
44
"description": "Express server request handler for React Router",
55
"bugs": {
66
"url": "https://github.com/remix-run/react-router/issues"

packages/react-router-fs-routes/CHANGELOG.md

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

3+
## 7.6.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `@react-router/[email protected]`
9+
310
## 7.6.1
411

512
### Patch Changes

packages/react-router-fs-routes/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/fs-routes",
3-
"version": "7.6.1",
3+
"version": "7.6.2",
44
"description": "File system routing conventions for React Router, for use within routes.ts",
55
"bugs": {
66
"url": "https://github.com/remix-run/react-router/issues"

packages/react-router-node/CHANGELOG.md

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

3+
## 7.6.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
9+
310
## 7.6.1
411

512
### Patch Changes

packages/react-router-node/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/node",
3-
"version": "7.6.1",
3+
"version": "7.6.2",
44
"description": "Node.js platform abstractions for React Router",
55
"bugs": {
66
"url": "https://github.com/remix-run/react-router/issues"

packages/react-router-remix-routes-option-adapter/CHANGELOG.md

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

3+
## 7.6.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `@react-router/[email protected]`
9+
310
## 7.6.1
411

512
### Patch Changes

packages/react-router-remix-routes-option-adapter/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/remix-routes-option-adapter",
3-
"version": "7.6.1",
3+
"version": "7.6.2",
44
"description": "Adapter for Remix's \"routes\" config option, for use within routes.ts",
55
"bugs": {
66
"url": "https://github.com/remix-run/react-router/issues"

packages/react-router-serve/CHANGELOG.md

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

3+
## 7.6.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
9+
- `@react-router/[email protected]`
10+
- `@react-router/[email protected]`
11+
312
## 7.6.1
413

514
### Patch Changes

packages/react-router-serve/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/serve",
3-
"version": "7.6.1",
3+
"version": "7.6.2",
44
"description": "Production application server for React Router",
55
"bugs": {
66
"url": "https://github.com/remix-run/react-router/issues"

packages/react-router/CHANGELOG.md

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

3+
## 7.6.2
4+
5+
### Patch Changes
6+
7+
- Avoid additional `with-props` chunk in Framework Mode by moving route module component prop logic from the Vite plugin to `react-router` ([#13650](https://github.com/remix-run/react-router/pull/13650))
8+
- \[INTERNAL] Slight refactor of internal `headers()` function processing for use with RSC ([#13639](https://github.com/remix-run/react-router/pull/13639))
9+
310
## 7.6.1
411

512
### Patch Changes

packages/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": "react-router",
3-
"version": "7.6.1",
3+
"version": "7.6.2",
44
"description": "Declarative routing for React",
55
"keywords": [
66
"react",

0 commit comments

Comments
 (0)