Skip to content

Releases: tginsberg/gatherers4j

Release v0.6.0

02 Nov 12:24
Compare
Choose a tag to compare

What's Changed

  • Implement dropLast(n)
  • Implement grouping() and groupingBy(fn)
  • Add support for zipWith(iterable) and zipWith(iterator)
  • Add support for interleave(iterable) and interleave(iterator)
  • Add support for appendLonger(), appendArgumentIfLonger(), and appendSourceIfLonger() on interleave()
  • Add support for argumentWhenSourceLonger(fn), sourceWhenArgumentLonger(fn), nullArgumentWhenSourceLonger(), and nullSourceWhenArgumentLonger on zipWith()

Using in Maven

<dependency>
    <groupId>com.ginsberg</groupId>
    <artifactId>gatherers4j</artifactId>
    <version>0.6.0</version>
</dependency>

Using in Gradle

implementation("com.ginsberg:gatherers4j:0.6.0")

Release v0.5.0

13 Oct 20:46
0416276
Compare
Choose a tag to compare

What's Changed

  • Implement reverse() - Cause a stream to be emitted in reverse (stores entire stream in memory)
  • Implement maxBy(fn) and minBy(fn) - Finds the single maximum or minimum value in a stream as defined by the function given (stores entire stream in memory)
  • Implement exactSize(n) - Ensures a stream is precisely n elements long or throws an IllegalStateException (stores entire stream in memory)

Using in Maven

<dependency>
    <groupId>com.ginsberg</groupId>
    <artifactId>gatherers4j</artifactId>
    <version>0.5.0</version>
</dependency>

Using in Gradle

implementation("com.ginsberg:gatherers4j:0.5.0")

Release v0.4.0

08 Oct 23:10
Compare
Choose a tag to compare

What's Changed

  • Implement suffle() and shuffle(RandomGenerator)
  • Implement filterWithIndex()
  • Implement runningProduct() and runningProductBy()
  • Implement runningSum() and runningSumBy()
  • Remove concat() implementation (the JDK has this)
  • Remove withIndexStartingAt(), not sure if this is a real use case.

Using in Maven

<dependency>
    <groupId>com.ginsberg</groupId>
    <artifactId>gatherers4j</artifactId>
    <version>0.4.0</version>
</dependency>

Using in Gradle

implementation("com.ginsberg:gatherers4j:0.4.0")

Release v0.3.0

19 Sep 11:33
Compare
Choose a tag to compare

What's Changed

  • Move the minimum Java version from 22 to 23

Using in Maven

<dependency>
    <groupId>com.ginsberg</groupId>
    <artifactId>gatherers4j</artifactId>
    <version>0.3.0</version>
</dependency>

Using in Gradle

implementation("com.ginsberg:gatherers4j:0.3.0")

v0.2.0

22 Aug 22:58
5c2a080
Compare
Choose a tag to compare

What's Changed

  • Added starting point for indexing gatherer
  • Added throttling over a time period
  • Added debounce over a time period

Using in Maven

<dependency>
    <groupId>com.ginsberg</groupId>
    <artifactId>gatherers4j</artifactId>
    <version>0.2.0</version>
</dependency>

Using in Gradle

implementation("com.ginsberg:gatherers4j:0.2.0")

v0.1.0

13 Aug 18:58
129991e
Compare
Choose a tag to compare

What's Changed

  • Added Standard Deviation (population and sample)
  • Refactored all BigDecimal-based Gatherers
  • Added concat

Using in Maven

<dependency>
    <groupId>com.ginsberg</groupId>
    <artifactId>gatherers4j</artifactId>
    <version>0.1.0</version>
</dependency>

Using in Gradle

implementation("com.ginsberg:gatherers4j:0.1.0")

Full Changelog: v0.0.1...v0.1.0

Release v0.0.1

29 Jul 19:05
43ff268
Compare
Choose a tag to compare

Initial release

Maven:

<dependency>
    <groupId>com.ginsberg</groupId>
    <artifactId>gatherers4j</artifactId>
    <version>0.0.1</version>
</dependency>

Gradle:

implementation("com.ginsberg:gatherers4j:0.0.1")