Skip to content
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
7 changes: 0 additions & 7 deletions .changeset/happy-hornets-judge.md

This file was deleted.

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

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/twelve-dogs-pump.md

This file was deleted.

1 change: 1 addition & 0 deletions integration/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Minor Changes

- Unstable Vite support for Node-based Remix apps ([#7590](https://github.com/remix-run/remix/pull/7590))

- `remix build` 👉 `vite build && vite build --ssr`
- `remix dev` 👉 `vite dev`

Expand Down
2 changes: 1 addition & 1 deletion packages/create-react-router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `create-react-router`

## 7.9.3-pre.0
## 7.9.3

## 7.9.2

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.9.3-pre.0",
"version": "7.9.3",
"description": "Create a new React Router app",
"homepage": "https://reactrouter.com",
"bugs": {
Expand Down
9 changes: 6 additions & 3 deletions packages/react-router-architect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# `@react-router/architect`

## 7.9.3-pre.0
## 7.9.3

### Patch Changes

- Updated dependencies:
- `react-router@7.9.3-pre.0`
- `@react-router/node@7.9.3-pre.0`
- `react-router@7.9.3`
- `@react-router/node@7.9.3`

## 7.9.2

Expand All @@ -31,6 +31,7 @@
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))

We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:

- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
- [`createContext`](https://reactrouter.com/api/utils/createContext)
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
Expand Down Expand Up @@ -254,6 +255,7 @@
### Major Changes

- For Remix consumers migrating to React Router, the `crypto` global from the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) is now required when using cookie and session APIs. This means that the following APIs are provided from `react-router` rather than platform-specific packages: ([#11837](https://github.com/remix-run/react-router/pull/11837))

- `createCookie`
- `createCookieSessionStorage`
- `createMemorySessionStorage`
Expand All @@ -262,6 +264,7 @@
For consumers running older versions of Node, the `installGlobals` function from `@remix-run/node` has been updated to define `globalThis.crypto`, using [Node's `require('node:crypto').webcrypto` implementation.](https://nodejs.org/api/webcrypto.html)

Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:

- `createCookieFactory`
- `createSessionStorageFactory`
- `createCookieSessionStorageFactory`
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.9.3-pre.0",
"version": "7.9.3",
"description": "Architect server request handler for React Router",
"bugs": {
"url": "https://github.com/remix-run/react-router/issues"
Expand Down
7 changes: 5 additions & 2 deletions packages/react-router-cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# `@react-router/cloudflare`

## 7.9.3-pre.0
## 7.9.3

### Patch Changes

- Updated dependencies:
- `react-router@7.9.3-pre.0`
- `react-router@7.9.3`

## 7.9.2

Expand All @@ -28,6 +28,7 @@
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))

We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:

- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
- [`createContext`](https://reactrouter.com/api/utils/createContext)
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
Expand Down Expand Up @@ -226,6 +227,7 @@

- For Remix consumers migrating to React Router, all exports from `@remix-run/cloudflare-pages` are now provided for React Router consumers in the `@react-router/cloudflare` package. There is no longer a separate package for Cloudflare Pages. ([#11801](https://github.com/remix-run/react-router/pull/11801))
- For Remix consumers migrating to React Router, the `crypto` global from the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) is now required when using cookie and session APIs. This means that the following APIs are provided from `react-router` rather than platform-specific packages: ([#11837](https://github.com/remix-run/react-router/pull/11837))

- `createCookie`
- `createCookieSessionStorage`
- `createMemorySessionStorage`
Expand All @@ -234,6 +236,7 @@
For consumers running older versions of Node, the `installGlobals` function from `@remix-run/node` has been updated to define `globalThis.crypto`, using [Node's `require('node:crypto').webcrypto` implementation.](https://nodejs.org/api/webcrypto.html)

Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:

- `createCookieFactory`
- `createSessionStorageFactory`
- `createCookieSessionStorageFactory`
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.9.3-pre.0",
"version": "7.9.3",
"description": "Cloudflare platform abstractions for React Router",
"bugs": {
"url": "https://github.com/remix-run/react-router/issues"
Expand Down
16 changes: 12 additions & 4 deletions packages/react-router-dev/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# `@react-router/dev`

## 7.9.3-pre.0
## 7.9.3

### Patch Changes

- Updated dependencies:
- `react-router@7.9.3-pre.0`
- `@react-router/node@7.9.3-pre.0`
- `@react-router/serve@7.9.3-pre.0`
- `react-router@7.9.3`
- `@react-router/node@7.9.3`
- `@react-router/serve@7.9.3`

## 7.9.2

Expand Down Expand Up @@ -45,6 +45,7 @@
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))

We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:

- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
- [`createContext`](https://reactrouter.com/api/utils/createContext)
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
Expand Down Expand Up @@ -787,6 +788,7 @@
```

This initial implementation targets type inference for:

- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
Expand All @@ -801,6 +803,7 @@
```

Check out our docs for more:

- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)

Expand Down Expand Up @@ -1000,6 +1003,7 @@
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))

- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))

- `--sourcemapClient`

- `--sourcemapClient=inline`
Expand Down Expand Up @@ -1336,6 +1340,7 @@
- Add support for `clientLoader`/`clientAction`/`HydrateFallback` route exports ([RFC](https://github.com/remix-run/remix/discussions/7634)) ([#8173](https://github.com/remix-run/remix/pull/8173))

Remix now supports loaders/actions that run on the client (in addition to, or instead of the loader/action that runs on the server). While we still recommend server loaders/actions for the majority of your data needs in a Remix app - these provide some levers you can pull for more advanced use-cases such as:

- Leveraging a data source local to the browser (i.e., `localStorage`)
- Managing a client-side cache of server data (like `IndexedDB`)
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
Expand Down Expand Up @@ -1739,6 +1744,7 @@
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))

Written to server build directory (`build/` by default):

- `metafile.css.json`
- `metafile.js.json` (browser JS)
- `metafile.server.json` (server JS)
Expand Down Expand Up @@ -1836,6 +1842,7 @@
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))

New options:

- `--tls-key` / `tlsKey`: TLS key
- `--tls-cert` / `tlsCert`: TLS Certificate

Expand Down Expand Up @@ -2106,6 +2113,7 @@
```

The dev server will:

- force `NODE_ENV=development` and warn you if it was previously set to something else
- rebuild your app whenever your Remix app code changes
- restart your app server whenever rebuilds succeed
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.9.3-pre.0",
"version": "7.9.3",
"description": "Dev tools and CLI for React Router",
"homepage": "https://reactrouter.com",
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react-router-dom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# react-router-dom

## 7.9.3-pre.0
## 7.9.3

### Patch Changes

- Updated dependencies:
- `react-router@7.9.3-pre.0`
- `react-router@7.9.3`

## 7.9.2

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.9.3-pre.0",
"version": "7.9.3",
"description": "Declarative routing for React web applications",
"keywords": [
"react",
Expand Down
7 changes: 4 additions & 3 deletions packages/react-router-express/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# `@react-router/express`

## 7.9.3-pre.0
## 7.9.3

### Patch Changes

- Updated dependencies:
- `react-router@7.9.3-pre.0`
- `@react-router/node@7.9.3-pre.0`
- `react-router@7.9.3`
- `@react-router/node@7.9.3`

## 7.9.2

Expand All @@ -31,6 +31,7 @@
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))

We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:

- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
- [`createContext`](https://reactrouter.com/api/utils/createContext)
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
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.9.3-pre.0",
"version": "7.9.3",
"description": "Express server request handler for React Router",
"bugs": {
"url": "https://github.com/remix-run/react-router/issues"
Expand Down
4 changes: 2 additions & 2 deletions packages/react-router-fs-routes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# `@react-router/fs-routes`

## 7.9.3-pre.0
## 7.9.3

### Patch Changes

- Updated dependencies:
- `@react-router/dev@7.9.3-pre.0`
- `@react-router/dev@7.9.3`

## 7.9.2

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.9.3-pre.0",
"version": "7.9.3",
"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
9 changes: 7 additions & 2 deletions packages/react-router-node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# `@react-router/node`

## 7.9.3-pre.0
## 7.9.3

### Patch Changes

- Updated dependencies:
- `react-router@7.9.3-pre.0`
- `react-router@7.9.3`

## 7.9.2

Expand All @@ -28,6 +28,7 @@
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))

We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:

- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
- [`createContext`](https://reactrouter.com/api/utils/createContext)
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
Expand Down Expand Up @@ -227,6 +228,7 @@
- Remove single fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522))

- For Remix consumers migrating to React Router, the `crypto` global from the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) is now required when using cookie and session APIs. This means that the following APIs are provided from `react-router` rather than platform-specific packages: ([#11837](https://github.com/remix-run/react-router/pull/11837))

- `createCookie`
- `createCookieSessionStorage`
- `createMemorySessionStorage`
Expand All @@ -235,6 +237,7 @@
For consumers running older versions of Node, the `installGlobals` function from `@remix-run/node` has been updated to define `globalThis.crypto`, using [Node's `require('node:crypto').webcrypto` implementation.](https://nodejs.org/api/webcrypto.html)

Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:

- `createCookieFactory`
- `createSessionStorageFactory`
- `createCookieSessionStorageFactory`
Expand Down Expand Up @@ -642,10 +645,12 @@
- Introduces the `defer()` API from `@remix-run/router` with support for server-rendering and HTTP streaming. This utility allows you to defer values returned from `loader` functions by returning promises instead of resolved values. This has been refered to as _"sending a promise over the wire"_. ([#4920](https://github.com/remix-run/remix/pull/4920))

Informational Resources:

- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>

Documentation Resources (better docs specific to Remix are in the works):

- <https://reactrouter.com/en/main/utils/defer>
- <https://reactrouter.com/en/main/components/await>
- <https://reactrouter.com/en/main/hooks/use-async-value>
Expand Down
Loading