Skip to content

Commit

Permalink
chore(deps): update dependency @vercel/remix to v2.10.3 (#321)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@vercel/remix](https://togithub.com/vercel/remix)
([source](https://togithub.com/vercel/remix/tree/HEAD/packages/vercel-remix))
| [`2.9.1` ->
`2.10.3`](https://renovatebot.com/diffs/npm/@vercel%2fremix/2.9.1/2.10.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vercel%2fremix/2.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vercel%2fremix/2.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vercel%2fremix/2.9.1/2.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vercel%2fremix/2.9.1/2.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vercel/remix (@&#8203;vercel/remix)</summary>

###
[`v2.10.3`](https://togithub.com/vercel/remix/blob/HEAD/CHANGELOG.md#v2103)

Date: 2024-07-16

##### Patch Changes

- `@remix-run/architect` - Manually joining headers with semi-colons to
avoid differences in Remix and node/undici Headers implementation
([#&#8203;9664](https://togithub.com/remix-run/remix/pull/9664))
- `@remix-run/react` - Log any errors encountered loading a route module
prior to reloading the page
([#&#8203;8932](https://togithub.com/remix-run/remix/pull/8932))
- `@remix-run/react` - Single Fetch (unstable): Proxy `request.signal`
through `dataStrategy` for `loader` calls to fix cancellation
([#&#8203;9738](https://togithub.com/remix-run/remix/pull/9738))
- `@remix-run/react` - Single Fetch (unstable): Adopt React Router's
stabilized `future.v7_skipActionErrorRevalidation` under the hood
([#&#8203;9706](https://togithub.com/remix-run/remix/pull/9706))
- This stabilizes the `shouldRevalidate` parameter from
`unstable_actionStatus` to `actionStatus`
- ⚠️ This might be a breaking change for your app if you have opted into
single fetch and the `unstable_actionStatus` parameter

##### Updated Dependencies

-
[`[email protected]`](https://togithub.com/remix-run/react-router/releases/tag/react-router%406.25.0)
-
[`@remix-run/[email protected]`](https://togithub.com/remix-run/react-router/blob/main/packages/router/CHANGELOG.md#1180)

##### Changes by Package

-
[`create-remix`](https://togithub.com/remix-run/remix/blob/remix%402.10.3/packages/create-remix/CHANGELOG.md#2103)
-
[`@remix-run/architect`](https://togithub.com/remix-run/remix/blob/remix%402.10.3/packages/remix-architect/CHANGELOG.md#2103)
-
[`@remix-run/cloudflare`](https://togithub.com/remix-run/remix/blob/remix%402.10.3/packages/remix-cloudflare/CHANGELOG.md#2103)
-
[`@remix-run/cloudflare-pages`](https://togithub.com/remix-run/remix/blob/remix%402.10.3/packages/remix-cloudflare-pages/CHANGELOG.md#2103)
-
[`@remix-run/cloudflare-workers`](https://togithub.com/remix-run/remix/blob/remix%402.10.3/packages/remix-cloudflare-workers/CHANGELOG.md#2103)
-
[`@remix-run/css-bundle`](https://togithub.com/remix-run/remix/blob/remix%402.10.3/packages/remix-css-bundle/CHANGELOG.md#2103)
-
[`@remix-run/deno`](https://togithub.com/remix-run/remix/blob/remix%402.10.3/packages/remix-deno/CHANGELOG.md#2103)
-
[`@remix-run/dev`](https://togithub.com/remix-run/remix/blob/remix%402.10.3/packages/remix-dev/CHANGELOG.md#2103)
-
[`@remix-run/eslint-config`](https://togithub.com/remix-run/remix/blob/remix%402.10.3/packages/remix-eslint-config/CHANGELOG.md#2103)
-
[`@remix-run/express`](https://togithub.com/remix-run/remix/blob/remix%402.10.3/packages/remix-express/CHANGELOG.md#2103)
-
[`@remix-run/node`](https://togithub.com/remix-run/remix/blob/remix%402.10.3/packages/remix-node/CHANGELOG.md#2103)
-
[`@remix-run/react`](https://togithub.com/remix-run/remix/blob/remix%402.10.3/packages/remix-react/CHANGELOG.md#2103)
-
[`@remix-run/serve`](https://togithub.com/remix-run/remix/blob/remix%402.10.3/packages/remix-serve/CHANGELOG.md#2103)
-
[`@remix-run/server-runtime`](https://togithub.com/remix-run/remix/blob/remix%402.10.3/packages/remix-server-runtime/CHANGELOG.md#2103)
-
[`@remix-run/testing`](https://togithub.com/remix-run/remix/blob/remix%402.10.3/packages/remix-testing/CHANGELOG.md#2103)

**Full Changelog**:
[`v2.10.2...v2.10.3`](https://togithub.com/remix-run/remix/compare/[email protected]@2.10.3)

###
[`v2.10.2`](https://togithub.com/vercel/remix/blob/HEAD/CHANGELOG.md#v2102)

Date: 2024-07-04

##### Patch Changes

- `@remix-run/react` - Forward `ref` to `Form`
([`bdd04217`](https://togithub.com/remix-run/remix/commit/bdd04217713292307078a30dab9033926d48ede6))
- `@remix-run/server-runtime` - Fix bug with `immutable` headers on raw
native `fetch` responses returned from loaders
([#&#8203;9693](https://togithub.com/remix-run/remix/pull/9693))

##### Changes by Package

-
[`create-remix`](https://togithub.com/remix-run/remix/blob/remix%402.10.2/packages/create-remix/CHANGELOG.md#2102)
-
[`@remix-run/architect`](https://togithub.com/remix-run/remix/blob/remix%402.10.2/packages/remix-architect/CHANGELOG.md#2102)
-
[`@remix-run/cloudflare`](https://togithub.com/remix-run/remix/blob/remix%402.10.2/packages/remix-cloudflare/CHANGELOG.md#2102)
-
[`@remix-run/cloudflare-pages`](https://togithub.com/remix-run/remix/blob/remix%402.10.2/packages/remix-cloudflare-pages/CHANGELOG.md#2102)
-
[`@remix-run/cloudflare-workers`](https://togithub.com/remix-run/remix/blob/remix%402.10.2/packages/remix-cloudflare-workers/CHANGELOG.md#2102)
-
[`@remix-run/css-bundle`](https://togithub.com/remix-run/remix/blob/remix%402.10.2/packages/remix-css-bundle/CHANGELOG.md#2102)
-
[`@remix-run/deno`](https://togithub.com/remix-run/remix/blob/remix%402.10.2/packages/remix-deno/CHANGELOG.md#2102)
-
[`@remix-run/dev`](https://togithub.com/remix-run/remix/blob/remix%402.10.2/packages/remix-dev/CHANGELOG.md#2102)
-
[`@remix-run/eslint-config`](https://togithub.com/remix-run/remix/blob/remix%402.10.2/packages/remix-eslint-config/CHANGELOG.md#2102)
-
[`@remix-run/express`](https://togithub.com/remix-run/remix/blob/remix%402.10.2/packages/remix-express/CHANGELOG.md#2102)
-
[`@remix-run/node`](https://togithub.com/remix-run/remix/blob/remix%402.10.2/packages/remix-node/CHANGELOG.md#2102)
-
[`@remix-run/react`](https://togithub.com/remix-run/remix/blob/remix%402.10.2/packages/remix-react/CHANGELOG.md#2102)
-
[`@remix-run/serve`](https://togithub.com/remix-run/remix/blob/remix%402.10.2/packages/remix-serve/CHANGELOG.md#2102)
-
[`@remix-run/server-runtime`](https://togithub.com/remix-run/remix/blob/remix%402.10.2/packages/remix-server-runtime/CHANGELOG.md#2102)
-
[`@remix-run/testing`](https://togithub.com/remix-run/remix/blob/remix%402.10.2/packages/remix-testing/CHANGELOG.md#2102)

**Full Changelog**:
[`v2.10.1...v2.10.2`](https://togithub.com/remix-run/remix/compare/[email protected]@2.10.2)

###
[`v2.10.0`](https://togithub.com/vercel/remix/blob/HEAD/CHANGELOG.md#v2100)

Date: 2024-06-25

##### What's Changed

##### Lazy Route Discovery (a.k.a. "Fog of War")

The "Fog of War" feature in Remix, now available through the
`future.unstable_fogOfWar` flag, is an optimization to reduce the up
front size of the Remix route manifest. In most scenarios the Remix
route manifest isn't prohibitively large so as to impact initial perf
metrics, but at scale we've found that some apps can generate large
manifests that are expensive to download and execute on app startup.

When Fog of War is enabled, Remix will only include the initially
server-rendered routes in the manifest and then it will fetch manifest
"patches" for outgoing links as the user navigates around. By default,
to avoid waterfalls Remix fetches patches for all rendered links, so
that in the ideal case they've already been patched in prior to being
clicked. If a user clicks a link before this eager discovery completes,
then a small waterfall will occur to first "discover" the route, and
then navigate to the route.

Enabling this flag should require no application code changes. For more
information, please see the
[documentation](https://remix.run/docs/guides/fog-of-war).

##### Minor Changes

- Add support for Lazy Route Discovery (a.k.a. Fog of War)
([#&#8203;9600](https://togithub.com/remix-run/remix/pull/9600),
[#&#8203;9619](https://togithub.com/remix-run/remix/pull/9619))

##### Patch Changes

- `@remix-run/{dev|express|serve}` - Upgrade `express` dependency to
`^4.19.2`
([#&#8203;9184](https://togithub.com/remix-run/remix/pull/9184))
- `@remix-run/react` - Don't prefetch server `loader` data when
`clientLoader` exists
([#&#8203;9580](https://togithub.com/remix-run/remix/pull/9580))
- `@remix-run/react` - Avoid hydration loops when
`Layout`/`ErrorBoundary` renders also throw
([#&#8203;9566](https://togithub.com/remix-run/remix/pull/9566))
- `@remix-run/react` - Fix a hydration bug when using child routes and
`HydrateFallback` components with a `basename`
([#&#8203;9584](https://togithub.com/remix-run/remix/pull/9584))
- `@remix-run/{server-runtime|react}` - Single Fetch: Update to
`[email protected]`
([#&#8203;9562](https://togithub.com/remix-run/remix/pull/9562))
- `@remix-run/server-runtime` - Single Fetch: Properly handle thrown
4xx/5xx response stubs
([#&#8203;9501](https://togithub.com/remix-run/remix/pull/9501))
- `@remix-run/server-runtime` - Single Fetch: Change redirects to use a
202 status to avoid automatic caching
([#&#8203;9564](https://togithub.com/remix-run/remix/pull/9564))
- `@remix-run/server-runtime` - Single Fetch: Fix issues with returning
or throwing a response stub from a resource route in single fetch
([#&#8203;9488](https://togithub.com/remix-run/remix/pull/9488))
- `@remix-run/server-runtime` - Single Fetch: Fix error when returning
`null` from a resource route
([#&#8203;9488](https://togithub.com/remix-run/remix/pull/9488))

##### Updated Dependencies

-
[`[email protected]`](https://togithub.com/remix-run/react-router/releases/tag/react-router%406.24.0)
-
[`@remix-run/[email protected]`](https://togithub.com/remix-run/react-router/blob/main/packages/router/CHANGELOG.md#117)

##### Changes by Package

-
[`create-remix`](https://togithub.com/remix-run/remix/blob/remix%402.10.0/packages/create-remix/CHANGELOG.md#2100)
-
[`@remix-run/architect`](https://togithub.com/remix-run/remix/blob/remix%402.10.0/packages/remix-architect/CHANGELOG.md#2100)
-
[`@remix-run/cloudflare`](https://togithub.com/remix-run/remix/blob/remix%402.10.0/packages/remix-cloudflare/CHANGELOG.md#2100)
-
[`@remix-run/cloudflare-pages`](https://togithub.com/remix-run/remix/blob/remix%402.10.0/packages/remix-cloudflare-pages/CHANGELOG.md#2100)
-
[`@remix-run/cloudflare-workers`](https://togithub.com/remix-run/remix/blob/remix%402.10.0/packages/remix-cloudflare-workers/CHANGELOG.md#2100)
-
[`@remix-run/css-bundle`](https://togithub.com/remix-run/remix/blob/remix%402.10.0/packages/remix-css-bundle/CHANGELOG.md#2100)
-
[`@remix-run/deno`](https://togithub.com/remix-run/remix/blob/remix%402.10.0/packages/remix-deno/CHANGELOG.md#2100)
-
[`@remix-run/dev`](https://togithub.com/remix-run/remix/blob/remix%402.10.0/packages/remix-dev/CHANGELOG.md#2100)
-
[`@remix-run/eslint-config`](https://togithub.com/remix-run/remix/blob/remix%402.10.0/packages/remix-eslint-config/CHANGELOG.md#2100)
-
[`@remix-run/express`](https://togithub.com/remix-run/remix/blob/remix%402.10.0/packages/remix-express/CHANGELOG.md#2100)
-
[`@remix-run/node`](https://togithub.com/remix-run/remix/blob/remix%402.10.0/packages/remix-node/CHANGELOG.md#2100)
-
[`@remix-run/react`](https://togithub.com/remix-run/remix/blob/remix%402.10.0/packages/remix-react/CHANGELOG.md#2100)
-
[`@remix-run/serve`](https://togithub.com/remix-run/remix/blob/remix%402.10.0/packages/remix-serve/CHANGELOG.md#2100)
-
[`@remix-run/server-runtime`](https://togithub.com/remix-run/remix/blob/remix%402.10.0/packages/remix-server-runtime/CHANGELOG.md#2100)
-
[`@remix-run/testing`](https://togithub.com/remix-run/remix/blob/remix%402.10.0/packages/remix-testing/CHANGELOG.md#2100)

**Full Changelog**:
[`v2.9.2...v2.10.0`](https://togithub.com/remix-run/remix/compare/[email protected]@2.10.0)

###
[`v2.9.2`](https://togithub.com/vercel/remix/blob/HEAD/CHANGELOG.md#v292)

[Compare
Source](https://togithub.com/vercel/remix/compare/e159279a79242dd8e389bf23af1adb9dc7412553...ee0489ab4c759c324e9706fba1c9d7ae36cd617a)

Date: 2024-05-10

##### What's Changed

##### Updated Type-Safety for Single Fetch

In 2.9.2 we've enhanced the type-safety when opting into the
`future.unstable_singleFetch` feature. Previously, we added the
`response` stub to `LoaderFunctionArgs` and used type overrides for
inference on `useLoaderData`, etc., but we found that it wasn't quite
enough.

With this release we're introducing new functions to assist the
type-inference when using single fetch - `defineLoader`/`defineAction`
and their client-side counterparts `defineClientLoader` and nd
`defineClientAction`. These are identity functions; they don't modify
your loader or action at runtime. Rather, they exist solely for
type-safety by providing types for args and by ensuring valid return
types.

```ts
export const loader = defineLoader(({ request }) => {
  //                                ^? Request
  return { a: 1, b: () => 2 };
  //           ^ type error: `b` is not serializable
});
```

Note that `defineLoader` and `defineAction` are not technically
necessary for defining loaders and actions if you aren't concerned with
type-safety:

```ts
// this totally works! and typechecking is happy too!
export const loader = () => {
  return { a: 1 };
};
```

This means that you can opt-in to `defineLoader` incrementally, one
loader at a time.

Please see the [Single Fetch
docs](https://remix.run/docs/en/main/guides/single-fetch) for more
information.

##### Patch Changes

- `@remix-run/dev` - Vite: Fix `dest already exists` error when running
`remix vite:build`
([#&#8203;9305](https://togithub.com/remix-run/remix/pull/9305))
- `@remix-run/dev` - Vite: Fix issue resolving critical CSS during
development when route files are located outside of the app directory
([#&#8203;9194](https://togithub.com/remix-run/remix/pull/9194))
- `@remix-run/dev` - Vite: Remove `@remix-run/node` from Vite plugin's
`optimizeDeps.include` list since it was unnecessary and resulted in
Vite warnings when not depending on this package
([#&#8203;9287](https://togithub.com/remix-run/remix/pull/9287))
- `@remix-run/dev` - Vite: Clean up redundant `?client-route=1` imports
in development
([#&#8203;9395](https://togithub.com/remix-run/remix/pull/9395))
- `@remix-run/dev` - Vite: Ensure Babel config files are not referenced
when applying the `react-refresh` Babel transform within the Remix Vite
plugin ([#&#8203;9241](https://togithub.com/remix-run/remix/pull/9241))
- `@remix-run/react` - Type-safety for single-fetch: `defineLoader`,
`defineClientLoader`, `defineAction`, `defineClientAction`
([#&#8203;9372](https://togithub.com/remix-run/remix/pull/9372))
- `@remix-run/react` - Single Fetch: Add `undefined` to `useActionData`
type override
([#&#8203;9322](https://togithub.com/remix-run/remix/pull/9322))
- `@remix-run/react` - Single Fetch: Allow a `nonce` to be set on single
fetch stream transfer inline scripts via `<RemixServer>`
([#&#8203;9364](https://togithub.com/remix-run/remix/pull/9364))
- `@remix-run/server-runtime` - Single Fetch: Don't log thrown response
stubs via `handleError`
([#&#8203;9369](https://togithub.com/remix-run/remix/pull/9369))
- `@remix-run/server-runtime` - Single Fetch: Automatically wrap
resource route naked object returns in `json()` for back-compat in v2
(and log deprecation warning)
([#&#8203;9349](https://togithub.com/remix-run/remix/pull/9349))
- `@remix-run/server-runtime` - Single Fetch: Pass `response` stub to
resource route handlers
([#&#8203;9349](https://togithub.com/remix-run/remix/pull/9349))

##### Updated Dependencies

-
[`[email protected]`](https://togithub.com/remix-run/react-router/releases/tag/react-router%406.23.1)
-
[`@remix-run/[email protected]`](https://togithub.com/remix-run/react-router/blob/main/packages/router/CHANGELOG.md#1161)

##### Changes by Package

-
[`@remix-run/cloudflare`](https://togithub.com/remix-run/remix/blob/remix%402.9.2/packages/remix-cloudflare/CHANGELOG.md#292)
-
[`@remix-run/cloudflare-pages`](https://togithub.com/remix-run/remix/blob/remix%402.9.2/packages/remix-cloudflare-pages/CHANGELOG.md#292)
-
[`@remix-run/cloudflare-workers`](https://togithub.com/remix-run/remix/blob/remix%402.9.2/packages/remix-cloudflare-workers/CHANGELOG.md#292)
-
[`@remix-run/css-bundle`](https://togithub.com/remix-run/remix/blob/remix%402.9.2/packages/remix-css-bundle/CHANGELOG.md#292)
-
[`@remix-run/deno`](https://togithub.com/remix-run/remix/blob/remix%402.9.2/packages/remix-deno/CHANGELOG.md#292)
-
[`@remix-run/dev`](https://togithub.com/remix-run/remix/blob/remix%402.9.2/packages/remix-dev/CHANGELOG.md#292)
-
[`@remix-run/eslint-config`](https://togithub.com/remix-run/remix/blob/remix%402.9.2/packages/remix-eslint-config/CHANGELOG.md#292)
-
[`@remix-run/express`](https://togithub.com/remix-run/remix/blob/remix%402.9.2/packages/remix-express/CHANGELOG.md#292)
-
[`@remix-run/node`](https://togithub.com/remix-run/remix/blob/remix%402.9.2/packages/remix-node/CHANGELOG.md#292)
-
[`@remix-run/react`](https://togithub.com/remix-run/remix/blob/remix%402.9.2/packages/remix-react/CHANGELOG.md#292)
-
[`@remix-run/serve`](https://togithub.com/remix-run/remix/blob/remix%402.9.2/packages/remix-serve/CHANGELOG.md#292)
-
[`@remix-run/server-runtime`](https://togithub.com/remix-run/remix/blob/remix%402.9.2/packages/remix-server-runtime/CHANGELOG.md#292)
-
[`@remix-run/testing`](https://togithub.com/remix-run/remix/blob/remix%402.9.2/packages/remix-testing/CHANGELOG.md#292)

**Full Changelog**:
[`v2.9.1...v2.9.2`](https://togithub.com/remix-run/remix/compare/[email protected]@2.9.2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/SquiggleTools/boston-ts-website).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Aug 3, 2024
1 parent c48bc8c commit d4f8bd5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d4f8bd5

Please sign in to comment.