immutable v4.0.0-rc.11 Release Notes

Release Date: 2018-10-27 // over 5 years 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)