Skip to content

Releases: wyhaines/csuuid.cr

Tagging it 1.0.0

15 Apr 15:12
Compare
Choose a tag to compare

This is one of my oldest shards, and has been in use across many other projects for a considerable amount of time.

I have bumped it to 1.0.0 and performed a little cleanup of internals. There is one potentially significant change between 0.4.0 and 1.0.0. When I originally built this package, I arranged the representation in such a way that, while the objects themselves were sortable, the string representation was not. It has been revised so that the string representation is now itself sortable, as well.

Allow PRNG selection

30 Jan 18:38
Compare
Choose a tag to compare

This adds the ability to choose between ISAAC and PCG32 based PRNGs. This is important because it seems like there is currently a bug in the ISAAC implementation that causes GC invalid memory access/segmentation fault failures in some scenarios.

Access Raw Byte Buffer

14 Dec 13:53
Compare
Choose a tag to compare

This release provides a getter to allow access to the raw byte buffer for the CSUUID.

Bugfix for Crystal 1.2.0

14 Oct 16:16
Compare
Choose a tag to compare

There appears to be a Crystal bug in version 1.2.0 that this library tripped over. This version is functionally identical to the previous version, but removes the (as it turns out, unused) offending line so that it will build on 1.2.0. Please upgrade to this version or a later version if you are using Crystal 1.2.0.

Doc fixes, dependency fixes, and new operators

30 Sep 14:22
14f9efa
Compare
Choose a tag to compare

There were some README fixex and dependency fixes in the shard.yml. In addition, the other important comparison operators were added.

Make Them Comparable!

29 Sep 14:58
Compare
Choose a tag to compare

Chronologically sortable UUIDs are more useful if they are sortable. Added a #<=> method so that they can be sorted.

Benchmarks and a small fix

28 Sep 15:13
Compare
Choose a tag to compare

Some benchmarks were added to the README, since this library is actually faster than the Crystal stdlib UUID, even when all it is being asked to do is to provide a random UUID. I also fixed a little bug in the implementation of to_s.

Remove Bundled Time Extensions

18 Sep 02:25
Compare
Choose a tag to compare

This release is identical to 0.2.1, except that the Time extensions have been moved into a shard of their own and removed from CSUUID.

v0.2.1 for real this time

16 Sep 14:34
Compare
Choose a tag to compare

This release adds a couple of convenience class methods, unique and generate, which can be used to generate guaranteed unique CSUUIDs, even if the generation (on very fast hardware) manages to happen in the name nanosecond.

This release is identical to 0.2.0 with the shard.yml updated correctly this time.

v0.2.0

16 Sep 14:25
Compare
Choose a tag to compare

This release adds a couple of convenience class methods, unique and generate, which can be used to generate guaranteed unique CSUUIDs, even if the generation (on very fast hardware) manages to happen in the name nanosecond.