All Versions
149
Latest Version
Avg Release Cycle
116 days
Latest Release
2165 days ago
Changelog History
Page 6
Changelog History
Page 6
-
v1.8.6 Changes
Regions
Region.shownow returns the region instance to allow for region operation chaining.Region.showtriggers the view's nativetriggerMethodif it exists. This is to handle the case that triggerMethod is wrapped by aMarionette.Behavior.
General
- Update jquery 2.x upper bound dependency restrictions.
- The grunt test command will now complain if you do not have bower components installed.
- Readme cleanups.
-
v1.8.5 Changes
- Fixes
- Update the UMD build to be inline with the 2.x branch UMD implementation.
- Fixes
-
v1.8.4 Changes
- General
- Update bundled build to use the latest version of babysitter and wreqr.
- General
-
v1.8.3 Changes
- Fixes
- Behaviors now have access to the views options and events during their initialize.
- Fixes
-
v1.8.2 Changes
- Fixes
- Behaviors now calls
stopListeningon close. - Behaviors now undelegate
modelEventsandcollectionEventswhen the parent view callsundelegateEvents.
- Behaviors now calls
- Fixes
-
v1.8.0 Changes
General
- Update Gruntfile.
- The default task (
grunt) now runs tests. $ grunt devwatch for watching.$ grunt buildruns the tests and compiles.- Add better inline documentation for module implementation.
- Add better inline behavior documentation.
Fixes
- Behaviors now correctly lookup methods for
modelEventsandcollectionEvents. - The
CollectionViewnow triggers close on its children in the correct order.
- Behaviors now correctly lookup methods for
Features
- Add
onRouteto theappRouter.js Marionette.AppRouter.extend({ onRoute: function(route, params) { } }) Region.shownow takes an option to prevent closing the previous view in the region. By default a region will automatically close the previous view, however you can prevent this behavior by passing{preventDestroy: true}in the options parameter.js myRegion.show(view2, { preventDestroy: true })- Add a
getRegionmethod toLayout. This is in line with the eventual goal of not attaching regions to the root layout object. - Behavior instances now extend from Backbone.Events, allowing you to use
.listenToand.on. - Allow Behaviors to have a functional hash lookup.
js Marionette.ItemView.extend({ behaviors: function() { // βthisβ will refer to the view instance return : { BehaviorA: {} } } }) - RegionManagers now calls
stopListeningon a regions on removal.
- Add
Refactors
- Abstract underscore collection method mixin into a generic helper.
- Use built in marionette extend for behaviors.
Tests
- Add a whitespace linter to the text coverage. Trailing whitespace now causes travis.ci to fail.
- Add test coverage for
bindEntitiyEventsandunbindEntityEvents. - Test public API for the
regionManager. - Improve view trigger tests for better control when testing.
-
v1.7.4 Changes
General
- Update bower dependencies to take advantage of the fact that marionette repos follow semver.
π Fixes
- Behaviors events no longer collide with each other.
- Revert
stopListeningcall onstopfor modules. While this was a "fix", the docs were quite vague leading to breaking changes for many people. startWithParentis now respected when using amoduleClassproperty.
-
v1.7.3 Changes
Behaviors
- Adds the ability to use
@uiinterpolation within the events hash on a behavior.
- Adds the ability to use
π Fixes
- Corrects broken view $el proxy in behaviors.
-
v1.7.2 Changes
- π Fixes
- Binds behavior events to the behavior instance, as compared to the view.
- π Fixes
-
v1.7.1 Changes
- π Fixes
- Enables the use of string based behavior event methods.
- π Fixes