- Update deep-diff to 0.3.8
- Update nested wrapper paths when array length changes (Issue #106)
- Fix object remove method for 0 key
- Fix error inserting into 0 element by checking diff.index is undefined
- Add optional thisArg to
map
method
- support immutable data structure
- remove
didChange
andgetChanges
- remove
off('update')
- replace
on('update')
withonUpdate
- replace
insertAt
andremoveAt
withsplice
- replace
add
withmerge
- swap
remove
anddestroy
method
- fix multiple changes bug
- provide
deepDiff
anddeepClone
class methods
- upgrade babelify
- derequire build file
- fix insertAt when inserting an array (previously the insert array gets flatten into the parent array)
- fix diffPath bug (should copy path to diffPath instead of simply setting it to path)
- revert back to regular for loop (instead of es6 for...of) to remove polyfill dependency
- expose changes
getChagnes
anddidChange
methods
- ES6 rewrite
- Batch rewrap
- Fix batch callback bug
Features:
- Add
filter
method
Features:
- Run callbacks in batch so that multiple updates in the same run loop result in a single callbacks run.
Features:
- Support multiple callbacks
- Add
off("update", callback)
method
Features:
- Add
on("update", callback)
Features:
- Deprecate
delete
method and replace withdestroy
Features:
- Improved rewrapping performance by only wrapping at the parent of subtree with change.
- Add
shift()
andunshift