Skip to content

Commit 8cb8264

Browse files
committed
chore: format
1 parent 98ebb81 commit 8cb8264

8 files changed

Lines changed: 15 additions & 50 deletions

File tree

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

9797
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
98-
9998
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
10099
- [`createContext`](https://reactrouter.com/api/utils/createContext)
101100
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -319,7 +318,6 @@
319318
### Major Changes
320319

321320
- 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))
322-
323321
- `createCookie`
324322
- `createCookieSessionStorage`
325323
- `createMemorySessionStorage`
@@ -328,7 +326,6 @@
328326
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)
329327

330328
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
331-
332329
- `createCookieFactory`
333330
- `createSessionStorageFactory`
334331
- `createCookieSessionStorageFactory`

packages/react-router-cloudflare/CHANGELOG.md

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

8686
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
87-
8887
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
8988
- [`createContext`](https://reactrouter.com/api/utils/createContext)
9089
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -283,7 +282,6 @@
283282

284283
- 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))
285284
- 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))
286-
287285
- `createCookie`
288286
- `createCookieSessionStorage`
289287
- `createMemorySessionStorage`
@@ -292,7 +290,6 @@
292290
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)
293291

294292
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
295-
296293
- `createCookieFactory`
297294
- `createSessionStorageFactory`
298295
- `createCookieSessionStorageFactory`

packages/react-router-dev/CHANGELOG.md

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

2929
| URL `/a/b/c` | **HTTP pathname** | **`request` pathname\`** |
3030
| ------------ | ----------------- | ------------------------ |
31-
| **Document** | `/a/b/c` | `/a/b/c` |
32-
| **Data** | `/a/b/c.data` | `/a/b/c` |
31+
| **Document** | `/a/b/c` | `/a/b/c`|
32+
| **Data** | `/a/b/c.data` | `/a/b/c`|
3333

3434
| URL `/a/b/c/` | **HTTP pathname** | **`request` pathname\`** |
3535
| ------------- | ----------------- | ------------------------ |
36-
| **Document** | `/a/b/c/` | `/a/b/c/` |
36+
| **Document** | `/a/b/c/` | `/a/b/c/`|
3737
| **Data** | `/a/b/c.data` | `/a/b/c` ⚠️ |
3838

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

4141
| URL `/a/b/c` | **HTTP pathname** | **`request` pathname\`** |
4242
| ------------ | ----------------- | ------------------------ |
43-
| **Document** | `/a/b/c` | `/a/b/c` |
44-
| **Data** | `/a/b/c.data` | `/a/b/c` |
43+
| **Document** | `/a/b/c` | `/a/b/c`|
44+
| **Data** | `/a/b/c.data` | `/a/b/c`|
4545

4646
| URL `/a/b/c/` | **HTTP pathname** | **`request` pathname\`** |
4747
| ------------- | ------------------ | ------------------------ |
48-
| **Document** | `/a/b/c/` | `/a/b/c/` |
49-
| **Data** | `/a/b/c/_.data` ⬅️ | `/a/b/c/` |
48+
| **Document** | `/a/b/c/` | `/a/b/c/`|
49+
| **Data** | `/a/b/c/_.data` ⬅️ | `/a/b/c/`|
5050

5151
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.
5252

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

306306
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
307-
308307
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
309308
- [`createContext`](https://reactrouter.com/api/utils/createContext)
310309
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -1047,7 +1046,6 @@
10471046
```
10481047
10491048
This initial implementation targets type inference for:
1050-
10511049
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
10521050
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
10531051
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -1062,7 +1060,6 @@
10621060
```
10631061
10641062
Check out our docs for more:
1065-
10661063
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
10671064
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
10681065
@@ -1262,7 +1259,6 @@
12621259
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
12631260
12641261
- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
1265-
12661262
- `--sourcemapClient`
12671263
12681264
- `--sourcemapClient=inline`
@@ -1599,7 +1595,6 @@
15991595
- 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))
16001596
16011597
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:
1602-
16031598
- Leveraging a data source local to the browser (i.e., `localStorage`)
16041599
- Managing a client-side cache of server data (like `IndexedDB`)
16051600
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -2003,7 +1998,6 @@
20031998
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
20041999
20052000
Written to server build directory (`build/` by default):
2006-
20072001
- `metafile.css.json`
20082002
- `metafile.js.json` (browser JS)
20092003
- `metafile.server.json` (server JS)
@@ -2101,7 +2095,6 @@
21012095
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
21022096
21032097
New options:
2104-
21052098
- `--tls-key` / `tlsKey`: TLS key
21062099
- `--tls-cert` / `tlsCert`: TLS Certificate
21072100
@@ -2372,7 +2365,6 @@
23722365
```
23732366
23742367
The dev server will:
2375-
23762368
- force `NODE_ENV=development` and warn you if it was previously set to something else
23772369
- rebuild your app whenever your Remix app code changes
23782370
- 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
@@ -95,7 +95,6 @@
9595
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
9696

9797
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
98-
9998
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
10099
- [`createContext`](https://reactrouter.com/api/utils/createContext)
101100
- `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
@@ -85,7 +85,6 @@
8585
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
8686

8787
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
88-
8988
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
9089
- [`createContext`](https://reactrouter.com/api/utils/createContext)
9190
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -285,7 +284,6 @@
285284
- Remove single fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522))
286285

287286
- 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))
288-
289287
- `createCookie`
290288
- `createCookieSessionStorage`
291289
- `createMemorySessionStorage`
@@ -294,7 +292,6 @@
294292
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)
295293

296294
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
297-
298295
- `createCookieFactory`
299296
- `createSessionStorageFactory`
300297
- `createCookieSessionStorageFactory`
@@ -702,12 +699,10 @@
702699
- 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))
703700
704701
Informational Resources:
705-
706702
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
707703
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
708704
709705
Documentation Resources (better docs specific to Remix are in the works):
710-
711706
- <https://reactrouter.com/en/main/utils/defer>
712707
- <https://reactrouter.com/en/main/components/await>
713708
- <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
@@ -719,12 +719,10 @@
719719
- 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))
720720

721721
Informational Resources:
722-
723722
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
724723
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
725724

726725
Documentation Resources (better docs specific to Remix are in the works):
727-
728726
- <https://reactrouter.com/en/main/utils/defer>
729727
- <https://reactrouter.com/en/main/components/await>
730728
- <https://reactrouter.com/en/main/hooks/use-async-value>

0 commit comments

Comments
 (0)