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 jotai from 1.7.3 to 1.8.2 #651

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

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade jotai from 1.7.3 to 1.8.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 8 versions ahead of your current version.
  • The recommended version was released 21 days ago, on 2022-08-30.
Release notes
Package name: jotai
  • 1.8.2 - 2022-08-30

    There was some regressions in atomWithStorage and atomWithHash in jotai/utils, which should be fixed. (Feel free to report issues.) Also, this version follows the type changes in urql v6, and it's TypeScript-only breaking for jotai/urql users.

    What's Changed

    • refactor(devtools): use useAtomsSnapshot in useAtomsDevtools by @ Aslemammad in #1360
    • fix(utils/atomWithStorage): Prevent createJSONStorage from adding subscribe method when window.addEventListener is not defined by @ mkossoris in #1375
    • fix(utils/atomWithHash): do not cause error when location is not available by @ dai-shi in #1378
    • breaking(types,urql): update @ urql/core v6 by @ dai-shi in #1382

    New Contributors

    Full Changelog: v1.8.1...v1.8.2

  • 1.8.1 - 2022-08-26

    This version includes some bug fixes and improvements, especially in atomFamily and atomWithStorage in jotai/utils.

    What's Changed

    • fix(utils): avoid catching storage error in atomWithStorage by @ dai-shi in #1363
    • fix(babel): Add abortableAtom to babel plugins by @ Thisen in #1365
    • fix(utils/atomFamily): handle edge case with shouldRemove and custom equality function by @ dai-shi in #1366
    • refactor(devtools): silent useAtomsSnapshot/useGotoAtomsSnapshot in prod by @ Aslemammad in #1367

    Full Changelog: v1.8.0...v1.8.1

  • 1.8.0 - 2022-08-19

    This release adds a new internal feature for abortability of async functions. It's provided as abortableAtom util from 'jotai/utils'.

    What's Changed

    • feat(core,utils): abortable atom by @ dai-shi in #1091
    • breaking(devtools): renew useAtomsSnapshot and useGotoAtomsSnapshot by @ dai-shi in #1311
    • feat(utils): support RESET with update function for atomWithStorage/atomWithHash/atomWithReset by @ austinwoon in #1346

    New Contributors

    Full Changelog: v1.7.8...v1.8.0

  • 1.7.8 - 2022-08-08

    This fixes some important logic in core, which has caused some edge-case issues.

    What's Changed

    • fix(core): resolve infinite loop issue in loadable util with error propagation by @ dai-shi in #1332
    • fix(core): redesign invalidated flag by @ dai-shi in #1296

    Full Changelog: v1.7.7...v1.7.8

  • 1.7.7 - 2022-08-01

    This version is important for jotai/query. It now works with @ tanstack/query-core, and no longer supports react-query, which is deprecated. This is breaking change in jotai/query.

    What's Changed

    • breaking(query): migrate to tanstack/query-core v4 & make QueryKey's type generic by @ liaoliao666 in #1126
    • fix(query): prevent creating QueryObserver multiple times by @ Aslemammad in #1313

    New Contributors

    Full Changelog: v1.7.6...v1.7.7

  • 1.7.6 - 2022-07-20

    We still had some typing issues introduced in v1.7.3, which is basically reverted with some improvements.
    This version also has a new implementation of jotai/query which supports error handling.

    What's Changed

    • fix(types): use TS interfaces only for public api by @ dai-shi in #1289
    • feat(query): support error handling (full re-implementation) by @ dai-shi in #1239

    Full Changelog: v1.7.5...v1.7.6

  • 1.7.5 - 2022-07-15

    It includes some refactors in core. Please report issues if any regression is found.

    What's Changed

    Full Changelog: v1.7.4...v1.7.5

  • 1.7.4 - 2022-07-08

    There was a regression in v1.7.3 with TypeScript, which should be fixed in this version.

    What's Changed

    • fix(types): can not export atoms by @ u3u in #1260
    • fix(xstate): atomWithMachine typescript error after updating xstate to version 4.29.0 by @ jahglow in #1274

    New Contributors

    Full Changelog: v1.7.3...v1.7.4

  • 1.7.3 - 2022-06-29

    What's Changed

    • fix(core): useAtom should return correct values when changing atoms by @ dai-shi in #1236
    • fix(build): Handle ESM imports for @ babel/template by @ Thisen in #1254

    Full Changelog: v1.7.2...v1.7.3

from jotai GitHub release notes
Commit messages
Package name: jotai

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

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.

1 participant