Skip to content

Releases: marionettejs/backbone.marionette

v4.1.3

12 Nov 19:30
9c0147b
Compare
Choose a tag to compare

v4.1.3 view commit logs

Fixes

  • unbindRequests now passes context.

v4.1.2

21 Apr 14:45
Compare
Choose a tag to compare

v4.1.2 view commit logs

Fixes

  • Error in the build's version number.

v4.1.1

21 Apr 14:03
Compare
Choose a tag to compare

v4.1.1 view commit logs

Fixes

  • Error in the build

v4.1.0

20 Apr 15:09
Compare
Choose a tag to compare

v4.1.0 view commit logs

Features

  • CollectionView#addChildView now accepts a preventRender option.
  • Marionette now uses el.ownerDocument.documentElement; by default instead of document.documentElement for querying, customizable via DomApi.getDocumentEl.
  • The UMD build now reinstates noConflict for using multiple versions on the global scope.

Fixes

  • Fixed a case where a child view could potentially get multiple destroy events.
  • Pre-rendered views from outside of a region will now correctly empty an current view in a region if shown.
  • CollectionView's emptyView will now respect the childViewContainer for attachment.

Misc

  • Updated backbone dependency to allow for 1.4 without a warning.
  • Tooling and testing was updated and improved removing gulp.
  • Region._setElement was added for internal use, but may be made public in a future release.

v4.0.0

06 Aug 07:40
Compare
Choose a tag to compare

v4.0.0 view commit logs

Breaking Changes

The breaking changes are documented in the upgrade guide.

Features

  • CollectionView can now render a template in the same fashion of the removed CompositeView.
  • View#triggers now passes the originating DOM event object as the final argument of the triggered Mn event.
  • View classes now have the bindRequests and unbindRequests API.
  • The ES6 package was exposed in package.json on jsnext:main
  • The underscore dependency was updated to include 1.8.3 - 1.9.x.

Documentation

The documentation structure was overhauled to provide a flow to reading through the docs.

v4 Beta Release

23 Jul 13:25
Compare
Choose a tag to compare

v4 Alpha Release

08 Jun 06:48
Compare
Choose a tag to compare

v3.5.1

09 Nov 13:15
ee153f7
Compare
Choose a tag to compare

Fixes

  • View entity events set in initialize were being undelegated if modelEvents or collectionEvents were undefined.

v3.5.0

05 Nov 13:34
Compare
Choose a tag to compare

Features

  • NextCollectionView's filter event now returns the attaching and detached views.
  • unbindEvents and unbindRequests can now be called without handlers to remove all handlers from an entity.

Fixes

  • If an event handler on a behavior was undefined it would remove any prior defined handler.
  • When a behavior is destroyed it will now undelegate the behavior events and triggers.
  • When a view was added a performance check on NextCollectionView would sometimes prevent existing views from sorting correctly.
  • NextCollectionView viewFilter will now be called with the same arguments with underscore or lodash.

Deprecations

  • Multiple handlers for a single event. If needed, use a single handler to call multiple methods.

v3.4.4

03 Oct 17:42
Compare
Choose a tag to compare

Fixes

  • Prevent exception when a view is instantiated with a non-existing selector el.
  • When a collection defines the NextCollectionView sort order, the add at end performance improvement was removed to prevent edge case errors.
  • NextCollectionView no longer sorts according to the collection if sortWithCollection is set to false.
  • When views added to NextCollectionView from a collection don't have a matching model, removing the model no longer throws an error.

Misc

  • NextCollectionView now uses backbone update flags instead of calculating changes for sorting