Skip to content

Commit 201cd41

Browse files
committed
chore: format
1 parent 65ee49c commit 201cd41

File tree

8 files changed

+18
-56
lines changed

8 files changed

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

121121
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
122-
123122
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
124123
- [`createContext`](https://reactrouter.com/api/utils/createContext)
125124
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -343,7 +342,6 @@
343342
### Major Changes
344343

345344
- 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))
346-
347345
- `createCookie`
348346
- `createCookieSessionStorage`
349347
- `createMemorySessionStorage`
@@ -352,7 +350,6 @@
352350
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)
353351

354352
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
355-
356353
- `createCookieFactory`
357354
- `createSessionStorageFactory`
358355
- `createCookieSessionStorageFactory`

packages/react-router-cloudflare/CHANGELOG.md

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

107107
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
108-
109108
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
110109
- [`createContext`](https://reactrouter.com/api/utils/createContext)
111110
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -304,7 +303,6 @@
304303

305304
- 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))
306305
- 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))
307-
308306
- `createCookie`
309307
- `createCookieSessionStorage`
310308
- `createMemorySessionStorage`
@@ -313,7 +311,6 @@
313311
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)
314312

315313
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
316-
317314
- `createCookieFactory`
318315
- `createSessionStorageFactory`
319316
- `createCookieSessionStorageFactory`

packages/react-router-dev/CHANGELOG.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
### Patch Changes
1010

