Skip to content

Releases: unjs/ohash

v1.1.3

10 Aug 11:10
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🔥 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

  • Add benchmark scripts (#40)
  • Add autofix ci (af19f81)
  • Enable strict type checking (2ed5b67)

❤️ Contributors

Special thanks to @H4ad for working on performance improvements!

  • Pooya Parsa (@pi0)
  • Owen Kieffer-Jones
  • Vinicius Lourenço

v1.1.2

21 Apr 13:46
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • objectHash: Serialize boolean as bool (186e719)

✅ Tests

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.1.1

19 Apr 16:23
@pi0 pi0
Compare
Choose a tag to compare

compare changes

💅 Refactors

  • Expose diff function types (bc08321)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.1.0

19 Apr 14:04
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Expose sha256base64 utility (#19)
  • objectHash: Serialize objects with entries (1c8e8b9)
  • objectHash: Support serializing classes with custom toJSON() (331eceb)
  • diff utility (#28)

🩹 Fixes

  • Fix type of SHA256.prototype.toString method (#23)
  • objectHash: Serialize boolean types (7fd580f)

🏡 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

v0.1.5

19 Apr 15:29
@pi0 pi0
Compare
Choose a tag to compare

Features

v0.1.4

19 Apr 15:29
@pi0 pi0
Compare
Choose a tag to compare

Features

  • use base64 to encode sha256 hash (#13) (778413f)

v0.1.1

19 Apr 15:29
@pi0 pi0
Compare
Choose a tag to compare

Features

Bug Fixes

  • pkg: set sideEffects field (583d85e)