Use the following sections:
Added
Changed
Deprecated
Removed
Fixed
Security
Migration
Action
s now have a Monoid instance.
Dispatcher
is now calledEventDispatcher
to alleviate confusion.liftApp
is now calledrunApp
.eve_
now has the simplified typeeve_ :: App () -> IO ()
- Rename all
Dispatcher
->EventDispatcher
- Rename all
liftApp
->runApp
runActionOver
: This is equivalent torunAction
in 0.1.5makeStateLens
: This simplifies creation of lenses which are usable in Actions.
runAction
now assumes thestateLens
by default, if you wish to specify a
- Change occurances of
runAction
torunActionOver
and occurances ofrunAction stateLens
to justrunAction
.
dispatchLocalEvent
,addLocalListener
,removeLocalListener
These local versions explicitly affect events in over the current Action's scope.
dispatchEvent
,addListener
,removeListener
These now operate ONLY on the global level, and thus only acceptApp
types.
- Change existing
dispatchEvent
onActions
todispatchLocalEvent
(and similar for addListener and removeListener)