All Versions
15
Latest Version
Avg Release Cycle
106 days
Latest Release
1840 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.0.0
September 07, 2019 -
v2.0.0-rc.1
September 03, 2019 -
v2.0.0-rc.0 Changes
September 03, 2019โ BREAKING CHANGES
- Library rewritten in typescript that could cause some side-effects, but it should not.
- โช With
coerce=false
Set
s will no longer generate the same hashes asArray
s. In order to restore previous behavior setcoerce.set=true
. - With
coerce=false
Symbol
s will generate hash based on symbol.toString
value. That's useful forSymbol.for('smth')
. Ifcoerce.symbol=true
allSymbols
s will have equal hashes. TLDR; If you use library withSet
s orSymbol
s withcoerce=false
in order to keep hashes the same as inv1.X.X
you should use following constructor:const hasher = require('node-object-hash')({coerce: {set: true, symbol: true}})
- ๐ Object sorter sources moved to
dist
directory. If you required it directly viarequire('node-object-hash/objectSorter')
you should change it to require('node-object-hash/dist/objectSorter'). - โ Removed old
v0
version from code. - ๐ Changed license to MIT.
๐ Bug Fixes
- hasher: fix options (05241ca)
๐ Features
- ๐จ major refactor (450471e)
- ๐ New granular options. Now you can specify what types need to be sorted or coerced.
- โ Add new
trim
option. It can be used to remove unncecessary spaces instring
s orfunction
bodies. - ๐ Library rewritten to typescript, so it may have better ts compatibility.
-
v1.4.2
January 30, 2019 -
v1.4.1 Changes
June 03, 2018- โก๏ธ Update jsdoc2md dependency
-
v1.4.0 Changes
June 03, 2018- โ Add support for objects without constructor #11 PR @futpib
- ๐ Simplify eslint rules, update codestyle
- ๐ Fix npm links issues in readme
- โก๏ธ Update dev dependencies
-
v1.4.X Changes
๐ Features
- โ Add support for objects without constructor #11 PR @futpib
- ๐ Simplify eslint rules, update codestyle
๐ Fixes
- ๐ Fix npm links issues in readme
- โก๏ธ Update dev dependencies
-
v1.3.0
June 26, 2017 -
v1.3.X Changes
๐ Features
- โ Add definition types to support typescript
- โ Add >=node-8.0.0 support in tests.
-
v1.2.0
February 22, 2017