Releases: danielspaniel/ember-data-change-tracker
Releases · danielspaniel/ember-data-change-tracker
v0.5.2
v0.5.1
v0.5.0
- Things work alot better with async relationships thanks to @ezekg #54
- You can now add computed properties to keep track of model chenges:
- adds a
isDirty
computed property to DS.Model ( only if enabled in configuration ) - adds a
hasDirtyRelations
computed property to DS.Model ( only if enabled in configuration ) - check configuration for details
- adds a
v0.4.2
v0.4.1
v0.4.0
v0.3.4
- fixed for custom attributes ( whose transformer ) do not serialize the value to a string.
v0.3.2
- Changed to use global config of:
// This says, track nothing by default, but when you do, don't exclude hasMany.
// Since manual mode you probably want to track everything
{ trackHasMany: true, auto: false }
v0.3.0
- no more auto tracking by default
- when manual tracking you have to declare when to start tracking
- rollback added
Usage:
let model = this.get('your-model');
// manually start tracking
model.startTrack();
// .. edit the model
model.rollback();
v0.2.1
- saves changes on model.reload ( which was not happening before )