v0.8.0
0.8.0 breaks API compatibility but mostly for Future
and if you used lifting. The rest stays the same except for really minor changes.
With 0.8.0, prelude.ts now requires Typescript 3.0.
Future
- add 'do notation' to Future, thanks @RPallas92
- Futures: no more laziness, thanks @qm3ster
- Futures: it was wrong to create new Futures in onFailure, onComplete and onSuccess. Return 'this' rather, now.
- drop Future.orElse, introduce Future.recoverWith
- Future: modify ofCallbackApi to take the same parameters as 'new Promise', and rename it to 'ofPromiseCtor'.
- add Future.ofCallback (thanks @qm3ster for the suggestion)
- add new option for Future.traverse: maxConcurrent
Everything else
- add HashMap & HashSet .forEach()
- some apidoc improvements
- fix #15 [api change] Option.getOrThrow() should take Error as argument -- thanks @bwbuchanan
- fix #12: [api change] move FunctionX.liftOption to Option.lift, FunctionX.liftNullable to Option.liftNullable, FunctionX.liftEither to Either.lift. Thanks @qm3ster for the tip for the implementation. This requires TS3.0
- upgrade to funkia/list 2.0.16 and have the Vector using Funkia list again as a backend (we already had
list
for the backend of Vector in the past but had to revert it due to bugs inlist
in 0.7.10). - Add fuzzer to Seq to try to find possible bugs
- add IMap.toJsMap & ISet.toJsSet.