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

[Snyk] Upgrade swr from 0.3.11 to 0.4.2 #3717

Merged
merged 2 commits into from
Mar 11, 2021

Conversation

willmcvay
Copy link
Contributor

Snyk has created this PR to upgrade swr from 0.3.11 to 0.4.2.

merge advice
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 4 versions ahead of your current version.
  • The recommended version was released a month ago, on 2021-02-08.
Release notes
Package name: swr
  • 0.4.2 - 2021-02-08

    Patches

    • Chore: add comments that revalidate will be deprecated: #937
    • Remove legacy useSWRPages types: #938
    • Test: fix flaky tests for focus and location mutation: #944
    • Refactor: rename from waitForDedupingInterval to waitForNextTick: #960
    • Fix: checking if document is defined: #963

    Credits

    Huge thanks to @ koba04 for helping!

  • 0.4.1 - 2021-01-28

    Patches

    • Enhance: let config.isPaused works with react state: #871
    • Fix: add protection for navigator: #877
    • Ci: add GitHub Actions for CI: #879
    • Ci: remove Travis CI: #887
    • Docs: add isPaused() into the options: #888
    • Update default fetcher documentation in README.md: #891
    • Fix: revalidateOnFocus not working on '< iOS 14': #889
    • Refactor: use getter functions to avoid unnecessary re-renders: #890
    • Fix: add server check back for rAF: #899
    • Fix: react-hooks/exhaustive-deps warnings: #886
    • Test: add a test for useSWRInfinite with initialData: #894
    • Separate tests: #901
    • Refactor: fix all react-hooks/exhaustive-deps warnings in tests: #902
    • Docs: use a fake GraphQL endpoint instead of graph.cool: #904
    • Refactor: fix all react-hooks/exhaustive-deps warnings in useSWRInfinite: #905
    • Fix the revalidation condition of the first page: #895
    • Check key before calling callback: #856
    • Chore: format files: #915
    • Chore: rm duplicated tests: #914
    • Test: recognize type definition for screen of testing-library/react: #903
    • Chore: add a comment why fetcher accepts null: #918
    • Refactor: fix all react-hooks/exhaustive-deps warnings in useSWR: #927

    Credits

    Huge thanks to @ huozhi, @ koba04, @ mcamis, @ joshuakimDwan, @ joakimgrr, and @ promer94 for helping!

  • 0.4.1-beta.1 - 2021-01-16
  • 0.4.0 - 2021-01-07

    Minor Changes

    • Feature: provide config.isPaused indicating idle state and stop revalidation: #845
    • First page of useSWRInfinite should reuse the cache from useSWR: #799

    Patches

    • Keep isValidating be true when there are two concurrent requests: #817
    • Fix act: #839
    • Fix: clear refresh timer on effects change and check it on starting new timer: #853
    • Add test for #852: #855

    Credits

    Huge thanks to @ huozhi, @ MoonBall, and @ promer94 for helping!

  • 0.3.11 - 2020-12-20

    Patches

    • Fix #832: #833
    • Test(fetch) add test for default fetcher: #834

    Credits

    Huge thanks to @ promer94 and @ darrenjennings for helping!

from swr GitHub release notes
Commit messages
Package name: swr

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@willmcvay willmcvay force-pushed the snyk-upgrade-d76859ca0342952817c947e073e247ef branch from f244f9b to c33c0f5 Compare March 11, 2021 10:45
@willmcvay willmcvay merged commit 63947f1 into master Mar 11, 2021
@willmcvay willmcvay deleted the snyk-upgrade-d76859ca0342952817c947e073e247ef branch March 11, 2021 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants