Skip to content

Commit 89e2bfe

Browse files
committed
chore: format
1 parent 01040a1 commit 89e2bfe

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

4949
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
50-
5150
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
5251
- [`createContext`](https://reactrouter.com/api/utils/createContext)
5352
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -271,7 +270,6 @@
271270
### Major Changes
272271

273272
- 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))
274-
275273
- `createCookie`
276274
- `createCookieSessionStorage`
277275
- `createMemorySessionStorage`
@@ -280,7 +278,6 @@
280278
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)
281279

282280
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
283-
284281
- `createCookieFactory`
285282
- `createSessionStorageFactory`
286283
- `createCookieSessionStorageFactory`

packages/react-router-cloudflare/CHANGELOG.md

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

4444
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
45-
4645
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
4746
- [`createContext`](https://reactrouter.com/api/utils/createContext)
4847
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -241,7 +240,6 @@
241240

242241
- 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))
243242
- 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))
244-
245243
- `createCookie`
246244
- `createCookieSessionStorage`
247245
- `createMemorySessionStorage`
@@ -250,7 +248,6 @@
250248
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)
251249

252250
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
253-
254251
- `createCookieFactory`
255252
- `createSessionStorageFactory`
256253
- `createCookieSessionStorageFactory`

packages/react-router-dev/CHANGELOG.md

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

171171
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
172-
173172
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
174173
- [`createContext`](https://reactrouter.com/api/utils/createContext)
175174
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -912,7 +911,6 @@
912911
```
913912
914913
This initial implementation targets type inference for:
915-
916914
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
917915
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
918916
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -927,7 +925,6 @@
927925
```
928926
929927
Check out our docs for more:
930-
931928
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
932929
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
933930
@@ -1127,7 +1124,6 @@
11271124
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
11281125
11291126
- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
1130-
11311127
- `--sourcemapClient`
11321128
11331129
- `--sourcemapClient=inline`
@@ -1464,7 +1460,6 @@
14641460
- 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))
14651461
14661462
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:
1467-
14681463
- Leveraging a data source local to the browser (i.e., `localStorage`)
14691464
- Managing a client-side cache of server data (like `IndexedDB`)
14701465
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1868,7 +1863,6 @@
18681863
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
18691864
18701865
Written to server build directory (`build/` by default):
1871-
18721866
- `metafile.css.json`
18731867
- `metafile.js.json` (browser JS)
18741868
- `metafile.server.json` (server JS)
@@ -1966,7 +1960,6 @@
19661960
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
19671961
19681962
New options:
1969-
19701963
- `--tls-key` / `tlsKey`: TLS key
19711964
- `--tls-cert` / `tlsCert`: TLS Certificate
19721965
@@ -2237,7 +2230,6 @@
22372230
```
22382231
22392232
The dev server will:
2240-
22412233
- force `NODE_ENV=development` and warn you if it was previously set to something else
22422234
- rebuild your app whenever your Remix app code changes
22432235
- 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
@@ -47,7 +47,6 @@
4747
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
4848

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

4545
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
46-
4746
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
4847
- [`createContext`](https://reactrouter.com/api/utils/createContext)
4948
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -243,7 +242,6 @@
243242
- Remove single fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522))
244243

245244
- 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))
246-
247245
- `createCookie`
248246
- `createCookieSessionStorage`
249247
- `createMemorySessionStorage`
@@ -252,7 +250,6 @@
252250
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)
253251

254252
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
255-
256253
- `createCookieFactory`
257254
- `createSessionStorageFactory`
258255
- `createCookieSessionStorageFactory`
@@ -660,12 +657,10 @@
660657
- 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))
661658
662659
Informational Resources:
663-
664660
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
665661
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
666662
667663
Documentation Resources (better docs specific to Remix are in the works):
668-
669664
- <https://reactrouter.com/en/main/utils/defer>
670665
- <https://reactrouter.com/en/main/components/await>
671666
- <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
@@ -663,12 +663,10 @@
663663
- 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))
664664

665665
Informational Resources:
666-
667666
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
668667
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
669668

670669
Documentation Resources (better docs specific to Remix are in the works):
671-
672670
- <https://reactrouter.com/en/main/utils/defer>
673671
- <https://reactrouter.com/en/main/components/await>
674672
- <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
@@ -28,7 +28,6 @@
2828
- Ensure action handlers run for routes with middleware even if no loader is present ([#14443](https://github.com/remix-run/react-router/pull/14443))
2929

3030
- 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))
31-
3231
- Framework Mode:
3332
- `entry.server.tsx`: `export const unstable_instrumentations = [...]`
3433
- `entry.client.tsx`: `<HydratedRouter unstable_instrumentations={[...]} />`
@@ -190,7 +189,6 @@
190189
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
191190

192191
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
193-
194192
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
195193
- [`createContext`](https://reactrouter.com/api/utils/createContext)
196194
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -217,7 +215,7 @@
217215

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

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

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

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

268266
- Fix types for `UIMatch` to reflect that the `loaderData`/`data` properties may be `undefined` ([#12206](https://github.com/remix-run/react-router/pull/12206))
269-
270267
- 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
271268
- 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
272269
- ⚠️ 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.
@@ -300,7 +297,6 @@
300297
- \[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))
301298

302299
- \[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))
303-
304300
- The API has been renamed to `unstable_generateMiddlewareResponse` for clarity
305301
- 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
306302
- The `query` version of the API now has a signature of `(query: (r: Request) => Promise<StaticHandlerContext | Response>) => Promise<Response>`
@@ -946,7 +942,6 @@
946942
```
947943

948944
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:
949-
950945
- Library mode - `createBrowserRouter(routes, { unstable_getContext })`
951946
- Framework mode - `<HydratedRouter unstable_getContext>`
952947

@@ -1134,7 +1129,6 @@ _No changes_
11341129
- Remove `future.v7_normalizeFormMethod` future flag ([#11697](https://github.com/remix-run/react-router/pull/11697))
11351130

11361131
- 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))
1137-
11381132
- `createCookie`
11391133
- `createCookieSessionStorage`
11401134
- `createMemorySessionStorage`
@@ -1143,7 +1137,6 @@ _No changes_
11431137
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)
11441138

11451139
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
1146-
11471140
- `createCookieFactory`
11481141
- `createSessionStorageFactory`
11491142
- `createCookieSessionStorageFactory`
@@ -1299,7 +1292,6 @@ _No changes_
12991292
```
13001293

13011294
This initial implementation targets type inference for:
1302-
13031295
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
13041296
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
13051297
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -1314,7 +1306,6 @@ _No changes_
13141306
```
13151307

13161308
Check out our docs for more:
1317-
13181309
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
13191310
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
13201311

0 commit comments

Comments
 (0)