Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 21, 2025

Bumps immer from 10.2.0 to 11.1.0.

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
  • bdf5cbd [docs] Documented setUseStrictIteration
  • d38a9d0 feat: Override array methods to avoid proxy creation while iterating and upda...
  • 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
  • Additional commits viewable 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.1.0 branch from b2b527b to 6917595 Compare December 23, 2025 10:55
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.1.0 branch from 6917595 to e155083 Compare December 23, 2025 13:24
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.1.0 branch from e155083 to 639f8f7 Compare December 23, 2025 15:49
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.1.0 branch from 639f8f7 to bf8d37f Compare December 23, 2025 16:30
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.1.0 branch from bf8d37f to 4602c62 Compare December 23, 2025 16:49
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/immer-11.1.0 branch from 4602c62 to d2c1ae4 Compare December 23, 2025 16:56
Bumps [immer](https://github.com/immerjs/immer) from 10.2.0 to 11.1.0.
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](immerjs/immer@v10.2.0...v11.1.0)

---
updated-dependencies:
- dependency-name: immer
  dependency-version: 11.1.0
  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.1.0 branch from d2c1ae4 to 3ae02b5 Compare December 23, 2025 17:04
@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