Fluture Versions Save

🦋 Fantasy Land compliant (monadic) alternative to Promises

12.0.1

4 years ago

:bug: #401 Fixes an issue with the TypeScript type for map not understanding the overloading for the ConcurrentFuture type.

12.0.0

4 years ago

:star: Major Release

Includes the changes from all version 12 prereleases.

See the GitHub releases for a summary of these changes, and see the upgrade guide for a detailed description of the breaking changes.

12.0.0-beta.6

4 years ago

:sparkles: Enhancements

  • #399 Adds type information for sanctuary-type-identifiers 3

12.0.0-beta.5

4 years ago

:bug: Bugfixes

  • #390 Fixes a bug in the TypeScript typings for go

12.0.0-beta.4

4 years ago

:warning: Breaking changes

  • #345 #383 The modular version of Fluture has been moved from index.mjs to index.js, and has been made compatible with Node 12. In Node 9, 10, and 11, the modular version must now be loaded with the help of the esm loader.
  • #378 The fold function has been renamed to coalesce.
  • #377 The Future constructor is no longer overloaded with a version that allows the computation to return void.

:sparkles: New Features

  • #355 The npm package now ships with some of Fluture's testing internals. The API is experimental and subject to breaking changes.

:rocket: Improvements

  • #374 TypeScript types have been improved to get better inference.

12.0.0-beta.3

4 years ago

:sparkles: New features

  • #356 Casting a Future to JSON now results in a serializable AST, instead of the recursive data structure that crashes JSON.stringify.

:bug: Bug fixes

  • #364 Bugfixes from the stable branch are included.

11.0.3

4 years ago

:bug: #362 Fixes an issue where it was possible for parallel to call to the rejection or recovery continuation multiple times if multiple Futures in its array reject or crash in the same tick.

11.0.2

4 years ago

:bug: #351 Fixes an issue where hook would attempt to dispose a resource twice if the disposal Future itself would cancel the hooked Future synchronously.

12.0.0-beta.2

4 years ago

:warning: Breaking changes

  • #341 Functions now throw TypeErrors when applied to too many arguments.

:rocket: Improvements

  • #342 Potential for tree shaking was improved.

12.0.0-beta.1

4 years ago

:warning: Breaking changes

:bug: Bug fixes

  • #335 TypeScript type of fold was corrected