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-unlifted
1.0.0 - Add
MonadUnliftIO
instance forActor
monad
0.4.0.0 - 2021-05-19
-
Remove low-level
Process
API in favor of high-levelServer
API -
Rename "process" to "actor" everywhere
-
Consolidate everything under
Drama
andDrama.Internal
modules -
Remove
Drama.Loop
module -
Rename
run{,_}
torunActor{,_}
-
Rename
here
togetSelf
-
Make
tryReceive
indicate whether a message was received by returning aBool
-
Add
Actor_
convenience type synonym -
Allow using
call
with 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
MVar
instead ofUnagi.Chan
inEnvelope
-
Loosened dependency version bounds
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