Skip to content

Releases: purescript-contrib/purescript-aff

v4.0.0-rc.1

19 Aug 18:20
Compare
Choose a tag to compare
v4.0.0-rc.1 Pre-release
Pre-release

This pre-release for version v4.0.0 features a revamped API for writing more expressive asynchronous programs with stronger guarantees.

  • Fiber cooperative multi-tasking primitive for fork/join workflows
  • Stronger cleanup guarantees with bracket and supervise.
  • Reformulated AVar semantics

Migration Notes

  • The low-level callback representation is no longer relevant. If you've defined Aff effects via the FFI, you should transition to using Control.Monad.Eff.Compat, which provides an EffFn adapter.
  • The AVar API methods have changed to match Haskell's MVar API. putVar effects now block until matched with a takeVar. It's possible to recover similar behavior as the old API with forkAff (try (putVar avar value)).
  • Several unlawful instances where removed for Aff (Alternative, MonadPlus, and MonadZero).

v3.1.0

08 May 16:32
Compare
Choose a tag to compare
  • Added tryTakeVar and tryPeekVar (@syaiful6)

v3.0.0

02 Apr 22:56
Compare
Choose a tag to compare
  • Updated to work with PureScript 0.11
  • Removed later and later' in favor of delay.

v2.0.3

18 Feb 00:14
Compare
Choose a tag to compare
  • Avoid Discard constraint arising in upcoming PureScript version (@mlang)

v2.0.2

07 Dec 15:55
Compare
Choose a tag to compare
  • Fixed broken peekVar (@natefaubion)
  • Fixed Alt instance for parallel to cancel the "losing" side (@garyb)

v2.0.1

23 Oct 20:19
Compare
Choose a tag to compare
  • Fixed Applicative instance for ParAff #76

v2.0.0

21 Oct 15:31
Compare
Choose a tag to compare
  • Updated dependencies, now compatible with PureScript 0.10
  • Added peekVar that reads from an AVar without consuming

v1.1.0

24 Jul 21:47
Compare
Choose a tag to compare
  • Added functions to Control.Monad.Aff.Console to match Control.Monad.Eff.Console, re-export CONSOLE effect (@texastoland)

v1.0.0

09 Jun 12:46
Compare
Choose a tag to compare
Merge pull request #52 from sardonicpresence/master

Allow cancellation of computations forked with `runAff`

v0.17.0

05 Jun 22:30
Compare
Choose a tag to compare

Requires PureScript 0.9.1 or later.