marionette v2.4.2 Release Notes
-
🛠 Fixes
- 🛠 Fixed a bug where
reorderOnSort
would not reorder back to the original order. - Stop deleting
$childViewContainer
so that it can be accessed in behaviors. - Ensure
before:show
andshow
events are triggered onCollectionView
children. - Ensure
onBeforeAttach
andonAttach
are called forCollectionView
children. - 👍 Allow for disabling of
triggerBeforeAttach
andtriggerAttach
viashow()
options. - ➕ Added the documented
buffer
argument toattachBuffer
and changed implementation so this was used rather than_createBuffer
. - 🛠 Fixed potential memory leak when destroying children on
CollectionView
by making thecheckEmpty
call optional.
📄 Docs
- 👌 Improve documentation around the requirement for an initial render to bind events in
CollectionView
. - ➕ Add documentation around UI interpolation usage.
- ➕ Add documentation to warn about the full re-render of a
CollectionView
orCompositeView
ifreorderOnSort
is not set.
Misc
- ⬆️ Bumped Underscore and Backbone dependencies to 1.8.3 and 1.2.1 respectively.
- 🛠 Fixed a bug where