Removed ICommand
MediatorMap
Merged MediatorMap#mapModule into MediatorMap#mapView
New view mapping signature
mapView(viewClassOrName:*, mediatorClass:Class, injectViewAs:Class = null, autoCreate:Boolean = true, autoRemove:Boolean = true):void
Enabled XML configuration of injection points
Added the dispatch() helper method back to mvcs actors
Removed named injection points
MediatorMap
Enabled automatic creation of mediator for contextView if mapped
ContextBase
Made all ContextBase constructor arguments optional to enable declarative (mxml) Context instantiation
Nometa
Introduced Nometa implementation
Actor
Unified Model and Service into Actor
Removed Model
Removed Service
EventMap
Added strong event mapping to EventMap
CommandMap
Re-ordered the mapping arguments
From: mapEvent(commandClass:Class, eventType:String, eventClass:Class = null, oneshot:Boolean = false):void
To: mapEvent(eventType:String, commandClass:Class, eventClass:Class = null, oneshot:Boolean = false):void
Removed dispatchEvent() helper method – Again, really sorry about that little mixup there
Mediator
addEventListenerTo() becomes eventMap.mapListener()
Proxy renamed to Model
CommandMap bugfix
No changes!
dispatch() helper method renamed to dispatchEvent()
Removed as3commons-logging
Removed EventBroadcaster
MediatorFactory renamed to MediatorMap
CommandFactory renamed to CommandMap
IInjector.bind* renamed to IInjector.map*
ICommandMap
CommandMap now accepts optional Event class parameter for stronger mapping.
The argument order had to be re-arranged so that the optional eventClass would come after the mandatory commandClass.
From: mapEvent(type:String, commandClass:Class, oneshot:Boolean = false):void;
To: mapEvent(commandClass:Class, eventType:String, eventClass:Class = null, oneshot:Boolean = false):void;
Constructor Injection
Changed all automated instantiation to use IInjector#instantiate to enable constructor injection, changed DI adapters accordingly and added new SwiftSuspenders support constructor injection
Bonus Adapters Removed
Removed Spring Action Script and SmartyPants-IOC adapters (they can be installed separately)
Added adapters for SwiftSuspenders
FlexMediator decoupled from Flex and merged into Mediator
Removed FlexMediator
Added dispatch() helper method
Introduced as3commons-logging
IMediator.onRegisterComplete renamed to IMediator.onRegister
net.boyblack.robotlegs.* renamed to org.robotlegs.*
Added Spring ActionScript adapters
Provided adapters: SmartyPants-IOC
Provided adapters: SpringActionScript
Introduced DI and reflection adapters
Provided adapters: SmartyPants-IOC
Proof-of-concept prototype