Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump @remix-run/server-runtime from 1.19.3 to 2.11.2 #351

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 19, 2024

Bumps @remix-run/server-runtime from 1.19.3 to 2.11.2.

Release notes

Sourced from @​remix-run/server-runtime's releases.

v2.11.2

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v2112

v2.11.1

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v2111

v2.11.0

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v21110

v2.10.3

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v2103

v2.10.2

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v2102

v2.10.1

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v2101

v2.10.0

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v2100

v2.9.2

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v292

v2.9.1

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v291

v2.9.0

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v290

v2.8.1

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v281

v2.8.0

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v280

v2.7.2

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v272

v2.7.1

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v271

v2.7.0

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v270

v2.6.0

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v260

v2.5.1

See the changelog for release notes: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v251

... (truncated)

Changelog

Sourced from @​remix-run/server-runtime's changelog.

2.11.2

Patch Changes

  • Single Fetch: Fix redirects when a basename is present (#9848)
  • Fog of War: Simplify implementation now that React Router handles slug/splat edge cases and tracks previously discovered routes (see remix-run/react-router#11883) (#9860)
    • This changes the return signature of the internal __manifest endpoint since we no longer need the notFoundPaths field
  • Fog of War: Update to use renamed unstable_patchRoutesOnNavigation function in RR (see remix-run/react-router#11888) (#9860)
  • Single Fetch: Update turbo-stream to v2.3.0 (#9856)
    • Stabilize object key order for serialized payloads
    • Remove memory limitations payloads sizes

2.11.1

Patch Changes

2.11.0

Minor Changes

  • Single Fetch: Add a new unstable_data() API as a replacement for json/defer when custom status/headers are needed (#9769)

  • Add a new replace(url, init?) alternative to redirect(url, init?) that performs a history.replaceState instead of a history.pushState on client-side navigation redirects (#9764)

  • Rename future.unstable_fogOfWar to future.unstable_lazyRouteDiscovery for clarity (#9763)

  • Single Fetch: Remove responseStub in favor of headers (#9769)

    • Background

      • The original Single Fetch approach was based on an assumption that an eventual middleware implementation would require something like ResponseStub so users could mutate status/headers in middleware before/after handlers as well as during handlers
      • We wanted to align how headers got merged between document and data requests
      • So we made document requests also use ResponseStub and removed the usage of headers in Single Fetch
      • The realization/alignment between Michael and Ryan on the recent roadmap planning made us realize that the original assumption was incorrect
      • middleware won't need a stub - users can just mutate the Response they get from await next() directly
      • With that gone, and still wanting to align how headers get merged, it makes more sense to stick with the current headers API and apply that to Single Fetch and avoid introducing a totally new thing in RepsonseStub (that always felt a bit awkward to work with anyway)
    • With this change:

      • You are encouraged to stop returning Response instances in favor of returning raw data from loaders and actions:
        • return json({ data: whatever });
        • return { data: whatever };
      • In most cases, you can remove your json() and defer() calls in favor of returning raw data if they weren't setting custom status/headers
        • We will be removing both json and defer in the next major version, but both should still work in Single Fetch in v2 to allow for incremental adoption of the new behavior
      • If you need custom status/headers:
        • We've added a new unstable_data({...}, responseInit) utility that will let you send back status/headers alongside your raw data without having to encode it into a Response
      • The headers() function will let you control header merging for both document and data requests

Patch Changes

  • Change initial hydration route mismatch from a URL check to a matches check to be resistant to URL inconsistencies (#9695)

... (truncated)

Commits

Dependabot compatibility score

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@remix-run/server-runtime](https://github.com/remix-run/remix/tree/HEAD/packages/remix-server-runtime) from 1.19.3 to 2.11.2.
- [Release notes](https://github.com/remix-run/remix/releases)
- [Changelog](https://github.com/remix-run/remix/blob/main/packages/remix-server-runtime/CHANGELOG.md)
- [Commits](https://github.com/remix-run/remix/commits/@remix-run/[email protected]/packages/remix-server-runtime)

---
updated-dependencies:
- dependency-name: "@remix-run/server-runtime"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 19, 2024
Copy link

cloudflare-workers-and-pages bot commented Aug 19, 2024

Deploying cdc-cy with  Cloudflare Pages  Cloudflare Pages

Latest commit: c8ff132
Status:🚫  Build failed.

View logs

Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 16, 2024

Superseded by #360.

@dependabot dependabot bot closed this Sep 16, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/remix-run/server-runtime-2.11.2 branch September 16, 2024 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants