github immutable-js/immutable-js v4.0.0-rc.3

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

This RC is now relicensed as MIT (#1320)

BREAKING:

  • Remove Seq.of() (#1311, #1310 )

    This method has been removed since it cannot be correctly typed. It's recommended to convert Seq.of(1, 2, 3) to Seq([1, 2, 3]).

New:

  • Support for Transducers! (ee9c68f)
  • A new method, zipAll() (#1195)
  • Considerably improved Record typing (#1193, #1276)
  • Bundle and distribute an "es module" so Webpack and Rollup can use tree-shaking for smaller builds (#1204)
  • Warn instead of throw when getIn() has a bad path (668f223)
  • Improved TypeScript types for zip(). (#1258)
  • Improved TypeScript types for has(). (#1232)
  • Support typescript strictNullChecks (#1168)

Fixed:

  • Updated Flow types to work with 0.55 and higher (#1312)
  • Updated TypeScript types to work with v2.4 and higher (#1285)
  • Do not throw from hasIn (#1319)
  • Long hash codes no longer cause an infinite loop (#1175)
  • slice() which should return an empty set could return a full set or vice versa (#1245, #1287)
  • Ensure empty slices do not throw when iterated (#1220)
  • Error during equals check on Record with undefined or null (#1208)
  • Fixes missing size property in flow types. (#1173)
  • Fix size of count() after filtering or flattening (#1171)

Don't miss a new immutable-js release

NewReleases is sending notifications on new releases.