github immutable-js/immutable-js 2.5.0

latest releases: v5.0.0-beta.5, v4.3.5, v5.0.0-beta.4...
9 years ago

New:

  • seq.toStack() as alias for Stack(seq)
  • flatten now accepts a depth number or shallow boolean to describe how deep it should flatten, by default it now flattens deeply.

Fixed:

  • Cursors can now represent Indexed sequences #97
  • Readme updates: explain CDN, update examples.
  • record.clear() no longer mysteriously vanishes.
  • Unsafe get and has optimizations removed from ValuesSeq.
  • last on a sequence with unknown length no longer returns undefined #141
  • seq.reverse().get(i) no longer returns incorrect values for indexed sequences.
  • seq.filter().get(i) no longer returns incorrect values for indexed sequences.
  • flatten no longer flattens sequencible values (string, array, object), but only Sequence instances, leading to more predictable flattening.

Don't miss a new immutable-js release

NewReleases is sending notifications on new releases.