Skip to content

Commit 4ec4999

Browse files
committed
chore: format
1 parent 51c5b96 commit 4ec4999

File tree

8 files changed

+1
-32
lines changed

8 files changed

+1
-32
lines changed

integration/CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
### Minor Changes
66

77
- Unstable Vite support for Node-based Remix apps ([#7590](https://github.com/remix-run/remix/pull/7590))
8-
98
- `remix build` 👉 `vite build && vite build --ssr`
109
- `remix dev` 👉 `vite dev`
1110

packages/react-router-architect/CHANGELOG.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
3232

3333
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
34-
3534
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
3635
- [`createContext`](https://reactrouter.com/api/utils/createContext)
3736
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -255,7 +254,6 @@
255254
### Major Changes
256255

257256
- 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))
258-
259257
- `createCookie`
260258
- `createCookieSessionStorage`
261259
- `createMemorySessionStorage`
@@ -264,7 +262,6 @@
264262
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)
265263

266264
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
267-
268265
- `createCookieFactory`
269266
- `createSessionStorageFactory`
270267
- `createCookieSessionStorageFactory`

packages/react-router-cloudflare/CHANGELOG.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
2929

3030
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
31-
3231
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
3332
- [`createContext`](https://reactrouter.com/api/utils/createContext)
3433
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -227,7 +226,6 @@
227226

228227
- 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))
229228
- 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))
230-
231229
- `createCookie`
232230
- `createCookieSessionStorage`
233231
- `createMemorySessionStorage`
@@ -236,7 +234,6 @@
236234
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)
237235

238236
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
239-
240237
- `createCookieFactory`
241238
- `createSessionStorageFactory`
242239
- `createCookieSessionStorageFactory`

packages/react-router-dev/CHANGELOG.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
4646

