Releases: chernjie/hashable
v2.0.1
v2.0.0
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
v1.1.2
export as default; add more sort keys
Full Changelog: v1.1.1...v1.1.2
v1.1.1
What's Changed
- add docs
- add github pages https://chernjie.github.io/hashable/
- Enable sort object by keys option by @chernjie in #1
Full Changelog: https://github.com/chernjie/hashable/commits/v1.1.1