chore: bump swr from 1.3.0 to 2.0.3 in /frontend
Bumps swr from 1.3.0 to 2.0.3.
Release notes
Sourced from swr's releases.
v2.0.3
Patches
fix: parameters passed to subscribe is inconsistent with its declaration by
@hong24in vercel/swr#2353fix: when inifinite key changes, should use cached pagesize instead of initialSize by
@promer94in vercel/swr#2386fix: make compare function only compare data (#2375) by
@Retrospectionand@promer94in vercel/swr#2387 vercel/swr#2389fix: initial loading state should be false with revalidation is disabed by
@promer94in vercel/swr#2382fix: Ensure hydration matches the SSR result during streaming by
@shudingin vercel/swr#2391Chores
- ci: only run release when tags pushed by
@promer94in vercel/swr#2388- unify
-characters in README.md by@JanKaiferin vercel/swr#2334New Contributors
@hong24made their first contribution in vercel/swr#2353@Retrospectionmade their first contribution in vercel/swr#2387@JanKaifermade their first contribution in vercel/swr#2334Full Changelog: https://github.com/vercel/swr/compare/v2.0.2...v2.0.3
v2.0.2
Patches
- fix: delay revalidation if a key is already active and has error by
@promer94in vercel/swr#2338- fix: createCacheHelper type by
@promer94in vercel/swr#2365Chores
- release workflow by
@huozhiin vercel/swr#2374, vercel/swr#2381, vercel/swr#2383, vercel/swr#2384, vercel/swr#2385Full Changelog: https://github.com/vercel/swr/compare/v2.0.1...v2.0.2
v2.0.1
In this patch release, we majorly improved typing support and SWR can infer the types based on the configuration.
- When the
suspenseoption istrue, the returneddatawill excludeundefinedand theisLoadingwill always befalse.- When the
fallbackDataoption is provided, the returneddatawill be the same type offallbackData, and theisLoadingwill always befalse.Here's a demo for it:
https://user-images.githubusercontent.com/4800338/213288879-ffbeeeb5-aca5-4a65-8229-69fbf9b0bf70.mp4
What's Changed
- types: make FullConfiguration generic by
@huozhiin vercel/swr#2273- type: enforce array literal as tuple by
@promer94in vercel/swr#2283
... (truncated)
Commits
903de332.0.36fa714bfix: Ensure hydration matches the SSR result during streaming (#2391)77f922funify-characters in README.md (#2334)d603bb6fix: initial loading state should be false with revalidation is disabed (#2382)cc97171test: add test case for #2375 (#2389)e188ad9fix: make compare function only compare data (#2375) (#2387)8847ddcci: only run release when tags pushed (#2388)8cc7932fix: when inifinite key changes, should use cached pagesize instead of initia...33954d7fix: parameters passed to subscribe is inconsistent with its declaration (#2353)c0090abbuild: fix typos in workflow yml (#2385)- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Deploy Preview for jocular-jalebi-521272 ready!
| Name | Link |
|---|---|
| Latest commit | e1b4c5a6a5180c29e52428f34726512ea4b741f5 |
| Latest deploy log | https://app.netlify.com/sites/jocular-jalebi-521272/deploys/63d7fc2b154ffe00080e4511 |
| Deploy Preview | https://deploy-preview-292--jocular-jalebi-521272.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.