spine v1.0.3 Release Notes

  • 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