Changelog for drama-0.3.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.
Unreleased
0.3.0.0 - 2021-02-23
Added
- Added
cast
,call
, andhandle
functions, andEnvelope
message wrapper type, which enforce you get the response you expect from certain messages - Added convenient
Server
type alias for processes usingEnvelope
s - Added
examples/use.hs
to experiment with "use pattern" - Moved things to separate modules (everything still re-exported from top-level
Drama
module) - Added
NoMsg
, to be used instead ofVoid
Changed
- Renamed "actor" to "process"
- Renamed
Message
toHasMsg
- Renamed
exit
tostop
- Generalized
loop
,continue
, andstop
to any monad - Updated examples to use
cast
andcall
where possible - Improved error message for unreachable
msg ~ Void
state
Fixed
- Fixed incorrect use of
-XCPP
withderiving 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
MonadIO
andforever
, viaDrama.Reexports
module
Changed
- Added
Message
constraint to functions dealing with an actor'sAddress
andMailbox
(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
SharedResource
andWorkers
modules from library
0.1.0.2 - 2021-02-20
Added
- Added examples (only compiled when
examples
flag is enabled) - Added
CHANGELOG.md
,LICENSE
, andREADME.md
toextra-source-files
Changed
- Applied suggestions from HLint
Removed
- Removed
Drama.Demo
module
0.1.0.1 - 2021-02-19
Fixed
- Fixed build failing on GHC 8.6.5 due to missing
MonadFail
type class
Changed
- Relaxed upper bound on
transformers
library
0.1.0.0 - 2021-02-19
Initial release