Skip to content

Releases: jshergal/StuceSoftware.RandomStringGenerator

v3.0.3

Choose a tag to compare

@jshergal jshergal released this 21 Sep 15:54
14eb384
  • Updated to add .NET 10 package.
  • Removed .NET 6.0 package (.NET 6.0 is still supported via the .NET Standard 2.0 target)
  • Minor performance improvements

v3.0.1

Choose a tag to compare

@jshergal jshergal released this 23 Oct 13:45
e888550

In this release

  • Added IRandomSource interface used as the random number source internally
  • Added two implementations of IRandomSource
    • SystemRandomSource
    • SecureRandomSource
  • Changed RandomStringGenerator from static class

The change to RandomStringGenerator is a breaking change. Now you must create an instance of the class. The constructor takes an IRandomSource object. You can use one of the two provided random sources or create your own. This provides more flexibility in using the object and allows for more secure random string generation if required.

v2.0.0

Choose a tag to compare

@jshergal jshergal released this 04 Oct 21:19
ea0ede0

This release involved a lot of internal code cleanup and changes to follow modern .NET coding standards.

Part of that work involved reworking the enum used to define character classes. It has been simplified down to a simple flags enum with 4 values that can be combined to produce the required character sets. This is a breaking change as both the enum itself has been renamed from Types to CharClasses, and rather than having long enum names describing each set in the enum, callers can logical-or together their desired classes.

For example, in the first version of the library we would use Types.ALPHANUMERIC_LOWERCASE_WITH_SYMBOLS to define the character sets Lowercase, Numbers and Symbols. Now we logical-or together these three values:
CharClasses.Lowercase | CharClasses.Numbers | CharClasses.Symbols

v.1.0.2

Choose a tag to compare

@jshergal jshergal released this 03 Oct 21:56
746aeaf

Bug fixes

v1.0.1 - Initial Release

Choose a tag to compare

@jshergal jshergal released this 02 Oct 18:10
148cffb

Forked code from RandomString4Net and created this initial release with a couple of bug fixes.