Skip to content

Releases: JasonStorey/Optional.js

v2.1.0

14 Apr 16:59
Compare
Choose a tag to compare
Bump version - TypeScript type defs

v1.2.1

01 Dec 23:25
Compare
Choose a tag to compare

A couple of small optimisations.

Added .peek() method

06 Oct 23:03
Compare
Choose a tag to compare

A break from the Java 8 Optionals API... definitely need docs now.

Thanks to @whirlwin

PR : #5

Bug fix

22 Mar 22:50
Compare
Choose a tag to compare

Don't invoke filter predicate when Optional is empty.

Thanks to @oyvodega for patching

orElseGet() update

10 Feb 22:49
Compare
Choose a tag to compare

orElseGet() now supports taking a supplier function as an argument

Optional.ofNullable('foo').orElseGet(()=>'bar');

#3

First release

17 May 18:26
Compare
Choose a tag to compare
v1.0.1

Bump patch version

First pre-release of Optional.js

10 Mar 21:24
Compare
Choose a tag to compare
Pre-release

API is stable, with full mocha test coverage, but still needs documentation.