Skip to content

Releases: marionettejs/backbone.marionette

v3.0.0-pre.4

01 Jun 15:49
Compare
Choose a tag to compare
v3.0.0-pre.4 Pre-release
Pre-release

v3.0.0-pre4

Documentation

  • Improved View documentation.
  • Added Backbone.Radio integration documentation.
  • Fixed broken links in CollectionView documentation.
  • Removed Marionette.Module documentation.
  • Add installation documentation.
  • Removed outdated API documentation.
  • Added Upgrade Guide.

API Changes

  • return this from all functions that do not return anything, useful for chaining.
  • Removed getValue and internal getOption.

Bug fixes

  • CollectionView#reorder will no longer remove an already displayed emptyView.
  • Calling Backbone.View constructor with arguments consistently across all views.
  • Monitor for child already attached.
  • When a view is attached to an existing element, isRendered() should reflect true.
  • Region empty edge-case fix that prevents view destroy handlers calling empty.
  • Region now detaches previous html if there is no view.

Misc

  • Build browser tests with rollup.
  • Fix bundled build.
  • Linter fixes.

Also, please help us finish v3!

v2.4.7

31 May 21:58
Compare
Choose a tag to compare

v2.4.7 view commit logs

Fixes

  • CollectionView#reorder will no longer remove an already displayed emptyView.
  • Fixed build of sourcemap files.

v2.4.6

25 May 22:11
Compare
Choose a tag to compare

v2.4.6 view commit logs

Misc

  • Updated Backbone dependency to 1.3.x.

v3.0.0-pre.3

04 Apr 20:29
Compare
Choose a tag to compare
v3.0.0-pre.3 Pre-release
Pre-release

v3.0.0-pre3

Dependency Updates

  • Backbone and Underscore moved to peerDependencies to solve dependency conflicts for browserify and webpack users.
  • Added support for Lodash 4.

Documentation

  • Application documentation updates.

API Changes

  • Removed unused collection parameter from CollectionView.isEmpty.

Bug fixes

  • replaceElement and allowMissingEl are now able to be overridden in Region.show.

Misc

  • Gulp test-browser task fixed.
  • es-lint fixes.
  • Added more es6 syntax.
  • Fixed the UMD exported build.

Also, please help us finish v3!

v2.4.5

16 Mar 23:17
Compare
Choose a tag to compare

v2.4.5 view commit logs

Fixes

  • Marionette.View#ui will now bind events when names are hyphenated.
  • Nonexistent event handlers now fail silently.

Misc

  • Updated Backbone dependency to 1.3.2.
  • devDependencies updated.
  • Updated uglify to fix deprecated sourcemap pragma //@ replaced with //#.

v3.0.0-pre.2

08 Mar 18:24
Compare
Choose a tag to compare
v3.0.0-pre.2 Pre-release
Pre-release

Released to resolve a default install of pre.1 when installing from npm.

v3.0.0-pre.1 - Family and Friends

08 Mar 17:21
Compare
Choose a tag to compare
Pre-release

This is a "family and friends" release. The documentation is still mostly for 2.4.4. Please let us know if you run into any issues. Also, please help us finish v3!

v2.4.4

22 Nov 22:29
Compare
Choose a tag to compare

v2.4.4 view commit logs

Fixes

  • Region#empty will return the region instance whether or not it has a current view.
  • CollectionView#reorder will now correctly respect any set filter.
  • Fixed childEvents failing to trigger during showing a view in a region.
  • Stop deleting the currentView._parent if showing the same view in a region.

Misc

  • LayoutView#showChildView new options argument passed to underlying Region#show to enable full show functionality.
  • Added support for passing down arguments to Object#destroy.

v2.4.3

10 Sep 14:10
Compare
Choose a tag to compare

v2.4.3 view commit logs

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.

Misc

  • LayoutView#showChildView new options argument passed to underlying Region#show to enable full show functionality.
  • 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

v2.4.2

17 Jun 19:08
Compare
Choose a tag to compare

v2.4.2 view commit logs

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.