Releases: monet/monet.js
Releases · monet/monet.js
MonetJS 0.9.3
MonetJS 0.9.2
MonetJS 0.9.1
MonetJS 0.9.0
- [fix] broken exports ( #196 )
- [fix] broken UMD for node imports ( #193 )
- [fix] broken UMD for node imports -- thanks to @jfspencer ( #180 )
- [new] add
from
static constructor method to NEL and List - [fix] fix broken List.equals
- [fix] re-add
cons
andsnoc
to NEL (fix join, also add/fixflatten
andflattenMaybe
to collections) - [fix] drop
.contains()
from Either and Validation - [new] implement Iterable for List, NEL, Maybe and Identity
- [new] add
.every()
,.forall()
and.exists()
to List, NEL, Maybe and Identity - [new] add
.toSet()
to List and NEL - [new] add
.toArray()
,.toSet()
to Maybe - [new] add
.orUndefined()
,.getOrElse()
,.orLazy()
to Maybe - [new] add
.swap()
to Validation and Either - [new] add
.catchMap()
to Maybe, Validation and Either - [enhancement] make
Maybe
types stricter (compile type check for use of nullables) -- thanks to @jleider ( #167 ) - [enhancement] make
.equals()
compatible with other libraries - [new] add static
.isOfType()
and.isInstance()
to all types - [new] add
.fromUndefined()
to Maybe static - [new] add
.filterNot()
to Maybe, List and NEL -- thanks to @tomecko ( #152 ) - [fix] pre publish build
- [enhancement] make
.chain()
compatible with Fantasy Land - [enhancement] make
.map()
compatible with Fantasy Land - [enhancement] make
.equals()
compatible with Fantasy Land - [enhancement] add lowercase factory functions to satisfy linters -- thanks to @LukaszTheProgrammer ( #107 )
Maybe.some(val)
andMaybe.none()
Either.right(val)
andEither.left(err)
- [enhancement] make
.ap()
compatible with Fantasy Land and Ramda -- thanks to @char0n ( #112 ) - [new] add
.ap()
to Identity (so it's compatible with FantasyLand) -- thanks to @char0n ( #121 ) - [new] add
.orNoneIf()
(alias.orNothingIf()
) to Maybe -- thanks to @emmanueltouzery ( #100 ) - [new] add
.fromFalsy()
to Maybe static -- thanks to @kpudlik ( #98 ) - [new] add
.forEach()
to Identity, Maybe, Either, Validation, List and NEL -- thanks to @emmanueltouzery ( #95 ). And:.orElseRun()
to Maybe.forEachLeft()
to Either.forEachFail()
to Validation
- [new] add
.contains()
to Identity, Maybe, Either, Validation, List and NEL -- thanks to @emmanueltouzery ( #93 ) - [new] add
.find()
to List and NEL -- thanks to @emmanueltouzery ( #90 ) - [new] add
.fold()
as alias for.cata()
to Either and Validation -- thanks to @Tbrisbane ( #82 ) - [new] add
.foldLeft()
and.foldRight()
to Maybe, Either, Validation, List and NEL -- thanks to @Tbrisbane ( #82 ) - [new] add
.orNull()
to Maybe -- thanks to @emmanueltouzery ( #86 ) - [fix] fix typings to work with
--noImplicitAny
- [fix] fix typings to work with
--strictNullChecks
-- thanks to @emmanueltouzery ( #86 ) - [fix] fix List's
.size()
( #79 ) - [fix] fix List's
.map
( #64 ) - [fix] fix Free monad
- [new]
.equals()
method added to most entities - [breaking] all native prototype extensions extracted to
monet-pimp.js
- [enhancement] typings compatible with TS2.x
- [fix] updated module pattern
MonetJS 0.9.0 RC 3
- [fix] broken exports ( #196 )
MonetJS 0.9.0 RC 2
- [fix] broken UMD for node imports ( #193 )
MonetJS 0.9.0 RC 1
- [fix] broken UMD for node imports -- thanks to @jfspencer ( #180 )
MonetJS 0.9.0 RC 0
- [new] add
from
static constructor method to NEL and List - [fix] fix broken List.equals
- [fix] re-add
cons
andsnoc
to NEL (fix join, also add/fixflatten
andflattenMaybe
to collections) - [fix] drop
.contains()
from Either and Validation - [new] implement Iterable for List, NEL, Maybe and Identity
- [new] add
.every()
,.forall()
and.exists()
to List, NEL, Maybe and Identity - [new] add
.toSet()
to List and NEL - [new] add
.toArray()
,.toSet()
to Maybe - [new] add
.orUndefined()
,.getOrElse()
,.orLazy()
to Maybe - [new] add
.swap()
to Validation and Either - [new] add
.catchMap()
to Maybe, Validation and Either - [enhancement] make
Maybe
types stricter (compile type check for use of nullables) -- thanks to @jleider ( #167 ) - [enhancement] make
.equals()
compatible with other libraries - [new] add static
.isOfType()
and.isInstance()
to all types - [new] add
.fromUndefined()
to Maybe static - [new] add
.filterNot()
to Maybe, List and NEL -- thanks to @tomecko ( #152 )
MonetJS 0.9.0 Alpha 4
- [fix] pre publish build
ALPHA
API of alpha
version is unstable - it may change a lot!
MonetJS 0.9.0 Alpha 3
- [enhancement] make
.chain()
compatible with Fantasy Land - [enhancement] make
.map()
compatible with Fantasy Land - [enhancement] make
.equals()
compatible with Fantasy Land - [enhancement] add lowercase factory functions to satisfy linters -- thanks to @LukaszTheProgrammer ( #107 )
Maybe.some(val)
andMaybe.none()
Either.right(val)
andEither.left(err)
- [enhancement] make
.ap()
compatible with Fantasy Land and Ramda -- thanks to @char0n ( #112 ) - [new] add
.ap()
to Identity (so it's copmpatible with FantasyLand) -- thanks to @char0n ( #121 ) - [new] add
.orNoneIf()
(alias.orNothingIf()
) to Maybe -- thanks to @emmanueltouzery ( #100 ) - [new] add
.fromFalsy()
to Maybe static -- thanks to @kpudlik ( #98 ) - [new] add
.forEach()
to Identity, Maybe, Either, Validation, List and NEL -- thanks to @emmanueltouzery ( #95 ). And:.orElseRun()
to Maybe.forEachLeft()
to Either.forEachFail()
to Validation
- [new] add
.contains()
to Identity, Maybe, Either, Validation, List and NEL -- thanks to @emmanueltouzery ( #93 ) - [new] add
.find()
to List and NEL -- thanks to @emmanueltouzery ( #90 ) - [new] add
.fold()
as alias for.cata()
to Either and Validation -- thanks to @Tbrisbane ( #82 ) - [new] add
.foldLeft()
and.foldRight()
to Maybe, Either, Validation, List and NEL -- thanks to @Tbrisbane ( #82 ) - [new] add
.orNull()
to Maybe -- thanks to @emmanueltouzery ( #86 ) - [fix] fix typings to work with
--noImplicitAny
- [fix] fix typings to work with
--strictNullChecks
-- thanks to @emmanueltouzery ( #86 )
ALPHA
API of alpha
version is unstable - it may change a lot!