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 added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 30, 2025
@dependabot dependabot bot requested a review from vlad-iakovlev as a code owner November 30, 2025 21:02
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 30, 2025
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.1 branch from 4bc739a to ac9e176 Compare December 3, 2025 21:00
Bumps [immer](https://github.com/immerjs/immer) from 10.2.0 to 11.0.1.
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](immerjs/immer@v10.2.0...v11.0.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.0.1 branch from ac9e176 to 2f96ef9 Compare December 6, 2025 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant