Skip to content

Releases: ZacharyPatten/Towel

v1.0.40

29 Oct 16:47
869b73c
Compare
Choose a tag to compare

Nuget Package

Bug Fixes:

  • Meta.GetDocumentation(MemberInfo) was throwing an exception on non-public code members. This bug was introduced by afddb2f. The internal method GetXmlNameMethodBase contained a GetMethods call that did not pass in BindingFlags (which the default is public-only). Just needed to add in the BindingFlags.

v1.0.39

29 Oct 12:29
Compare
Choose a tag to compare

Nuget Package

Bug Fixes:

  • #92 Meta.ConvertToCSharpSource extension method for System.Type was not passing in the showGenericParameters parameter during recursive calls

v1.0.38

10 Oct 21:04
Compare
Choose a tag to compare

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

v1.037

17 Aug 03:14
Compare
Choose a tag to compare

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"

v1.0.36

03 Aug 05:54
Compare
Choose a tag to compare

Nuget Package

New Features:

  • ValueLazy<T>

v1.0.35

01 Aug 11:55
Compare
Choose a tag to compare

Nuget Package

Bug Fixes:

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

v1.0.34

01 Aug 06:28
Compare
Choose a tag to compare

Nuget Package

Bug Fixes:

  • SLazy<T> thread-safety bug fix f979682

v1.0.33

01 Aug 04:17
Compare
Choose a tag to compare

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>

v1.0.32

18 Jul 22:12
Compare
Choose a tag to compare

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

v1.0.31

08 Jul 03:28
Compare
Choose a tag to compare

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:

  • MethodInfo.GetDocumentation() extension method bug #52 fix afddb2f

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)