Skip to content

Commit

Permalink
Update for v0.5.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvaray committed Jul 16, 2013
1 parent af8ac0e commit e66dbb4
Show file tree
Hide file tree
Showing 21 changed files with 2,347 additions and 473 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
@@ -1,8 +1,8 @@
### Upcoming (Edge version)
### Version 0.5.1 - [Diff](https://github.com/dhruvaray/backbone-associations/compare/v0.5.0...v0.5.1)

* `relatedModel` can now also be a function. Could be used to model polymorphic associations like in this [gist](https://gist.github.com/dhruvaray/5988996).
* `relatedModel` can be passed a special value called `Backbone.self` to handle self references.
* Introducing explict cleanup on `Backbone.Model` to prevent memory leaks when users set `Backbone.Model` to undefined explictly.
* Introducing explicit cleanup on `Backbone.Model` to prevent memory leaks when users set `Backbone.Model` to undefined explicitly.
* Fixed the handling of {reset:true} option on `Backbone.Collection`.
* Fixed a scenario where repeated fetch on the same `Backbone.Model` or `Backbone.Collection` caused event bubbling to stop.

Expand Down
23 changes: 12 additions & 11 deletions backbone-associations-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions backbone-associations.js
@@ -1,5 +1,5 @@
//
// Backbone-associations.js 0.5.0
// Backbone-associations.js 0.5.1
//
// (c) 2013 Dhruva Ray, Jaynti Kanani, Persistent Systems Ltd.
// Backbone-associations may be freely distributed under the MIT license.
Expand Down Expand Up @@ -44,7 +44,7 @@
collectionEvents = ["reset", "sort"];

Backbone.Associations = {
VERSION:"0.5.0"
VERSION:"0.5.1"
};

// Backbone.AssociatedModel
Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name":"backbone-associations",
"version":"0.5.0",
"version":"0.5.1",
"main":"./backbone-associations.js",
"dependencies":{
"backbone":"0.9.10",
Expand Down

0 comments on commit e66dbb4

Please sign in to comment.