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 recoil from 0.0.7 to 0.7.7 #785

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

Conversation

adamlaska
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade recoil from 0.0.7 to 0.7.7.

ℹ️ 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 30 versions ahead of your current version.
  • The recommended version was released a year ago, on 2023-03-01.
Release notes
Package name: recoil
  • 0.7.7 - 2023-03-01
    • Fix potential unhandled promise rejection in useRecoilCallback() (#2075)
    • Add OSS support for GateKeeper feature toggling via RecoilEnv.RECOIL_GKS_ENABLED (#2078)
    • Fix resolving suspense of async selectors used with SSR (#2073, #1960)
    • Fix SSR with some versions of React DOM used with Next.JS 13 (#2082, #2086)
  • 0.7.6 - 2022-10-11
    • Expose flag to disable "duplicate atom key" checking / logging, as it was too noisy in environments such as NextJS or some dev environments using Fast Refresh. (#733, #2020, #2046)
      • Import RecoilEnv from the recoil package, and set RecoilEnv.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED = false in code to disable the checking and logging.
      • We also support process.env.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=false in NodeJS environments such as NextJs
      • Caution: This disables all checks for duplicate atom keys including legitimate errors, so use with caution!
    • Workaround for React 18 environments with nested renderers that don't support useSyncExternalStore(). (#2001, #2010)
  • 0.7.5 - 2022-08-11
    • Fix useRecoilSnapshot() with React's Fast Refresh during development (#1891)
    • Fix useRecoilSnapshot() and recoil-sync with changed browser behavior starting with Chrome v104 (#1943, #1936)
  • 0.7.4 - 2022-06-22
    • Fix missing Flow types (#1857)
    • Cleanup memory leak when using atoms with selector defaults. (#1821, #1840, #1844)
  • 0.7.3 - 2022-06-02
    • Enable atoms and selectors to be used in family parameters (#1172)
    • Add parentStoreID_UNSTABLE to atom effects which is the ID of the parent store it cloned from, such as the host <RecoilRoot> store for useRecoilCallback() snapshots. (#1744)
    • Atom effects can initialize or set atoms to wrapped values (#1681)
  • 0.7.3-alpha.2 - 2022-05-09
  • 0.7.3-alpha.1 - 2022-05-06
  • 0.7.3-alpha - 2022-05-06
  • 0.7.2 - 2022-04-14
    • Selector cache lookup optimizations (#1720, #1736)
    • Allow async selectors to re-evaluate when async dependencies are discovered with stale state (#1736)
  • 0.7.1 - 2022-04-13

    Typing

    • Add explicit children prop to <RecoilRoot> and useRecoilBridgeAcrossReactRoots_UNSTABLE() for TypeScript for @ types/react with React 18 (#1718, #1717, #1726, #1731)
    • Update typing for family parameters to better support Map, Set, and classes with toJSON(). (#1709, #1703)

    Fixes

    • Avoid dev-mode console error with React 18 when using shared async selectors across multiple <RecoilRoot>'s. (#1712)
    • Cleanup potential memory leak when using async selectors. (#1714)
    • Fix potentially hung async selectors when shared across multiple roots that depend on atoms initialized with promises that don't resolve. (#1714)
  • 0.7.0 - 2022-04-01

    New Features

    • The default value is now optional for atom() and atomFamily(). If not provided the atom will initialize to a pending state. (#1639)
    • Add getStoreID() method to Snapshot (#1612)
    • Publish RecoilLoadable.loading() factory for making an async Loadable which never resolves. (#1641)

    Breaking Changes

    • Selector's get() and Atom's default can now accept a Loadable to put the node in that state. If you wish to store a Loadable, Promise, or RecoilValue directly you can wrap it with selector.value() or atom.value(). (#1640)
    • useRecoilCallback() now provides a snapshot for the latest state when the callback is called instead of the latest rendered state, which had issues (#1610, #1604)

    Improvements / Optimizations

    • Automatically retain snapshots for the duration of async callbacks. (#1632)
    • Optimization for more selector dependencies. 2x improvement with 100 dependencies, 4x with 1,000, and now able to support 10,000+. (#1651, #1515, #914)
    • Better error reporting when selectors provide inconsistent results (#1696)

    Fixes

    • Avoid spurious console errors from effects when calling setSelf() from onSet() handlers. (#1589, #1582)
    • Freezing user values in dev mode now works in JS environments without the Window interface. (#1571)
  • 0.6.1 - 2022-01-29

    Fix postInstall script

  • 0.6.0 - 2022-01-29
    Read more
  • 0.5.2 - 2021-11-07
  • 0.5.1 - 2021-11-05
  • 0.5.0 - 2021-11-04
  • 0.4.1 - 2021-08-26
  • 0.4.0 - 2021-07-29
  • 0.3.1 - 2021-05-18
  • 0.3.0 - 2021-05-14
  • 0.2.0 - 2021-03-31
  • 0.1.3 - 2021-03-02
  • 0.1.2 - 2020-10-30
  • 0.1.1 - 2020-10-30
  • 0.0.13 - 2020-09-16
  • 0.0.12 - 2020-09-16
  • 0.0.11 - 2020-09-15
  • 0.0.10 - 2020-06-18
  • 0.0.9 - 2020-06-18
  • 0.0.8 - 2020-05-31
  • 0.0.7 - 2020-05-14
from recoil GitHub release notes
Commit messages
Package name: recoil
  • aa8464e Bump version for 0.7.7 release
  • 02decc2 Enable LTI in more html/shared folders
  • 37ca477 Presuppress issues before landing flow v0.200.0 to WWW
  • f1dd5e8 Remove useless JSX spreads
  • 4c63935 Add annotations to implicit instantiations required for Flow's Local Type Inference project
  • fa547e5 Daily removal of unused Flow suppressions
  • d450a5b Add explicit annotations to empty arrays in html [2/2]
  • ffd3e45 Suppress errors for Flow 0.198.0
  • ad58b24 Add explicit type arguments to underconstrained `new Array(len)` calls
  • 0a5418b Daily removal of unused Flow suppressions
  • e842d10 Autofix ESLint Rule fb-www/no-return-right-after-declare: : html/shared/recoil/packages/shared/util
  • 3d142b5 Update copyright header of file 'compactArray.js'
  • f1d2969 Update file header to use MetaHeader
  • 113909c Fix 1k LTI errors in html/shared
  • ad371da Improve performance by compressing in parallel ✈️ (Update case-sensitive-paths-webpack-plugin to the latest version 🚀 vercel/next.js#2116)
  • da90caa Add annotations to break type cycles in www root
  • ba4c18b fix: replace var to const declaration (<style jsx global> not flushed with shallow Router.replace vercel/next.js#2125)
  • baa9439 Turn on post-inference implicit instantiation in www
  • 4777880 Autofix ESLint Rule fb-www/line-break-around-use-strict: : html/shared/recoil/packages/shared/util
  • 45382ce Remove unused ESLint disables: html/shared/recoil/packages/recoil/recoil_values/__flowtests__
  • 190366c Fix tests to prep for React sync
  • e0a1f9c Asset Ownership Update For asset://code.file/www/scripts%2Frecoil%2F__github__%2Fpackages-ext%2Frecoil-devtools%2Fsrc%2Futils%2Fsankey%2FCV2_memoize.js
  • bf9f12f Asset Ownership Update For asset://code.file/www/scripts%2Frecoil%2F__github__%2Feslint-rules%2Fno-fb-only.js
  • 72fcadb Add explicit annotations to underconstrained implicit instantiations in www with --default-any [4/5]

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

Copy link

google-cla bot commented May 7, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/recursive-copy@2.0.11 None 0 24.4 kB timkendrick
npm/typescript@3.9.10 None 0 54.1 MB typescript-bot

View full report↗︎

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