Skip to content

Commit 69a0fc3

Browse files
committed
v3.2.1
1 parent 75969d5 commit 69a0fc3

File tree

3 files changed

+28
-5
lines changed

3 files changed

+28
-5
lines changed

CHANGELOG.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,29 @@ and this project adheres to
88

99
## [Unreleased]
1010

11+
## [3.2.1] - 2023-11-14
12+
13+
### Changed
14+
15+
- bumped version to fix NPM release
16+
17+
## [3.2.0] - 2023-11-14
18+
19+
## Added
20+
21+
Many equivalents to Kotlin standard library were added 🎉
22+
23+
- Reducers
24+
- `iter.average()` (inspired by Kotlin's [`sequences.average`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/average.html))
25+
- Transformers
26+
- `iter.takeWhile()` (inspired by Kotlin's [`sequences.takeWhile`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/take-while.html))
27+
- `iter.drop()` (inspired by Kotlin's [`sequences.drop`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/drop.html))
28+
- `iter.dropUntil()` (like `iter.until()` but drops til given predicate is true)
29+
- `iter.dropWhile()` (inspired by Kotlin's [`sequences.takeWhile`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/drop-while.html))
30+
1131
### Changed
1232

33+
- added tests for NaN checks in `iter.sum()` and `iter.product()`.
1334
- Simplified `deno.json` again using the new [global-exclude][global-exclude]
1435
feature.
1536

@@ -40,7 +61,7 @@ and this project adheres to
4061

4162
- (:warning: breaking) Fixed typo in `iter.remember()` (originally
4263
`iter.rememeber()`)
43-
- Point docs to [deno.land](deno.land/x/iter/mod.ts) rather than
64+
- Point docs to [deno.land](https://deno.land/x/iter/mod.ts) rather than
4465
[doc.deno.land](https://doc.deno.land/https://deno.land/x/iter/mod.ts)
4566

4667
## [2.6.0] - 2022-08-24
@@ -214,7 +235,9 @@ and this project adheres to
214235
- `iter.pair()` for zipping two iterables.
215236
- `iter.concat` (like `Array.prototype.concat`)
216237

217-
[unreleased]: https://github.com/jajaperson/iterable-utilities/compare/v3.1.0...HEAD
238+
[unreleased]: https://github.com/jajaperson/iterable-utilities/compare/v3.2.1...HEAD
239+
[3.2.1]: https://github.com/jajaperson/iterable-utilities/releases/tag/v3.2.1
240+
[3.2.0]: https://github.com/jajaperson/iterable-utilities/releases/tag/v3.2.0
218241
[3.1.0]: https://github.com/jajaperson/iterable-utilities/releases/tag/v3.1.0
219242
[3.0.0]: https://github.com/jajaperson/iterable-utilities/releases/tag/v3.0.0
220243
[2.6.0]: https://github.com/jajaperson/iterable-utilities/releases/tag/v2.6.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The module is currently hosted on <https://deno.land/x/iter>.
2323
```ts
2424
import * as iter from "https://deno.land/x/iter/mod.ts";
2525
// or with a version
26-
import * as iter from "https://deno.land/x/iter@v3.1.0/mod.ts";
26+
import * as iter from "https://deno.land/x/iter@v3.2.1/mod.ts";
2727

2828
const naturals = iter.create.increments(1);
2929
const odds = iter.filter(naturals, (n) => n % 2 === 1);
@@ -60,7 +60,7 @@ sensible level of currying. In Deno:
6060
```ts
6161
import * as iter from "https://deno.land/x/iter/fp.ts";
6262
// or with a version
63-
import * as iter from "https://deno.land/x/iter@v3.1.0/fp.ts";
63+
import * as iter from "https://deno.land/x/iter@v3.2.1/fp.ts";
6464

6565
const naturals = iter.create.increments(1);
6666
const filterOdds = iter.filter<number>((n) => n % 2 === 1);

version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/** Version of the module */
2-
export const VERSION = "3.1.0";
2+
export const VERSION = "3.2.1";
33
/** License of the module */
44
export const LICENSE = "MIT";

0 commit comments

Comments
 (0)