Skip to content

Releases: danielspaniel/ember-data-change-tracker

v0.5.2

10 Mar 22:35
Compare
Choose a tag to compare
  • fixes undefined attributes were not rolling back to correct object/array but to String value #11

v0.5.1

09 Mar 19:50
Compare
Choose a tag to compare
  • stop using Set's since it was not even needed, and no polyfill needed #10

v0.5.0

03 Mar 21:23
Compare
Choose a tag to compare
  • 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

v0.4.2

03 Mar 17:06
Compare
Choose a tag to compare
  • fixed issue #8

v0.4.1

17 Feb 12:11
Compare
Choose a tag to compare
  • fixed the hasMany issue #4

v0.4.0

15 Feb 13:09
Compare
Choose a tag to compare
  • Change tracking now works when using JSONAPISerializer #4
  • KeepOnlyChanged mixin how filters out hasMany that did not change

v0.3.4

01 Feb 20:18
Compare
Choose a tag to compare
  • fixed for custom attributes ( whose transformer ) do not serialize the value to a string.

v0.3.2

31 Jan 13:08
Compare
Choose a tag to compare
  • 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

31 Jan 00:31
Compare
Choose a tag to compare
  • 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

21 Jan 19:56
Compare
Choose a tag to compare
  • saves changes on model.reload ( which was not happening before )