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 and show events are triggered on CollectionView children.
    • Ensure onBeforeAttach and onAttach are called for CollectionView children.
    • 👍 Allow for disabling of triggerBeforeAttach and triggerAttach via show() options.
    • ➕ Added the documented buffer argument to attachBuffer and changed implementation so this was used rather than _createBuffer.
    • 🛠 Fixed potential memory leak when destroying children on CollectionView by making the checkEmpty 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 or CompositeView if reorderOnSort is not set.

    Misc

    • ⬆️ Bumped Underscore and Backbone dependencies to 1.8.3 and 1.2.1 respectively.