Fluture

🦋 Fantasy Land compliant (monadic) alternative to Promises

MIT License

Downloads
126.1K
Stars
2.5K
Committers
32

Bot releases are hidden (Show)

Fluture - Version 14.0.0 Latest Release

Published by Avaq over 3 years ago

✨ #457 TypeScript type inference for the map function was improved.
⚠️ #457 The TypeScript type for map has been narrowed, and might now cause a compile error.

Fluture - Version 13.0.1

Published by Avaq about 4 years ago

🐛 #442 Fixes direct imports of 'index.js', 'test/assertions.js' and 'test/arbitraries.js' for Node 14 users.

Fluture - Version 13.0.0

Published by Avaq about 4 years ago

⭐ Major Release

⚠️ Breaking changes

  • #439 If you were using import Future from 'fluture' on Node 14, then updating to this version will likely break your code. See this comment.
  • #439 If you are using deep imports from Fluture in Node 14, make sure to update to 13.0.1. Deep imports besides index.js, test/assertions.js, and test/arbitraries.js are no longer supported on Node 14.

New Features

  • #439 Doing import 'fluture' on Node 14 now loads the ESM module instead of the CJS module. This means it's no longer necessary to deep-import from fluture/index.js to get access to the modular version.
Fluture - Version 12.3.1

Published by Avaq over 4 years ago

📜 #432 Include copyright licenses in bundled distributions

Fluture - Version 12.3.0

Published by Avaq over 4 years ago

✨ #429 Adds better support for Deno and other ESM based runtimes

Fluture - Version 12.2.1

Published by Avaq over 4 years ago

🚀 #425 (87a3eda) Update the sanctuary-type-identifiers dependency
🐛 #426 (15a5e2a) Fix a small bug in the debug tracing logic for bichain

Fluture - Version 12.2.0

Published by dicearr over 4 years ago

✨ #411 (d30bdb5) Add Future.bichain

Fluture - Version 12.1.1

Published by Avaq almost 5 years ago

🐛 #412 (f188e0e) Fixes an issue related to the TypeScript typings for the 'go' function.

Fluture - Version 12.1.0

Published by Avaq almost 5 years ago

New Features

  • #404 (323bdab) Add a 'pap' function: 'ap' in parallel

🚀 Improvements

  • #404 (7b6d9fd) Improvements to debuggability of ConcurrentFuture related functions, and removal of an external dependency.
  • #410 (b465433) Mistake in TypeScript annotations fixed.
  • #404 (6aaf82d) Mistake in TypeScript annotations fixed.
Fluture - Version 12.0.2

Published by Avaq almost 5 years ago

🐛 #403 Fix an issue in TypeScript when using .pipe on map (f)

Fluture - Version 12.0.1

Published by Avaq almost 5 years ago

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

Fluture - Version 12.0.0

Published by Avaq almost 5 years ago

⭐ 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.

Fluture - Version 12.0.0 Beta 6

Published by Avaq almost 5 years ago

Enhancements

  • #399 Adds type information for sanctuary-type-identifiers 3
Fluture - Version 12.0.0 Beta 5

Published by Avaq almost 5 years ago

🐛 Bugfixes

  • #390 Fixes a bug in the TypeScript typings for go
Fluture - Version 12.0.0 Beta 4

Published by Avaq about 5 years ago

⚠️ 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.

New Features

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

🚀 Improvements

  • #374 TypeScript types have been improved to get better inference.
Fluture - Version 12.0.0 Beta 3

Published by Avaq about 5 years ago

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 fixes

  • #364 Bugfixes from the stable branch are included.
Fluture - Version 11.0.3

Published by Avaq about 5 years ago

🐛 #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.

Fluture - Version 11.0.2

Published by Avaq over 5 years ago

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

Fluture - Version 12.0.0 Beta 2

Published by Avaq over 5 years ago

⚠️ Breaking changes

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

🚀 Improvements

  • #342 Potential for tree shaking was improved.
Fluture - Version 12.0.0 Beta 1

Published by Avaq over 5 years ago

⚠️ Breaking changes

🐛 Bug fixes

  • #335 TypeScript type of fold was corrected
Package Rankings
Top 1.19% on Npmjs.org
Top 24.93% on Repo1.maven.org
Badges
Extracted from project README
Fluture Build Status Code Coverage Dependency Status NPM Package Gitter Chat