You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On May 14th this tiny yet widely useful library will reach the 3 year mark since its first commit.
To rise up to the occasion, as well as to match up with Deno's proposed release date for version 1, I've decided to revamp short-unique-id to better match the ethos which originally led me to Ankit Kuwadekar's source code: to have at disposal an open source, atomic, and tiny library which could generate truly unique and random ids with as little code as possible.
With the previous in mind I have the following (mostly breaking) changes in mind:
Features
Re-write the development workflow to use Deno for building releases (this one might be tricky as I still want to support npm) Re-write development workflow #13
Refactor the syntax uid.randomUUID(6) to uid()
Refactor the syntax uid.randomUUID(n) to uid(n)
Refactor the syntax uid.sequentialUUID() to uid.seq()
Refactor the skipShuffle option to shuffle and default it to true
Document why 6 was chosen as the default character length for a short uid (with actual math that I originally used for my short url project)
Add more details to the initialization options section
Add Deno usage example
Add README.md to short_uuid explaining relationship with this repo
Release
Remove -rc1 on docs and import examples
I'll leave this issue open for the following month up to May 13th in case anyone would like to take ownership over any of the listed items or contribute any other changes that might enhance short-unique-id.
The text was updated successfully, but these errors were encountered:
Given the way the work has been handled and the expected conflicts, when moving the work to master we better steer away from merging: https://stackoverflow.com/a/7188232/2731075
On May 14th this tiny yet widely useful library will reach the 3 year mark since its first commit.
To rise up to the occasion, as well as to match up with Deno's proposed release date for version 1, I've decided to revamp short-unique-id to better match the ethos which originally led me to Ankit Kuwadekar's source code: to have at disposal an open source, atomic, and tiny library which could generate truly unique and random ids with as little code as possible.
With the previous in mind I have the following (mostly breaking) changes in mind:
Features
uid.randomUUID(6)
touid()
uid.randomUUID(n)
touid(n)
uid.sequentialUUID()
touid.seq()
skipShuffle
option toshuffle
and default it to truelength
initialization optionuniqueness
value (probability of collision, more info in Calculate the Uniqueness #19)Documentation
README.md
to short_uuid explaining relationship with this repoRelease
-rc1
on docs and import examplesI'll leave this issue open for the following month up to May 13th in case anyone would like to take ownership over any of the listed items or contribute any other changes that might enhance short-unique-id.
The text was updated successfully, but these errors were encountered: