Skip to content

Commit b4c3d7c

Browse files
committed
chore: format
1 parent 916a3c4 commit b4c3d7c

File tree

8 files changed

+1
-33
lines changed

8 files changed

+1
-33
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
@@ -55,7 +55,6 @@
5555
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
5656

5757
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
58-
5958
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
6059
- [`createContext`](https://reactrouter.com/api/utils/createContext)
6160
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -279,7 +278,6 @@
279278
### Major Changes
280279

281280
- 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))
282-
283281
- `createCookie`
284282
- `createCookieSessionStorage`
285283
- `createMemorySessionStorage`
@@ -288,7 +286,6 @@
288286
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)
289287

290288
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
291-
292289
- `createCookieFactory`
293290
- `createSessionStorageFactory`
294291
- `createCookieSessionStorageFactory`

packages/react-router-cloudflare/CHANGELOG.md

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

5151
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
52-
5352
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
5453
- [`createContext`](https://reactrouter.com/api/utils/createContext)
5554
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -248,7 +247,6 @@
248247

249248
- 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))
250249
- 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))
251-
252250
- `createCookie`
253251
- `createCookieSessionStorage`
254252
- `createMemorySessionStorage`
@@ -257,7 +255,6 @@
257255
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)
258256

259257
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
260-
261258
- `createCookieFactory`
262259
- `createSessionStorageFactory`
263260
- `createCookieSessionStorageFactory`

packages/react-router-dev/CHANGELOG.md

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

182182
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
183-
184183
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
185184
- [`createContext`](https://reactrouter.com/api/utils/createContext)
186185
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -923,7 +922,6 @@
923922
```
924923
925924
This initial implementation targets type inference for:
926-
927925
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
928926
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
929927
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -938,7 +936,6 @@
938936
```
939937
940938
Check out our docs for more:
941-
942939
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
943940
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
944941
@@ -1138,7 +1135,6 @@
11381135
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
11391136
11401137
- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
1141-
11421138
- `--sourcemapClient`
11431139
11441140
- `--sourcemapClient=inline`
@@ -1475,7 +1471,6 @@
14751471
- 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))
14761472
14771473
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:
1478-
14791474
- Leveraging a data source local to the browser (i.e., `localStorage`)
14801475
- Managing a client-side cache of server data (like `IndexedDB`)
14811476
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1879,7 +1874,6 @@
18791874
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
18801875
18811876
Written to server build directory (`build/` by default):
1882-
18831877
- `metafile.css.json`
18841878
- `metafile.js.json` (browser JS)
18851879
- `metafile.server.json` (server JS)
@@ -1977,7 +1971,6 @@
19771971
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
19781972
19791973
New options:
1980-
19811974
- `--tls-key` / `tlsKey`: TLS key
19821975
- `--tls-cert` / `tlsCert`: TLS Certificate
19831976
@@ -2248,7 +2241,6 @@
22482241
```
22492242
22502243
The dev server will:
2251-
22522244
- force `NODE_ENV=development` and warn you if it was previously set to something else
22532245
- rebuild your app whenever your Remix app code changes
22542246
- 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
@@ -55,7 +55,6 @@
5555
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
5656

5757
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
58-
5958
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
6059
- [`createContext`](https://reactrouter.com/api/utils/createContext)
6160
- `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
@@ -50,7 +50,6 @@
5050
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
5151

5252
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
53-
5453
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
5554
- [`createContext`](https://reactrouter.com/api/utils/createContext)
5655
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -250,7 +249,6 @@
250249
- Remove single fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522))
251250

252251
- 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))
253-
254252
- `createCookie`
255253
- `createCookieSessionStorage`
256254
- `createMemorySessionStorage`
@@ -259,7 +257,6 @@
259257
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)
260258

261259
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
262-
263260
- `createCookieFactory`
264261
- `createSessionStorageFactory`
265262
- `createCookieSessionStorageFactory`
@@ -667,12 +664,10 @@
667664
- 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))
668665
669666
Informational Resources:
670-
671667
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
672668
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
673669
674670
Documentation Resources (better docs specific to Remix are in the works):
675-
676671
- <https://reactrouter.com/en/main/utils/defer>
677672
- <https://reactrouter.com/en/main/components/await>
678673
- <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
@@ -672,12 +672,10 @@
672672
- 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))
673673

674674
Informational Resources:
675-
676675
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
677676
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
678677

679678
Documentation Resources (better docs specific to Remix are in the works):
680-
681679
- <https://reactrouter.com/en/main/utils/defer>
682680
- <https://reactrouter.com/en/main/components/await>
683681
- <https://reactrouter.com/en/main/hooks/use-async-value>

packages/react-router/CHANGELOG.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
- Ensure action handlers run for routes with middleware even if no loader is present ([#14443](https://github.com/remix-run/react-router/pull/14443))
6262

6363
- Add `unstable_instrumentations` API to allow users to add observablity to their apps by instrumenting route loaders, actions, middlewares, lazy, as well as server-side request handlers and client side navigations/fetches ([#14412](https://github.com/remix-run/react-router/pull/14412))
64-
6564
- Framework Mode:
6665
- `entry.server.tsx`: `export const unstable_instrumentations = [...]`
6766
- `entry.client.tsx`: `<HydratedRouter unstable_instrumentations={[...]} />`
@@ -223,7 +222,6 @@
223222
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
224223

225224
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
226-
227225
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
228226
- [`createContext`](https://reactrouter.com/api/utils/createContext)
229227
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -250,7 +248,7 @@
250248

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

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

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

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

301299
- Fix types for `UIMatch` to reflect that the `loaderData`/`data` properties may be `undefined` ([#12206](https://github.com/remix-run/react-router/pull/12206))
302-
303300
- 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
304301
- 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
305302
- ⚠️ 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.
@@ -333,7 +330,6 @@
333330
- \[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))
334331

335332
- \[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))
336-
337333
- The API has been renamed to `unstable_generateMiddlewareResponse` for clarity
338334
- 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
339335
- The `query` version of the API now has a signature of `(query: (r: Request) => Promise<StaticHandlerContext | Response>) => Promise<Response>`
@@ -979,7 +975,6 @@
979975
```
980976

981977
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:
982-
983978
- Library mode - `createBrowserRouter(routes, { unstable_getContext })`
984979
- Framework mode - `<HydratedRouter unstable_getContext>`
985980

@@ -1167,7 +1162,6 @@ _No changes_
11671162
- Remove `future.v7_normalizeFormMethod` future flag ([#11697](https://github.com/remix-run/react-router/pull/11697))
11681163

11691164
- 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))
1170-
11711165
- `createCookie`
11721166
- `createCookieSessionStorage`
11731167
- `createMemorySessionStorage`
@@ -1176,7 +1170,6 @@ _No changes_
11761170
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)
11771171

11781172
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
1179-
11801173
- `createCookieFactory`
11811174
- `createSessionStorageFactory`
11821175
- `createCookieSessionStorageFactory`
@@ -1332,7 +1325,6 @@ _No changes_
13321325
```
13331326

13341327
This initial implementation targets type inference for:
1335-
13361328
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
13371329
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
13381330
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -1347,7 +1339,6 @@ _No changes_
13471339
```
13481340

13491341
Check out our docs for more:
1350-
13511342
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
13521343
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
13531344

0 commit comments

Comments
 (0)