-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore(deps): update dependency immer to v10 #978
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
c4d8e79
to
6b39e57
Compare
📦 Next.js Bundle Analysis for @squonk/data-manager-uiThis analysis was generated by the Next.js Bundle Analysis action. 🤖 🎉 Global Bundle Size Decreased
DetailsThe global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster. Any third party scripts you have added directly to your app using the If you want further insight into what is behind the changes, give @next/bundle-analyzer a try! |
6b39e57
to
62f5459
Compare
📦 Next.js Bundle Analysis for @squonk/data-manager-uiThis analysis was generated by the Next.js Bundle Analysis action. 🤖 🎉 Global Bundle Size Decreased
DetailsThe global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster. Any third party scripts you have added directly to your app using the If you want further insight into what is behind the changes, give @next/bundle-analyzer a try! Two Pages Changed SizeThe following pages changed size from the code in this PR compared to its base branch:
DetailsOnly the gzipped size is provided here based on an expert tip. First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If Any third party scripts you have added directly to your app using the The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored. |
62f5459
to
b2c96bd
Compare
📦 Next.js Bundle Analysis for @squonk/data-manager-uiThis analysis was generated by the Next.js Bundle Analysis action. 🤖 🎉 Global Bundle Size Decreased
DetailsThe global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster. Any third party scripts you have added directly to your app using the If you want further insight into what is behind the changes, give @next/bundle-analyzer a try! One Page Changed SizeThe following page changed size from the code in this PR compared to its base branch:
DetailsOnly the gzipped size is provided here based on an expert tip. First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If Any third party scripts you have added directly to your app using the The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored. |
b2c96bd
to
d5a99ea
Compare
d5a99ea
to
b6ecf55
Compare
📦 Next.js Bundle Analysis for @squonk/data-manager-uiThis analysis was generated by the Next.js Bundle Analysis action. 🤖 🎉 Global Bundle Size Decreased
DetailsThe global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster. Any third party scripts you have added directly to your app using the If you want further insight into what is behind the changes, give @next/bundle-analyzer a try! One Page Changed SizeThe following page changed size from the code in this PR compared to its base branch:
DetailsOnly the gzipped size is provided here based on an expert tip. First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If Any third party scripts you have added directly to your app using the The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored. |
b6ecf55
to
5024c02
Compare
1544b5d
to
8006b49
Compare
8006b49
to
1b558d4
Compare
1b558d4
to
c896b73
Compare
c896b73
to
70058aa
Compare
70058aa
to
064ed99
Compare
064ed99
to
632d388
Compare
632d388
to
234f558
Compare
234f558
to
eb96aa1
Compare
eb96aa1
to
5b5df41
Compare
This PR contains the following updates:
9.0.21
->10.1.1
Release Notes
immerjs/immer (immer)
v10.1.1
Compare Source
Bug Fixes
applyPatches
to acceptreadonly Patch[]
(#1094) (4da2e0d)v10.1.0
Compare Source
Features
setUseStrictShallowCopy("class_only")
to revert to the old behavior. For more details see https://immerjs.github.io/immer/complex-objects#semantics-in-detailv10.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 was generated by Mend Renovate. View the repository job log.