Skip to content

Tags: immerjs/immer

Tags

v10.2.0

Toggle v10.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Optimize Immer performance where possible, introduce `setUseStr…

…ictIteration` (#1164)

* Use WeakMap caching implementation of isPlainObject

* Add some early returns to `finalizeProperty`

* Add `strictIteration` option

* Add non-strict iteration handling

* Use strict iteration option

* Switch back to default strict iteration

* Fix strict iteration checks

* Shorten benchmark array sizes for faster results

* Dedupe Map/Set method overrides

* Removed old isPlainObject impl

* Add early bailout to `isFrozen`

v10.1.3

Toggle v10.1.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Mark exports as pure, for better tree-shakability (#1124)

v10.1.2

Toggle v10.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(deps): bump webpack from 5.76.1 to 5.94.0 in /website (#1140)

Bumps [webpack](https://github.com/webpack/webpack) from 5.76.1 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.76.1...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v10.1.1

Toggle v10.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
docs: [Doc]: Update /zh-CN/ (#1067)

* Update api.md

* Update patches.mdx

v10.1.0

Toggle v10.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(performance): Make non-strict mode faster for classes. Addresses #…

…1071

Immer 10.x solved slow iteration for plain JS objects. This update applies the same handling to class instances. In cases this makes class instance handling 3 times faster. Note that this slightly modifies the behavior of Immer with classes in obscure corner cases, in ways that match current documentation, but do not match previous behavior. If you run into issues with this release icmw. class instances, use `setUseStrictShallowCopy("class_only")` to revert to the old behavior. For more details see https://immerjs.github.io/immer/complex-objects#semantics-in-detail

v10.0.4

Toggle v10.0.4's commit message
fix: Fix handling of Symbol and non-enumerable properties in finaliza…

…tion / freeze. Fixes #1096, #1087, #1091 (#1105))

v10.0.3

Toggle v10.0.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: don't use `.mjs` file for react-native, which isn't supported by…

… default. Fixes #1058 #1065 (#1075)

* fix: don't use `.mjs` file for react-native, which isn't supported by default. Fixes #1058 #1065 (?)

* v10.0.3-beta

v10.0.2

Toggle v10.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: export `Objectish` type (#1043)

v10.0.1

Toggle v10.0.1's commit message
fix: production bundle was loaded incorrectly, fixes #1037

v10.0.0

Toggle v10.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #1028 from immerjs/immer-10

Immer 10