• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mweststrate / immer / #1085
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: github-actions-ci
DEFAULT BRANCH: master
Ran 29 Sep 2026 09:07PM UTC
Jobs 1
Files 17
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Jun 2020 08:30PM UTC coverage: 98.577%. Remained the same
#1085

push

web-flow
Immer 7

* Introduced `current`, which takes a snapshot of the current state of a draft and finalizes it (but without freezing). Current is a great utility to print the current state during debugging (no Proxies in the way), and the output of current can also be safely leaked outside the producer. Implements #441, #591
* [BREAKING CHANGE] getters and setters are now handled consistently: own getters and setters will always by copied into fields (like Object.assign does), inherited getters and setters will be left as-is. This should allow using Immer directly on objects that trap their fields, like down in Vue or MobX. Fixes #584, #439, #593, #558
* [BREAKING CHANGE] produce no longer accepts  non-draftable objects as first argument
* [BREAKING CHANGE] original can only be called on drafts and will throw otherwise (fixes #605)
* [BREAKING CHANGE] non-enumerable and symbolic fields will never be frozen
* [BREAKING CHANGE] the patches for arrays are now computed differently to fix some scenarios in which they were incorrect. In some cases they will be more optimal now, in other cases less. Especially splicing / unshifting items into an existing array might result in a lot of patches. Fixes #468
* Improved documentation in several areas, there is now a page for typical update patterns and a separate page on how to work with classes. And additional performance tips have been included. Fixes #457, #115, #462
* Fixed #462: All branches of the produced state should be frozen
* Fixed #588: Inconsistent behavior with nested produce
* Fixed #577: Immer might not work with polyfilled symbols
* Fixed #514, #609: Explicitly calling `useProxies(false)` shouldn’t check for the presence of Proxy.

505 of 519 branches covered (97.3%)

Branch coverage included in aggregate %.

110 of 111 new or added lines in 11 files covered. (99.1%)

3 existing lines in 3 files now uncovered.

742 of 746 relevant lines covered (99.46%)

1052.11 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.54
0.0% src/core/proxy.ts

Coverage Regressions

Lines Coverage ∆ File
1
98.11
0.0% src/core/immerClass.ts
1
98.65
0.0% src/plugins/patches.ts
1
77.27
0.0% src/utils/errors.ts
Jobs
ID Job ID Ran Files Coverage
1 #1085.1 29 Sep 2026 09:07PM UTC 17
98.58
Source Files on build #1085
  • Tree
  • List 17
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 467ea5d3 on github
  • Prev Build on
  • Next Build on
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc