Skip to content

Commit c38d76c

Browse files
committed
chore: format
1 parent 8dee4cd commit c38d76c

File tree

8 files changed

+15
-50
lines changed

8 files changed

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

8989
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
90-
9190
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
9291
- [`createContext`](https://reactrouter.com/api/utils/createContext)
9392
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -311,7 +310,6 @@
311310
### Major Changes
312311

313312
- 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))
314-
315313
- `createCookie`
316314
- `createCookieSessionStorage`
317315
- `createMemorySessionStorage`
@@ -320,7 +318,6 @@
320318
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)
321319

322320
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
323-
324321
- `createCookieFactory`
325322
- `createSessionStorageFactory`
326323
- `createCookieSessionStorageFactory`

packages/react-router-cloudflare/CHANGELOG.md

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

7979
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
80-
8180
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
8281
- [`createContext`](https://reactrouter.com/api/utils/createContext)
8382
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -276,7 +275,6 @@
276275

277276
- 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))
278277
- 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))
279-
280278
- `createCookie`
281279
- `createCookieSessionStorage`
282280
- `createMemorySessionStorage`
@@ -285,7 +283,6 @@
285283
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)
286284

287285
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
288-
289286
- `createCookieFactory`
290287
- `createSessionStorageFactory`
291288
- `createCookieSessionStorageFactory`

packages/react-router-dev/CHANGELOG.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,25 @@
1818

1919
| URL `/a/b/c` | **HTTP pathname** | **`request` pathname\`** |
2020
| ------------ | ----------------- | ------------------------ |
21-
| **Document** | `/a/b/c` | `/a/b/c` |
22-
| **Data** | `/a/b/c.data` | `/a/b/c` |
21+
| **Document** | `/a/b/c` | `/a/b/c`|
22+
| **Data** | `/a/b/c.data` | `/a/b/c`|
2323

2424
| URL `/a/b/c/` | **HTTP pathname** | **`request` pathname\`** |
2525
| ------------- | ----------------- | ------------------------ |
26-
| **Document** | `/a/b/c/` | `/a/b/c/` |
26+
| **Document** | `/a/b/c/` | `/a/b/c/`|
2727
| **Data** | `/a/b/c.data` | `/a/b/c` ⚠️ |
2828

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

3131
| URL `/a/b/c` | **HTTP pathname** | **`request` pathname\`** |
3232
| ------------ | ----------------- | ------------------------ |
33-
| **Document** | `/a/b/c` | `/a/b/c` |
34-
| **Data** | `/a/b/c.data` | `/a/b/c` |
33+
| **Document** | `/a/b/c` | `/a/b/c`|
34+
| **Data** | `/a/b/c.data` | `/a/b/c`|
3535

3636
| URL `/a/b/c/` | **HTTP pathname** | **`request` pathname\`** |
3737
| ------------- | ------------------ | ------------------------ |
38-
| **Document** | `/a/b/c/` | `/a/b/c/` |
39-
| **Data** | `/a/b/c/_.data` ⬅️ | `/a/b/c/` |
38+
| **Document** | `/a/b/c/` | `/a/b/c/`|
39+
| **Data** | `/a/b/c/_.data` ⬅️ | `/a/b/c/`|
4040

4141
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.
4242

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

296296
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
297-
298297
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
299298
- [`createContext`](https://reactrouter.com/api/utils/createContext)
300299
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -1037,7 +1036,6 @@
10371036
```
10381037
10391038
This initial implementation targets type inference for:
1040-
10411039
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
10421040
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
10431041
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -1052,7 +1050,6 @@
10521050
```
10531051
10541052
Check out our docs for more:
1055-
10561053
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
10571054
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
10581055
@@ -1252,7 +1249,6 @@
12521249
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
12531250
12541251
- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
1255-
12561252
- `--sourcemapClient`
12571253
12581254
- `--sourcemapClient=inline`
@@ -1589,7 +1585,6 @@
15891585
- 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))
15901586
15911587
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:
1592-
15931588
- Leveraging a data source local to the browser (i.e., `localStorage`)
15941589
- Managing a client-side cache of server data (like `IndexedDB`)
15951590
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1993,7 +1988,6 @@
19931988
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
19941989
19951990
Written to server build directory (`build/` by default):
1996-
19971991
- `metafile.css.json`
19981992
- `metafile.js.json` (browser JS)
19991993
- `metafile.server.json` (server JS)
@@ -2091,7 +2085,6 @@
20912085
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
20922086
20932087
New options:
2094-
20952088
- `--tls-key` / `tlsKey`: TLS key
20962089
- `--tls-cert` / `tlsCert`: TLS Certificate
20972090
@@ -2362,7 +2355,6 @@
23622355
```
23632356
23642357
The dev server will:
2365-
23662358
- force `NODE_ENV=development` and warn you if it was previously set to something else
23672359
- rebuild your app whenever your Remix app code changes
23682360
- 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
@@ -87,7 +87,6 @@
8787
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
8888

8989
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
90-
9190
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
9291
- [`createContext`](https://reactrouter.com/api/utils/createContext)
9392
- `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
@@ -78,7 +78,6 @@
7878
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
7979

8080
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
81-
8281
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
8382
- [`createContext`](https://reactrouter.com/api/utils/createContext)
8483
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -278,7 +277,6 @@
278277
- Remove single fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522))
279278

280279
- 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))
281-
282280
- `createCookie`
283281
- `createCookieSessionStorage`
284282
- `createMemorySessionStorage`
@@ -287,7 +285,6 @@
287285
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)
288286

289287
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
290-
291288
- `createCookieFactory`
292289
- `createSessionStorageFactory`
293290
- `createCookieSessionStorageFactory`
@@ -695,12 +692,10 @@
695692
- 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))
696693
697694
Informational Resources:
698-
699695
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
700696
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
701697
702698
Documentation Resources (better docs specific to Remix are in the works):
703-
704699
- <https://reactrouter.com/en/main/utils/defer>
705700
- <https://reactrouter.com/en/main/components/await>
706701
- <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
@@ -710,12 +710,10 @@
710710
- 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))
711711

712712
Informational Resources:
713-
714713
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
715714
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
716715

717716
Documentation Resources (better docs specific to Remix are in the works):
718-
719717
- <https://reactrouter.com/en/main/utils/defer>
720718
- <https://reactrouter.com/en/main/components/await>
721719
- <https://reactrouter.com/en/main/hooks/use-async-value>

0 commit comments

Comments
 (0)