Update dependency fluture to v11 #5
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^4.3.5
->^11.0.0
Release Notes
fluture-js/Fluture
v11.0.1
Compare Source
Corrects an issue in the TypeScript typings for the
chainRej
function.v11.0.0
Compare Source
hook
are no longer allowed to reject. When they do, an Error is raised, and the process should be treated as corrupt.debugMode
andFuture.alt
.v10.3.1
Compare Source
v10.3.0
Compare Source
✨ New Features
alt
). As a result, theor
function is now an alias ofalt
.v10.2.0
Compare Source
✨ New Features
stack traces appended to their
stack
property, allowing users to tracethe origin of an exception across multiple ticks.
Future.debugMode
: A function to turn async stack traces on or off.🚀 Improvements
v10.1.1
Compare Source
v10.1.0
Compare Source
✨ New Features
Future#pipe
: A method for inclusion of regular functions in afluent method-chain.
🚀 Improvements
v10.0.0
Compare Source
index.mjs.js
toindex.mjs
.Future.ap
,Future.map
,Future.bimap
,Future.chain
, orFuture.alt
on non-Fantasy Land types.If you were using any of these functions from Fluture to treat JavaScript's
native types as Fantasy Land algebraic types, you should migrate those
call-sites to use the Ramda or Sanctuary exported dispatchers instead.
Future.finally
no longer runs the cleanup Future when it is cancelled.If you rely on this behaviour, I urge you to rewrite the relevant code with
Future.hook
(even if you don't upgrade Fluture).✨ New features
and the esm loader.
Future.of
function now has an aliasresolve
, which is exportedstatically as well as exposed as a property on the Future constructor.
🐛 Bug fixes and improvements
Fluture.finally
are gone now that the behaviour has been removed.v9.0.2
Compare Source
v9.0.1
Compare Source
v9.0.0
Compare Source
fork
.never
now use ageneric instead.
hook
, the cancellationsignal is no longer sent to the disposal Future.
conflicts with exported values.
✨ New features
forkCatch
, which allows for exception recovery.v8.0.2
Compare Source
v8.0.1
Compare Source
v8.0.0
Compare Source
This release updates sanctuary-type-classes, which contains a breaking change. This change will only affect you if you are using
Future.map
on other Functors, specifically, Objects.Future.map
, inherited properties are no longer transformed.v7.2.2
Compare Source
v7.2.1
Compare Source
v7.2.0
Compare Source
✨ New features
🐛 Bug fixes
v7.1.3
Compare Source
v7.1.2
Compare Source
v7.1.1
Compare Source
v7.1.0
Compare Source
✨ New features
alt
function to use withAlt
types such asConcurrentFuture
.of
,ap
,map
,alt
andzero
functions toPar
, making theConcurrentFuture
type Static Land -compliant.✨ Improvements
ap
andmap
are now overloaded to work onConcurrentFuture
instances as well asFuture
instances.extractLeft
andextractRight
methods.v7.0.1
Compare Source
v7.0.0
Compare Source
b3851fe
ThechainRec
named export has been removed in favor of regular recursion.✨ New features
v6.3.0
Compare Source
✨ Improvements
Future.parallel
has been made stack-safe.Future.parallel
now guarantees execution order.🗒️ Note
6.3.x
futures will not be compatible with6.2.x
Futures, so when upgrading, make sure to upgrade all producers of Future instances.To avoid having to do this with future releases, I recommend setting Fluture as a peerDependency if you are maintaining a library which exposes Future instances to its users.
🐛 Bug fixes since
6.2.6
Future.both
was being executed twice under some circumstances.Future.parallel
withFuture.hook
in a certain way led tofork()
throwing an exception.v6.2.8
Compare Source
v6.2.7
Compare Source
v6.2.6
Compare Source
✨ New features
Future.done()
andFuture#done()
: an easy way to fork using a Nodeback.🐛 Bug fixes and improvements
e24fa0f
A problem related to the order in which asynchronous actions were executed was resolvede24fa0f
Parallel actions are now cancelled appropriately as one early-terminates9296445
Optimize when parallel actions are executed446a27f
Prevent asynchronous concurrent actions from running twice9c5900b
Improvechain
s interoperability of different compatible versions of Fluturef434193
MakeFuture#both()
cancel the other when the one rejects.v6.2.5
Compare Source
v6.2.4
Compare Source
v6.2.3
Compare Source
v6.2.2
Compare Source
v6.2.1
Compare Source
v6.2.0
Compare Source
v6.1.1
Compare Source
v6.1.0
Compare Source
v6.0.1
Compare Source
fluture/es5
tofluture
.Future#hook
method (but not the function) has been removed.Future#cache
method (but not the function) has been removed.Object.create
,Object.assign
andArray.isArray
.ap
-method have been flipped back.and
andor
no longer run the two Futures in parallel.fromPromise
has been renamed toencaseP
.1a636d5
chainRec
is no longer curried and direct use is now discouraged.✨ New features
chain
, are now stack safe!isNever
.tryP
, the nullary version ofencaseP
.🐛 Bug fixes and improvements
tryP
orencaseP
no longer get caught (and silenced) by the Promise.
Future.hook
no longer cancels the acquire Future after it has settled.Future.hook
now always cancels running Futures appropriately.attempt = try
,go = do
,lastly = finally
.sensible error messages.
192c34b
Added fast failure toencase
andencaseP
.v5.0.0
Compare Source
Future.or()
has been flippedFuture.isForkable()
has been removedFuture.fromForkable()
has been removedFuture.cast()
has been removedS.is(Future, Future.of(1))
now returnstrue
rather thanfalse
✨ New features
🐛 Bug fixes and improvements
Future
s from other versions of Fluture as valid FuturesFuture.finally()
now runsfinally
computation when cancelledRenovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.