Hi,

I’m happy to announce a new release of Flake, the decentralized, k-ordered 
unique ID generator.

Flake 0.4.0 includes a number of important breaking changes, but by far the 
most important is dropping `generate` in favor of `generate!` which now returns 
a ByteBuffer. Previously `generate` returned a BigInteger, however this 
arbitrarily limits how an application can handle IDs and goes against the 
spirit of the Erlang implementation. In order to maintain backwards 
compatibility, a helper `flake->bigint` was added to the core namespace. 
Applications which already consume flakes should update their calls to 
`generate` so they are `generate!` and wrap them with `flake->bigint` if 
BigIntegers are desirable or already used.

Github: https://github.com/maxcountryman/flake
Changes: https://github.com/maxcountryman/flake/blob/master/CHANGELOG.md

Thanks!


Max

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to