Releases: marionettejs/backbone.marionette
Releases · marionettejs/backbone.marionette
v4.1.3
v4.1.2
v4.1.1
v4.1.0
v4.1.0 view commit logs
Features
CollectionView#addChildView
now accepts apreventRender
option.- Marionette now uses
el.ownerDocument.documentElement;
by default instead ofdocument.documentElement
for querying, customizable viaDomApi.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
'semptyView
will now respect thechildViewContainer
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
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 removedCompositeView
.View#triggers
now passes the originating DOM event object as the final argument of the triggered Mn event.- View classes now have the
bindRequests
andunbindRequests
API. - The ES6 package was exposed in
package.json
onjsnext: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
For v4 documentation:
https://github.com/marionettejs/backbone.marionette/blob/v4-beta/docs/installation.md
For the v3-v4 upgrade guide:
https://github.com/marionettejs/backbone.marionette/blob/v4-beta/docs/upgrade-v3-v4.md
v4 Alpha Release
For 4v documentation:
https://github.com/marionettejs/backbone.marionette/blob/v4-alpha/docs/installation.md
v3.5.1
Fixes
View
entity events set ininitialize
were being undelegated ifmodelEvents
orcollectionEvents
were undefined.
v3.5.0
Features
NextCollectionView
'sfilter
event now returns the attaching and detached views.unbindEvents
andunbindRequests
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
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 ifsortWithCollection
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