Releases: purescript-contrib/purescript-aff
Releases · purescript-contrib/purescript-aff
v4.0.0-rc.1
This pre-release for version v4.0.0 features a revamped API for writing more expressive asynchronous programs with stronger guarantees.
Fibercooperative multi-tasking primitive for fork/join workflows- Stronger cleanup guarantees with
bracketandsupervise. - Reformulated
AVarsemantics
Migration Notes
- The low-level callback representation is no longer relevant. If you've defined
Affeffects via the FFI, you should transition to usingControl.Monad.Eff.Compat, which provides anEffFnadapter. - The
AVarAPI methods have changed to match Haskell'sMVarAPI.putVareffects now block until matched with atakeVar. It's possible to recover similar behavior as the old API withforkAff (try (putVar avar value)). - Several unlawful instances where removed for
Aff(Alternative,MonadPlus, andMonadZero).
v3.1.0
v3.0.0
- Updated to work with PureScript 0.11
- Removed
laterandlater'in favor ofdelay.
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v1.1.0
- Added functions to
Control.Monad.Aff.Consoleto matchControl.Monad.Eff.Console, re-exportCONSOLEeffect (@texastoland)