Deepdash logoDeepdash logo

Change Log

v4-2-0

(2019-04-19)

Features added

  • mapDeep implemented

v4-1-0

(2019-04-05)

Features added

  • reduceDeep implemented

v4-0-0

(2019-04-05)

Breaking Changes

  • in the browser deepdash doesn't try to patch existing global _ variable. It now exposes global deepdash function and user should pass a lodash instance to this function manually.
  • source object will be passed to the iteratee/predicate as a very first value with undefined key/path/parent (see includeRoot option)
  • indexate renamed to index.
  • in case of completely rejected object filterDeep returns null instead of empty {}/[]
  • if not an object passed as a source to filterDeep source will be returned if it passes the filter, otherwise null.
  • context.treeChildrenPath renamed to childrenPath.
  • isTreeChildren, isTreeNode iteratee sub-parameters deprecated (since they are always true in 'tree' mode and false in the 'object' mode)
  • regexp children path support dropped to optimise tree walking
  • tree sub-object option deprecated, tree.children renamed to childrenPath, tree.rootIsChildren renamed to rootIsChildren

Features added

  • cherry-pick separate methods now available as standalone functions or as a lodash mixins.
  • standalone version now available
  • deepdash-es package created for importing as es6 module. It's just a content of es folder from main repo.
  • includeRoot option added to eachDeep, index, paths (keysDeep) and filterDeep methods.
  • leavesOnly implemented for tree mode. eachDeep now also has leavesOnly option.

v3-1-0

(2019-03-08) ✿❃❀

Breaking Changes

  • keepUndefined option removed from the filterDeep method. Use onUndefined:{keepIfEmpty:true}, instead.
  • keys argument of the omitDeep and pickDeep methods became paths

Features added

  • tree option added to the filterDeep method.
  • tree option added to the indexate method.
  • tree option added to the paths (keysDeep) method.
  • predicate option of the filterDeep method is Lodash _.iteratee.
  • cloneDeep option of the filterDeep now can be set to false.
  • callbackAfterIterate option added to the eachDeep method.
  • onTrue onUndefined and onFalse options added to the filterDeep method. cloneDeep, keepIfEmpty, skipChildren default values can be overwritten for each condition.
  • onMatched and onNotMatched options added to the omitDeep and pickDeep methods.
  • custom object replies from filterDeep iteratee, with cloneDeep, keepIfEmpty, skipChildren and empty fields now are supported.

Bugs fixed

  • filterDeep method continues to iterate over object's children if it passed the filter.

v2-1-0

(2019-03-02)

Features added

  • tree option added to the eachDeep method. Now it's much easier to iterate over tree with known children collection field name / path

Bugs fixed

  • Circular reference detector false positive for similar parent/child structure

v2-0-0

(2019-02-21)

Breaking Changes

  • iteratee/predicate arguments order/structure changed to mimic native js array predicates

Features added

  • checkCircular option added to the eachDeep method.
  • pickDeep method implemented.

v1-9-5

(2019-02-09)

no changelog earlier, sorry


Docs

  • Contact