Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 829 Bytes

changelog.md

File metadata and controls

36 lines (19 loc) · 829 Bytes

Change Log

v0.2.1 2014-7-13

  • yield added/deleted keys for custom comparison

v0.2.0 2014-3-29

  • support custom comparison blocks
  • support :strip, :numeric_tolerance and :strict options

v0.1.0 2013-8-25

  • use options for parameters :delimiter and :similarity in interfaces

v0.0.6 2013-3-2

  • Add parameter for custom property-path delimiter.

v0.0.5 2012-7-1

  • fix a bug in judging whehter two objects are similiar.
  • add more spec test for HashDiff.best_diff

v0.0.4 2012-6-24

Main changes in this version is to output the whole object in addition & deletion, instead of recursely add/deletes the object.

For example, `diff({a:2, c:[4, 5]}, {a:2}) will generate following output:

[['-', 'c', [4, 5]]]

instead of following:

[['-', 'c[0]', 4], ['-', 'c[1]', 5], ['-', 'c', []]]