Skip to content

Releases: winterbe/sequency

0.20.0

Choose a tag to compare

@winterbe winterbe released this 06 Mar 18:51

This version improves performance of distinct and distinctBy and fixes an issue with range.

0.19.2

Choose a tag to compare

@winterbe winterbe released this 31 Jul 06:49

Revert node engine to >=6.0.0.

0.19.1

Choose a tag to compare

@winterbe winterbe released this 31 Jul 06:34

Fix missing lib folder with declaration files which lead to Cannot find module 'sequency'.

0.19.0

Choose a tag to compare

@winterbe winterbe released this 30 Jul 14:02

This version fixes an issue with passing undefined values through various sequence operations.

Furthermore an internal rewrite of intermediate operations has been implemented. Sequences now use the native ECMAScript protocol Iterator<T> instead of the legacy interface SequenceIterator<T>. If you use custom intermediate operations via extendSequence you eventually have to adopt your code to fit the Iterator protocol. Please refer to this documentation for further information.

0.18.0

0.18.0 Pre-release
Pre-release

Choose a tag to compare

@winterbe winterbe released this 20 Nov 09:37

Sequency now uses TypeScript noImplicitAny compiler setting. All functions are now properly typed.

0.17.0

0.17.0 Pre-release
Pre-release

Choose a tag to compare

@winterbe winterbe released this 18 Oct 12:40

This version changes range() to be a closed range (second parameter endExclusive becomes endInclusive) to be en par with Kotlin ranges.

This is a breaking change. If you already use the range() function you have to change your code like this:

import {range} from "sequency";

- range(start, end)
+ range(start, end - 1)

0.16.0

0.16.0 Pre-release
Pre-release

Choose a tag to compare

@winterbe winterbe released this 17 Oct 14:06

This version adds a new function range() to create a sequence of numbers between the passed numbers startInclusive and endExclusive. Also fixes some type issues with operation filterNotNull().

0.15.0

0.15.0 Pre-release
Pre-release

Choose a tag to compare

@winterbe winterbe released this 16 Oct 12:11

This version adds several improvements to the internal structure of sequences. As a consequence the API documentation is greatly improved. All sequence operations are now correctly documented on the interface type Sequence.

In addition it's now possible to extend sequences with custom user-defined operations. See this example.

Thanks @couzic who made this possible. 👏

0.14.0

0.14.0 Pre-release
Pre-release

Choose a tag to compare

@winterbe winterbe released this 28 Sep 08:55

This version adds improved error handling for creating sequences, e.g. asSequence() is passed null, undefined or a non-iterable value Sequency now throws understable error messages.

0.13.0

0.13.0 Pre-release
Pre-release

Choose a tag to compare

@winterbe winterbe released this 22 Sep 14:24

This version adds a new sequence operation merge().

See API docs for further information.