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

build(deps): bump @remix-run/server-runtime from 1.19.3 to 2.9.2 #546

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 10, 2024

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

Release notes

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

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

v2.5.0

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

v2.4.1

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

v2.4.0

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

v2.3.1

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

v2.3.0

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

v2.2.0

Minor Changes

Vite!

... (truncated)

Changelog

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

2.9.2

Patch Changes

  • Don't log thrown response stubs via handleError in Single Fetch (#9369)
  • Automatically wrap resource route naked object returns in json() for back-compat in v2 (and log deprecation warning) (#9349)
  • Typesafety for single-fetch: defineLoader, defineClientLoader, defineAction, defineClientAction (#9372, #9404)
  • Pass response stub to resource route handlers when single fetch is enabled (#9349)

2.9.1

No significant changes to this package were made in this release. See the repo CHANGELOG.md for an overview of all changes in v2.9.1.

2.9.0

Minor Changes

  • New future.unstable_singleFetch flag (#8773)
    • Naked objects returned from loaders/actions are no longer automatically converted to JSON responses. They'll be streamed as-is via turbo-stream so Date's will become Date through useLoaderData()
    • You can return naked objects with Promise's without needing to use defer() - including nested Promise's
      • If you need to return a custom status code or custom response headers, you can still use the defer utility
    • <RemixServer abortDelay> is no longer used. Instead, you should export const streamTimeout from entry.server.tsx and the remix server runtime will use that as the delay to abort the streamed response
      • If you export your own streamTimeout, you should decouple that from aborting the react renderToPipeableStream. You should always ensure that react is aborted afer the stream is aborted so that abort rejections can be flushed down
    • Actions no longer automatically revalidate on 4xx/5xx responses (via RR future.unstable_skipActionErrorRevalidation flag) - you can return a 2xx to opt-into revalidation or use shouldRevalidate
  • Add ResponseStub header interface for single fetch and deprecate the headers export (#9142)
    • The headers export is no longer used when single fetch is enabled
    • loader/action functions now receive a mutable response parameter
      • type ResponseStub = { status: numbers | undefined, headers: Headers }
    • To alter the status of a response, set the status field directly
      • response.status = 201
    • To set headers on the Response, you may use:
      • response.headers.set
      • response.headers.append
      • response.headers.delete
    • Each loader/actionreceives it's own unique response instance so you cannot see what other loader/action functions have set (which would be subject to race conditions)
    • If all status codes are unset or have values <200, the deepest status code will be used for the HTTP response
    • If any status codes are set to a value >=300, the highest >=300 value will be used for the HTTP Response
    • Remix tracks header operations and will replay them in order (action if present, then loaders top-down) after all handlers have completed on a fresh Headers instance that will be applied to the HTTP Response
      • headers.set on any child handler will overwrite values from parent handlers
      • headers.append can be used to set the same header from both a parent and child handler
      • headers.delete can be used to delete a value set by a parent handler, but not a value set from a child handler
    • Because single fetch supports naked object returns, and you no longer need to return a Response instance to set status/headers, the json/redirect/redirectDocument/defer utilities are considered deprecated when using Single Fetch
    • You may still continue returning normal Response instances and they'll apply status codes in the same way, and will apply all headers via headers.set - overwriting any same-named header values from parents
      • If you need to append, you will need to switch from returning a Response instance to using the new response parameter

Patch Changes

  • Handle net new redirects created by handleDataRequest (#9104)

2.8.1

... (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.9.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]>
Copy link

vercel bot commented May 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
contentful-remix-starter-blog ❌ Failed (Inspect) May 10, 2024 7:51pm

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants