chore(deps): update dependency morelinq to v4 #181
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.4.1
->4.4.0
Release Notes
morelinq/MoreLINQ (morelinq)
v4.4.0
: 4.4.0What's New 📣
Sequence
for any number type by @atifaziz in #893:SkipLastWhile
extension by @ArmoryNode in #1085What's Changed 🗒️
EndsWith
by @atifaziz in #1082CountBy
in .NET 9+ by @atifaziz in #1092New Contributors 👋🏽
See Also ℹ️
v4.3.0
: 4.3.0This is a maintenance release that introduces no new APIs.
What's New 📣
What's Changed 🗒️
New Contributors 👋🏽
See Also ℹ️
v4.2.0
: 4.2.0This is a bug fix and maintenance release.
What's Changed 🗒️
Merge
by @atifaziz in #1059 🪲See Also ℹ️
v4.1.0
: 4.1.0What's New 📣
Duplicates
New Contributors 👋🏽
What's Changed 🗒️
Subsets
to-do about clearer members names by @atifaziz in #1048RandomSubset
internals for DRY, removing closure by @viceroypenguin in #1049this
qualifier by @atifaziz in #1050Duplicates
extension by @julienasp in #1037ToDictionary()
in net8+ by @viceroypenguin in #1040EqualityComparer<T>.Create
from .NET 8 by @atifaziz in #1051Subsets
core into an iterator method by @atifaziz in #1052Permutations
into an iterator method by @atifaziz in #1054See Also ℹ️
v4.0.0
: 4.0.0What's New 📣
This release introduces an experimental version of
Batch
that allows use of an array pool for batches, which can especially help reduce (potentially LOH) allocations for very large batch sizes.New aliases are introduced for the following existing methods because they conflicted with identically named methods introduced in .NET 6.0, but which differ in definition and behaviour:
Minima
(supersedesMinBy
)Maxima
(supersedesMaxBy
)The superseded methods have been marked obsolete and will most probably be removed in a future version. For more details, see #1018.
In a similar vein, this release also retires the following extension methods that are now part of .NET proper and which have identical names and behaviour:
Append
Batch
Concat
DistinctBy
Prepend
SkipLast
TakeLast
ToHashSet
This helps to prevent ambiguity errors during compilation when
System.Linq
andMoreLinq
namespaces are imported together in a file or a namespace. The retirement is done such that the above methods appear as regular static methods rather than extension methods depending on the compilation target. This helps to maintain source as well as binary compatibility. Special thanks to @viceroypenguin for helping with this (see #945 for more details). The upshot is that projects that prefer to import theMoreLinq
namespace rather than individual extensions can simply do so without running into ambiguity compilation errors. However, do bear in mind that this does not prevent future conflicts from appearing should more of MoreLINQ's methods find their way into .NET.Breaking Changes⚠️
Since this a major release, some source and binary breaking changes that are listed below were introduced. Please read the details to see if you're affected.
Interleave
shouldn't validateotherSequences
members #1029Minima
&Maxima
to supersedeMinBy
&MaxBy
#1018Windowed
that's been obsolete since 3.0 #1016Concat
that's been obsolete since 3.0 #993ToDataTable
cannot be null #802Subsets(0)
should return an empty set #645Batch
should returnIEnumerable<T[]>
#98New Contributors 👋🏽
What's Changed 🗒️
Concat
method by @pflajszer in #1002FillForward
when filler isnull
by @atifaziz in #1006ToDataTable
paths by @atifaziz in #1007ToDataTable
implementation by @atifaziz in #1008SortedMerge
: Test do not callMoveNext
eagerly by @Orace in #735EnableGenerateDocumentationFile
warning as workaround for IDE0005 by @atifaziz in #1013Batch
to return arrays by @atifaziz in #1014Subsets
so it returns an empty set when k = 0 by @Orace in #646Windowed
that's superseded byWindow
by @atifaziz in #1017expressions
argument ofToDataTable
by @atifaziz in #1021Minima
&Maxima
as successors toMinBy
&MaxBy
by @atifaziz in #1019otherSequences
argument ofInterleave
by @atifaziz in #1031Pad
/PadStart
width is invalid by @atifaziz in #1030See Also ℹ️
v3.4.2
: 3.4.2This is a bug fix and maintenance release.
What's Changed 🗒️
Unfold
bug so iterations are repeatable by @atifaziz in #991 🪲See Also ℹ️
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.