Skip to content

Releases: chernjie/hashable

v2.0.1

08 Dec 22:33

Choose a tag to compare

Full Changelog: v2.0.0...v2.0.1

  • github actions for npm publish
  • npm audit fix

v2.0.0

27 Nov 20:19

Choose a tag to compare

Full Changelog: v1.1.3...v2.0.0

Breaking changes in v2.0.0

ES Module Support

The entire project now uses ES modules. This affects both how the library is imported/required and how the CLI is executed.

Impact: Users in older environments without ES module support will need to update their Node.js versions or use a build process that handles ES modules.

Removal of config/priority.json

The default priority is now handled internally in hashable.js.

Impact: Users who relied on customizing the default priority by modifying config/priority.json will need to use getDefaultPriority() to retrieve the default and create a modified copy.

Consistent CLI Output for Single File

The CLI now returns a single JSON object (not wrapped in an array) for single file input without --in-place. This makes the output consistent with stdin handling.

Impact: User scripts or tools that relied on the previous array output (even for single files) will need to be updated to handle a single JSON object.

Try it in the browser (Live Demo)

v1.1.3

15 Aug 07:56

Choose a tag to compare

  • dbb033f rename hashable-json to hashable-cli
  • a7bd503 compelling alternatives
  • 7b86947 Improve documentation and discoverability

Full Changelog: v1.1.2...v1.1.3

v1.1.2

14 Aug 17:45

Choose a tag to compare

export as default; add more sort keys

Full Changelog: v1.1.1...v1.1.2

v1.1.1

14 Aug 17:00
9b762c0

Choose a tag to compare

What's Changed

Full Changelog: https://github.com/chernjie/hashable/commits/v1.1.1