parse()
now forwards theparse
option- Thanks to dodo for pull request #1
- Now compatible with any Backbone v1 version
- Upgraded compilation from CoffeeScript v1 with CoffeeScript v2
- Now published with multiple editions so you can select the best one for your environment
- Updated base files
- Setting a nested ID collections over a pre-set value will now apply properly
- Correctly handle setting ID indexed collections
- Added tests for
embeds
property
- By default when over-writing a model attribute with a new model, we will replace the old model with the new model, rather than copying in the attributes of the new model into the old model
- This can be turned off by using
replaceModel: false
inside your set options
- This can be turned off by using
- Added
isPreparedValue(key,value)
method
- Can now set
strict
property by passing it as an option to the constructor - We now dereference the
defaults
as well as thetoJSON
output toJSON
output will now also have the model's id
- We now dereference the
defaults
property - Methods are now bound to the instance
- If the nested object already exists, we won't over-write it but instead apply the new values to it
toJSON()
will now useget
on the model instead of our internalgetDeep
on attributes for fetching nested models then serialising themget
will now set the value if it needed to be prepared
- Initial working release
- Initial non-working version