Changelog for drama-0.5.0.0
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to the Haskell Package Versioning Policy.
0.6.0.0 - Unreleased
0.5.0.0 - 2022-07-16
- Update to
ki-unlifted1.0.0 - Add
MonadUnliftIOinstance forActormonad
0.4.0.0 - 2021-05-19
-
Remove low-level
ProcessAPI in favor of high-levelServerAPI -
Rename "process" to "actor" everywhere
-
Consolidate everything under
DramaandDrama.Internalmodules -
Remove
Drama.Loopmodule -
Rename
run{,_}torunActor{,_} -
Rename
heretogetSelf -
Make
tryReceiveindicate whether a message was received by returning aBool -
Add
Actor_convenience type synonym -
Allow using
callwith response type of()So that you can send synchronous/blocking messages that don't have a meaningful response. Useful if you need to wait until a message is handled before proceeding.
-
Send
MVarinstead ofUnagi.ChaninEnvelope -
Loosened dependency version bounds
0.3.0.0 - 2021-02-23
Added
- Added
cast,call, andhandlefunctions, andEnvelopemessage wrapper type, which enforce you get the response you expect from certain messages - Added convenient
Servertype alias for processes usingEnvelopes - Added
examples/use.hsto experiment with "use pattern" - Moved things to separate modules (everything still re-exported from top-level
Dramamodule) - Added
NoMsg, to be used instead ofVoid
Changed
- Renamed "actor" to "process"
- Renamed
MessagetoHasMsg - Renamed
exittostop - Generalized
loop,continue, andstopto any monad - Updated examples to use
castandcallwhere possible - Improved error message for unreachable
msg ~ Voidstate
Fixed
- Fixed incorrect use of
-XCPPwithderiving newtype MonadFail
0.2.0.0 - 2021-02-20
Added
- Added more efficient
spawn_andrun_functions for spawning actors that don't receive messages - Re-exported common functions and types, such as
MonadIOandforever, viaDrama.Reexportsmodule
Changed
- Added
Messageconstraint to functions dealing with an actor'sAddressandMailbox(send,receive,spawn, etc.)
0.1.0.3 - 2021-02-20
Added
- Examples now have their own executable components, separate from the library
Removed
- Removed
SharedResourceandWorkersmodules from library
0.1.0.2 - 2021-02-20
Added
- Added examples (only compiled when
examplesflag is enabled) - Added
CHANGELOG.md,LICENSE, andREADME.mdtoextra-source-files
Changed
- Applied suggestions from HLint
Removed
- Removed
Drama.Demomodule
0.1.0.1 - 2021-02-19
Fixed
- Fixed build failing on GHC 8.6.5 due to missing
MonadFailtype class
Changed
- Relaxed upper bound on
transformerslibrary
0.1.0.0 - 2021-02-19
Initial release