Skip to content

Commit eebd2e8

Browse files
committed
chore: format
1 parent 8d16f4f commit eebd2e8

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

2525
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
26-
2726
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
2827
- [`createContext`](https://reactrouter.com/api/utils/createContext)
2928
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -247,7 +246,6 @@
247246
### Major Changes
248247

249248
- 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))
250-
251249
- `createCookie`
252250
- `createCookieSessionStorage`
253251
- `createMemorySessionStorage`
@@ -256,7 +254,6 @@
256254
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)
257255

258256
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
259-
260257
- `createCookieFactory`
261258
- `createSessionStorageFactory`
262259
- `createCookieSessionStorageFactory`

packages/react-router-cloudflare/CHANGELOG.md

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

2323
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
24-
2524
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
2625
- [`createContext`](https://reactrouter.com/api/utils/createContext)
2726
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -220,7 +219,6 @@
220219

221220
- 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))
222221
- 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))
223-
224222
- `createCookie`
225223
- `createCookieSessionStorage`
226224
- `createMemorySessionStorage`
@@ -229,7 +227,6 @@
229227
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)
230228

231229
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
232-
233230
- `createCookieFactory`
234231
- `createSessionStorageFactory`
235232
- `createCookieSessionStorageFactory`

packages/react-router-dev/CHANGELOG.md

Lines changed: 0 additions & 8 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
@@ -779,7 +778,6 @@
779778
```
780779
781780
This initial implementation targets type inference for:
782-
783781
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
784782
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
785783
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -794,7 +792,6 @@
794792
```
795793
796794
Check out our docs for more:
797-
798795
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
799796
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
800797
@@ -994,7 +991,6 @@
994991
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
995992
996993
- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
997-
998994
- `--sourcemapClient`
999995
1000996
- `--sourcemapClient=inline`
@@ -1331,7 +1327,6 @@
13311327
- 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))
13321328
13331329
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:
1334-
13351330
- Leveraging a data source local to the browser (i.e., `localStorage`)
13361331
- Managing a client-side cache of server data (like `IndexedDB`)
13371332
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1735,7 +1730,6 @@
17351730
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
17361731
17371732
Written to server build directory (`build/` by default):
1738-
17391733
- `metafile.css.json`
17401734
- `metafile.js.json` (browser JS)
17411735
- `metafile.server.json` (server JS)
@@ -1833,7 +1827,6 @@
18331827
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
18341828
18351829
New options:
1836-
18371830
- `--tls-key` / `tlsKey`: TLS key
18381831
- `--tls-cert` / `tlsCert`: TLS Certificate
18391832
@@ -2104,7 +2097,6 @@
21042097
```
21052098
21062099
The dev server will:
2107-
21082100
- force `NODE_ENV=development` and warn you if it was previously set to something else
21092101
- rebuild your app whenever your Remix app code changes
21102102
- 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
@@ -23,7 +23,6 @@
2323
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
2424

2525
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
26-
2726
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
2827
- [`createContext`](https://reactrouter.com/api/utils/createContext)
2928
- `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
@@ -21,7 +21,6 @@
2121
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
2222

2323
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
24-
2524
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
2625
- [`createContext`](https://reactrouter.com/api/utils/createContext)
2726
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -221,7 +220,6 @@
221220
- Remove single fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522))
222221

223222
- 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))
224-
225223
- `createCookie`
226224
- `createCookieSessionStorage`
227225
- `createMemorySessionStorage`
@@ -230,7 +228,6 @@
230228
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)
231229

232230
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
233-
234231
- `createCookieFactory`
235232
- `createSessionStorageFactory`
236233
- `createCookieSessionStorageFactory`
@@ -638,12 +635,10 @@
638635
- 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))
639636
640637
Informational Resources:
641-
642638
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
643639
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
644640
645641
Documentation Resources (better docs specific to Remix are in the works):
646-
647642
- <https://reactrouter.com/en/main/utils/defer>
648643
- <https://reactrouter.com/en/main/components/await>
649644
- <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
@@ -636,12 +636,10 @@
636636
- 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))
637637

638638
Informational Resources:
639-
640639
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
641640
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
642641

643642
Documentation Resources (better docs specific to Remix are in the works):
644-
645643
- <https://reactrouter.com/en/main/utils/defer>
646644
- <https://reactrouter.com/en/main/components/await>
647645
- <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
@@ -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
@@ -66,7 +65,7 @@
6665

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

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

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

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

117116
- Fix types for `UIMatch` to reflect that the `loaderData`/`data` properties may be `undefined` ([#12206](https://github.com/remix-run/react-router/pull/12206))
118-
119117
- 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
120118
- 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
121119
- ⚠️ 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.
@@ -149,7 +147,6 @@
149147
- \[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))
150148

151149
- \[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))
152-
153150
- The API has been renamed to `unstable_generateMiddlewareResponse` for clarity
154151
- 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
155152
- The `query` version of the API now has a signature of `(query: (r: Request) => Promise<StaticHandlerContext | Response>) => Promise<Response>`
@@ -795,7 +792,6 @@
795792
```
796793

797794
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:
798-
799795
- Library mode - `createBrowserRouter(routes, { unstable_getContext })`
800796
- Framework mode - `<HydratedRouter unstable_getContext>`
801797

@@ -983,7 +979,6 @@ _No changes_
983979
- Remove `future.v7_normalizeFormMethod` future flag ([#11697](https://github.com/remix-run/react-router/pull/11697))
984980

985981
- 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))
986-
987982
- `createCookie`
988983
- `createCookieSessionStorage`
989984
- `createMemorySessionStorage`
@@ -992,7 +987,6 @@ _No changes_
992987
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)
993988

994989
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
995-
996990
- `createCookieFactory`
997991
- `createSessionStorageFactory`
998992
- `createCookieSessionStorageFactory`
@@ -1148,7 +1142,6 @@ _No changes_
11481142
```
11491143

11501144
This initial implementation targets type inference for:
1151-
11521145
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
11531146
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
11541147
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -1163,7 +1156,6 @@ _No changes_
11631156
```
11641157

11651158
Check out our docs for more:
1166-
11671159
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
11681160
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
11691161

0 commit comments

Comments
 (0)