thorax v2.0.0.rc1 Release Notes

    • ๐ŸŽ Numerous performance and bug fixes
    • Thorax now requires Backbone 0.9.9 or later
    • ๐Ÿšš The "auto unbind" feature of on(targetObject, eventName) has been removed, implemented by Backbone as listenTo
    • ๐Ÿ—„ Use of Thorax.Router is deprecated and no longer documented
    • โœ‚ Removed ViewController class
    • Views can now specify a helpers hash to call templates with
    • โœ‚ Removed Thorax.Util.getValue
    • renderTemplate second context argument now overrides context passed to template instead of adding to it
    • ready event now propagates to children
    • โž• Added view.appendTo method
    • โž• Added bindDataObject, unbindDataObject methods
    • โž• Added thorax release command to generate combined & minified files
    • ๐Ÿ†• New lumbar based build system, thorax build command line option has been removed
    • โž• Add removeItem updateItem methods for views rendering a collection
    • โœ‚ Remove emptyContext method and empty-context collection helper argument
    • โž• Add {{collection-element}} helper, to specify where in a view a collection should be rendered
    • ๐Ÿšš CollectionView has been removed, collection rendering can now be done in any class
    • โž• Added itemFilter method
    • ๐Ÿšš Move {{cid}}, {{yield}} special variables to private variables in handlebars (available with {{@cid}} and {{@yield}}). {{_view}} is now avialable as {{@view}}
    • Collection events bound with on({collection: events}) no longer recieve a CollectionView as the first argument
    • โช Revert: DOM event handlers now recieve the original context (if the handler had been registered with $.on) as the second argument