Skip to content

Commit 166d234

Browse files
committed
chore: format
1 parent 7bc922e commit 166d234

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

99
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
10-
1110
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
1211
- [`createContext`](https://reactrouter.com/api/utils/createContext)
1312
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -231,7 +230,6 @@
231230
### Major Changes
232231

233232
- 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))
234-
235233
- `createCookie`
236234
- `createCookieSessionStorage`
237235
- `createMemorySessionStorage`
@@ -240,7 +238,6 @@
240238
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)
241239

242240
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
243-
244241
- `createCookieFactory`
245242
- `createSessionStorageFactory`
246243
- `createCookieSessionStorageFactory`

packages/react-router-cloudflare/CHANGELOG.md

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

99
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
10-
1110
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
1211
- [`createContext`](https://reactrouter.com/api/utils/createContext)
1312
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -206,7 +205,6 @@
206205

207206
- 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))
208207
- 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))
209-
210208
- `createCookie`
211209
- `createCookieSessionStorage`
212210
- `createMemorySessionStorage`
@@ -215,7 +213,6 @@
215213
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)
216214

217215
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
218-
219216
- `createCookieFactory`
220217
- `createSessionStorageFactory`
221218
- `createCookieSessionStorageFactory`

packages/react-router-dev/CHANGELOG.md

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

99
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
10-
1110
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
1211
- [`createContext`](https://reactrouter.com/api/utils/createContext)
1312
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -750,7 +749,6 @@
750749
```
751750
752751
This initial implementation targets type inference for:
753-
754752
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
755753
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
756754
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -765,7 +763,6 @@
765763
```
766764
767765
Check out our docs for more:
768-
769766
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
770767
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
771768
@@ -965,7 +962,6 @@
965962
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
966963
967964
- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
968-
969965
- `--sourcemapClient`
970966
971967
- `--sourcemapClient=inline`
@@ -1302,7 +1298,6 @@
13021298
- 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))
13031299
13041300
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:
1305-
13061301
- Leveraging a data source local to the browser (i.e., `localStorage`)
13071302
- Managing a client-side cache of server data (like `IndexedDB`)
13081303
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1706,7 +1701,6 @@
17061701
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
17071702
17081703
Written to server build directory (`build/` by default):
1709-
17101704
- `metafile.css.json`
17111705
- `metafile.js.json` (browser JS)
17121706
- `metafile.server.json` (server JS)
@@ -1804,7 +1798,6 @@
18041798
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
18051799
18061800
New options:
1807-
18081801
- `--tls-key` / `tlsKey`: TLS key
18091802
- `--tls-cert` / `tlsCert`: TLS Certificate
18101803
@@ -2075,7 +2068,6 @@
20752068
```
20762069
20772070
The dev server will:
2078-
20792071
- force `NODE_ENV=development` and warn you if it was previously set to something else
20802072
- rebuild your app whenever your Remix app code changes
20812073
- 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
@@ -7,7 +7,6 @@
77
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
88

99
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
10-
1110
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
1211
- [`createContext`](https://reactrouter.com/api/utils/createContext)
1312
- `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
@@ -7,7 +7,6 @@
77
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
88

99
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
10-
1110
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
1211
- [`createContext`](https://reactrouter.com/api/utils/createContext)
1312
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -207,7 +206,6 @@
207206
- Remove single fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522))
208207

209208
- 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))
210-
211209
- `createCookie`
212210
- `createCookieSessionStorage`
213211
- `createMemorySessionStorage`
@@ -216,7 +214,6 @@
216214
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)
217215

218216
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
219-
220217
- `createCookieFactory`
221218
- `createSessionStorageFactory`
222219
- `createCookieSessionStorageFactory`
@@ -624,12 +621,10 @@
624621
- 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))
625622
626623
Informational Resources:
627-
628624
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
629625
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
630626
631627
Documentation Resources (better docs specific to Remix are in the works):
632-
633628
- <https://reactrouter.com/en/main/utils/defer>
634629
- <https://reactrouter.com/en/main/components/await>
635630
- <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
@@ -617,12 +617,10 @@
617617
- 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))
618618

619619
Informational Resources:
620-
621620
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
622621
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
623622

624623
Documentation Resources (better docs specific to Remix are in the works):
625-
626624
- <https://reactrouter.com/en/main/utils/defer>
627625
- <https://reactrouter.com/en/main/components/await>
628626
- <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
@@ -7,7 +7,6 @@
77
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
88

99
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
10-
1110
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
1211
- [`createContext`](https://reactrouter.com/api/utils/createContext)
1312
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -34,7 +33,7 @@
3433

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

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

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

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

8584
- Fix types for `UIMatch` to reflect that the `loaderData`/`data` properties may be `undefined` ([#12206](https://github.com/remix-run/react-router/pull/12206))
86-
8785
- 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
8886
- 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
8987
- ⚠️ 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.
@@ -117,7 +115,6 @@
117115
- \[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))
118116

119117
- \[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))
120-
121118
- The API has been renamed to `unstable_generateMiddlewareResponse` for clarity
122119
- 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
123120
- The `query` version of the API now has a signature of `(query: (r: Request) => Promise<StaticHandlerContext | Response>) => Promise<Response>`
@@ -763,7 +760,6 @@
763760
```
764761

765762
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:
766-
767763
- Library mode - `createBrowserRouter(routes, { unstable_getContext })`
768764
- Framework mode - `<HydratedRouter unstable_getContext>`
769765

@@ -951,7 +947,6 @@ _No changes_
951947
- Remove `future.v7_normalizeFormMethod` future flag ([#11697](https://github.com/remix-run/react-router/pull/11697))
952948

953949
- 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))
954-
955950
- `createCookie`
956951
- `createCookieSessionStorage`
957952
- `createMemorySessionStorage`
@@ -960,7 +955,6 @@ _No changes_
960955
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)
961956

962957
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
963-
964958
- `createCookieFactory`
965959
- `createSessionStorageFactory`
966960
- `createCookieSessionStorageFactory`
@@ -1116,7 +1110,6 @@ _No changes_
11161110
```
11171111

11181112
This initial implementation targets type inference for:
1119-
11201113
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
11211114
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
11221115
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -1131,7 +1124,6 @@ _No changes_
11311124
```
11321125

11331126
Check out our docs for more:
1134-
11351127
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
11361128
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
11371129

0 commit comments

Comments
 (0)