All Versions
15
Latest Version
Avg Release Cycle
106 days
Latest Release
776 days ago

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 Sets will no longer generate the same hashes as Arrays. In order to restore previous behavior set coerce.set=true.
    • With coerce=false Symbols will generate hash based on symbol .toString value. That's useful for Symbol.for('smth'). If coerce.symbol=true all Symbolss will have equal hashes. TLDR; If you use library with Sets or Symbols with coerce=false in order to keep hashes the same as in v1.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 via require('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

    ๐Ÿ”‹ 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 in strings or function 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