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

Bump morelinq from 3.4.2 to 4.0.0 #446

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 30, 2023

Bumps morelinq from 3.4.2 to 4.0.0.

Release notes

Sourced from morelinq's releases.

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:

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.

... (truncated)

Commits
  • 092a40d Fix exception thrown for invalid "Pad"/"PadStart" width
  • 0209897 Don't validate content of "Interleave" arg
  • 2c3f004 List required PolySharp polyfills explicitly
  • c01e646 Fix "MinBy" successor in read-me doc
  • 91d3996 Update all packages to latest versions
  • 17c6201 Remove redundant IsExternalInit package
  • 66f7cab Add "Minima" & "Maxima" that supersede "MinBy" & "MaxBy"
  • 137564f Validate "expressions" of "ToDataTable"
  • dd8e8a8 Remove "Windowed" that's superseded by "Window"
  • 7d438ed Fix "Subsets" to return an empty set when k = 0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [morelinq](https://github.com/morelinq/MoreLINQ) from 3.4.2 to 4.0.0.
- [Release notes](https://github.com/morelinq/MoreLINQ/releases)
- [Commits](morelinq/MoreLINQ@v3.4.2...v4.0.0)

---
updated-dependencies:
- dependency-name: morelinq
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET labels Oct 30, 2023
@GeertvanHorrik GeertvanHorrik merged commit f5cfc83 into develop Oct 30, 2023
2 checks passed
@GeertvanHorrik GeertvanHorrik deleted the dependabot/nuget/morelinq-4.0.0 branch October 30, 2023 08:29
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