New:
- Improved documentation in Immutable.d.ts, resulting in better generated documentation.
remove
andremoveIn
are now alises for the methodsdelete
anddeleteIn
. No effect on execution (butdeleteIn
is new).- Added
deleteIn
onRecord
. - 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 allowsDate
to be used asMap
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 setundefined
as a value. List
iterators no longer return invalid values if theList
was the result of aslice
orshift
.