This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
Releases: folktale/data.task
Releases · folktale/data.task
v3.0.0
v2.2.0
Bumps to 2.2.0. Includes Monoid, Semigroup and Applicative instances.
v2.1.0
- BREAKING: Removes broken Applicative instance.
v2.0.0
From 1.0.0 to 2.0.0
- BREAKING: removed partial functions and fields (
toString
,isEqual
,
isPending
,isResolved
,isRejected
), since you can't observe them
always, and it leads to confusing behaviour. This functionality will be
moved to a co-future later. - BREAKING: removed default memoisation. Since the Futures are just
placeholders for actions, it does make sense that chaining a Future twice
should execute the action twice. When you want memoisation, you can use the
Future.memoise
construct instead ofnew Future
.
// Before:
new Future(function(reject, resolve) { ... })
// Now:
Future.memoise(function(reject, resolve) { ... })
v1.0.0
Initial release
v0.1.0
Bumps to 0.1.0