object-hash generates hash values from JavaScript objects and values in Node.js and the browser. It can use algorithms from Node’s crypto module (default sha1) and supports options like excluding keys or values, handling unordered collections, and writing the hash data to a stream.
Project status
- The project appears quiet/dormant, with the last upstream push on 2024-07-23, and no recent updates shown since 2022. It is not evidence-supported as actively maintained as of 2026-06-09.
- Update/release cadence is irregular historically, with major updates in 2018 to 2022 and multi-year gaps afterward (for example, 2022-02-18 to 2024-07-23, and then no further updates shown up to 2026-06-09).
AI summary generated
Recent updates
v3.0.0
Release v3.0.0 updates the hashing logic and tests for JavaScript typed arrays. The main behavioral change is that Int8Array/Int16Array/Int32Array are now hashed with distinct type markers instead of being treated like their unsigned counterparts. Documentation (README) and the browser bundle (dist) were also regenerated to match the updated behavior.
Breakingv2.2.0
Release v2.2.0 adds support for hashing JavaScript BigInt values and updates the test suite accordingly. There were no release notes provided by the publisher, so the changes below reflect only what is visible in the code diff and related documentation/tests.
Featuresv2.1.1
Release v2.1.1 was published, but the publisher provided no release notes or change log details. No developer-impacting changes (features, fixes, breaking changes, security or dependency updates) can be determined from the provided information.
v2.0.3
This release bumps object-hash from v2.0.2 to v2.0.3 and updates built artifacts under dist, along with a packaging change in package.json. No release notes were provided, so it is unclear what functional intent accompanied the diff.
v2.0.2
v2.0.2 updates object-hash to handle async functions as a distinct type for hashing, with new tests asserting that async function properties affect the resulting hash. The build/test pipeline was also adjusted so browserified test bundles do not choke on async function syntax.
Featuresv2.0.1
v2.0.1 mainly updates the build pipeline and republishes bundled artifacts in dist. The release notes are missing (none provided by the publisher), and the changes observed are not described in the provided release documentation.
v2.0.0
This release (v2.0.0) contains relatively small runtime logic changes in the hashing implementation, but a major shift in build, test, and supported Node.js versions. The release notes field is empty, so the documented versus actual delta must be treated as entirely incomplete.
Breakingv1.3.1
v1.3.1 primarily updates the hashing behavior for string values, and regenerates the bundled dist outputs and tests. The release notes are missing (none provided), so consumers must rely on the code diff to understand what changed.
Breakingv1.3.0
This release (v1.3.0) adds support for controlling whether object keys are sorted before hashing, via a new `unorderedObjects` option. The default behavior appears to remain the same (object keys are sorted by default), but hashes will change if you explicitly disable sorting.
Featuresv1.2.0
Release v1.2.0 was published on 2017-10-12, but the publisher provided no release notes. As a result, this release cannot be analyzed for specific new features, breaking changes, bug fixes, security, performance, or migration actions based on the provided data.