All Versions
20
Latest Version
Avg Release Cycle
92 days
Latest Release
3003 days ago

Changelog History
Page 2

  • v1.2.2 Changes

    October 15, 2013
    • โž• Add Model.slice() and improve .last() and .first()
  • v1.2.1 Changes

    • ๐Ÿ›  Fix a few bugs
    • โž• Add a license header
  • v1.2.0 Changes

    • Much improved fromForm method
    • ๐Ÿ›  Fix controller.replace()
    • Trigger can pass options
    • Code cleanup for listen methods
    • ๐Ÿ‘Œ Improve manager module handling of activate deactivate events
    • Accept url override for methods that would delegate to ajax- Asset.save {url:'/some/other/url'} (#467)
    • Simpler mechanism for maintaining model order
    • Unmatched route redirect options
    • ๐Ÿ‘ Better handle race conditions in the ajaxQueue
  • v1.1.0 Changes

    • โœ… Test suite improvements including core now being tested against Zepto.js
    • Persistent ordering of model instances in Chrome
    • Numerous improvements to relations module
    • ListenTo and stopListening methods to help keep Spine's pub/sub implementation tidy
    • ๐Ÿ‘Œ Improve unbind method on model instances
    • ๐Ÿ‘ Better enable nesting and extending controllers
    • ๐Ÿ‘ Ajax module supports options for scoping the url
  • v1.0.9 Changes

    • โœ… Tested against newer jQuery versions
    • On and off aliases for bind and unbind
    • Routes can accept option to use history.replaceState()
    • More descriptive 'unknown record' errors
    • ๐Ÿ‘ Better cloning so records don't diverge
    • Throw errors if naming conflicts in stack manager
    • ๐Ÿ›  Fix some edge case bugs with routing
  • v1.0.8 Changes

    ๐Ÿš€ A bug-fix release.

    • ???
    • ???
    • ???
  • v1.0.7 Changes

    ๐Ÿš€ A bug-fix release.

    • ๐Ÿ›  Fix named globs in routes
    • ๐Ÿ—„ Deprecate Model.prototype.init()
    • ๐Ÿ‘‰ Make cids simplier
    • Controller event callbacks always return true, so you don't accidentally cancel the event
    • ๐Ÿš€ release is now just a method you can override, not an event
    • ๐Ÿ›  Fixed findAllByAttribute in relations.coffee
    • Try/catch round Ajax.disable do Ajax is always enabled again
    • Model Ajax requests can be cancelled with save(ajax: false)
  • v1.0.6 Changes

    Features

    Main two new features are:

    Ajax options on save, for example:

    user.save(success: -> alert('saved!'))
    user.save(ajax: false) # Disable Ajax
    user.save(ajax: ajaxOptions)
    

    And cids:

    project = Project.create()
    @navigate '/projects', project.cid
    
    Project.find(project.cid) #=> Project
    

    Abstract

    • ๐Ÿ›  Fixed double Ajax disabling issue
    • Can now pass request options to Ajax on save
    • url() now takes multiple arguments
    • ๐Ÿ›  Fix association id comparison issue
    • Now have internal CIDs for use in comparison and in URLs
    • โž• Add 'attributes' option to controllers

    And much more...

  • v1.0.5 Changes

    Abstract

    ๐Ÿ›  Mostly a bunch of fixes, with some new features:

    • ๐Ÿ›  Fix issues with routing order
    • ๐Ÿ‘ Allow regexes in routes
    • Include spine.app as a dependency
    • โž• Add Stacks
    • โž• Add fromForm to models (see API)
    • ๐Ÿ›  Fix cross-domain ajax
    • ๐Ÿ‘ฏ create()/save() now return clones
  • v1.0.3 Changes

    Abstract:

    ๐Ÿ”– Version 1.0.3 was mostly about Ajax, and integrating Spine with Rails.

    New features:

    • Model's refresh event now includes the new resources
    • Pass an 'id' option to fetch, in order to fetch a single record via ajax
    • Bind to an event once, with the 'one()' function
    • ๐Ÿ‘ Allow namespaced events in the controller
    • Model#attributes() & Model#load() now works for functions. In other words, you can use a functions instead of basic datatypes for attributes on models.

    ๐Ÿ”จ ###Refactors:

    • ๐Ÿ”จ Ajax refactor, including easier integration with Ajax callbacks
    • ๐Ÿ”จ Refactor the way instance events get triggered on records
    • โœ‚ Removed deprecated Spine.App - which also enables Node.js compatibility