Use the following sections:
AddedChangedDeprecatedRemovedFixedSecurityMigration
Actions now have a Monoid instance.
Dispatcheris now calledEventDispatcherto alleviate confusion.liftAppis now calledrunApp.eve_now has the simplified typeeve_ :: App () -> IO ()
- Rename all
Dispatcher->EventDispatcher - Rename all
liftApp->runApp
runActionOver: This is equivalent torunActionin 0.1.5makeStateLens: This simplifies creation of lenses which are usable in Actions.
runActionnow assumes thestateLensby default, if you wish to specify a
- Change occurances of
runActiontorunActionOverand occurances ofrunAction stateLensto justrunAction.
dispatchLocalEvent,addLocalListener,removeLocalListenerThese local versions explicitly affect events in over the current Action's scope.
dispatchEvent,addListener,removeListenerThese now operate ONLY on the global level, and thus only acceptApptypes.
- Change existing
dispatchEventonActionstodispatchLocalEvent(and similar for addListener and removeListener)