All Versions
149
Latest Version
Avg Release Cycle
116 days
Latest Release
1207 days ago

Changelog History
Page 10

  • v1.0.0-beta3 Changes

    • Region
      • Fixed "show" method so that it includes the view instance being shown, again
  • v1.0.0-beta2 Changes

    • templateHelpers

      • BREAKING: Changed when the templateHelpers is mixed in to the data for a view, so that it is no longer dependent on the serializeData implementation
    • Region

      • BREAKING: Changed "view:show" event to "show"
      • BREAKING: Changed "view:closed" event to "close"
      • All region events and events that the triggers from a view are now triggered via Marionette.triggerMethod.
    • Marionette.EventAggregator

      • BREAKING: The bindTo method no longer assumes you are binding to the EventAggregator instance. You must specify the object that is triggering the event: ea.bindto(ea, "event", callback, context)
      • Marionette.EventAggregator combines Backbone.Wreqr.EventAggregator with Backbone.EventBinder, allowing the event aggregator to act as it's own event binder
    • CollectionView

      • Fixed bug where adding an item to a collection would not allow the CollectionView to propagate the itemView's events
      • Allow itemViewOptions to be specified in CollectionView constructor options
    • Application

      • The events triggered from the Application object instance are now triggered with corresponding "on{EventName}" method calls
    • Backbone.EventBinder

      • Updated to v0.1.0 of Backbone.EventBinder, allowing for jQuery/DOM events to be handled within the EventBinder instances / bindTo methods
    • AMD Wrapper

      • The "core" AMD wrapper specifies Backbone.Wreqr and Backbone.EventBinder
      • The "standard" AMD wrapper does not specify Backbone.Wreqr / EventBinder, as these are built in
    • ๐Ÿ— Build / downloads

      • The standard and AMD versions of backbone.marionette.js and backbone.marionette.min.js include all dependencies (EventBinder, Wreqr)
      • The "core" versions of backbone.marionette.js and backbone.marionette.min.js do not include any dependencies (EventBinder, Wreqr)
  • v1.0.0-beta1 Changes

    • Backbone.EventBinder

    • Backbone.Wreqr

    • All Views

      • BREAKING: beforeRender method is now onBeforeRender
      • BREAKING: beforeClose method is now onBeforeClose
      • BREAKING: The render method for all Marionette views is bound to the view instance
      • All view events are now triggered with triggerMethod, calling their corresponding method on the view if it exists
      • All views now have an isClosed attribute on them, which is set to true when calling the close() method and reset to false when calling the render() method
      • EventBinder is now attached to the views with the Marionette.addEventBinder method call
    • CompositeView

      • BREAKING: CompositeView will only render a model in to it's template, instead of a model or collection. It will still render the collection as itemView instances.
    • Modules

      • BREAKING: Split module definitions can now receive custom args per module definition, instead of sharing / replacing them across all definitions
    • CollectionView / CompositeView

      • Cleaned up the getItemViewContainer code, and improved the error that is thrown when the specified container element is not found
      • Can attach existing view instance w/ existing DOM element as child of collection view / composite view, in parent's initialize function
      • Fixed a bug where an undefined this.options would prevent child views from being rendered, trying to find the index of the view
    • Layout

      • Allow a Layout to be defined without regions, using Underscore v1.4.x
    • View / ItemView / CompositeView

      • Removed the serializeData method and added directly to ItemView and CompositeView as needed
    • Application

      • Application regions can now be specified as a jQuery selector string, a region type, or an object literal with a selector and type: {selector: "#foo", regionType: MyCustomRegion}
      • added .commands as instance of Backbone.Wreqr.Commands, to facilitate command execution
      • added .execute method for direct command execution
      • added .reqres as instance of Backbone.Wreqr.RequestResponse, to facilitate request/response execution
      • added .request method for direct requesting of a response
    • Marionette.triggerMethod

      • Added Marionette.triggerMethod method to trigger an event and call the corresponding method. For example, view.triggetMethod("before:render") will trigger the "before:render" event and call the onBeforeRender method.
    • Marionette.addEventBinder

      • Added Marionette.addEventBinder method to add all of the Backbone.Wreqr.EventBinder methods to a specified target object
    • Misc

      • Added Marionette.extend as alias to Backbone's extend method for more consistent use
      • jQuery ($) support now works from global $ or window.jQuery
      • Updated to Underscore.js v1.4.1
      • Updated to jQuery v1.8.2
  • v0.10.2 Changes

    • Callbacks

      • Fixed a bug that caused callbacks to fire multiple times after calling reset
    • Layout

      • Fixed a bug that prevented the regions from being re-initialized correctly, when using render as a callback method for an event
  • v0.10.1 Changes

    • Modules
      • Fixed a bug when defining modules in reverse order, that prevented startWithParent from working correctly
  • v0.10.0 Changes

    • Modules

      • BREAKING: Module definition functions are executed immediately and only once, not every time you call start
      • BREAKING: Renamed startWithApp to startWithParent in module definitions
      • BREAKING: Sub-modules rely on the parent module to start them, by default, but can be started manually
      • BREAKING: Sub-modules default to starting with their parent module start
      • BREAKING: Specifying startWithParent: false for a sub-module will prevent the module from being started when the parent starts
      • BREAKING: Specifying startWithParent: false for a top-level module will prevent the module from being started when the parent Application starts
      • BREAKING: When starting a module, sub-modules will be started / initialized before parent modules (depth-first hierarchy traversal)
      • BREAKING: When stopping a module, sub-modules will be stopped / finalized before parent modules (depth-first hierarchy traversal)
      • Fixed: retrieving a module by name (var foo = MyApp.module("Foo");) will not change the module's definition or startWithParent setting
    • CollectionView

      • Allow itemViewOptions to be a function, which recieves the item as an argument
    • Callbacks

      • Added reset method to reset the list of callbacks and allow them to be run again, when needed
  • v0.9.13 Changes

    • CollectionView

      • Fixed bug that prevented "collection:closed" event from being triggered
      • Allow different item view to be rendered for each item in collection by overriding getItemView method
    • CompositeView

      • Allow different item view to be rendered for each item in collection by overriding getItemView method
    • Layout

      • Regions are initialized before prototype constructor, or initialize function are called
    • All Views

    • ๐Ÿ— Build and test

      • Removed all dependencies on Ruby, in favor of NodeJS and Grunt
  • v0.9.12 Changes

    • ๐Ÿšš Moved Marionette.Async to it's own repository
    • ๐Ÿ‘• De-linted source code
    • ๐Ÿ‘ป Corrected throwing an "Exception" to throwing an "Error"
  • v0.9.11 Changes

    • ๐Ÿ‘ JamJS Support

      • Updated the package.json file with more detail and support for JamJS.
    • Layout

      • Fixed a global variable leak
  • v0.9.10 Changes

    • ItemView and Layout
      • BREAKING: Removed the default implementation of initialEvents, so that a collection "reset" event won't cause the ItemView or Layout to re-render
    • ๐Ÿ— Build Process
      • Changed from Anvil.js to Grunt.js for the build process