Skip to content

Version 0.16.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 03 Oct 02:24
· 132 commits to main since this release
v0.16.0
e2aa627

Added

  • Added maps.NewFromSeq() (and variants) which construct map types from iter.Seq2 sequences.
  • Added sets.NewFromSeq() (and variants) which construct set types from iter.Seq sequences.
  • Added sets.NewFromKeys() (and variants) which construct set types from the keys of iter.Seq2 sequences.
  • Added sets.NewFromValues() (and variants) which construct set types from the values of iter.Seq2 sequences.
  • Added Intersection() method to all set types.

Changed

  • [BC] Changed message stubs to accept validation scopes.
  • The results of Clone(), Merge(), Select() and Project() on any map type are now guaranteed to be non-nil.
  • The results of Clone(), Union() and Project() on any set type are now guaranteed to be non-nil.

Removed

  • [BC] Removed cmp parameter from maps.NewOrderedByComparator() and its variants. The comparator logic must now be totally encapsulated by the comparator type alone.