Skip to content

Release v4.3.1

Choose a tag to compare

@github-actions github-actions released this 15 Jul 15:55
· 22 commits to master since this release

🚀 simpleflakes v4.3.1

Fast, lightweight, and reliable distributed 64-bit ID generation with zero dependencies for Node.js.

New Features

  • fix: binary() mishandles negative values via naive zero-padding (8ea1092)

Bug Fixes

  • chore: fix transitive devDependency vulnerabilities (js-yaml, piscina, uuid) (991e678)
  • fix: extractBits() accepts negative shift/length with garbage semantics (f66f867)

Performance Improvements

  • perf: lazily allocate random buffer on first use (0cd80c9)
  • refactor: simplify release notes formatting and remove performance section (f96ffb0)

Documentation

  • docs: document collision envelope, epoch horizon, and same-ms ordering (fff14a3)
  • chore: remove large FOSSA status badge from README.md (b7a1f45)
  • chore: update README.md to reposition FOSSA status badge (3b8b69c)
  • chore: update README.md to replace badge references with direct links (73fd5dc)

Maintenance

  • chore: update .gitignore (939e592)
  • chore: bump version to 4.3.1 (f4fa2a7)
  • chore(deps-dev): bump esbuild from 0.28.0 to 0.28.1 (5a3c202)
  • chore: update include path in .nycrc to specify simpleflakes.js (f87c89b)
  • chore: remove unused stage error file (1e65ba0)
  • chore: update devDependencies in package.json and remove unused packages from package-lock.json (bd45dcc)

Other Changes

  • Revert "ci: drop Node 16/18 from test matrix, requires >=19 for globalThis.crypto" (ceaf778)
  • ci: drop Node 16/18 from test matrix, requires >=19 for globalThis.crypto (774a72d)
  • refactor: export SIMPLEFLAKE_EPOCH and improve random source type handling (33f6de3)

Installation

npm install simpleflakes@v4.3.1

Full Changelog: v4.3.0...v4.3.1