marionette v3.1.0 Release Notes
-
General
- ๐ Performance optimizations for
triggerMethod
,mergeOptions
and other internal event handlers - โก๏ธ Significant render and removal optimizations for CollectionView utilizing Backbone's
update
event
๐ Features
- ๐
Region.detachView
andView.detachChildView
were added for removing a view from a region without destroying it. This is preferred to the now deprecatedpreventDestroy
region show/empty option childViewEventPrefix: false
will disable auto-proxying of child events to the parent viewApplication
will now accept a region definition object literal as an instantiation option- ๐ Regions are now destroyed when removed from a View
๐ Fixes
- ๐ Fixed an issue with Lodash 4 compatibility related to behavior events
๐ Deprecations
- ๐ Region
empty
'spreventDestroy
option was deprecated in favor ofdetachView
- ๐ A region definition object literal's
selector
key was deprecated due to redundacy in favor of the existing keyel
Misc
- ๐ Many documentation fixes for v3
- โ Removed shouldReplace logic from
attachHtml
so overriding no longer breaksreplaceElement
functionality - ๐ฆ Exposed
View.normalizeUIString
for external libraries - ๐ Improvements were made for Views initialized with existing DOM elements
- ๐ Performance optimizations for