Single Fetch: Re-export interface Future through @remix-run/node/@remix-run/cloudflare/@remix-run/deno packages so that pnpm doesn't complain about @remix-run/server-runtime not being a dependency (#9982)
Single Fetch: fix revalidation behavior bugs (#9938)
With Single Fetch, existing routes revalidate by default
This means requests do not need special query params for granular route revalidations out of the box - i.e., GET /a/b/c.data
There are two conditions that will trigger granular revalidation:
If a route opts out of revalidation via shouldRevalidate, it will be excluded from the single fetch call
If a route defines a clientLoader then it will be excluded from the single fetch call and if you call serverLoader() from your clientLoader, that will make a separarte HTTP call for just that route loader - i.e., GET /a/b/c.data?_routes=routes/a for a clientLoader in routes/a.tsx
When one or more routes are excluded from the single fetch call, the remaining routes that have loaders are included as query params:
For example, if A was excluded, and the root route and routes/b had a loader but routes/c did not, the single fetch request would be GET /a/b/c.data?_routes=root,routes/a
Remove hydration URL check that was originally added for React 17 hydration issues and we no longer support React 17 (#9890)
This was added to resolve an issue that could arise when doing quick back/forward history navigations while JS was loading which would cause a mismatch between the server matches and client matches: remix-run/remix#1757
This specific hydration issue would then cause this React v17 only looping issue: remix-run/remix#1678
The URL comparison that we added in 1.18.0 turned out to be subject to false positives of it's own which could also put the user in looping scenarios
Remix v2 upgraded it's minimal React version to v18 which eliminated the v17 hydration error loop
React v18 handles this hydration error like any other error and does not result in a loop
So we can remove our check and thus avoid the false-positive scenarios in which it may also trigger a loop
For users who were previously working around this limitation, you no longer need to explicitly add routes to Vite's optimizeDeps.entries nor do you need to disable the remix-dot-server plugin
Patch Changes
Handle circular dependencies in modulepreload manifest generation (#9917)
Fix dest already exists build errors by only moving SSR assets to the client build directory when they're not already present on disk (#9901)
Updated dependencies:
@remix-run/server-runtime@2.12.0
@remix-run/node@2.12.0
2.11.2
Patch Changes
Updated dependencies:
@remix-run/server-runtime@2.11.2
@remix-run/node@2.11.2
2.11.1
Patch Changes
Updated dependencies:
@remix-run/server-runtime@2.11.1
@remix-run/node@2.11.1
2.11.0
Minor Changes
Rename future.unstable_fogOfWar to future.unstable_lazyRouteDiscovery for clarity (#9763)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the remix group with 6 updates:
2.10.3
2.12.1
2.10.3
2.12.1
2.10.3
2.12.1
2.10.3
2.12.1
2.10.3
2.12.1
2.10.3
2.12.1
Updates
@remix-run/architect
from 2.10.3 to 2.12.1Release notes
Sourced from
@remix-run/architect
's releases.Changelog
Sourced from
@remix-run/architect
's changelog.Commits
e596b9b
chore: Update version for release (#10007)b72cc1a
chore: Update version for release (pre) (#10000)e947032
chore: Update version for release (#9965)e55a213
chore: Update version for release (pre) (#9964)b629eae
chore: Update version for release (pre) (#9959)61e83ec
chore: Update version for release (pre) (#9953)1eed6bf
chore: Update version for release (pre) (#9946)85defa3
chore: Update version for release (pre) (#9942)37219b4
chore: Update version for release (#9869)6e75e9a
chore: Update version for release (pre) (#9867)Updates
@remix-run/css-bundle
from 2.10.3 to 2.12.1Release notes
Sourced from
@remix-run/css-bundle
's releases.Changelog
Sourced from
@remix-run/css-bundle
's changelog.Commits
e596b9b
chore: Update version for release (#10007)b72cc1a
chore: Update version for release (pre) (#10000)e947032
chore: Update version for release (#9965)e55a213
chore: Update version for release (pre) (#9964)b629eae
chore: Update version for release (pre) (#9959)61e83ec
chore: Update version for release (pre) (#9953)1eed6bf
chore: Update version for release (pre) (#9946)85defa3
chore: Update version for release (pre) (#9942)37219b4
chore: Update version for release (#9869)6e75e9a
chore: Update version for release (pre) (#9867)Updates
@remix-run/node
from 2.10.3 to 2.12.1Release notes
Sourced from
@remix-run/node
's releases.Changelog
Sourced from
@remix-run/node
's changelog.... (truncated)
Commits
e596b9b
chore: Update version for release (#10007)b72cc1a
chore: Update version for release (pre) (#10000)91f0e3a
Re-export Future through node/cloiudflare/deno packages (#9982)e947032
chore: Update version for release (#9965)e55a213
chore: Update version for release (pre) (#9964)b629eae
chore: Update version for release (pre) (#9959)61e83ec
chore: Update version for release (pre) (#9953)1eed6bf
chore: Update version for release (pre) (#9946)85defa3
chore: Update version for release (pre) (#9942)5a38eba
Single-fetch typesafety (#9893)Updates
@remix-run/react
from 2.10.3 to 2.12.1Release notes
Sourced from
@remix-run/react
's releases.Changelog
Sourced from
@remix-run/react
's changelog.... (truncated)
Commits
e596b9b
chore: Update version for release (#10007)b72cc1a
chore: Update version for release (pre) (#10000)e947032
chore: Update version for release (#9965)e55a213
chore: Update version for release (pre) (#9964)5ee7af7
Bump router (#9963)b629eae
chore: Update version for release (pre) (#9959)f4b4420
Align single fetch prefetching with new revalidation logic (#9958)61e83ec
chore: Update version for release (pre) (#9953)5900332
Fix HDR for single fetch (#9954)1eed6bf
chore: Update version for release (pre) (#9946)Updates
@remix-run/dev
from 2.10.3 to 2.12.1Release notes
Sourced from
@remix-run/dev
's releases.Changelog
Sourced from
@remix-run/dev
's changelog.... (truncated)
Commits
e596b9b
chore: Update version for release (#10007)b72cc1a
chore: Update version for release (pre) (#10000)3d7966f
chore: format6eedd68
Exclude?inline
and?raw
from critical styles in dev (#9910)a49b4c6
Proxy request.signal through in vite dev (#9976)e947032
chore: Update version for release (#9965)e55a213
chore: Update version for release (pre) (#9964)5ee7af7
Bump router (#9963)b629eae
chore: Update version for release (pre) (#9959)61e83ec
chore: Update version for release (pre) (#9953)Updates
@remix-run/eslint-config
from 2.10.3 to 2.12.1Release notes
Sourced from
@remix-run/eslint-config
's releases.Changelog
Sourced from
@remix-run/eslint-config
's changelog.Commits
e596b9b
chore: Update version for release (#10007)b72cc1a
chore: Update version for release (pre) (#10000)e947032
chore: Update version for release (#9965)e55a213
chore: Update version for release (pre) (#9964)b629eae
chore: Update version for release (pre) (#9959)61e83ec
chore: Update version for release (pre) (#9953)1eed6bf
chore: Update version for release (pre) (#9946)85defa3
chore: Update version for release (pre) (#9942)37219b4
chore: Update version for release (#9869)6e75e9a
chore: Update version for release (pre) (#9867)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show