Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency morelinq to v4 #882

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 29, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
morelinq (source) 3.4.2 -> 4.0.0 age adoption passing confidence

Release Notes

morelinq/MoreLINQ (morelinq)

v4.0.0: 4.0.0

NuGet Package Documentation

What'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][Minima] (supersedes [MinBy][MinBy])
  • [Maxima][Maxima] (supersedes [MaxBy][MaxBy])

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 and MoreLinq 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 just import the MoreLinq namespace rather than individual extensions can do so without running ambiguity compilation errors. However, this does not prevent future conflicts from appearing should more of MoreLINQ's methods find their way into .NET.

Thanks to @​viceroypenguin

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.

New Contributors 👋🏽

What's Changed 🗒️

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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner October 29, 2023 10:33
@renovate renovate bot requested a review from grvillic October 29, 2023 10:33
@codecov
Copy link

codecov bot commented Oct 29, 2023

Codecov Report

Merging #882 (d45ff01) into main (e216582) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #882   +/-   ##
=====================================
  Coverage   74.8%   74.8%           
=====================================
  Files        235     235           
  Lines       9953    9953           
  Branches     974     974           
=====================================
  Hits        7449    7449           
  Misses      2231    2231           
  Partials     273     273           

@JamieMagee JamieMagee merged commit 097bb71 into main Nov 1, 2023
25 checks passed
@JamieMagee JamieMagee deleted the renovate/morelinq-4.x branch November 1, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant