StreamEx v0.6.0 Release Notes

Release Date: 2016-03-25 // about 8 years ago
  • ๐Ÿš€ Warning: this release introduces some changes which may break backwards compatibility.

    • [#67] Changed: StreamEx.withFirst() now includes (first, first) pair into result as well. If you want to exclude it, use .withFirst().skip(1).
    • โœ… [#70] Fixed: MoreCollectors.least()/greatest() now support null element (if the supplied Comparator supports nulls).
    • โœ… [#70] Fixed: MoreCollectors.least()/greatest() now returns stable result (the order of equal elements is not changed).
    • โšก๏ธ [#70] Optimized: MoreCollectors.least()/greatest() is usually faster now, especially when the selected elements are close to the stream end.
    • ๐Ÿšš [#74] Added: EntryStream.removeKeyValue().
    • 0๏ธโƒฃ [#77] Added: MoreCollectors.filtering()/mapping()/flatMapping() with default downstream Collector toList().
    • ๐Ÿ‘€ [#79] Added: iterate(seed, predicate, op) for all stream types.
    • [#82] Added: Emitter class and primitive friends to create non-trivial stream sources.
    • [#83] Changed: StreamEx.of(Collection), of(Iterator), etc. now use ? extends T type instead of just T.
    • [#85] Added: StreamEx.mapFirstOrElse()/mapLastOrElse().
    • [#86] Added: peekFirst(), peekLast() for all stream types.
    • [#89] Added: produce() method for all stream types.
    • ๐Ÿ“š Updated documentation.