Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Bump recoil from 0.3.1 to 0.4.1 #151

Merged
merged 1 commit into from
Oct 14, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 21, 2021

Bumps recoil from 0.3.1 to 0.4.1.

Release notes

Sourced from recoil's releases.

0.4.1

  • Performance optimizations to suppress re-rendering components:
    • When subscribed selectors evaluate to the same value. (#749, #952)
    • On initial render when not using React Concurrent Mode (#820)
    • When selector async deps resolve, but React re-renders before chained promises have executed.
  • Fixed #1072 where in some cases selectors with async deps would not update in response to state updates

0.4.0

New Features

  • Selector cache configuration: introduced cachePolicy_UNSTABLE option for selectors and selector families. This option allows you to control the behavior of how the selector evicts entries from its internal cache.
  • Improved useRecoilTransaction_UNSTABLE() hook for transactions with multiple atoms (#1085)

Fixes and Optimizations

  • Fix TypeScript typing for selectorFamily(), getCallback(), useGetRecoilValueInfo(), and Snapshot#getNodes() (#1060, #1116, #1123)
  • Allow mutable values in selectors to be used with waitFor*() helpers (#1074, #1096)
  • Atom Effects fixes:
    • Fix onSet() handler to get the proper new value when an atom is reset or has an async default Promise that resolves (#1059, #1050, #738) (Slightly breaking change)
    • Fix support for multiple Atom effects cleanup handlers (#1125)
    • Fix selector subscriptions when atoms with effects are initialized via a Snapshot (#1135, #1107)
  • Optimization for async selectors when dependencies resolve to cached values (#1037)
  • Remove unnecessary warning message (#1034, #1062)
Changelog

Sourced from recoil's changelog.

0.4.1 (2021-08-26)

  • Performance optimizations to suppress re-rendering components:
    • When subscribed selectors evaluate to the same value. (#749, #952)
    • On initial render when not using React Concurrent Mode (#820)
    • When selector async deps resolve, but React re-renders before chained promises have executed.
  • Fixed #1072 where in some cases selectors with async deps would not update in response to state updates

0.4 (2021-07-30)

New Features

  • Selector cache configuration: introduced cachePolicy_UNSTABLE option for selectors and selector families. This option allows you to control the behavior of how the selector evicts entries from its internal cache.
  • Improved useRecoilTransaction_UNSTABLE() hook for transactions with multiple atoms (#1085)

Fixes and Optimizations

  • Fix TypeScript typing for selectorFamily(), getCallback(), useGetRecoilValueInfo(), and Snapshot#getNodes() (#1060, #1116, #1123)
  • Allow mutable values in selectors to be used with waitFor*() helpers (#1074, #1096)
  • Atom Effects fixes:
    • Fix onSet() handler to get the proper new value when an atom is reset or has an async default Promise that resolves (#1059, #1050, #738) (Slightly breaking change)
    • Fix support for multiple Atom effects cleanup handlers (#1125)
    • Fix selector subscriptions when atoms with effects are initialized via a Snapshot (#1135, #1107)
  • Optimization for async selectors when dependencies resolve to cached values (#1037)
  • Remove unnecessary warning message (#1034, #1062)
Commits
  • 64d76f7 0.4.1 Release (#1190)
  • 472a856 Enable recoil_suppress_rerender_in_callback GK for OSS (#1185)
  • 0683259 update changelog for fixing issue #1072 (#1184)
  • 714b2dc fix selector bug where in some cases a selector would not update in response ...
  • b2e7328 Fix Loadable mapping (#1175)
  • 0ae833b fix Comparison type == may cause unexpected type coercion (#1173)
  • d8fc744 fix type for initializer in Connection Class constructor (#1155)
  • 4c21208 Bump tar from 6.1.0 to 6.1.5 in /packages/todo-example (#1149)
  • 37fca07 Bump path-parse from 1.0.6 to 1.0.7 in /packages/todo-example (#1160)
  • bfe1040 Bump path-parse from 1.0.6 to 1.0.7 (#1158)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [recoil](https://github.com/facebookexperimental/Recoil) from 0.3.1 to 0.4.1.
- [Release notes](https://github.com/facebookexperimental/Recoil/releases)
- [Changelog](https://github.com/facebookexperimental/Recoil/blob/main/CHANGELOG.md)
- [Commits](facebookexperimental/Recoil@0.3.1...0.4.1)

---
updated-dependencies:
- dependency-name: recoil
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 21, 2021
@hdl-service hdl-service added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Sep 21, 2021
@WatanabeToshimitsu
Copy link
Contributor

/approve
/lgtm

@hdl-service hdl-service added the lgtm Indicates that a PR is ready to be merged. label Oct 14, 2021
@hdl-service
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dependabot[bot], WatanabeToshimitsu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hdl-service hdl-service added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 14, 2021
@hdl-service hdl-service merged commit 3240a8b into master Oct 14, 2021
@hdl-service hdl-service deleted the dependabot/npm_and_yarn/recoil-0.4.1 branch October 14, 2021 02:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants