Towel Versions Save

Throw in the towel.

1.0.40

2 years ago

Nuget Package

Bug Fixes:

1.0.39

2 years ago

Nuget Package

Bug Fixes:

1.0.38

2 years ago

Nuget Package

This was the first release to support sourcelink.

New Features:

  • SpanBuilder<T>
  • SStringBuilder
  • sourcedirectory()
  • GetTag overload for enum values

Optimizations:

  • ToEnglishWords optimized
    • internally uses Span<char> instead of StringBuilder
    • internally uses TryFormat rather than ToString on the numeric value
  • GraphMap.ToArray optimization (calls KeysToArray)

Changes:

  • Towel.Extensions was migrated into Towel.Statics (there was no reason to have two separate types)
  • EquateSequence parameters Span<T> -> ReadOnlySpan<T>
  • added == and != operators to Lazy types

1.0.37

2 years ago

Nuget Package

New Features:

  • TryParseEnglishWords (inverse of ToEnglishWords)
  • Variations of SLazy<T> and ValueLazy<T>: SLazyNoCatch<T>, SLazyNoLock<T>, SLazyNoLockNoCatch<T>, SLazyPublicationLock<T>, SLazyPublicationLockNoCatch<T>, ValueLazyNoCatch<T>, ValueLazyNoLock<T>, ValueLazyNoLockNoCatch<T>, ValueLazyPublicationLock<T>, and ValueLazyPublicationLockNoCatch<T>.

Bug Fixes:

  • ToEnglishWords
    • fixed bug where decimal.ToString included trailing fractional 0's
    • spelling fix "Quintrillionths" -> "Quintillionths"

1.0.36

2 years ago

Nuget Package

New Features:

  • ValueLazy<T>

1.0.35

2 years ago

Nuget Package

Bug Fixes:

  • SLazy<T> thread-safety bug fix 6d77b4a7a6ebdf21046c7843efca94de70e46900

1.0.34

2 years ago

Nuget Package

Bug Fixes:

  • SLazy<T> thread-safety bug fix f979682ce0549875a677b5ed18816d3b2360d277

1.0.33

2 years ago

Nuget Package

New Features:

  • SLazy<T> (a struct alternative to Lazy<T>)
    • Note that the following members have some slight differences: ToString, GetHashCode, Equals, and the default constructor.
  • ArrayHelper.newFromRanges (construct and initialize an array from System.Ranges)

Changes:

  • added System.Range.ToSpan extension that just wraps the existing ToArray extension and casts to Span<T>
  • added EquateOccurences overload that just wraps the existing IsReorderOf
  • T Combinations<T>(T, T[]) renamed to CombinationsCount to not conflict with the other Combinations overloads
  • Equate overloads that deal with sequences were renamed to EquateSequence (it was a bad idea to name it Equate in the first place)
  • renamed SetEquals to EquateSet to match the rest of the naming conventions (naming conventions are always up for debate)
  • added locks to Meta xml methods (should have done that a long time ago)
  • where TEnum : struct, Enum added to GetLastEnumValue<TEnum>

1.0.32

2 years ago

Nuget Package

New Features:

  • SortTim (Span<T> and TGet+TSet overloads)
  • ToArray extension methods for System.Range
  • Select extension methods for System.Range
  • TGet+TSet overload for SortStooge
  • TGet+TSet overload for SortPancake
  • TGet+TSet overload for MaximiumIndex
  • TGet+TSet overload for Swap
  • TGet+TSet version of Reverse

Bug Fixes:

  • void SortShell<T, TCompare, TGet, TSet>(int, int, TGet, TSet, TCompare) bug fix when start is not 0
  • fixed spelling typos in ToEnglishWords ("Trillionths" was missing an "l")
    • "Trilionths" -> "Trillionths"
    • "Ten-Trilionths" -> "Ten-Trillionths"
    • "Hundred-Trilionths" -> "Hundred-Trillionths"

Changes:

  • parameters and generic parameters reordered on all TGet+TSet sorting overloads so that TCompare and compare comes after TGet+TSet and get+set

1.0.31

2 years ago

Nuget Package

This was the first release after the master branch was renamed to main.

This release includes a lot of XML documentation updates. StyleCop.Analyzers was added this release.

New Features:

  • Tree.GetEnumerator()

Bug Fixes:

Changes:

  • Quaternion.GetHashCode() now uses HashCode.Combine rather than ^ exclusive or
  • StepperStatus StepperReverseBreak<TStep>(TStep) added to ISortedBinaryTree<T>
  • UniversalQuantification obsolete attributes changed from errors to warnings
  • bool IsLocalFunction(this MethodInfo) -> bool IsLocalFunction(this MethodBase)