Skip to content

Releases: leodutra/simpleflakes

Release v4.0.0

21 Sep 09:14

Choose a tag to compare

🚀 simpleflakes v4.0.0

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

Performance

  • ~8.8M ops/sec simpleflake() generation
  • Zero dependencies
  • TypeScript ready

✨ New Features

  • fix: update SimpleFlakeStruct to use bigint for timestamp and randomBits; add tests for new structure (1493323)
  • fix: add collision chance information to performance section in README.md (dc0c76f)
  • fix: update feature list in README.md for improved clarity and visual appeal (6c89dbd)
  • fix: enhance README.md for clarity and consistency in features and use cases (77c1d47)
  • chore: add youtube video about simpleflakes (a432aa4)
  • feat: add initial announcement for Snowflake ID generation system (6bf6e66)

🪲 Bug Fixes

  • fix: clarify comment on Snowflake structure in README for accuracy (00e872f)
  • fix: clarify Snowflake structure comment in README for accuracy (786333f)
  • fix: reorganize references section in README for improved clarity and accessibility (1b0725e)
  • fix: remove development section from README for clarity and conciseness (2239555)
  • fix: reorder default export to enhance clarity and maintain original API structure (701356e)
  • fix: update test constants to use bigint for consistency and adjust related tests (128e05c)
  • fix: update SIMPLEFLAKE_EPOCH to use bigint type in tests (8272d6c)
  • fix: simplify export of SIMPLEFLAKE_EPOCH in default export (9f7cc02)
  • fix: adjust formatting of simpleflake ID structure in README.md for improved clarity (8cc95d5)
  • fix: improve formatting of simpleflake ID structure in README.md for better readability (a9de84c)
  • fix: update links in README.md for improved readability (884d3f3)
  • fix: update README.md for formatting consistency and clarity (ce095a0)
  • chore: fix for code scanning alert no. 8: Workflow does not contain permissions (3ba8c30)
  • fix: update badge links in README.md for accuracy and consistency (918cbd4)
  • fix: update dependencies badge in README.md for accuracy (dcfdc88)

🔧 Maintenance

  • chore: bump version to 4.0.0 (d325a8f)

Installation

npm install simpleflakes@v4.0.0

Full Changelog: v3.1.0...v4.0.0

Release v3.1.0

07 Sep 19:38

Choose a tag to compare

🚀 simpleflakes v3.1.0

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

Performance

  • ~8.8M ops/sec simpleflake() generation
  • Zero dependencies
  • TypeScript ready

✨ New Features

  • feat: modernize build system with SWC + TypeScript hybrid approach (39ed5f4)
  • refactor: update build process and add SWC for JavaScript compilation (e090cc0)

🪲 Bug Fixes

  • fix: update .swcrc configuration for TypeScript parser and minification settings (31dfbdf)
  • fix: update .swcrc configuration for TypeScript parser and module settings (058329c)
  • fix: update bug fixes section emoji in release notes (4400952)
  • Fix formatting of README.md badge section (dd28393)
  • fix: update descriptions for clarity and consistency across README.md and package.json (1033bd5)
  • fix: update README.md for clarity on performance description (cd2ff66)
  • fix: correct spelling of Simpleflake in comparison table (844e06a)
  • fix: update README.md to include comparisons with UUID v7, Nanoid, and KSUID (d539154)

Other Changes

  • test: separate unit tests for SimpleFlakeStruct and related functions (f929230)

Installation

npm install simpleflakes@v3.1.0

Full Changelog: v3.0.5...v3.1.0

Release v3.0.5

07 Sep 08:48

Choose a tag to compare

🚀 simpleflakes v3.0.5

Fast, reliable, distributed 64-bit ID generation for Node.js.

Performance

  • ~8.8M ops/sec simpleflake() generation
  • Zero dependencies
  • TypeScript ready

🪲 Bug Fixes

  • fix: update keywords in package.json for better searchability (d5b3343)
  • fix: update example output for base36 conversion in README.md (169f35c)

Other Changes

Installation

npm install simpleflakes@v3.0.5

Full Changelog: v3.0.4...v3.0.5

Release v3.0.4

07 Sep 07:47

Choose a tag to compare

🚀 simpleflakes v3.0.4

Fast, reliable, distributed 64-bit ID generation for Node.js.

Performance

  • ~8.8M ops/sec simpleflake() generation
  • Zero dependencies
  • TypeScript ready

🐛 Bug Fixes

  • fix: correct SIMPLEFLAKE_EPOCH constant and update test for simpleflake() output (d8dd2fd)

Other Changes

Installation

npm install simpleflakes@v3.0.4

Full Changelog: v3.0.3...v3.0.4

Release v3.0.3

07 Sep 07:31

Choose a tag to compare

🚀 simpleflakes v3.0.3

Fast, reliable, distributed 64-bit ID generation for Node.js.

Performance

  • ~8.8M ops/sec simpleflake() generation
  • Zero dependencies
  • TypeScript ready

✨ New Features

  • feat: add workflow_dispatch input for version publishing in NPM workflow (c0d0a53)

