Skip to content

Releases: bwmarrin/snowflake

Release v0.3.0

12 Apr 22:17
Compare
Choose a tag to compare

Added parser funcs for all formats and tests for them.

Release v0.2.0

11 Apr 23:05
7dcf86e
Compare
Choose a tag to compare

With the help of https://github.com/nishaad78 this library will now do monotonic time calculations where supported.

See #18

Also, again with help from https://github.com/nishaad78 the library is a bit faster. We're still on target of 243ns/op for standard snowflake format (allowing us to max out the format) but when using a larger number of bits for sequence number you can get the performance down to around 66ns/op. See #19

Thanks a lot https://github.com/nishaad78 for the help!

Release v0.1.0

10 Apr 03:13
Compare
Choose a tag to compare

Main change here is in commit 20ab5dc

Please note that at this point there are several global (non exported) variables that have been deprecated and 3 functions. Be prepared to modify your code should you rely on any of these functions.