Releases: unjs/ohash
Releases · unjs/ohash
v2.0.3
v2.0.2
v2.0.1
Note
Check out latest docs for usage and examples.
🌟 What is new?
- 🚀 Speedup with native
node:crypto
when available using import conditions (#100) - 🪴 Serializer rewritten with better stability, performance, and readability (#113)
- 🧹 Internal cleanups
- 📦 Package is now ESM-only
- Install size reduced from
63.3kB
to18.7kB
- Bundle size for
hash
reduced from8.6kB
(3.6kB
gzip) to5.5kB
(2.6kB
gzip) [web] and2.3kB
(1kB
gzip) [node]
- Install size reduced from
⚠️ Breaking Changes
- Package:
- Serializer:
- Digest:
- Hash:
v2.0.0
v1.1.4
🩹 Fixes
- murmurHash: Fix murmurHash3 implementation, add tests (#83)
📖 Documentation
- Improve jsdocs (#74)
❤️ Contributors
- Max (@onmax)
- Pooya Parsa (@pi0)
- Hexagon [email protected]
- Estéban (@Barbapapazes)
- Luke Nelson [email protected]
v1.1.3
🔥 Performance
- object-hash: Avoid using array to just concatenate the string (#36)
- object-hash: Avoid toString when we know that the value is already a string (#33)
- object-hash: Faster
isNativeFunction
check (#30) - object-hash: Faster extract object type from toString (#31)
- object-hash: Faster object access by avoid string concat (#32)
- object-hash: Faster circular checking by using map (#34)
- object-hash: Reuse default options when is not passed (#37)
- object-hash: Avoid splice method to insert values (#35)
💅 Refactors
- Simplify diff formatting (8e6cabc)
📖 Documentation
- Improve jsdoc for
objectHash()
(#43)
🏡 Chore
❤️ Contributors
Special thanks to @H4ad for working on performance improvements!
- Pooya Parsa (@pi0)
- Owen Kieffer-Jones
- Vinicius Lourenço
v1.1.2
v1.1.1
v1.1.0
🚀 Enhancements
- Expose
sha256base64
utility (#19) - objectHash: Serialize objects with
entries
(1c8e8b9) - objectHash: Support serializing classes with custom
toJSON()
(331eceb) diff
utility (#28)
🩹 Fixes
🏡 Chore
- Add @vitest/coverage-c8 (#24)
- Update all dependencies (b17fa41)
- Lint and format with prettier (373eac4)
- Upgrade node version for ci (9532f47)
- Update release script (3124feb)
❤️ Contributors
- Pooya Parsa (@pi0)
- Nozomu Ikuta
- Damian Głowala