🐛 Bug Fixes

  • fix: bump version to 3.0.3 in package.json (215ecee)
  • fix: update CI workflow to run coverage tests with LCOV and adjust smoke test command in publish workflow (ed776df)
  • fix: correct test coverage CI command in package.json (bb35e63)
  • fix: update import path for simpleflakes library in benchmark script (a0b21ed)
  • fix: remove compatibility test command from README (839d59a)
  • fix: remove compatibility test from CI workflow (42a4b6c)
  • fix: update test coverage script to ensure build step is included (a6dbd8e)
  • fix: update nycrc to include dist directory instead of lib (1de26b1)

⚡ Performance Improvements

  • chore: optimize package configuration and cleanup (5f012a0)

🔧 Maintenance

  • refactor: remove lib directory and update test imports to use dist (96456a4)

Other Changes

  • refactor: remove test files for CommonJS, ES Modules, and TypeScript compatibility (735a544)

Installation

npm install simpleflakes@v3.0.3

Full Changelog: v3.0.1...v3.0.3

Release v3.0.1

07 Sep 06:37

Choose a tag to compare

🚀 simpleflakes v3.0.1

Fast, reliable, distributed 64-bit ID generation for Node.js.

Performance

  • ~8.8M ops/sec simpleflake() generation
  • Zero dependencies
  • TypeScript ready

🐛 Bug Fixes

  • fix: update test step to run smoke tests for quick validation (71e2c7c)

Other Changes

Installation

npm install simpleflakes@v3.0.1

Full Changelog: v3.0.0...v3.0.1

Release v3.0.0

07 Sep 06:28

Choose a tag to compare

🚀 simpleflakes v3.0.0

Fast, reliable, distributed 64-bit ID generation for Node.js.

Performance

  • ~8.8M ops/sec simpleflake() generation
  • Zero dependencies
  • TypeScript ready

✨ New Features

  • docs: update README to enhance project description and highlight features (d4f5cd1)
  • feat: implement release workflow and generate release notes script (d42f977)
  • feat: add benchmark results logging and badge generation script (0ea6ba6)
  • chore: add concurrency settings to CI and publish workflows (b5ff8c9)
  • chore: add workflow_dispatch trigger to CI and publish workflows (801b33b)
  • feat: add compatibility tests for CommonJS, ES Modules, and TypeScript; update CI configuration and ignore unnecessary test files (58d7176)
  • chore: update Node.js version support in CI and package.json; enhance README with additional badges (784ee37)
  • feat: implement CI workflow and publish process; migrate from Travis to GitHub Actions (cbeffa0)
  • chore: format script section in .travis.yml for better readability; add compatibility test (91a1c4c)
  • feat: migrate to TypeScript and restructure project (42a320f)
  • chore: add test coverage scripts and update dependencies (d1ba75f)
  • Remove legacy simpleflake implementation and associated tests (8acd36c)
  • Add license scan report and status (b219ffa)

🐛 Bug Fixes

  • fix: update coverage upload conditions to use 'lts/*' node version (84a75c9)
  • fix: correct condition for Codacy coverage upload step in CI workflow (3f9f4fa)
  • fix: reorder steps in CI workflow to ensure tests run before publishing to NPM (9469562)
  • Fix formatting and improve clarity in README.md (37a0c64)

📚 Documentation

  • chore: remove unused links and badges from README (2bfd0bf)
  • chore: update README and package.json for testing enhancements; remove deprecated index files (76a42ff)
  • Update README.md (f3ff766)
  • Clean up README by removing unnecessary badges (35c8086)
  • Update README.md (f82add2)
  • Update README (15db345)

🔧 Maintenance

  • chore: update Node.js version requirements to 16.x in CI, publish workflows, and package files (e5d8f62)
  • chore: clean up CI workflow files by removing unnecessary whitespace (1f5ff8e)
  • Update keywords in package.json for improved searchability (ba89bb0)
  • Bump version to 3.0.0 in package.json (1a18cf8)
  • Update devDependencies and remove unused dependencies in package.json (fb99f0c)
  • Update dependencies (a933ae7)
  • Bump eslint-utils from 1.4.0 to 1.4.2 (93dc656)

Other Changes

  • refactor: simplify publish workflow by removing release creation steps (b8ccb51)
  • Remove yarn.lock (35ff771)
  • Refactor simpleflake tests to improve readability and consistency (823eb06)
  • Refactor tests for simpleflake and related functions to improve structure and coverage (aafa8bb)
  • Refactor simpleflake function to use nullish coalescing operator for randomBits (d4dae4c)
  • v2.2.2 (7144690)

Installation

npm install simpleflakes@v3.0.0

Full Changelog: v2.1.0...v3.0.0

v2.1.0

07 Aug 04:19

Choose a tag to compare

Source is now using eslint airbnb and dependencies were updated to resolve security alerts.

v2.0.2

26 Mar 21:33

Choose a tag to compare

Source and code changed to use BitInt implementation of TC39 (ECMA).
Legacy functions, using bn.js, were kept and are exported to imports on older Node.js engines.

1.2.3

24 Aug 00:27

Choose a tag to compare

Update package.json