Skip to content

3.4.0

Compare
Choose a tag to compare
@leebyron leebyron released this 16 Dec 23:25
· 1006 commits to main since this release

New:

  • Improved documentation in Immutable.d.ts, resulting in better generated documentation.
  • remove and removeIn are now alises for the methods delete and deleteIn. No effect on execution (but deleteIn is new).
  • Added deleteIn on Record.
  • Added hasIn - deeply query for value existence.
  • Cursor onChange function can now intercept the new value and return an override (3598f8c).
  • +0 and -0 are treated as the same value in Immutable.is (key equality and Set existence).
  • valueOf() is now used when determining value equality between two objects. This allows Date to be used as Map key, and provides a more straight-forward way to implement value equality for custom types.

Fixes:

  • Mapping over infinite Seq no longer throws error about Infinite iteration. (Improve accuracy of infinite iteration warning overall).
  • Ensure setIn can set undefined as a value.
  • List iterators no longer return invalid values if the List was the result of a slice or shift.