v5.0.0
v5.0.0
-
Breaking Changes
- Upgraded to Marionette v4
Toolkit
is no longer attached toMarionette.Toolkit
noConflict
was removed- Removed bower
- For apps the state model and listeners are now only init'd during runtime available first in
onBeforeStart
without listeners. triggerStart
now calls afinallyStart
method rather thantriggerMethod
directly.
-
Features
- childApps definitions now support
regionName
andgetOptions
for boilerplate reduction. - Updated underscore dependency range
- Added
toggleState
for a quick/cleanset('foo', !get('foo'))
- Added
hasState
for a quick/cleanthis.getState().has('foo')
stopChildApp
now passes options alongthis.stopChildApp('appName', { foo: true })
Component
now exposesshowView
so that the behavior can be overriddenrestartWithParent
was added to modify the behavior of child apps duringrestart
- childApps definitions now support
-
Fixes
- Child app was not removing correctly if startAfterInitialize: true
- Fixed clean up for various app view removal methods