Skip to content

Commit 1abe213

Browse files
committed
chore: format
1 parent 850c2c7 commit 1abe213

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

4141
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
42-
4342
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
4443
- [`createContext`](https://reactrouter.com/api/utils/createContext)
4544
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -263,7 +262,6 @@
263262
### Major Changes
264263

265264
- 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))
266-
267265
- `createCookie`
268266
- `createCookieSessionStorage`
269267
- `createMemorySessionStorage`
@@ -272,7 +270,6 @@
272270
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)
273271

274272
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
275-
276273
- `createCookieFactory`
277274
- `createSessionStorageFactory`
278275
- `createCookieSessionStorageFactory`

packages/react-router-cloudflare/CHANGELOG.md

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

3737
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
38-
3938
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
4039
- [`createContext`](https://reactrouter.com/api/utils/createContext)
4140
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -234,7 +233,6 @@
234233

235234
- 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))
236235
- 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))
237-
238236
- `createCookie`
239237
- `createCookieSessionStorage`
240238
- `createMemorySessionStorage`
@@ -243,7 +241,6 @@
243241
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)
244242

245243
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
246-
247244
- `createCookieFactory`
248245
- `createSessionStorageFactory`
249246
- `createCookieSessionStorageFactory`

packages/react-router-dev/CHANGELOG.md

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

158158
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
159-
160159
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
161160
- [`createContext`](https://reactrouter.com/api/utils/createContext)
162161
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -899,7 +898,6 @@
899898
```
900899
901900
This initial implementation targets type inference for:
902-
903901
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
904902
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
905903
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -914,7 +912,6 @@
914912
```
915913
916914
Check out our docs for more:
917-
918915
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
919916
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
920917
@@ -1114,7 +1111,6 @@
11141111
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
11151112
11161113
- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
1117-
11181114
- `--sourcemapClient`
11191115
11201116
- `--sourcemapClient=inline`
@@ -1451,7 +1447,6 @@
14511447
- 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))
14521448
14531449
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:
1454-
14551450
- Leveraging a data source local to the browser (i.e., `localStorage`)
14561451
- Managing a client-side cache of server data (like `IndexedDB`)
14571452
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1855,7 +1850,6 @@
18551850
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
18561851
18571852
Written to server build directory (`build/` by default):
1858-
18591853
- `metafile.css.json`
18601854
- `metafile.js.json` (browser JS)
18611855
- `metafile.server.json` (server JS)
@@ -1953,7 +1947,6 @@
19531947
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
19541948
19551949
New options:
1956-
19571950
- `--tls-key` / `tlsKey`: TLS key
19581951
- `--tls-cert` / `tlsCert`: TLS Certificate
19591952
@@ -2224,7 +2217,6 @@
22242217
```
22252218
22262219
The dev server will:
2227-
22282220
- force `NODE_ENV=development` and warn you if it was previously set to something else
22292221
- rebuild your app whenever your Remix app code changes
22302222
- 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
@@ -39,7 +39,6 @@
3939
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
4040

4141
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
42-
4342
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
4443
- [`createContext`](https://reactrouter.com/api/utils/createContext)
4544
- `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
@@ -36,7 +36,6 @@
3636
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
3737

3838
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
39-
4039
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
4140
- [`createContext`](https://reactrouter.com/api/utils/createContext)
4241
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -236,7 +235,6 @@
236235
- Remove single fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522))
237236

238237
- 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))
239-
240238
- `createCookie`
241239
- `createCookieSessionStorage`
242240
- `createMemorySessionStorage`
@@ -245,7 +243,6 @@
245243
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)
246244

247245
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
248-
249246
- `createCookieFactory`
250247
- `createSessionStorageFactory`
251248
- `createCookieSessionStorageFactory`
@@ -653,12 +650,10 @@
653650
- 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))
654651
655652
Informational Resources:
656-
657653
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
658654
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
659655
660656
Documentation Resources (better docs specific to Remix are in the works):
661-
662657
- <https://reactrouter.com/en/main/utils/defer>
663658
- <https://reactrouter.com/en/main/components/await>
664659
- <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
@@ -654,12 +654,10 @@
654654
- 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))
655655

656656
Informational Resources:
657-
658657
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
659658
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
660659

661660
Documentation Resources (better docs specific to Remix are in the works):
662-
663661
- <https://reactrouter.com/en/main/utils/defer>
664662
- <https://reactrouter.com/en/main/components/await>
665663
- <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
@@ -153,7 +153,6 @@
153153
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
154154

155155
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
156-
157156
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
158157
- [`createContext`](https://reactrouter.com/api/utils/createContext)
159158
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -180,7 +179,7 @@
180179

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

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

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

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

231230
- Fix types for `UIMatch` to reflect that the `loaderData`/`data` properties may be `undefined` ([#12206](https://github.com/remix-run/react-router/pull/12206))
232-
233231
- 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
234232
- 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
235233
- ⚠️ 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.
@@ -263,7 +261,6 @@
263261
- \[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))
264262

265263
- \[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))
266-
267264
- The API has been renamed to `unstable_generateMiddlewareResponse` for clarity
268265
- 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
269266
- The `query` version of the API now has a signature of `(query: (r: Request) => Promise<StaticHandlerContext | Response>) => Promise<Response>`
@@ -909,7 +906,6 @@
909906
```
910907

911908
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:
912-
913909
- Library mode - `createBrowserRouter(routes, { unstable_getContext })`
914910
- Framework mode - `<HydratedRouter unstable_getContext>`
915911

@@ -1097,7 +1093,6 @@ _No changes_
10971093
- Remove `future.v7_normalizeFormMethod` future flag ([#11697](https://github.com/remix-run/react-router/pull/11697))
10981094

10991095
- 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))
1100-
11011096
- `createCookie`
11021097
- `createCookieSessionStorage`
11031098
- `createMemorySessionStorage`
@@ -1106,7 +1101,6 @@ _No changes_
11061101
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)
11071102

11081103
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
1109-
11101104
- `createCookieFactory`
11111105
- `createSessionStorageFactory`
11121106
- `createCookieSessionStorageFactory`
@@ -1262,7 +1256,6 @@ _No changes_
12621256
```
12631257

12641258
This initial implementation targets type inference for:
1265-
12661259
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
12671260
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
12681261
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -1277,7 +1270,6 @@ _No changes_
12771270
```
12781271

12791272
Check out our docs for more:
1280-
12811273
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
12821274
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
12831275

0 commit comments

Comments
 (0)