immutable-js v4.0.0-rc.11 Release Notes

Release Date: 2018-10-27 // over 1 year ago
  • Potentially Breaking:

    • 👌 Improve hash speed and avoid collision for common values (#1629)

    Causes some hash values to change, which could impact the order of iteration of values in some Maps (which are already advertised as unordered, but highlighting just to be safe)

    • 🚚 [TypeScript] Remove Iterable<T> as tuple from Map constructor types (#1626)

    🚚 > Typescript allowed constructing a Map with a list of List instances, assuming each was a key, value pair. While this runtime behavior still works, this type led to more issues than it solved so it has been removed. (Note, this may break previous v4 rcs, but is not a change against v3)

    🛠 Fixes:

    • Give Records a displayName (#1625)
    • Set.map produces valid underlying map (#1606)
    • 👌 Support isPlainObj with constructor key (#1627)

    📄 Docs:

    • 🛠 Fix missing sub-types in API docs (#1619)
    • ➕ Add docsearch (#1610)
    • ➕ Add styles to doc search (#1628)