chore(deps): upgrade Immer from 1.8.0 to 7.0.4 #796
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey folks,
I noticed that the version of Immer used here was very outdated (almost 2 years old), and I was hoping to use a feature introduced in version 7 (
current
). I thus figured I could give upgrading Immer a try, and see if it broke anything. As far as tests are concerned, not much broke, and it was very easy to fix. So, here's a PR to upgrade it!However, I am very unsure of this. I thought you might have reasons for not upgrading, and maybe I'm missing some very important details?
In order to help with this, I compiled below the list of all breaking changes in Immer since version 1.8.0:
7.0.0 (2020-06-10)
6.0.0 (2020-03-03)
5.0.0 (2019-10-30)
BREAKING CHANGE: Maps and Sets are treated differently now; they will no longer directly mutated when updated inside a draft
4.0.0 (2019-09-11)
3.0.0 (2019-04-17)
this
in recipe is no longer the draft, but unbound (3f40298)2.0.0 (2019-02-02)
Checklist
master
).