storyblok / remix-ultimate-tutorial

7 stars 3 forks source link

chore(deps): bump @remix-run/react from 2.9.1 to 2.11.1 #88

Open dependabot[bot] opened 3 months ago

dependabot[bot] commented 3 months ago

Bumps @remix-run/react from 2.9.1 to 2.11.1.

Release notes

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

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

Changelog

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

2.11.1

Patch Changes

  • Revert #9695, stop infinite reload. (#9833)
  • Updated dependencies:
    • @remix-run/server-runtime@2.11.1

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

  • Single Fetch: Ensure calls don't include any trailing slash from the pathname (i.e., /path/.data) (#9792)
  • Single Fetch: Add undefined to the useRouteLoaderData type override (#9796)
  • Change initial hydration route mismatch from a URL check to a matches check to be resistant to URL inconsistencies (#9695)
  • Updated dependencies:
    • @remix-run/server-runtime@2.11.0

2.10.3

Patch Changes

  • Log any errors encountered loading a route module prior to reloading the page (#8932)
  • Single Fetch (unstable): Proxy request.signal through dataStrategy for loader calls to fix cancellation (#9738)

... (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 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)
netlify[bot] commented 3 months ago

Deploy Preview for storyblok-remix-ultimate-tutorial ready!

Name Link
Latest commit 24a77011acf66b5b37f88d41a7704577cb5bd61f
Latest deploy log https://app.netlify.com/sites/storyblok-remix-ultimate-tutorial/deploys/66b1a275637a3f0008045a91
Deploy Preview https://deploy-preview-88--storyblok-remix-ultimate-tutorial.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.