Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 23, 2025

Bumps immer from 10.2.0 to 11.0.0.

Release notes

Sourced from immer's releases.

v11.0.0

11.0.0 (2025-11-23)

Performance Improvements

  • Rewrite finalization system to use a callback approach instead of tree traversal (#1183) (d6c1202)

BREAKING CHANGES

  • enable loose iteration by default

  • Simplify some iteration checks

  • Allow passing type to get/set utils to skip archetype lookup

  • Convert assigned_ to Map

  • Enable loose iteration

  • Replace recursive tree finalization with targeted callbacks

Ported Mutative's "finalization callback" approach as a more targeted and performant implementation for finalization compared to the existing recursive tree traversal approach:

  • Added cleanup callbacks for each draft that's created
  • Added callbacks to handle root drafts, assigned values, and recursing inside of plain values
  • Updated state creation to return [draft, state] to avoid a lookup
  • Rewrote patch generation system to work with callbacks instead of during tree traversal
  • Update self-reference test with new behavior
  • Apply code review suggestions
  • Byte-shave scopes and patch plugin usage
  • Inline finalizeAssigned
  • Move fixPotentialSetContents to plugin
  • Byte-shave typeof utils
  • Byte-shave Object references
  • Byte-shave field names and arrow functions
Commits
  • d6c1202 perf: Rewrite finalization system to use a callback approach instead of tree ...
  • 521d5ed Merge pull request #1187 from immerjs/feature/more-benchmarks-3
  • 8b341a5 Tweak perf output formatting
  • 964e3b3 Add second large object test to check v8 non-fast properties
  • 3955eed Merge pull request #1186 from immerjs/feature/more-benchmarks-2
  • e074b51 Add largeObject and mapNested benchmarks
  • See full diff 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.0 branch from 8be66bf to 97a82c6 Compare November 25, 2025 09:15
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.0 branch from 97a82c6 to 1e78406 Compare November 25, 2025 09:22
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.0 branch from 1e78406 to be1547b Compare November 25, 2025 09:29
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.0 branch from be1547b to 7465d52 Compare November 25, 2025 09:39
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.0 branch from 7465d52 to 5751509 Compare November 25, 2025 09:47
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.0 branch from 5751509 to 91caf8d Compare November 25, 2025 09:54
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.0 branch from 91caf8d to 252bb77 Compare November 25, 2025 10:01
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.0 branch from 252bb77 to 0ddb7b1 Compare November 25, 2025 10:10
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.0 branch from 0ddb7b1 to c8d8231 Compare November 25, 2025 10:18
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.0 branch from c8d8231 to 586040d Compare November 25, 2025 10:31
Bumps [immer](https://github.com/immerjs/immer) from 10.2.0 to 11.0.0.
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](immerjs/immer@v10.2.0...v11.0.0)

---
updated-dependencies:
- dependency-name: immer
  dependency-version: 11.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.0 branch from 586040d to 3f176b5 Compare November 26, 2025 10:50
@sonarqubecloud
Copy link

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 30, 2025

Superseded by #19823.

@dependabot dependabot bot closed this Nov 30, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/immer-11.0.0 branch November 30, 2025 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants