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): update dependency swr to v2 #322

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 10, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
swr (source) 1.3.0 -> 2.2.5 age adoption passing confidence
swr (source) ^1.3.0 -> ^2.0.0 age adoption passing confidence

Release Notes

vercel/swr (swr)

v2.2.5

Compare Source

Patches

Misc

New Contributors

Full Changelog: vercel/swr@v2.2.4...v2.2.5

v2.2.4

Compare Source

Patches

Full Changelog: vercel/swr@v2.2.3...v2.2.4

v2.2.3

Compare Source

Patches
Misc
New Contributors

Full Changelog: vercel/swr@v2.2.2...v2.2.3

v2.2.2

Compare Source

What's Changed

New Contributors

Full Changelog: vercel/swr@v2.2.1...v2.2.2

v2.2.1

Compare Source

What's Changed

New Contributors

Full Changelog: vercel/swr@v2.2.0...v2.2.1

v2.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: vercel/swr@v2.1.5...v2.2.0

v2.1.5

Compare Source

What's Changed

Full Changelog: vercel/swr@v2.1.4...v2.1.5

v2.1.4

Compare Source

What's Changed

New Contributors

Full Changelog: vercel/swr@v2.1.3...v2.1.4

v2.1.3

Compare Source

What's Changed

New Contributors

Full Changelog: vercel/swr@v2.1.2...v2.1.3

v2.1.2

Compare Source

Patches
  • Improved type inferring for swr/subscription
  • Adding SWRSubscriptionOptions type for swr/subscription
Changes
New Contributors

Full Changelog: vercel/swr@v2.1.1...v2.1.2

v2.1.1

Compare Source

Patches

Documentation

New Contributors

Full Changelog: vercel/swr@v2.1.0...v2.1.1

v2.1.0

Compare Source

v2.0.4

Compare Source

Patches
Misc
New Contributors

Full Changelog: vercel/swr@v2.0.3...v2.0.4

v2.0.3

Compare Source

Patches

Chores

New Contributors

Full Changelog: vercel/swr@v2.0.2...v2.0.3

v2.0.2

Compare Source

Patches

Chores

Full Changelog: vercel/swr@v2.0.1...v2.0.2

v2.0.1

Compare Source

In this patch release, we majorly improved typing support and SWR can infer the types based on the configuration.

  • When the suspense option is true, the returned data will exclude undefined and the isLoading will always be false.
  • When the fallbackData option is provided, the returned data will be the same type of fallbackData, and the isLoading will always be false.

Here's a demo for it:

swr-2.0.1.mp4

What's Changed

New Contributors

Full Changelog: vercel/swr@2.0.0...v2.0.1

v2.0.0

Compare Source

Announcing SWR 2.0

We are excited to announce the release of SWR 2.0! The new version comes with a lot of improvements:

  • New useSWRMutation hook
  • Enhanced mutation and optimistic UI capabilities
  • SWR DevTools
  • Preload resource
  • Improved React 18 support

And more!

Read our blog post and migration guide: https://swr.vercel.app/blog/swr-v2

What's Changed

New Contributors

Full Changelog: vercel/swr@1.2.2...2.0.0


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

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


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update dependency swr to v2 Update dependency swr to v2 Dec 17, 2022
@renovate renovate bot changed the title Update dependency swr to v2 chore(deps): update dependency swr to v2 Dec 17, 2022
@renovate renovate bot force-pushed the renovate/swr-2.x branch 2 times, most recently from 3d5af4b to 09e7dd5 Compare January 28, 2023 15:30
@renovate renovate bot force-pushed the renovate/swr-2.x branch 2 times, most recently from 2add6f7 to 258e804 Compare February 3, 2023 14:30
@renovate renovate bot force-pushed the renovate/swr-2.x branch 2 times, most recently from 052aef9 to ccb3e2e Compare April 25, 2023 14:46
Copy link
Contributor Author

renovate bot commented Feb 18, 2024

⚠ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: vitest-jest-dom/pnpm-lock.yaml
 WARN  GET https://registry.npmjs.org/ky-universal/-/ky-universal-0.11.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
Progress: resolved 1, reused 0, downloaded 0, added 0
Progress: resolved 14, reused 14, downloaded 0, added 0
 WARN  GET https://registry.npmjs.org/ky-universal/-/ky-universal-0.11.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
undefined
 ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams

TypeError [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
    at Proxy.getAll (node:internal/url:527:13)
    at Proxy.<anonymous> (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59380:55)
    at /opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59442:31
    at Array.reduce (<anonymous>)
    at Proxy.raw (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59441:33)
    at new Headers (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59326:28)
    at getNodeRequestOptions (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59675:23)
    at /opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59732:25
    at new Promise (<anonymous>)
    at fetch (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59730:14)

File name: swc-suspense/pnpm-lock.yaml
 WARN  The "store" setting has been renamed to "store-dir". Please use the new name.
 WARN  GET https://registry.npmjs.org/swr error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/react/-/react-18.0.18.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.6.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-2.0.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vite/-/vite-3.0.9.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/ky/-/ky-0.33.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/react/-/react-18.2.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/swr error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/react/-/react-18.0.18.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.6.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-2.0.1.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/vite/-/vite-3.0.9.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/ky/-/ky-0.33.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/react/-/react-18.2.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
undefined
 ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams

File name: open-api-gen/pnpm-lock.yaml
 WARN  GET https://registry.npmjs.org/swr error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/tsd/-/tsd-0.25.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
Progress: resolved 0, reused 1, downloaded 0, added 0
Progress: resolved 12, reused 12, downloaded 0, added 0
 WARN  GET https://registry.npmjs.org/swr error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/tsd/-/tsd-0.25.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
undefined
 ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams

TypeError [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
    at Proxy.getAll (node:internal/url:527:13)
    at Proxy.<anonymous> (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59380:55)
    at /opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59442:31
    at Array.reduce (<anonymous>)
    at Proxy.raw (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59441:33)
    at new Headers (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59326:28)
    at getNodeRequestOptions (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59675:23)
    at /opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59732:25
    at new Promise (<anonymous>)
    at fetch (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59730:14)
 ERR_PNPM_META_FETCH_FAIL  GET https://registry.npmjs.org/swr: Value of "this" must be of type URLSearchParams
Progress: resolved 13, reused 12, downloaded 0, added 0

File name: next-modal-routing/pnpm-lock.yaml
 WARN  GET https://registry.npmjs.org/react-use/-/react-use-17.4.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
Progress: resolved 1, reused 0, downloaded 0, added 0
Progress: resolved 11, reused 11, downloaded 0, added 0
 WARN  GET https://registry.npmjs.org/react-use/-/react-use-17.4.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
undefined
 ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams

TypeError [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
    at Proxy.getAll (node:internal/url:527:13)
    at Proxy.<anonymous> (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59380:55)
    at /opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59442:31
    at Array.reduce (<anonymous>)
    at Proxy.raw (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59441:33)
    at new Headers (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59326:28)
    at getNodeRequestOptions (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59675:23)
    at /opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59732:25
    at new Promise (<anonymous>)
    at fetch (/opt/containerbase/tools/pnpm/7.26.3/node_modules/pnpm/dist/pnpm.cjs:59730:14)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants