Skip to content

Commit 15e0a5e

Browse files
chore: Update version for release (#13366)
* chore: Update version for release * Update release notes --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Matt Brophy <[email protected]>
1 parent 976a70d commit 15e0a5e

File tree

30 files changed

+47
-230
lines changed

30 files changed

+47
-230
lines changed

.changeset/late-falcons-sort.md

-6
This file was deleted.

.changeset/late-rings-confess.md

-5
This file was deleted.

.changeset/pre.json

-38
This file was deleted.

.changeset/six-mugs-scream.md

-5
This file was deleted.

.changeset/spicy-lamps-look.md

-35
This file was deleted.

.changeset/tidy-parrots-rush.md

-5
This file was deleted.

.changeset/wicked-birds-suffer.md

-5
This file was deleted.

CHANGELOG.md

+7-18
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ We manage release notes in this file instead of the paginated Github Releases Pa
1515
- [React Router Releases](#react-router-releases)
1616
- [v7.5.0](#v750)
1717
- [What's Changed](#whats-changed)
18-
- [Object API for `route.lazy`](#object-api-for-routelazy)
18+
- [`route.lazy` Object API](#routelazy-object-api)
1919
- [Minor Changes](#minor-changes)
2020
- [Patch Changes](#patch-changes)
2121
- [Unstable Changes](#unstable-changes)
@@ -318,13 +318,13 @@ Date: YYYY-MM-DD
318318

319319
## v7.5.0
320320

321-
Date: 2025-04-03
321+
Date: 2025-04-04
322322

323323
### What's Changed
324324

325-
#### Object API for `route.lazy`
325+
#### `route.lazy` Object API
326326

327-
We've introduced a new `route.lazy` API which gives you more granular control over the lazy loading of route properties that you could not achieve with the `route.lazy` function signature. This is useful for Framework mode and performance-critical library mode applications.
327+
We've introduced a new `route.lazy` API which gives you more granular control over the lazy loading of route properties that you could not achieve with the `route.lazy()` function signature. This is useful for Framework mode and performance-critical library mode applications.
328328

329329
```ts
330330
createBrowserRouter([
@@ -339,20 +339,7 @@ createBrowserRouter([
339339
]);
340340
```
341341

342-
⚠️ This is a breaking change if you have adopted the `route.unstable_lazyMiddleware` API which has been removed in favor of `route.lazy.unstable_middleware`. If you want to lazily load middleware, you must use the new object-based `route.lazy` API:
343-
344-
```ts
345-
createBrowserRouter([
346-
{
347-
path: "/show/:showId",
348-
lazy: {
349-
unstable_middleware: async () =>
350-
(await import("./show.middleware.js")).middleware,
351-
// etc.
352-
},
353-
},
354-
]);
355-
```
342+
⚠️ This is a breaking change if you have adopted the `route.unstable_lazyMiddleware` API which has been removed in favor of `route.lazy.unstable_middleware`. See the `Unstable Changes` section below for more information.
356343

357344
### Minor Changes
358345

@@ -368,6 +355,8 @@ createBrowserRouter([
368355
⚠️ _[Unstable features](https://reactrouter.com/community/api-development-strategy#unstable-flags) are not recommended for production use_
369356

370357
- `react-router` - Introduce `future.unstable_subResourceIntegrity` flag that enables generation of an `importmap` with `integrity` for the scripts that will be loaded by the browser ([#13163](https://github.com/remix-run/react-router/pull/13163))
358+
- `react-router` - Remove support for the `route.unstable_lazyMiddleware` property ([#13294](https://github.com/remix-run/react-router/pull/13294))
359+
- In order to lazily load middleware, you can use the new object-based `route.lazy.unstable_middleware` API
371360
- `@react-router/dev` - When `future.unstable_viteEnvironmentApi` is enabled, ensure critical CSS in development works when using a custom Vite `base` has been configured ([#13305](https://github.com/remix-run/react-router/pull/13305))
372361

373362
### Changes by Package

packages/create-react-router/CHANGELOG.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# `create-react-router`
22

3-
## 7.5.0-pre.1
3+
## 7.5.0
44

5-
## 7.5.0-pre.0
5+
_No changes_
66

77
## 7.4.1
88

9+
_No changes_
10+
911
## 7.4.0
1012

1113
_No changes_

packages/create-react-router/package.json

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

packages/react-router-architect/CHANGELOG.md

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
# `@react-router/architect`
22

3-
## 7.5.0-pre.1
3+
## 7.5.0
44

55
### Patch Changes
66

77
- Updated dependencies:
8-
9-
- `@react-router/[email protected]`
10-
11-
## 7.5.0-pre.0
12-
13-
### Patch Changes
14-
15-
- Updated dependencies:
16-
17-
- `@react-router/[email protected]`
8+
9+
- `@react-router/[email protected]`
1810

1911
## 7.4.1
2012

packages/react-router-architect/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-router/architect",
3-
"version": "7.5.0-pre.1",
3+
"version": "7.5.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

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
# `@react-router/cloudflare`
22

3-
## 7.5.0-pre.1
3+
## 7.5.0
44

55
### Patch Changes
66

77
- Updated dependencies:
8-
9-
10-
## 7.5.0-pre.0
11-
12-
### Patch Changes
13-
14-
- Updated dependencies:
15-
8+
169

1710
## 7.4.1
1811

packages/react-router-cloudflare/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-router/cloudflare",
3-
"version": "7.5.0-pre.1",
3+
"version": "7.5.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

+4-13
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
# `@react-router/dev`
22

3-
## 7.5.0-pre.1
4-
5-
### Patch Changes
6-
7-
- Updated dependencies:
8-
9-
- `@react-router/[email protected]`
10-
- `@react-router/[email protected]`
11-
12-
## 7.5.0-pre.0
3+
## 7.5.0
134

145
### Patch Changes
156

@@ -18,9 +9,9 @@
189
- When `future.unstable_viteEnvironmentApi` is enabled, ensure critical CSS in development works when using a custom Vite `base` has been configured ([#13305](https://github.com/remix-run/react-router/pull/13305))
1910
- Reinstate dependency optimization in the child compiler to fix `depsOptimizer is required in dev mode` errors when using `vite-plugin-cloudflare` and importing Node.js builtins ([#13317](https://github.com/remix-run/react-router/pull/13317))
2011
- Updated dependencies:
21-
22-
- `@react-router/[email protected]-pre.0`
23-
- `@react-router/[email protected]-pre.0`
12+
13+
- `@react-router/[email protected]`
14+
- `@react-router/[email protected]`
2415

2516
## 7.4.1
2617

packages/react-router-dev/package.json

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

packages/react-router-dom/CHANGELOG.md

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
# react-router-dom
22

3-
## 7.5.0-pre.1
3+
## 7.5.0
44

55
### Patch Changes
66

77
- Updated dependencies:
8-
9-
10-
## 7.5.0-pre.0
11-
12-
### Patch Changes
13-
14-
- Updated dependencies:
15-
8+
169

1710
## 7.4.1
1811

packages/react-router-dom/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-dom",
3-
"version": "7.5.0-pre.1",
3+
"version": "7.5.0",
44
"description": "Declarative routing for React web applications",
55
"keywords": [
66
"react",

packages/react-router-express/CHANGELOG.md

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
# `@react-router/express`
22

3-
## 7.5.0-pre.1
3+
## 7.5.0
44

55
### Patch Changes
66

77
- Updated dependencies:
8-
9-
- `@react-router/[email protected]`
10-
11-
## 7.5.0-pre.0
12-
13-
### Patch Changes
14-
15-
- Updated dependencies:
16-
17-
- `@react-router/[email protected]`
8+
9+
- `@react-router/[email protected]`
1810

1911
## 7.4.1
2012

packages/react-router-express/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-router/express",
3-
"version": "7.5.0-pre.1",
3+
"version": "7.5.0",
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

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
# `@react-router/fs-routes`
22

3-
## 7.5.0-pre.1
3+
## 7.5.0
44

55
### Patch Changes
66

77
- Updated dependencies:
8-
- `@react-router/[email protected]`
9-
10-
## 7.5.0-pre.0
11-
12-
### Patch Changes
13-
14-
- Updated dependencies:
15-
- `@react-router/[email protected]`
8+
- `@react-router/[email protected]`
169

1710
## 7.4.1
1811

packages/react-router-fs-routes/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-router/fs-routes",
3-
"version": "7.5.0-pre.1",
3+
"version": "7.5.0",
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

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
# `@react-router/node`
22

3-
## 7.5.0-pre.1
3+
## 7.5.0
44

55
### Patch Changes
66

77
- Updated dependencies:
8-
9-
10-
## 7.5.0-pre.0
11-
12-
### Patch Changes
13-
14-
- Updated dependencies:
15-
8+
169

1710
## 7.4.1
1811

0 commit comments

Comments
 (0)