[PR #29969] chore(deps): bump immer from 10.2.0 to 11.1.0 in /web #32630

Closed
opened 2026-02-21 20:51:46 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/29969

State: closed
Merged: Yes


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)
**Original Pull Request:** https://github.com/langgenius/dify/pull/29969 **State:** closed **Merged:** Yes --- Bumps [immer](https://github.com/immerjs/immer) from 10.2.0 to 11.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/immerjs/immer/releases">immer's releases</a>.</em></p> <blockquote> <h2>v11.0.1</h2> <h2><a href="https://github.com/immerjs/immer/compare/v11.0.0...v11.0.1">11.0.1</a> (2025-11-28)</h2> <h3>Bug Fixes</h3> <ul> <li>(dummy fix to release freeze fix per <a href="https://redirect.github.com/immerjs/immer/issues/1193">#1193</a>) (<a href="https://github.com/immerjs/immer/commit/99e59a8d127fac1a3b98f943a90347a46d1779fa">99e59a8</a>)</li> </ul> <h2>v11.0.0</h2> <h1><a href="https://github.com/immerjs/immer/compare/v10.2.0...v11.0.0">11.0.0</a> (2025-11-23)</h1> <h3>Performance Improvements</h3> <ul> <li>Rewrite finalization system to use a callback approach instead of tree traversal (<a href="https://redirect.github.com/immerjs/immer/issues/1183">#1183</a>) (<a href="https://github.com/immerjs/immer/commit/d6c12028c05c1f7bbbdba0e3978b7c06988aa7f2">d6c1202</a>)</li> </ul> <h3>BREAKING CHANGES</h3> <ul> <li> <p>enable loose iteration by default</p> </li> <li> <p>Simplify some iteration checks</p> </li> <li> <p>Allow passing type to get/set utils to skip archetype lookup</p> </li> <li> <p>Convert assigned_ to Map</p> </li> <li> <p>Enable loose iteration</p> </li> <li> <p>Replace recursive tree finalization with targeted callbacks</p> </li> </ul> <p>Ported Mutative's &quot;finalization callback&quot; approach as a more targeted and performant implementation for finalization compared to the existing recursive tree traversal approach:</p> <ul> <li>Added cleanup callbacks for each draft that's created</li> <li>Added callbacks to handle root drafts, assigned values, and recursing inside of plain values</li> <li>Updated state creation to return [draft, state] to avoid a lookup</li> <li>Rewrote patch generation system to work with callbacks instead of during tree traversal</li> </ul> <ul> <li>Update self-reference test with new behavior</li> <li>Apply code review suggestions</li> <li>Byte-shave scopes and patch plugin usage</li> <li>Inline finalizeAssigned</li> <li>Move fixPotentialSetContents to plugin</li> <li>Byte-shave typeof utils</li> <li>Byte-shave Object references</li> <li>Byte-shave field names and arrow functions</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/immerjs/immer/commit/bdf5cbd413d394ba5895f941fc64a67fa6f94ef5"><code>bdf5cbd</code></a> [docs] Documented setUseStrictIteration</li> <li><a href="https://github.com/immerjs/immer/commit/d38a9d046b79e65fc879ed286be43e9753e24144"><code>d38a9d0</code></a> feat: Override array methods to avoid proxy creation while iterating and upda...</li> <li><a href="https://github.com/immerjs/immer/commit/99e59a8d127fac1a3b98f943a90347a46d1779fa"><code>99e59a8</code></a> fix: (dummy fix to release freeze fix per <a href="https://redirect.github.com/immerjs/immer/issues/1193">#1193</a>)</li> <li><a href="https://github.com/immerjs/immer/commit/4d2179b0f0a1c1c7bc76cd965355e2e1da81b313"><code>4d2179b</code></a> Merge pull request <a href="https://redirect.github.com/immerjs/immer/issues/1193">#1193</a> from immerjs/bugfix/1192-non-draftable-values</li> <li><a href="https://github.com/immerjs/immer/commit/ad510d4bfaa192d6217dec15003d4f2821dad9f9"><code>ad510d4</code></a> Re-add isDraftable check to skip freezing non-obj values</li> <li><a href="https://github.com/immerjs/immer/commit/d6c12028c05c1f7bbbdba0e3978b7c06988aa7f2"><code>d6c1202</code></a> perf: Rewrite finalization system to use a callback approach instead of tree ...</li> <li><a href="https://github.com/immerjs/immer/commit/521d5edc5c870b36775e489c165112f16556a891"><code>521d5ed</code></a> Merge pull request <a href="https://redirect.github.com/immerjs/immer/issues/1187">#1187</a> from immerjs/feature/more-benchmarks-3</li> <li><a href="https://github.com/immerjs/immer/commit/8b341a53612cda7de4acb8603bd97fb8093c7392"><code>8b341a5</code></a> Tweak perf output formatting</li> <li><a href="https://github.com/immerjs/immer/commit/964e3b3d6ef898642aca83ffad9e708b41dbeae5"><code>964e3b3</code></a> Add second large object test to check v8 non-fast properties</li> <li><a href="https://github.com/immerjs/immer/commit/3955eed95be473e5c9af918d32c96f7e3738e7a2"><code>3955eed</code></a> Merge pull request <a href="https://redirect.github.com/immerjs/immer/issues/1186">#1186</a> from immerjs/feature/more-benchmarks-2</li> <li>Additional commits viewable in <a href="https://github.com/immerjs/immer/compare/v10.2.0...v11.1.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=immer&package-manager=npm_and_yarn&previous-version=10.2.0&new-version=11.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
yindo added the pull-request label 2026-02-21 20:51:46 -05:00
yindo closed this issue 2026-02-21 20:51:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#32630