Skip to content

v1.0.2

Choose a tag to compare

@github-actions github-actions released this 10 Mar 16:14
· 21 commits to main since this release

1.0.2 - 2025-03-10

Changed

  • Enabled erasableSyntaxOnly from Typescript 5.8. This caused one change to a private
    variable in the LazySeq class, but it does not effect any public APIs.
  • Use the MapIterator and SetIterator types introduced in Typescript 5.6 for the return values of entries, keys, and values.
    This is backwards compatbile so no changes to external code is needed. But now if you set the typescript lib to esnext, you will
    be able to use the new iterator helper methods (although using LazySeq provides much more so is still prefered). You can read
    the typescript release notes for more details.
  • Typescript 5.5 introduced a breaking change (currently only if you enable lib: esnext) in the ReadonlySet interface, so that
    the classes HashSet and OrderedSet now no longer extend ReadonlySet. This isn't a breaking change for this library (since no
    code is changing), but will be a breaking change in your code if you upgrade to Typescript >= 5.5 and enable esnext. In this case,
    you will need to either change your code to use the new ReadonlySetLike interface also introduced in Typescript 5.5, or just
    remove the reference to ReadonlySet and directly use HashSet or OrderedSet instead. The documentation for immutable-collections
    was changed to just not mention ReadonlySet at all.