NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet
NuGet, #2780 most downloaded on NuGet
Twitter Snowflake-alike ID generator for .Net
Latest stable
3.0.7
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.9 years
Most releases are documented
notes for 15 of 21 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
25 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Internal cleanup & minor changes. Fixed README & (package/README) logo issues
Internal cleanup & minor changes. Fixed README & (package/README) logo issues
Full Changelog: https://github.com/RobThree/IdGen/compare/3.0.6...3.0.7
Added NetStandard 2.0
Added NetStandard 2.0
Full Changelog: https://github.com/RobThree/IdGen/compare/3.0.5...3.0.6
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Added NetStandard 2.0
Added NetStandard 2.0
This is a maintenance release. No changes in packages. From now on we use GitHub actions to build and publish Nuget packages.
Added NetStandard 2.0
Added NetStandard 2.0
Added NetStandard 2.0
Added NetStandard 2.0
Minor internal changes
Minor internal changes
Minor internal refactoring.
ID is now a recordMinor internal changes
Minor internal changes
Minor internal refactoring. Also an Idgen.DependencyInjection package is now available.
Also, the MaskConfig is now more appropriately named IdStructure. The release contains breaking changes but upgrading 2.x to 3.0 should be pretty simp…
We now use IdGeneratorOptions to configure an IdGenerator. Also, the MaskConfig is now more appropriately named IdStructure. The release contains breaking changes but upgrading 2.x to 3.0 should be pretty simple.
This release contains a few (minor) breaking changes. Generated 2.x ID's are still compatible with 3.x ID's.
IdGenerator have been replaced with a single constructor which accepts IdGeneratorOptions that contains the ITimeSource, IdStructure and SequenceOverflowStrategy.MaskConfig class is now more appropriately named IdStructure since it describes the structure of the generated ID's.UseSpinWait property has moved to the IdGeneratorOptions and is now an enum of type SequenceOverflowStrategy instead of a boolean value. Note that this property has also been renamed in the config file (from useSpinWait to sequenceOverflowStrategy) and is no longer a boolean but requires one of the values from SequenceOverflowStrategy.ID is now Id (only used as return value by the FromId(...) method)Added spinwait option (see #24)
Added spinwait option (see #24)
The IdGenerator now offers a spinwaiting strategy when a sequenceoverflow occurs instead of throwing a SequenceOverflowException. This will spinwait until the next tick and then return a new Id. New constructoroverloads have been added to be able to set this property at construction time. Also the configuration package supports this new option with a useSpinWait attribute on the idGenerator element.
Fix concurrency issue (see PR #23)
Fix concurrency issue (see PR #23)
[X] Added TryCreate() method (see #21)
TryCreate() method (see #21)Nothing published for this version
[X] Support for NetStandard 1.1+
IDGen.Configuration packageID now implements IEquatableArgumentOutOfRangeExceptions from the IdGenerator's ctor messagesIf you're using the IdGenerator.GetFromConfig(...) method make sure you check the README. The changes aren't big, but breaking nonetheless. How to fix:
IdGen.Configuration packageIdGen.Configuration.IdGeneratorsSection, IdGen<br>to:<br>IdGen.Configuration.IdGeneratorsSection, IdGen.Configurationusing IdGen.ConfigurationIdGenerator.GetFromConfig(...) to AppConfigFactory.GetFromConfig(...)Added FromId() method to 'decode' an Id
FromId() method to 'decode' an IdNothing published for this version
This means breaking changes in the ITimeSource interface and the way timesources are implemented and breaking changes in some of the MaskConfig's meth…
Timesource(s) is (are) no longer fixed to 'millisecond resolution'; we now have the concept of a 'tick'. Each timesource can define it's own definition of what a 'tick' is, be it a millisecond or a minute or any other timespan.
This means breaking changes in the ITimeSource interface and the way timesources are implemented and breaking changes in some of the MaskConfig's method signatures.
The IIdGenerator<T> interface now explicitly exposes an IdGenerator's ITimeSource, MaskConfig and Epoch as (read-only) properties.
CreateMachineSpecificGenerator() & CreateThreadSpecificGenerator() methods have been removed; these are way to 'dangerous' to use anyway since they are very prone to 'collisions' in 'auto-generated' values for the IdGenerators.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Moved away from DateTime.UtcNow and implemented a better, millisecond resolution, DefaultTimeSource using QueryPerformanceCounter.
Moved away from DateTime.UtcNow and implemented a better, millisecond resolution, DefaultTimeSource using QueryPerformanceCounter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.