Skip to content

Releases: Shoogn/SnowflakeId

SnowflakId Version 3.3.0

12 Dec 05:55
03f8398

Choose a tag to compare

This is new release of SnowflakeId lib this new release support now .net10.0
also, there is a new Api to register the lib in the service container by passing the ConfigurationManager object as first and only one parameter to read the configuration data from the configuration file such as appSettings.json file

SnowflakId Version 3.2.0

10 Oct 07:47
03f8398

Choose a tag to compare

In this release there are bugs fixes and new APIs are added.

The bugs that are fixes are that:

In the
GenerateSnowflakeIdAsync(CancellationToken cancellationToken = default) methos specifically in versing 3.0.1 the method it has initiate the SemaphoreSlim object every time when thread calling the method while it should be a one object that is shared by all threads
see this issue https://github.com/Shoogn/SnowflakeId/issues/6.

New APIs

Also, the new version added new two Events SnowflakeIdCreatingContext and this is fire before generating id and SnowflakeIdCreatedContext after generating id, see the Docs to know more about how to use these Events.

SnowflakId Version 3.1.0

01 Apr 05:29
6b10b9e

Choose a tag to compare

This is a new release of the SnowflakId, this version has two improvements related to two methods as following:
1- GetDataCenterIdBySnowflakeId(long snowflakeId)
2- GetSecondsSinceUnixEpochFromId(long snowflakeId)
So, the improvement is getting rid of working directly with the string instead these two methods now dealing with bitwise operators when working the snowflakeId parameter.

Also, there is a new configuration property named UseConsoleLog to output any logging data to console if this property equal true, by default the value is false

SnowflakId Version 3.0.0

24 Nov 07:54
c637d70

Choose a tag to compare

SnowflakIdv3.0.0

Update README.md

SnowflakId Version 2.1.0

01 May 14:48

Choose a tag to compare

There are not any special things in this release, just now the Hussien.SnowflakId library support .NET 7.0.

SnowflakeId v2.0.0

05 Jan 18:43
2dae50e

Choose a tag to compare

This is the second release of SnowflakeId, written in C# and targeting .NET 6.0
The new thing in this release is that you can register it at program.cs file like so:

builder.Services.AddSnowflakeUniqueId(options =>
{
    options.DataCenterId = 1;
});

SnowflakeId v1.0.0

12 Oct 11:47
914a29f

Choose a tag to compare

This is the First release of SnowflakeId, written in C# and targeting .NET 6.0