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.


    • โฌ†๏ธ Bumped Underscore and Backbone dependencies to 1.8.3 and 1.2.1 respectively.