4747
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
48-
4948
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
5049
- [`createContext`](https://reactrouter.com/api/utils/createContext)
5150
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -788,7 +787,6 @@
788787
```
789788
790789
This initial implementation targets type inference for:
791-
792790
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
793791
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
794792
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -803,7 +801,6 @@
803801
```
804802
805803
Check out our docs for more:
806-
807804
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
808805
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
809806
@@ -1003,7 +1000,6 @@
10031000
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
10041001
10051002
- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
1006-
10071003
- `--sourcemapClient`
10081004
10091005
- `--sourcemapClient=inline`
@@ -1340,7 +1336,6 @@
13401336
- 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))
13411337
13421338
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:
1343-
13441339
- Leveraging a data source local to the browser (i.e., `localStorage`)
13451340
- Managing a client-side cache of server data (like `IndexedDB`)
13461341
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1744,7 +1739,6 @@
17441739
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
17451740
17461741
Written to server build directory (`build/` by default):
1747-
17481742
- `metafile.css.json`
17491743
- `metafile.js.json` (browser JS)
17501744
- `metafile.server.json` (server JS)
@@ -1842,7 +1836,6 @@
18421836
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
18431837
18441838
New options:
1845-
18461839
- `--tls-key` / `tlsKey`: TLS key
18471840
- `--tls-cert` / `tlsCert`: TLS Certificate
18481841
@@ -2113,7 +2106,6 @@
21132106
```
21142107
21152108
The dev server will:
2116-
21172109
- force `NODE_ENV=development` and warn you if it was previously set to something else
21182110
- rebuild your app whenever your Remix app code changes
21192111
- restart your app server whenever rebuilds succeed

packages/react-router-express/CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
3232

3333
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
34-
3534
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
3635
- [`createContext`](https://reactrouter.com/api/utils/createContext)
3736
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option

packages/react-router-node/CHANGELOG.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
2929

3030
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
31-
3231
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
3332
- [`createContext`](https://reactrouter.com/api/utils/createContext)
3433
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -228,7 +227,6 @@
228227
- Remove single fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522))
229228

230229
- 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))
231-
232230
- `createCookie`
233231
- `createCookieSessionStorage`
234232
- `createMemorySessionStorage`
@@ -237,7 +235,6 @@
237235
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)
238236

239237
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
240-
241238
- `createCookieFactory`
242239
- `createSessionStorageFactory`
243240
- `createCookieSessionStorageFactory`
@@ -645,12 +642,10 @@
645642
- 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))
646643
647644
Informational Resources:
648-
649645
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
650646
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
651647
652648
Documentation Resources (better docs specific to Remix are in the works):
653-
654649
- <https://reactrouter.com/en/main/utils/defer>
655650
- <https://reactrouter.com/en/main/components/await>
656651
- <https://reactrouter.com/en/main/hooks/use-async-value>

packages/react-router-serve/CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,12 +645,10 @@
645645
- 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))
646646

647647
Informational Resources:
648-
649648
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
650649
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
651650

652651
Documentation Resources (better docs specific to Remix are in the works):
653-
654652
- <https://reactrouter.com/en/main/utils/defer>
655653
- <https://reactrouter.com/en/main/components/await>
656654
- <https://reactrouter.com/en/main/hooks/use-async-value>

packages/react-router/CHANGELOG.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
4949

5050
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
51-
5251
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
5352
- [`createContext`](https://reactrouter.com/api/utils/createContext)
5453
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -75,7 +74,7 @@
7574

7675
- \[UNSTABLE] Add `<RouterProvider unstable_onError>`/`<HydratedRouter unstable_onError>` prop for client side error reporting ([#14162](https://github.com/remix-run/react-router/pull/14162))
7776

78-
- server action revalidation opt out via $SKIP\_REVALIDATION field ([#14154](https://github.com/remix-run/react-router/pull/14154))
77+
- server action revalidation opt out via $SKIP_REVALIDATION field ([#14154](https://github.com/remix-run/react-router/pull/14154))
7978

8079
- Properly escape interpolated param values in `generatePath()` ([#13530](https://github.com/remix-run/react-router/pull/13530))
8180

@@ -124,7 +123,6 @@
124123
- Remove dependency on `@types/node` in TypeScript declaration files ([#14059](https://github.com/remix-run/react-router/pull/14059))
125124

126125
- Fix types for `UIMatch` to reflect that the `loaderData`/`data` properties may be `undefined` ([#12206](https://github.com/remix-run/react-router/pull/12206))
127-
128126
- When an `ErrorBoundary` is being rendered, not all active matches will have loader data available, since it may have been their `loader` that threw to trigger the boundary
129127
- The `UIMatch.data` type was not correctly handing this and would always reflect the presence of data, leading to the unexpected runtime errors when an `ErrorBoundary` was rendered
130128
- ⚠️ This may cause some type errors to show up in your code for unguarded `match.data` accesses - you should properly guard for `undefined` values in those scenarios.
@@ -158,7 +156,6 @@
158156
- \[UNSTABLE] When middleware is enabled, make the `context` parameter read-only (via `Readonly<unstable_RouterContextProvider>`) so that TypeScript will not allow you to write arbitrary fields to it in loaders, actions, or middleware. ([#14097](https://github.com/remix-run/react-router/pull/14097))
159157

160158
- \[UNSTABLE] Rename and alter the signature/functionality of the `unstable_respond` API in `staticHandler.query`/`staticHandler.queryRoute` ([#14103](https://github.com/remix-run/react-router/pull/14103))
161-
162159
- The API has been renamed to `unstable_generateMiddlewareResponse` for clarity
163160
- The main functional change is that instead of running the loaders/actions before calling `unstable_respond` and handing you the result, we now pass a `query`/`queryRoute` function as a parameter and you execute the loaders/actions inside your callback, giving you full access to pre-processing and error handling
164161
- The `query` version of the API now has a signature of `(query: (r: Request) => Promise<StaticHandlerContext | Response>) => Promise<Response>`
@@ -804,7 +801,6 @@
804801
```
805802

806803
Similar to server-side requests, a fresh `context` will be created per navigation (or `fetcher` call). If you have initial data you'd like to populate in the context for every request, you can provide an `unstable_getContext` function at the root of your app:
807-
808804
- Library mode - `createBrowserRouter(routes, { unstable_getContext })`
809805
- Framework mode - `<HydratedRouter unstable_getContext>`
810806

@@ -992,7 +988,6 @@ _No changes_
992988
- Remove `future.v7_normalizeFormMethod` future flag ([#11697](https://github.com/remix-run/react-router/pull/11697))
993989

994990
- 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))
995-
996991
- `createCookie`
997992
- `createCookieSessionStorage`
998993
- `createMemorySessionStorage`
@@ -1001,7 +996,6 @@ _No changes_
1001996
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)
1002997

1003998
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
1004-
1005999
- `createCookieFactory`
10061000
- `createSessionStorageFactory`
10071001
- `createCookieSessionStorageFactory`
@@ -1157,7 +1151,6 @@ _No changes_
11571151
```
11581152

11591153
This initial implementation targets type inference for:
1160-
11611154
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
11621155
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
11631156
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -1172,7 +1165,6 @@ _No changes_
11721165
```
11731166

11741167
Check out our docs for more:
1175-
11761168
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
11771169
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
11781170

0 commit comments

Comments
 (0)