Skip to content

Commit 00cb4d7

Browse files
committed
chore: format
1 parent 504506b commit 00cb4d7

File tree

8 files changed

+17
-53
lines changed

8 files changed

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

105105
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
106-
107106
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
108107
- [`createContext`](https://reactrouter.com/api/utils/createContext)
109108
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -327,7 +326,6 @@
327326
### Major Changes
328327

329328
- 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))
330-
331329
- `createCookie`
332330
- `createCookieSessionStorage`
333331
- `createMemorySessionStorage`
@@ -336,7 +334,6 @@
336334
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)
337335

338336
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
339-
340337
- `createCookieFactory`
341338
- `createSessionStorageFactory`
342339
- `createCookieSessionStorageFactory`

packages/react-router-cloudflare/CHANGELOG.md

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

9393
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
94-
9594
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
9695
- [`createContext`](https://reactrouter.com/api/utils/createContext)
9796
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -290,7 +289,6 @@
290289

291290
- 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))
292291
- 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))
293-
294292
- `createCookie`
295293
- `createCookieSessionStorage`
296294
- `createMemorySessionStorage`
@@ -299,7 +297,6 @@
299297
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)
300298

301299
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
302-
303300
- `createCookieFactory`
304301
- `createSessionStorageFactory`
305302
- `createCookieSessionStorageFactory`

packages/react-router-dev/CHANGELOG.md

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

3838
| URL `/a/b/c` | **HTTP pathname** | **`request` pathname\`** |
3939
| ------------ | ----------------- | ------------------------ |
40-
| **Document** | `/a/b/c` | `/a/b/c` |
41-
| **Data** | `/a/b/c.data` | `/a/b/c` |
40+
| **Document** | `/a/b/c` | `/a/b/c`|
41+
| **Data** | `/a/b/c.data` | `/a/b/c`|
4242

4343
| URL `/a/b/c/` | **HTTP pathname** | **`request` pathname\`** |
4444
| ------------- | ----------------- | ------------------------ |
45-
| **Document** | `/a/b/c/` | `/a/b/c/` |
45+
| **Document** | `/a/b/c/` | `/a/b/c/`|
4646
| **Data** | `/a/b/c.data` | `/a/b/c` ⚠️ |
4747

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

5050
| URL `/a/b/c` | **HTTP pathname** | **`request` pathname\`** |
5151
| ------------ | ----------------- | ------------------------ |
52-
| **Document** | `/a/b/c` | `/a/b/c` |
53-
| **Data** | `/a/b/c.data` | `/a/b/c` |
52+
| **Document** | `/a/b/c` | `/a/b/c`|
53+
| **Data** | `/a/b/c.data` | `/a/b/c`|
5454

5555
| URL `/a/b/c/` | **HTTP pathname** | **`request` pathname\`** |
5656
| ------------- | ------------------ | ------------------------ |
57-
| **Document** | `/a/b/c/` | `/a/b/c/` |
58-
| **Data** | `/a/b/c/_.data` ⬅️ | `/a/b/c/` |
57+
| **Document** | `/a/b/c/` | `/a/b/c/`|
58+
| **Data** | `/a/b/c/_.data` ⬅️ | `/a/b/c/`|
5959

6060
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.
6161

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

315315
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
316-
317316
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
318317
- [`createContext`](https://reactrouter.com/api/utils/createContext)
319318
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -1056,7 +1055,6 @@
10561055
```
10571056
10581057
This initial implementation targets type inference for:
1059-
10601058
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
10611059
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
10621060
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -1071,7 +1069,6 @@
10711069
```
10721070
10731071
Check out our docs for more:
1074-
10751072
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
10761073
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
10771074
@@ -1271,7 +1268,6 @@
12711268
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
12721269
12731270
- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
1274-
12751271
- `--sourcemapClient`
12761272
12771273
- `--sourcemapClient=inline`
@@ -1608,7 +1604,6 @@
16081604
- 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))
16091605
16101606
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:
1611-
16121607
- Leveraging a data source local to the browser (i.e., `localStorage`)
16131608
- Managing a client-side cache of server data (like `IndexedDB`)
16141609
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -2012,7 +2007,6 @@
20122007
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
20132008
20142009
Written to server build directory (`build/` by default):
2015-
20162010
- `metafile.css.json`
20172011
- `metafile.js.json` (browser JS)
20182012
- `metafile.server.json` (server JS)
@@ -2110,7 +2104,6 @@
21102104
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
21112105
21122106
New options:
2113-
21142107
- `--tls-key` / `tlsKey`: TLS key
21152108
- `--tls-cert` / `tlsCert`: TLS Certificate
21162109
@@ -2381,7 +2374,6 @@
23812374
```
23822375
23832376
The dev server will:
2384-
23852377
- force `NODE_ENV=development` and warn you if it was previously set to something else
23862378
- rebuild your app whenever your Remix app code changes
23872379
- 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
@@ -103,7 +103,6 @@
103103
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
104104

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

9494
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
95-
9695
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
9796
- [`createContext`](https://reactrouter.com/api/utils/createContext)
9897
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -292,7 +291,6 @@
292291
- Remove single fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522))
293292

294293
- 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))
295-
296294
- `createCookie`
297295
- `createCookieSessionStorage`
298296
- `createMemorySessionStorage`
@@ -301,7 +299,6 @@
301299
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)
302300

303301
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
304-
305302
- `createCookieFactory`
306303
- `createSessionStorageFactory`
307304
- `createCookieSessionStorageFactory`
@@ -709,12 +706,10 @@
709706
- 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))
710707
711708
Informational Resources:
712-
713709
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
714710
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
715711
716712
Documentation Resources (better docs specific to Remix are in the works):
717-
718713
- <https://reactrouter.com/en/main/utils/defer>
719714
- <https://reactrouter.com/en/main/components/await>
720715
- <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
@@ -728,12 +728,10 @@
728728
- 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))
729729

730730
Informational Resources:
731-
732731
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
733732
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
734733

735734
Documentation Resources (better docs specific to Remix are in the works):
736-
737735
- <https://reactrouter.com/en/main/utils/defer>
738736
- <https://reactrouter.com/en/main/components/await>
739737
- <https://reactrouter.com/en/main/hooks/use-async-value>

0 commit comments

Comments
 (0)