11-
- support for prerendering multiple server bundles with v8\_viteEnvironmentApi ([#14921](https://github.com/remix-run/react-router/pull/14921))
11+
- support for prerendering multiple server bundles with v8_viteEnvironmentApi ([#14921](https://github.com/remix-run/react-router/pull/14921))
1212

1313
- rsc framework mode prerender / spa mode support ([#14907](https://github.com/remix-run/react-router/pull/14907))
1414

@@ -89,7 +89,6 @@
8989
By default, React Router normalizes the `request.url` passed to your `loader`, `action`, and `middleware` functions by removing React Router's internal implementation details (`.data` suffixes, `index` + `_routes` query params).
9090

9191
Enabling this flag removes that normalization and passes the raw HTTP `request` instance to your handlers. This provides a few benefits:
92-
9392
- Reduces server-side overhead by eliminating multiple `new Request()` calls on the critical path
9493
- Allows you to distinguish document from data requests in your handlers base don the presence of a `.data` suffix (useful for observability purposes)
9594

@@ -165,25 +164,25 @@
165164

166165
| URL `/a/b/c` | **HTTP pathname** | **`request` pathname\`** |
167166
| ------------ | ----------------- | ------------------------ |
168-
| **Document** | `/a/b/c` | `/a/b/c` |
169-
| **Data** | `/a/b/c.data` | `/a/b/c` |
167+
| **Document** | `/a/b/c` | `/a/b/c`|
168+
| **Data** | `/a/b/c.data` | `/a/b/c`|
170169

171170
| URL `/a/b/c/` | **HTTP pathname** | **`request` pathname\`** |
172171
| ------------- | ----------------- | ------------------------ |
173-
| **Document** | `/a/b/c/` | `/a/b/c/` |
172+
| **Document** | `/a/b/c/` | `/a/b/c/`|
174173
| **Data** | `/a/b/c.data` | `/a/b/c` ⚠️ |
175174

176175
With this flag enabled, these pathnames will be made consistent though a new `_.data` format for client-side `.data` requests:
177176

178177
| URL `/a/b/c` | **HTTP pathname** | **`request` pathname\`** |
179178
| ------------ | ----------------- | ------------------------ |
180-
| **Document** | `/a/b/c` | `/a/b/c` |
181-
| **Data** | `/a/b/c.data` | `/a/b/c` |
179+
| **Document** | `/a/b/c` | `/a/b/c`|
180+
| **Data** | `/a/b/c.data` | `/a/b/c`|
182181

183182
| URL `/a/b/c/` | **HTTP pathname** | **`request` pathname\`** |
184183
| ------------- | ------------------ | ------------------------ |
185-
| **Document** | `/a/b/c/` | `/a/b/c/` |
186-
| **Data** | `/a/b/c/_.data` ⬅️ | `/a/b/c/` |
184+
| **Document** | `/a/b/c/` | `/a/b/c/`|
185+
| **Data** | `/a/b/c/_.data` ⬅️ | `/a/b/c/`|
187186

188187
This a bug fix but we are putting it behind an opt-in flag because it has the potential to be a "breaking bug fix" if you are relying on the URL format for any other application or caching logic.
189188

@@ -441,7 +440,6 @@
441440
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
442441

443442
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
444-
445443
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
446444
- [`createContext`](https://reactrouter.com/api/utils/createContext)
447445
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -1184,7 +1182,6 @@
11841182
```
11851183
11861184
This initial implementation targets type inference for:
1187-
11881185
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
11891186
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
11901187
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -1199,7 +1196,6 @@
11991196
```
12001197
12011198
Check out our docs for more:
1202-
12031199
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
12041200
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
12051201
@@ -1399,7 +1395,6 @@
13991395
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
14001396
14011397
- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
1402-
14031398
- `--sourcemapClient`
14041399
14051400
- `--sourcemapClient=inline`
@@ -1736,7 +1731,6 @@
17361731
- 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))
17371732
17381733
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:
1739-
17401734
- Leveraging a data source local to the browser (i.e., `localStorage`)
17411735
- Managing a client-side cache of server data (like `IndexedDB`)
17421736
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -2140,7 +2134,6 @@
21402134
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
21412135
21422136
Written to server build directory (`build/` by default):
2143-
21442137
- `metafile.css.json`
21452138
- `metafile.js.json` (browser JS)
21462139
- `metafile.server.json` (server JS)
@@ -2238,7 +2231,6 @@
22382231
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
22392232
22402233
New options:
2241-
22422234
- `--tls-key` / `tlsKey`: TLS key
22432235
- `--tls-cert` / `tlsCert`: TLS Certificate
22442236
@@ -2509,7 +2501,6 @@
25092501
```
25102502
25112503
The dev server will:
2512-
25132504
- force `NODE_ENV=development` and warn you if it was previously set to something else
25142505
- rebuild your app whenever your Remix app code changes
25152506
- 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
@@ -119,7 +119,6 @@
119119
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
120120

121121
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
122-
123122
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
124123
- [`createContext`](https://reactrouter.com/api/utils/createContext)
125124
- `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
@@ -106,7 +106,6 @@
106106
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
107107

108108
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
109-
110109
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
111110
- [`createContext`](https://reactrouter.com/api/utils/createContext)
112111
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -306,7 +305,6 @@
306305
- Remove single fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522))
307306

308307
- 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))
309-
310308
- `createCookie`
311309
- `createCookieSessionStorage`
312310
- `createMemorySessionStorage`
@@ -315,7 +313,6 @@
315313
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)
316314

317315
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
318-
319316
- `createCookieFactory`
320317
- `createSessionStorageFactory`
321318
- `createCookieSessionStorageFactory`
@@ -723,12 +720,10 @@
723720
- 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))
724721
725722
Informational Resources:
726-
727723
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
728724
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
729725
730726
Documentation Resources (better docs specific to Remix are in the works):
731-
732727
- <https://reactrouter.com/en/main/utils/defer>
733728
- <https://reactrouter.com/en/main/components/await>
734729
- <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
@@ -746,12 +746,10 @@
746746
- 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))
747747

748748
Informational Resources:
749-
750749
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
751750
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
752751

753752
Documentation Resources (better docs specific to Remix are in the works):
754-
755753
- <https://reactrouter.com/en/main/utils/defer>
756754
- <https://reactrouter.com/en/main/components/await>
757755
- <https://reactrouter.com/en/main/hooks/use-async-value>

0 commit comments

Comments
 (0)