Skip to content

Latest commit

 

History

History
413 lines (237 loc) · 13.9 KB

CHANGELOG.md

File metadata and controls

413 lines (237 loc) · 13.9 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

v2.0.11

compare changes

🩹 Fixes

  • serialize: Class name collision with globalThis (#138)
  • serialize: Allow input.toJSON() to return any type (#135)
  • serialize: Map serialization with object keys (#139)

❤️ Contributors

v2.0.10

compare changes

🔥 Performance

  • serialize: Faster serialization of typed arrays and objects with string keys (#134)

❤️ Contributors

v2.0.9

compare changes

🔥 Performance

  • serialize: Faster Date serialization (#130)

🩹 Fixes

  • serialize: Handling objects with null constructors (#131)
  • serialize: Recorgnize global constructor names (#132)

❤️ Contributors

v2.0.8

compare changes

🔥 Performance

  • serialize: Faster serialization and less bundle size (#126)

📦 Build

  • Export isEqual from main subpath for backward compat (#128)

❤️ Contributors

v2.0.7

compare changes

🔥 Performance

  • serialize: Faster symbol and number comparison (#125)

✅ Tests

  • benchmarks: Add serialize presets (#124)

❤️ Contributors

v2.0.6

compare changes

🔥 Performance

  • serialize: Fast path to compare primitive values (#123)

🩹 Fixes

  • serialize: Better circular references handling (#119)

🏡 Chore

❤️ Contributors

v2.0.5

compare changes

🩹 Fixes

  • Serialization format of typed arrays (#121)

❤️ Contributors

v2.0.4

compare changes

🩹 Fixes

  • Use process.getBuiltinModule to import fast hash (#118)

📦 Build

  • Minify dist/crypto/node (76bd382)

❤️ Contributors

  • Pooya Parsa (@pi0)

v2.0.3

compare changes

🔥 Performance

  • Use node crypto hash when available (#116)

🩹 Fixes

  • Workaround for stackblitz (#117)
  • Remove trailing slash from arrays (c2b8250)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v2.0.2

compare changes

📦 Build

  • Mark Serializer as pure to allow tree-shaking (83fe375)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v2.0.1

compare changes

💅 Refactors

❤️ Contributors

  • Pooya Parsa (@pi0)

v2.0.0

compare changes

🔥 Performance

  • Reduce js digest size (#109)

🩹 Fixes

  • hash, serialize: ⚠️ Always serialize string inputs (#110)

💅 Refactors

  • ⚠️ Drop murmurHash support (#104)
  • ⚠️ Rename sha256* to stringDigest (#106)
  • ⚠️ Rename objectHash to serialize (#107)
  • Rename stringDigest to digest (d4dd808)
  • ⚠️ Use standard base64url for digest (#111)
  • ⚠️ Rewrite serializer (#113)

📖 Documentation

  • Clarify what hash() does (8f7e829)

📦 Build

  • ⚠️ Esm only (#105)
  • Selectively minify js hash impl (fe3db66)
  • ⚠️ Move utils to ohash/utils (#112)

🏡 Chore

✅ Tests

⚠️ Breaking Changes

  • hash, serialize: ⚠️ Always serialize string inputs (#110)
  • ⚠️ Drop murmurHash support (#104)
  • ⚠️ Rename sha256* to stringDigest (#106)
  • ⚠️ Rename objectHash to serialize (#107)
  • ⚠️ Use standard base64url for digest (#111)
  • ⚠️ Rewrite serializer (#113)
  • ⚠️ Esm only (#105)
  • ⚠️ Move utils to ohash/utils (#112)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.1.4

compare changes

🩹 Fixes

  • murmurHash: Fix murmurHash3 implementation, add tests (#83)

📖 Documentation

  • Improved and finalized jsdocs in exported functions (#74)

🏡 Chore

  • Update badge (#46)
  • Update links in readme (#59)
  • Update repo (e09027f)

❤️ Contributors

v1.1.3

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

❤️ Contributors

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

v1.1.2

compare changes

🩹 Fixes

  • objectHash: Serialize boolean as bool (186e719)

✅ Tests

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.1.1

compare changes

💅 Refactors

  • Expose diff function types (bc08321)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.1.0

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

1.0.0 (2022-11-14)

0.1.5 (2022-08-04)

Features

0.1.4 (2022-07-14)

Features

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

0.1.3 (2022-07-14)

0.1.2 (2022-07-14)

0.1.1 (2022-07-14)

Features

Bug Fixes

  • pkg: set sideEffects field (583d85e)

0.1.1 (2021-10-18)

Bug Fixes

  • pkg: set sideEffects field (583d85e)