Releases: ZacharyPatten/Towel
Releases · ZacharyPatten/Towel
v1.0.40
Bug Fixes:
Meta.GetDocumentation(MemberInfo)
was throwing an exception on non-public code members. This bug was introduced by afddb2f. The internal methodGetXmlNameMethodBase
contained aGetMethods
call that did not pass inBindingFlags
(which the default is public-only). Just needed to add in theBindingFlags
.- fix: 5cc5977
v1.0.39
v1.0.38
This was the first release to support sourcelink.
New Features:
SpanBuilder<T>
SStringBuilder
sourcedirectory()
GetTag
overload forenum
values
Optimizations:
ToEnglishWords
optimized- internally uses
Span<char>
instead ofStringBuilder
- internally uses
TryFormat
rather thanToString
on the numeric value
- internally uses
GraphMap.ToArray
optimization (callsKeysToArray
)
Changes:
Towel.Extensions
was migrated intoTowel.Statics
(there was no reason to have two separate types)EquateSequence
parametersSpan<T>
->ReadOnlySpan<T>
- added
==
and!=
operators to Lazy types
v1.037
New Features:
TryParseEnglishWords
(inverse ofToEnglishWords
)- Variations of
SLazy<T>
andValueLazy<T>
:SLazyNoCatch<T>
,SLazyNoLock<T>
,SLazyNoLockNoCatch<T>
,SLazyPublicationLock<T>
,SLazyPublicationLockNoCatch<T>
,ValueLazyNoCatch<T>
,ValueLazyNoLock<T>
,ValueLazyNoLockNoCatch<T>
,ValueLazyPublicationLock<T>
, andValueLazyPublicationLockNoCatch<T>
.
Bug Fixes:
ToEnglishWords
- fixed bug where
decimal.ToString
included trailing fractional 0's - spelling fix "Quintrillionths" -> "Quintillionths"
- fixed bug where
v1.0.36
v1.0.35
v1.0.34
v1.0.33
New Features:
SLazy<T>
(astruct
alternative toLazy<T>
)- Note that the following members have some slight differences:
ToString
,GetHashCode
,Equals
, and the default constructor.
- Note that the following members have some slight differences:
ArrayHelper.newFromRanges
(construct and initialize an array fromSystem.Range
s)
Changes:
- added
System.Range.ToSpan
extension that just wraps the existingToArray
extension and casts toSpan<T>
- added
EquateOccurences
overload that just wraps the existingIsReorderOf
T Combinations<T>(T, T[])
renamed toCombinationsCount
to not conflict with the otherCombinations
overloadsEquate
overloads that deal with sequences were renamed toEquateSequence
(it was a bad idea to name itEquate
in the first place)- renamed
SetEquals
toEquateSet
to match the rest of the naming conventions (naming conventions are always up for debate) - added
lock
s toMeta
xml methods (should have done that a long time ago) where TEnum : struct, Enum
added toGetLastEnumValue<TEnum>
v1.0.32
New Features:
SortTim
(Span<T>
andTGet
+TSet
overloads)ToArray
extension methods forSystem.Range
Select
extension methods forSystem.Range
TGet
+TSet
overload forSortStooge
TGet
+TSet
overload forSortPancake
TGet
+TSet
overload forMaximiumIndex
TGet
+TSet
overload forSwap
TGet
+TSet
version ofReverse
Bug Fixes:
void SortShell<T, TCompare, TGet, TSet>(int, int, TGet, TSet, TCompare)
bug fix whenstart
is not0
- 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 thatTCompare
andcompare
comes afterTGet
+TSet
andget
+set
v1.0.31
This was the first release after the
master
branch was renamed tomain
.
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 usesHashCode.Combine
rather than^
exclusive orStepperStatus StepperReverseBreak<TStep>(TStep)
added toISortedBinaryTree<T>
UniversalQuantification
obsolete attributes changed from errors to warningsbool IsLocalFunction(this MethodInfo)
->bool IsLocalFunction(this MethodBase)