Skip to content

Releases: fenase/SnowflakeIDGenerator

1.5.2024.337

Choose a tag to compare

@fenase fenase released this 02 Dec 16:03

1.5

  • Slightly improved performance
  • Improved documentation

1.4.2024.131

Choose a tag to compare

@fenase fenase released this 10 May 04:16
b2ae3f5

1.4

  • Added dependency injection helpers using Microsoft.Extensions.DependencyInjection.
  • To avoid package dependency bloating, this was added to package SnowflakeIDGenerator.DependencyInjection
  • Added class SnowflakeIdGeneratorOptions to Microsoft.Extensions.DependencyInjection to help with automatic initialization from configuration.

1.4.2024.130

Choose a tag to compare

@fenase fenase released this 09 May 01:21
f0765ed

1.4

  • Added dependency injection helpers using Microsoft.Extensions.DependencyInjection.
    • To avoid package dependency bloating, this was added to package SnowflakeIDGenerator.DependencyInjection
  • Added class SnowflakeIdGeneratorOptions to Microsoft.Extensions.DependencyInjection to help with automatic initialization from configuration.

1.3.2023.287

Choose a tag to compare

@fenase fenase released this 15 Oct 02:06

Changelog

1.3.2023

  • Solved an issue that caused the custom epoch sometimes not being saved to the snowflake object. This does not affects the generated codes, but could make them to return the wrong date when parsed
  • Comparisons should be between snowflakes using the same epoch
  • Equality comparer returns false if the snowflakes being compared use different epochs

1.2.2023

  • Added ability to change and rebase epoch to an already generated code
  • Added implicit casting from Snowflake to string and ulong
  • Added explicit casting to Snowflake from string and ulong

1.1.2023

  • Added ability to use a custom epoch

1.0.2023

  • Throw exception if time moves backwards

1.0.2022

  • Initial version

1.2.2023.201

Choose a tag to compare

@fenase fenase released this 20 Jul 18:02

Changelog

1.2.2023

  • Added ability to change and rebase epoch to an already generated code
  • Added implicit casting from Snowflake to string and ulong
  • Added explicit casting to Snowflake from string and ulong

1.1.2023

  • Added ability to use a custom epoch

1.0.2023

  • Throw exception if time moves backwards

1.0.2022

  • Initial version