marionette v2.4.3 Release Notes

  • ๐Ÿ›  Fixes

    • TemplateCache#loadTemplate accepts empty script-tag templates.
    • Parent LayoutView's childEvents continue working with views attached manually using Region#attachView.
    • When an array of items (length > 1) are added to a collection backing a CollectionView using the at option, the child views are appended to the DOM in the proper order.
    • When models are added to a collection backing a CollectionView with the at option, the child views are rendered in the proper order even when the CollectionView has a filter.
    • CollectionView#isEmpty respects a false return value even when there are no child views.
    • Region#empty reliably destroys views when called with options.
    • CollectionView child views can, in turn, render children within onBeforeShow as documented.
    • CollectionView childView and emptyView can be pure Backbone.View classes.

    ๐Ÿ“„ Docs

    • ๐Ÿ‘ Better documentation around view childEvents that reinforces the distinction between child view triggers and events.
    • Guidance on achieving full event lifecycle while using Backbone.View as the child view within CollectionViews or LayoutViews/Regions.


    • ๐Ÿ‘ Allow Application to be initialized with multiple arguments for consistency with earlier releases.
    • โœ… More comprehensive support for Backbone child views, including a more rigorous test suite and support for render, destroy, and dom:refresh lifecycle events when shown by CollectionViews or LayoutViews/Regions.
    • โฌ†๏ธ Bumped Backbone dependency to 1.2.3