0.8.0
Changes
- General performance improvements, refactored HasMany.onChange to eliminate unnecessary events.
- Implemented the
add
,merge
andremove
options onCollection.add
when working withRelationalModels
. This also works when usingset
to change the key on nested relations. findOrCreate
now takes aparse
option, analogous to theBackbone.Model
constructor. It defaults tofalse
- Added a
parse
option torelations
Breaking Changes
- The
update:<key>
event has been removed, in favor of handling everything using "standard"change:<key>
events. - The
update
option onfindOrCreate
has been renamed tomerge
, since its behavior corresponds withmerge
onCollection.add
(and not withupdate
onCollection.reset
).