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 methodGetXmlNameMethodBasecontained aGetMethodscall 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>SStringBuildersourcedirectory()GetTagoverload forenumvalues
Optimizations:
ToEnglishWordsoptimized- internally uses
Span<char>instead ofStringBuilder - internally uses
TryFormatrather thanToStringon the numeric value
- internally uses
GraphMap.ToArrayoptimization (callsKeysToArray)
Changes:
Towel.Extensionswas migrated intoTowel.Statics(there was no reason to have two separate types)EquateSequenceparametersSpan<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.ToStringincluded 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>(astructalternative 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.Ranges)
Changes:
- added
System.Range.ToSpanextension that just wraps the existingToArrayextension and casts toSpan<T> - added
EquateOccurencesoverload that just wraps the existingIsReorderOf T Combinations<T>(T, T[])renamed toCombinationsCountto not conflict with the otherCombinationsoverloadsEquateoverloads that deal with sequences were renamed toEquateSequence(it was a bad idea to name itEquatein the first place)- renamed
SetEqualstoEquateSetto match the rest of the naming conventions (naming conventions are always up for debate) - added
locks toMetaxml methods (should have done that a long time ago) where TEnum : struct, Enumadded toGetLastEnumValue<TEnum>
v1.0.32
New Features:
SortTim(Span<T>andTGet+TSetoverloads)ToArrayextension methods forSystem.RangeSelectextension methods forSystem.RangeTGet+TSetoverload forSortStoogeTGet+TSetoverload forSortPancakeTGet+TSetoverload forMaximiumIndexTGet+TSetoverload forSwapTGet+TSetversion ofReverse
Bug Fixes:
void SortShell<T, TCompare, TGet, TSet>(int, int, TGet, TSet, TCompare)bug fix whenstartis 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+TSetsorting overloads so thatTCompareandcomparecomes afterTGet+TSetandget+set
v1.0.31
This was the first release after the
masterbranch 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.Combinerather than^exclusive orStepperStatus StepperReverseBreak<TStep>(TStep)added toISortedBinaryTree<T>UniversalQuantificationobsolete attributes changed from errors to warningsbool IsLocalFunction(this MethodInfo)->bool IsLocalFunction(this MethodBase)