Skip to content

Releases: PaulUithol/Backbone-relational

0.6.0

03 Apr 01:47
Compare
Choose a tag to compare

Changes

  • #60: keySource option added to relations
  • keyDestination option added to relations
  • collectionOptions option added to relations
  • Added support for super/sub models
  • Added Backbone.Store.addModelScope

0.5.0

03 Apr 01:46
Compare
Choose a tag to compare

Changes

  • Update nested models properly on Collection.add
  • collectionKey options added to relations
  • Support new Backbone syntax for set (with separate key, value arguments)
  • Initialize reverseRelations on definition, instead of on creation of the first model

0.4.0

03 Apr 01:44
Compare
Choose a tag to compare

Changes

  • update<key> event added
  • Override Backbone.Collection._add and Backbone.Collection._remove so relations update properly
  • Queue change and change<key> events, so they won't fire before relations are updated
  • Added the Backbone.RelationalModel.updateRelations method