-
Notifications
You must be signed in to change notification settings - Fork 42
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
Update dependency immer to v10 #312
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
a67bb10
to
7eafc8c
Compare
7eafc8c
to
7eb14d8
Compare
7eb14d8
to
33c331d
Compare
33c331d
to
b1c188a
Compare
b1c188a
to
de39390
Compare
de39390
to
960f928
Compare
960f928
to
44dc4cd
Compare
44dc4cd
to
96802e7
Compare
3e62ba7
to
437fcf7
Compare
418a1d9
to
208f0a3
Compare
208f0a3
to
3d186db
Compare
3d186db
to
7c689d8
Compare
7c689d8
to
3662a25
Compare
3662a25
to
1e24982
Compare
1e24982
to
b5cf075
Compare
b5cf075
to
60cda87
Compare
60cda87
to
f38a5a4
Compare
f38a5a4
to
18d7608
Compare
18d7608
to
c575776
Compare
c575776
to
062f3d9
Compare
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
^9.0.21
->^10.0.4
Release Notes
immerjs/immer (immer)
v10.0.4
Compare Source
Bug Fixes
v10.0.3
Compare Source
Bug Fixes
.mjs
file for react-native, which isn't supported by default. Fixes #1058 #1065 (#1075) (f6736a4)v10.0.2
Compare Source
Bug Fixes
Objectish
type (#1043) (75e004d)v10.0.1
Compare Source
Bug Fixes
v10.0.0
Compare Source
Release notes
Proxy
,Reflect
,Symbol
andMap
andSet
.createDraft
andfinishDraft
.enableES5()
, you SHOULD NOT upgrade Immer.enableES5
has been removed.produce
is no longer exposed as thedefault
export. This improves eco system compatibility, and makes sure that there is only one correct way of doing thingsenableAllPlugins
has been removed, useenablePatches(); enableMapSet()
insteadlength
property, in accordance with JSON spec. Thanks kshramt for implementing this in #964!Overall, there is a rough performance increase of 33% for Immer (and in some cases significantly higher), and the (non gzipped) bundle size has reduced from 16 to 11.5 KB, while the the minimal gzipped import of just
produce
has remained roughly the same at 3.3 KB.For more details, see #1015
Migration steps
enableES5()
call, don't migrateuseStrictShallowCopy(true)
at startupimport produce from "immer"
withimport {produce} from "immer"
enableAllPlugins()
withenablePatches(); enableMapSet();
to be more specific and smoothen future migrations.createDraft
instead. Roughly:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.