Skip to content

Commit c1cdded

Browse files
committed
chore: format
1 parent 51c2a0f commit c1cdded

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

1717
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
18-
1918
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
2019
- [`createContext`](https://reactrouter.com/api/utils/createContext)
2120
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -239,7 +238,6 @@
239238
### Major Changes
240239

241240
- 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))
242-
243241
- `createCookie`
244242
- `createCookieSessionStorage`
245243
- `createMemorySessionStorage`
@@ -248,7 +246,6 @@
248246
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)
249247

250248
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
251-
252249
- `createCookieFactory`
253250
- `createSessionStorageFactory`
254251
- `createCookieSessionStorageFactory`

packages/react-router-cloudflare/CHANGELOG.md

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

1616
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
17-
1817
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
1918
- [`createContext`](https://reactrouter.com/api/utils/createContext)
2019
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -213,7 +212,6 @@
213212

214213
- 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))
215214
- 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))
216-
217215
- `createCookie`
218216
- `createCookieSessionStorage`
219217
- `createMemorySessionStorage`
@@ -222,7 +220,6 @@
222220
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)
223221

224222
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
225-
226223
- `createCookieFactory`
227224
- `createSessionStorageFactory`
228225
- `createCookieSessionStorageFactory`

packages/react-router-dev/CHANGELOG.md

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

1919
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
20-
2120
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
2221
- [`createContext`](https://reactrouter.com/api/utils/createContext)
2322
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -760,7 +759,6 @@
760759
```
761760
762761
This initial implementation targets type inference for:
763-
764762
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
765763
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
766764
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -775,7 +773,6 @@
775773
```
776774
777775
Check out our docs for more:
778-
779776
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
780777
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
781778
@@ -975,7 +972,6 @@
975972
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
976973
977974
- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
978-
979975
- `--sourcemapClient`
980976
981977
- `--sourcemapClient=inline`
@@ -1312,7 +1308,6 @@
13121308
- 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))
13131309
13141310
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:
1315-
13161311
- Leveraging a data source local to the browser (i.e., `localStorage`)
13171312
- Managing a client-side cache of server data (like `IndexedDB`)
13181313
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1716,7 +1711,6 @@
17161711
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
17171712
17181713
Written to server build directory (`build/` by default):
1719-
17201714
- `metafile.css.json`
17211715
- `metafile.js.json` (browser JS)
17221716
- `metafile.server.json` (server JS)
@@ -1814,7 +1808,6 @@
18141808
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
18151809
18161810
New options:
1817-
18181811
- `--tls-key` / `tlsKey`: TLS key
18191812
- `--tls-cert` / `tlsCert`: TLS Certificate
18201813
@@ -2085,7 +2078,6 @@
20852078
```
20862079
20872080
The dev server will:
2088-
20892081
- force `NODE_ENV=development` and warn you if it was previously set to something else
20902082
- rebuild your app whenever your Remix app code changes
20912083
- 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
@@ -15,7 +15,6 @@
1515
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
1616

1717
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
18-
1918
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
2019
- [`createContext`](https://reactrouter.com/api/utils/createContext)
2120
- `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
@@ -14,7 +14,6 @@
1414
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
1515

1616
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
17-
1817
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
1918
- [`createContext`](https://reactrouter.com/api/utils/createContext)
2019
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -214,7 +213,6 @@
214213
- Remove single fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522))
215214

216215
- 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))
217-
218216
- `createCookie`
219217
- `createCookieSessionStorage`
220218
- `createMemorySessionStorage`
@@ -223,7 +221,6 @@
223221
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)
224222

225223
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
226-
227224
- `createCookieFactory`
228225
- `createSessionStorageFactory`
229226
- `createCookieSessionStorageFactory`
@@ -631,12 +628,10 @@
631628
- 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))
632629
633630
Informational Resources:
634-
635631
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
636632
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
637633
638634
Documentation Resources (better docs specific to Remix are in the works):
639-
640635
- <https://reactrouter.com/en/main/utils/defer>
641636
- <https://reactrouter.com/en/main/components/await>
642637
- <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
@@ -626,12 +626,10 @@
626626
- 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))
627627

628628
Informational Resources:
629-
630629
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
631630
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
632631

633632
Documentation Resources (better docs specific to Remix are in the works):
634-
635633
- <https://reactrouter.com/en/main/utils/defer>
636634
- <https://reactrouter.com/en/main/components/await>
637635
- <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
@@ -13,7 +13,6 @@
1313
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
1414

1515
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
16-
1716
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
1817
- [`createContext`](https://reactrouter.com/api/utils/createContext)
1918
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -40,7 +39,7 @@
4039

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

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

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

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

9190
- Fix types for `UIMatch` to reflect that the `loaderData`/`data` properties may be `undefined` ([#12206](https://github.com/remix-run/react-router/pull/12206))
92-
9391
- 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
9492
- 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
9593
- ⚠️ 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.
@@ -123,7 +121,6 @@
123121
- \[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))
124122

125123
- \[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))
126-
127124
- The API has been renamed to `unstable_generateMiddlewareResponse` for clarity
128125
- 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
129126
- The `query` version of the API now has a signature of `(query: (r: Request) => Promise<StaticHandlerContext | Response>) => Promise<Response>`
@@ -769,7 +766,6 @@
769766
```
770767

771768
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:
772-
773769
- Library mode - `createBrowserRouter(routes, { unstable_getContext })`
774770
- Framework mode - `<HydratedRouter unstable_getContext>`
775771

@@ -957,7 +953,6 @@ _No changes_
957953
- Remove `future.v7_normalizeFormMethod` future flag ([#11697](https://github.com/remix-run/react-router/pull/11697))
958954

959955
- 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))
960-
961956
- `createCookie`
962957
- `createCookieSessionStorage`
963958
- `createMemorySessionStorage`
@@ -966,7 +961,6 @@ _No changes_
966961
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)
967962

968963
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
969-
970964
- `createCookieFactory`
971965
- `createSessionStorageFactory`
972966
- `createCookieSessionStorageFactory`
@@ -1122,7 +1116,6 @@ _No changes_
11221116
```
11231117

11241118
This initial implementation targets type inference for:
1125-
11261119
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
11271120
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
11281121
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -1137,7 +1130,6 @@ _No changes_
11371130
```
11381131

11391132
Check out our docs for more:
1140-
11411133
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
11421134
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
11431135

0 commit comments

Comments
 (0)