Skip to content

v4.0.2

Choose a tag to compare

@gonuit gonuit released this 01 Apr 20:20
· 1 commit to master since this release

What's Changed

  • Fix ObjectId.fromHexString(…) on web by @JonasWanke in #5
    • Rewrote ObjectId.fromHexString to parse hex directly into bytes, avoiding 32-bit bitwise limitation on web and improving performance (~4x faster).
  • Fixed ObjectId.fromValues web support by replacing >> 32 with integer division in toProcessUniqueBytes.
  • Fixed Random.secure() fallback in FallbackProcessUnique to catch all exceptions, enabling Node.js compatibility.
  • Added CI pipeline with formatting, analysis, and tests on VM, Chrome, and Node.js.

New Contributors

Full Changelog: v4.0.1...v4.0.2