MoreLINQ Versions Save

Extensions to LINQ to Objects

v4.2.0

1 month ago

NuGet Package Documentation

This is a bug fix and maintenance release.

What's Changed 🗒ī¸

See Also ℹī¸

v4.1.0

5 months ago

NuGet Package Documentation

What's New đŸ“Ŗ

New Contributors 👋đŸŊ

What's Changed 🗒ī¸

See Also ℹī¸

v4.0.0

6 months ago

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 import the MoreLinq 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.

New Contributors 👋đŸŊ

What's Changed 🗒ī¸

See Also ℹī¸

v3.4.2

1 year ago

NuGet Package Documentation

This is a bug fix and maintenance release.

What's Changed 🗒ī¸

See Also ℹī¸

v3.4.1

1 year ago

NuGet Package Documentation

This is a bug fix and maintenance release.

What's Changed 🗒ī¸

See Also ℹī¸

v3.4.0

1 year ago

NuGet Package Documentation

What's New đŸ“Ŗ

This release notably adds nullable reference type annotations (see #582 and #803), the two experimental operators below and fixes a few bugs:

Breaking Changes ⚠ī¸

While there are no breaking API changes in this release, the following changes will affect users using on .NET versions that have reached end-of-life:

See Also ℹī¸

New Contributors 👋đŸŊ

What's Changed 🗒ī¸

v3.3.2

4 years ago

NuGet Package Documentation

This is a minor bug fix release that primarily addresses a regression with Batch that was introduced in version 3.3.1.

See Also

v3.3.1

4 years ago

NuGet Package Documentation

What's New đŸ“ĸ

And lots of bug fixes. 🐛

See Also

v3.2.0

4 years ago

NuGet Package Documentation

What's New đŸ“ĸ

What's Changed

See Also

v3.1.1

5 years ago

NuGet Package Documentation

This is bug fix release that addresses issue #564.

For a more detailed list of changes in this release, see: