Skip to content

chore: Update version for release #13366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .changeset/late-falcons-sort.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/late-rings-confess.md

This file was deleted.

38 changes: 0 additions & 38 deletions .changeset/pre.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/six-mugs-scream.md

This file was deleted.

35 changes: 0 additions & 35 deletions .changeset/spicy-lamps-look.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-parrots-rush.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wicked-birds-suffer.md

This file was deleted.

25 changes: 7 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ We manage release notes in this file instead of the paginated Github Releases Pa
- [React Router Releases](#react-router-releases)
- [v7.5.0](#v750)
- [What's Changed](#whats-changed)
- [Object API for `route.lazy`](#object-api-for-routelazy)
- [`route.lazy` Object API](#routelazy-object-api)
- [Minor Changes](#minor-changes)
- [Patch Changes](#patch-changes)
- [Unstable Changes](#unstable-changes)
Expand Down Expand Up @@ -318,13 +318,13 @@ Date: YYYY-MM-DD

## v7.5.0

Date: 2025-04-03
Date: 2025-04-04

### What's Changed

#### Object API for `route.lazy`
#### `route.lazy` Object API

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.
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.

```ts
createBrowserRouter([
Expand All @@ -339,20 +339,7 @@ createBrowserRouter([
]);
```

⚠️ 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:

```ts
createBrowserRouter([
{
path: "/show/:showId",
lazy: {
unstable_middleware: async () =>
(await import("./show.middleware.js")).middleware,
// etc.
},
},
]);
```
⚠️ 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.

### Minor Changes

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

- `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))
- `react-router` - Remove support for the `route.unstable_lazyMiddleware` property ([#13294](https://github.com/remix-run/react-router/pull/13294))
- In order to lazily load middleware, you can use the new object-based `route.lazy.unstable_middleware` API
- `@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))

### Changes by Package
Expand Down
6 changes: 4 additions & 2 deletions packages/create-react-router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# `create-react-router`

## 7.5.0-pre.1
## 7.5.0

## 7.5.0-pre.0
_No changes_

## 7.4.1

_No changes_

## 7.4.0

_No changes_
Expand Down
2 changes: 1 addition & 1 deletion packages/create-react-router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-react-router",
"version": "7.5.0-pre.1",
"version": "7.5.0",
"description": "Create a new React Router app",
"homepage": "https://reactrouter.com",
"bugs": {
Expand Down
14 changes: 3 additions & 11 deletions packages/react-router-architect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
# `@react-router/architect`

## 7.5.0-pre.1
## 7.5.0

### Patch Changes

- Updated dependencies:
- `[email protected]`
- `@react-router/[email protected]`

## 7.5.0-pre.0

### Patch Changes

- Updated dependencies:
- `[email protected]`
- `@react-router/[email protected]`
- `[email protected]`
- `@react-router/[email protected]`

## 7.4.1

Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-architect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-router/architect",
"version": "7.5.0-pre.1",
"version": "7.5.0",
"description": "Architect server request handler for React Router",
"bugs": {
"url": "https://github.com/remix-run/react-router/issues"
Expand Down
11 changes: 2 additions & 9 deletions packages/react-router-cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
# `@react-router/cloudflare`

## 7.5.0-pre.1
## 7.5.0

### Patch Changes

- Updated dependencies:
- `[email protected]`

## 7.5.0-pre.0

### Patch Changes

- Updated dependencies:
- `[email protected]`
- `[email protected]`

## 7.4.1

Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-router/cloudflare",
"version": "7.5.0-pre.1",
"version": "7.5.0",
"description": "Cloudflare platform abstractions for React Router",
"bugs": {
"url": "https://github.com/remix-run/react-router/issues"
Expand Down
17 changes: 4 additions & 13 deletions packages/react-router-dev/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
# `@react-router/dev`

## 7.5.0-pre.1

### Patch Changes

- Updated dependencies:
- `[email protected]`
- `@react-router/[email protected]`
- `@react-router/[email protected]`

## 7.5.0-pre.0
## 7.5.0

### Patch Changes

Expand All @@ -18,9 +9,9 @@
- 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))
- 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))
- Updated dependencies:
- `[email protected]-pre.0`
- `@react-router/[email protected]-pre.0`
- `@react-router/[email protected]-pre.0`
- `[email protected]`
- `@react-router/[email protected]`
- `@react-router/[email protected]`

## 7.4.1

Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-dev/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-router/dev",
"version": "7.5.0-pre.1",
"version": "7.5.0",
"description": "Dev tools and CLI for React Router",
"homepage": "https://reactrouter.com",
"bugs": {
Expand Down
11 changes: 2 additions & 9 deletions packages/react-router-dom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
# react-router-dom

## 7.5.0-pre.1
## 7.5.0

### Patch Changes

- Updated dependencies:
- `[email protected]`

## 7.5.0-pre.0

### Patch Changes

- Updated dependencies:
- `[email protected]`
- `[email protected]`

## 7.4.1

Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-dom/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router-dom",
"version": "7.5.0-pre.1",
"version": "7.5.0",
"description": "Declarative routing for React web applications",
"keywords": [
"react",
Expand Down
14 changes: 3 additions & 11 deletions packages/react-router-express/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
# `@react-router/express`

## 7.5.0-pre.1
## 7.5.0

### Patch Changes

- Updated dependencies:
- `[email protected]`
- `@react-router/[email protected]`

## 7.5.0-pre.0

### Patch Changes

- Updated dependencies:
- `[email protected]`
- `@react-router/[email protected]`
- `[email protected]`
- `@react-router/[email protected]`

## 7.4.1

Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-express/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-router/express",
"version": "7.5.0-pre.1",
"version": "7.5.0",
"description": "Express server request handler for React Router",
"bugs": {
"url": "https://github.com/remix-run/react-router/issues"
Expand Down
11 changes: 2 additions & 9 deletions packages/react-router-fs-routes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
# `@react-router/fs-routes`

## 7.5.0-pre.1
## 7.5.0

### Patch Changes

- Updated dependencies:
- `@react-router/[email protected]`

## 7.5.0-pre.0

### Patch Changes

- Updated dependencies:
- `@react-router/[email protected]`
- `@react-router/[email protected]`

## 7.4.1

Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-fs-routes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-router/fs-routes",
"version": "7.5.0-pre.1",
"version": "7.5.0",
"description": "File system routing conventions for React Router, for use within routes.ts",
"bugs": {
"url": "https://github.com/remix-run/react-router/issues"
Expand Down
11 changes: 2 additions & 9 deletions packages/react-router-node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
# `@react-router/node`

## 7.5.0-pre.1
## 7.5.0

### Patch Changes

- Updated dependencies:
- `[email protected]`

## 7.5.0-pre.0

### Patch Changes

- Updated dependencies:
- `[email protected]`
- `[email protected]`

## 7.4.1

Expand Down
Loading