Changelog
2.1.4
- test: fix lowered async delay which was too long for the GitHub CI
- test: removed unused manual browser test page
- chore: test with coverage only when publishing docs
- chore: update to latest Ramda dependency
2.1.0
Cancelables
fromNodeCallback, of, reject also moved from using the Macrotask queue (setTimeout) to the Microtask queue
2.0.0
breaking
- update to Ramda
v0.29.1 cancelable/deferrednow uses the Microtask queue (i.e.queueMicrotask) instead of the Macrotask queue (i.e.setTimeout)
features
- removed
emitterydependency
2.0.0-alpha.3
- un-deprecated
cancelable/fetchResponse
2.0.0-alpha.2
- refactor
cancelableto avoid circular source file dependencies
1.2
- adds
cancelable/fromNodeCallbackWithArity
1.1
- adds
either/bimap
1.0.0
- adds
nth,lastandheadto/list
0.7.0
- detect
MaybeandEitherinstances no longer when both instances have the sameMaybeorEitherprototype class, but when they have the same well-known symbol"@@type". This will permit an app to useMaybes andEithers from different module versions of@visisoft/staticland."@@type"is also used by monet and sanctuary. - overloaded
instanceofforMaybeandEitherto operate just onother['@@type']. Choosing this approach instead of comparing everywhere['@@type']s, preserves the ability to use Ramda'sR.isutility function.
0.6.1
- removed
dist/cjs/cancelable/cancelable-pre-node-v18because it never worked baconjsis now a "peer dependency"
0.6
Breaking
- moved deprecated NodeJs version of
fetchResponseNodeJSinto own CJS module/cancelable/cancelable-pre-node-v18 - changed the
Eithermethod"fantasy-land/traverse"to comply with Fantasy Land, - changed the
Eithermethodssequenceandtraverseto match those of Crocks (and others)
Features
- replaced the
Arraybased implementation ofMaybewith a "mostly adequate", Fantasy Land compliant one, - introduced
Either.apand thus makeliftpossible forEitherdata Maybe.apandEither.ap- share the signatures with their Fantasy Land versions,
- thus they're the same as in monet.js, purify and Tom Harding's blog but differ from Prof. Frisby's Guide and Crocks,
- are just provided for convenience,
- added pointfree-style
fantasyland/sequenceandfantasyland/traversewith signatures like incrocks/pointfreeand will be in Ramdav0.29
0.5.1
cancelable/cancelifyWithArityAbortable- fixes conditional exports. (
defaultshould have come last)
0.5.0
cancelable/createDeferred
0.4.0
cancelable/biMap
0.3.0
cancelable/biChain
0.2.2
- breaking: Either type is now implemented as ES6 class (taken from the Mostly Adequate Guide) instead of an array of length 2
- feat: Either now a FantasyLand Monad and Setoid type
0.2.0
- renamed
point-freesubmodule tofantasyland, - fixed tests for Node v16
0.2.0
point-freefunctionsap,chain,map,pluck,liftA2to support FantasyLand types and native Promise- Fantasy-Land support for Cancelables
0.1.43
maybe/pluck
0.1.42
- Maybe and Either are now "opaque" TS types.
0.1.40
cancelable/liftA3,cancelable/liftA4
0.1.39
cancelable/pluck
0.1.38
- adds:
either/traverse,either/sequence
0.1.37
- chore: replaced
semmel-ramdav0.33.0 withramdav0.28.0
0.1.36
- fix:
cancelable/apand thuscancelable/liftA2did always resolve the right argument withundefined.
0.1.35
- fix:
transformations/cancelableToEventStreamavoid cancellation for synchronous calls (e.g. when the stream ends thus callingabortsynchronously on behalf ofsink(x)
0.1.34
- fix:
transformations/cancelableToEventStreamno longer invokes the Cancelable'sabortfunction if the event stream ends after the Cancelable has settled.
0.1.33
- exceptions in the
cancelable/bi_tapfunctions get picked up
0.1.32
- added
cancelable/share
0.1.31
- migrate
cancelable/fetchResponse(NodeJS)tocancelable/fetchResponseIsoModule(globalThis)
0.1.30
- forgot either/isEither to export
0.1.29
- adds
cancelable/cancelify
0.1.28
- test: eitherToPromise
0.1.27
- lenses
- Breaking: removed
unlens,propUnlens,indexUnlens
0.1.26
- unlens, propUnlens, indexUnlens
0.1.25
duplexRacefor Promise
0.1.24
find_l
0.1.23
bi_tap
0.1.22
- updated rollup plugin
0.1.21
- added
sequenceandtraversefor Arrays ("Lists") - added
sequenceandtraversefor Maybe
0.1.20
- added
maybeOfCancelableToCancelableOfMaybe - moved to JSON license
- generate HTML doc and publish on GitHub pages
0.1.19
- added
maybeOfBaconObservableToBaconObservableOfMaybe
0.1.16
- Begun API for CancelableComputation incl. natural transformations to and from Bacon and Most streams
0.1.15
- fix: Either no longer based on a unique Symbol but rather on a unique string. This should make Either compatible with a differently loaded staticland library.
0.1.11
- more submodules for Node.js consumption
0.1.4
- Adds transformation
maybeOfPromiseToPromiseOfMaybe
0.1.2
- Added transformations
0.1.1
- Added Either type
- Added transformations fo Either and Maybe to Promise