Skip to content

Commit 860be25

Browse files
committed
chore: format
1 parent f27ecb1 commit 860be25

File tree

8 files changed

+1
-34
lines changed

8 files changed

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

7373
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
74-
7574
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
7675
- [`createContext`](https://reactrouter.com/api/utils/createContext)
7776
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -295,7 +294,6 @@
295294
### Major Changes
296295

297296
- 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))
298-
299297
- `createCookie`
300298
- `createCookieSessionStorage`
301299
- `createMemorySessionStorage`
@@ -304,7 +302,6 @@
304302
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)
305303

306304
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
307-
308305
- `createCookieFactory`
309306
- `createSessionStorageFactory`
310307
- `createCookieSessionStorageFactory`

packages/react-router-cloudflare/CHANGELOG.md

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

6565
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
66-
6766
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
6867
- [`createContext`](https://reactrouter.com/api/utils/createContext)
6968
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -262,7 +261,6 @@
262261

263262
- 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))
264263
- 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))
265-
266264
- `createCookie`
267265
- `createCookieSessionStorage`
268266
- `createMemorySessionStorage`
@@ -271,7 +269,6 @@
271269
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)
272270

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

packages/react-router-dev/CHANGELOG.md

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

231231
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
232-
233232
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
234233
- [`createContext`](https://reactrouter.com/api/utils/createContext)
235234
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -972,7 +971,6 @@
972971
```
973972
974973
This initial implementation targets type inference for:
975-
976974
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
977975
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
978976
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -987,7 +985,6 @@
987985
```
988986
989987
Check out our docs for more:
990-
991988
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
992989
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
993990
@@ -1187,7 +1184,6 @@
11871184
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
11881185
11891186
- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
1190-
11911187
- `--sourcemapClient`
11921188
11931189
- `--sourcemapClient=inline`
@@ -1524,7 +1520,6 @@
15241520
- 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))
15251521
15261522
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:
1527-
15281523
- Leveraging a data source local to the browser (i.e., `localStorage`)
15291524
- Managing a client-side cache of server data (like `IndexedDB`)
15301525
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1928,7 +1923,6 @@
19281923
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
19291924
19301925
Written to server build directory (`build/` by default):
1931-
19321926
- `metafile.css.json`
19331927
- `metafile.js.json` (browser JS)
19341928
- `metafile.server.json` (server JS)
@@ -2026,7 +2020,6 @@
20262020
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
20272021
20282022
New options:
2029-
20302023
- `--tls-key` / `tlsKey`: TLS key
20312024
- `--tls-cert` / `tlsCert`: TLS Certificate
20322025
@@ -2297,7 +2290,6 @@
22972290
```
22982291
22992292
The dev server will:
2300-
23012293
- force `NODE_ENV=development` and warn you if it was previously set to something else
23022294
- rebuild your app whenever your Remix app code changes
23032295
- 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
@@ -71,7 +71,6 @@
7171
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
7272

7373
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
74-
7574
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
7675
- [`createContext`](https://reactrouter.com/api/utils/createContext)
7776
- `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
@@ -64,7 +64,6 @@
6464
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
6565

6666
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
67-
6867
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
6968
- [`createContext`](https://reactrouter.com/api/utils/createContext)
7069
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -264,7 +263,6 @@
264263
- Remove single fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522))
265264

266265
- 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))
267-
268266
- `createCookie`
269267
- `createCookieSessionStorage`
270268
- `createMemorySessionStorage`
@@ -273,7 +271,6 @@
273271
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)
274272

275273
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
276-
277274
- `createCookieFactory`
278275
- `createSessionStorageFactory`
279276
- `createCookieSessionStorageFactory`
@@ -681,12 +678,10 @@
681678
- 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))
682679
683680
Informational Resources:
684-
685681
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
686682
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
687683
688684
Documentation Resources (better docs specific to Remix are in the works):
689-
690685
- <https://reactrouter.com/en/main/utils/defer>
691686
- <https://reactrouter.com/en/main/components/await>
692687
- <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
@@ -690,12 +690,10 @@
690690
- 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))
691691

692692
Informational Resources:
693-
694693
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
695694
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
696695

697696
Documentation Resources (better docs specific to Remix are in the works):
698-
699697
- <https://reactrouter.com/en/main/utils/defer>
700698
- <https://reactrouter.com/en/main/components/await>
701699
- <https://reactrouter.com/en/main/hooks/use-async-value>

packages/react-router/CHANGELOG.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
- ⚠️ This is a breaking change if you have begun using `fetcher.unstable_reset()`
1515

1616
- Stabilize the `dataStrategy` `match.shouldRevalidateArgs`/`match.shouldCallHandler()` APIs. ([#14592](https://github.com/remix-run/react-router/pull/14592))
17-
1817
- The `match.shouldLoad` API is now marked deprecated in favor of these more powerful alternatives
1918

2019
- If you're using this API in a custom `dataStrategy` today, you can swap to the new API at your convenience:
@@ -143,7 +142,6 @@
143142
- Ensure action handlers run for routes with middleware even if no loader is present ([#14443](https://github.com/remix-run/react-router/pull/14443))
144143

145144
- 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))
146-
147145
- Framework Mode:
148146
- `entry.server.tsx`: `export const unstable_instrumentations = [...]`
149147
- `entry.client.tsx`: `<HydratedRouter unstable_instrumentations={[...]} />`
@@ -305,7 +303,6 @@
305303
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
306304

307305
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
308-
309306
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
310307
- [`createContext`](https://reactrouter.com/api/utils/createContext)
311308
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -332,7 +329,7 @@
332329

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

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

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

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

383380
- Fix types for `UIMatch` to reflect that the `loaderData`/`data` properties may be `undefined` ([#12206](https://github.com/remix-run/react-router/pull/12206))
384-
385381
- 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
386382
- 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
387383
- ⚠️ 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.
@@ -415,7 +411,6 @@
415411
- \[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))
416412

417413
- \[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))
418-
419414
- The API has been renamed to `unstable_generateMiddlewareResponse` for clarity
420415
- 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
421416
- The `query` version of the API now has a signature of `(query: (r: Request) => Promise<StaticHandlerContext | Response>) => Promise<Response>`
@@ -1061,7 +1056,6 @@
10611056
```
10621057

10631058
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:
1064-
10651059
- Library mode - `createBrowserRouter(routes, { unstable_getContext })`
10661060
- Framework mode - `<HydratedRouter unstable_getContext>`
10671061

@@ -1249,7 +1243,6 @@ _No changes_
12491243
- Remove `future.v7_normalizeFormMethod` future flag ([#11697](https://github.com/remix-run/react-router/pull/11697))
12501244

12511245
- 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))
1252-
12531246
- `createCookie`
12541247
- `createCookieSessionStorage`
12551248
- `createMemorySessionStorage`
@@ -1258,7 +1251,6 @@ _No changes_
12581251
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)
12591252

12601253
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
1261-
12621254
- `createCookieFactory`
12631255
- `createSessionStorageFactory`
12641256
- `createCookieSessionStorageFactory`
@@ -1414,7 +1406,6 @@ _No changes_
14141406
```
14151407

14161408
This initial implementation targets type inference for:
1417-
14181409
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
14191410
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
14201411
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -1429,7 +1420,6 @@ _No changes_
14291420
```
14301421

14311422
Check out our docs for more:
1432-
14331423
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
14341424
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
14351425

0 commit comments

Comments
 (0)