Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps immer from 10.2.0 to 11.0.1.

Release notes

Sourced from immer's releases.

v11.0.1

11.0.1 (2025-11-28)

Bug Fixes

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
  • 99e59a8 fix: (dummy fix to release freeze fix per #1193)
  • 4d2179b Merge pull request #1193 from immerjs/bugfix/1192-non-draftable-values
  • ad510d4 Re-add isDraftable check to skip freezing non-obj values
  • 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.1 branch from 3439a42 to 46ef446 Compare December 2, 2025 08:51
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.1 branch from 46ef446 to 7064735 Compare December 3, 2025 09:16
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.1 branch from 7064735 to 39121a7 Compare December 3, 2025 09:25
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.1 branch from 39121a7 to 6d82ad1 Compare December 3, 2025 09:32
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.1 branch from 6d82ad1 to 1039a03 Compare December 3, 2025 09:40
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.1 branch from 1039a03 to 6ecc849 Compare December 3, 2025 09:48
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.1 branch from 6ecc849 to 495fa09 Compare December 3, 2025 16:20
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.1 branch from 495fa09 to 555e54f Compare December 3, 2025 16:23
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.1 branch from 555e54f to 1f85ceb Compare December 3, 2025 17:30
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.1 branch from 1f85ceb to f8554a2 Compare December 3, 2025 17:42
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.1 branch from f8554a2 to e118316 Compare December 10, 2025 15:48
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.1 branch from e118316 to 11220ba Compare December 10, 2025 15:57
Dependabot couldn't find the original pull request head commit, f8554a2.
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.1 branch from 11220ba to ea45774 Compare December 10, 2025 16:06
@sonarqubecloud
Copy link

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