Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 23, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
immer 10.1.1 -> 11.0.1 age adoption passing confidence

Release Notes

immerjs/immer (immer)

v11.0.1

Compare Source

v11.0.0

Compare Source

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

v10.2.0

Compare Source

Features
  • Optimize Immer performance where possible, introduce setUseStrictIteration (#​1164) (e1996ce)

v10.1.3

Compare Source

Bug Fixes

v10.1.2

Compare Source

Bug Fixes

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 23, 2025
@renovate renovate bot had a problem deploying to data-manager-ui/test November 23, 2025 13:02 Failure
@renovate renovate bot temporarily deployed to data-manager-ui/test November 23, 2025 13:02 Inactive
@renovate renovate bot force-pushed the renovate/immer-11.x branch from dfabdb4 to c827e2f Compare November 28, 2025 08:55
@renovate renovate bot had a problem deploying to data-manager-ui/test November 28, 2025 08:55 Failure
@renovate renovate bot had a problem deploying to data-manager-ui/test November 28, 2025 08:55 Failure
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant