Skip to content

Releases: oculus42/short-uuid

5.2.0

02 May 04:03
Compare
Choose a tag to compare

Added

  • validate method to check shortIds for simple or "rigorous" validity

5.1.0

01 May 11:59
Compare
Choose a tag to compare

Added

  • Add support for uuid25 format (Base36) with the new constant uuid25Base36

5.0.1

30 Apr 13:22
Compare
Choose a tag to compare

Changed

  • Updates engines in package.json to reflect Node >=14

5.0.0

29 Apr 17:18
Compare
Choose a tag to compare

MAJOR CHANGES

  • 🛑 5.0.0 drops support for Node 10 and 12
  • ℹ️ 5.x will be quickly succeeded by 6.0 which will drop Node 14.x and 16.x support

Changed

  • UUID version to 9.0.1
  • Dropped support for Node prior to 14.x
  • Updated GitHub Actions to test Node 14.x-22.x

4.2.2

29 Apr 17:04
Compare
Choose a tag to compare

2022-10-18

Changed

  • Updated README

4.2.1

19 Oct 02:48
a59edd4
Compare
Choose a tag to compare

v4.2.1 – 2022-10-18

Added

  • GitHub Actions
  • Testing to Node 16.x and 18.x

Changed

  • npm audit updated dependencies

Removed

  • Travis-CI integration
  • Snyk.io integration

4.2.0

14 May 18:51
5a5227d
Compare
Choose a tag to compare

Added

  • maxLength property to TypeScript definitions
  • UUID types to TypeScript definitions

Changed

  • UUID version to 8.3.2
  • Updated dev dependencies

4.1.0

07 Sep 18:23
Compare
Choose a tag to compare

Added maxLength property to translators.

4.0.2

07 Sep 13:57
Compare
Choose a tag to compare

Eslint and code quality updates.
README cleanup.
No code changes.

4.0.1

06 Sep 22:21
Compare
Choose a tag to compare

[4.0.1] - 2020-09-06

Changed

  • Fixed default .generate() to use padStart correctly.

[4.0.0] - 2020-09-06 (Unreleased)

MAJOR CHANGES

  • 🛑 short-uuid will now throw an error when provided an alphabet with duplicate characters. Duplicate characters will cause translation errors.
  • ℹ️ 4.0.0 is written in modern ECMAScript. It uses features through ES9/ES2018.
  • ℹ️ 4.x does not yet include the pre-built version for browsers. If needed, continue to use 3.1.1 in the meantime.
  • ℹ️ By default, short-uuid will pad shortened IDs to a consistent length.
    • Padding does not affect translation, and the values are compatible with previous releases.
    • Padding can be disabled with the option consistentLength: false when instantiating a translator. This is consistent with previous versions.

Added

  • eslint rules
  • tape testing library

Changed

  • Merged PR #44 from qgerome to fix uuid version deprecation.
  • Merged PR #47 from thadeucity to resolve #39 for consistent length.
  • Switched tests to tape
  • Updated to ES6
  • Switched from Greenkeeper to Snyk.io
  • Dropped support for Node prior to 8.x
  • Updated link to uuid repo in Notes in [README.md]

Removed

  • Removed browserify, grunt, & mocha
  • Removed built version for browser