Releases: marionettejs/backbone.marionette
Releases · marionettejs/backbone.marionette
v3.0.0-pre.4
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 internalgetOption
.
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 reflecttrue
. - 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
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
v3.0.0-pre.3
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 fromCollectionView.isEmpty
.
Bug fixes
replaceElement
andallowMissingEl
are now able to be overridden inRegion.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
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
Released to resolve a default install of pre.1 when installing from npm.
v3.0.0-pre.1 - Family and Friends
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
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
newoptions
argument passed to underlyingRegion#show
to enable fullshow
functionality.- Added support for passing down arguments to
Object#destroy
.
v2.4.3
v2.4.3 view commit logs
Fixes
TemplateCache#loadTemplate
accepts empty script-tag templates.- Parent LayoutView's
childEvents
continue working with views attached manually usingRegion#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 afalse
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
andemptyView
can be pureBackbone.View
classes.
Docs
- Better documentation around view
childEvents
that reinforces the distinction between child viewtriggers
andevents
. - Guidance on achieving full event lifecycle while using
Backbone.View
as the child view within CollectionViews or LayoutViews/Regions.
Misc
LayoutView#showChildView
newoptions
argument passed to underlyingRegion#show
to enable fullshow
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
, anddom:refresh
lifecycle events when shown by CollectionViews or LayoutViews/Regions. - Bumped Backbone dependency to 1.2.3
v2.4.2
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
andshow
events are triggered onCollectionView
children. - Ensure
onBeforeAttach
andonAttach
are called forCollectionView
children. - Allow for disabling of
triggerBeforeAttach
andtriggerAttach
viashow()
options. - Added the documented
buffer
argument toattachBuffer
and changed implementation so this was used rather than_createBuffer
. - Fixed potential memory leak when destroying children on
CollectionView
by making thecheckEmpty
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
orCompositeView
ifreorderOnSort
is not set.
Misc
- Bumped Underscore and Backbone dependencies to 1.8.3 and 1.2.1 respectively.