SixLabors / ImageSharp

:camera: A modern, cross-platform, 2D Graphics library for .NET
https://sixlabors.com/products/imagesharp/
Other
7.31k stars 846 forks source link

.NET Standard 2.0 support #2651

Closed IS4Code closed 6 months ago

IS4Code commented 6 months ago

Prerequisites

Description

This pull request re-adds .NET 6 and .NET Standard 2.0 support, by multi-targeting. There are a few changes to facilitate .NET Standard 2.0 support:

CLAassistant commented 6 months ago

CLA assistant check
All committers have signed the CLA.

tannergooding commented 6 months ago

It's worth noting that this undoes the work done as part of https://github.com/SixLabors/ImageSharp/discussions/2072 where an explicit decision was made by the maintainers to drop support for .NET Standard and other older TFMs.

It may also be in violation of the contributing guidance: https://github.com/SixLabors/ImageSharp/blob/main/.github/CONTRIBUTING.md which aims to avoid significant work or contributions being done and large PRs being opened without any form of discussion/input from the maintainers:

Suggest your change in the Ideas Discussions Channel and start writing code.

Do not open an issue on GitHub until you have collected positive feedback about the change. GitHub issues are primarily intended for bug reports and fixes.

JimBobSquarePants commented 6 months ago

Hi @IS4Code

Firstly, thank you for your contribution and for showing interest in improving ImageSharp. We genuinely appreciate the time and effort you've put into this pull request.

After careful consideration, we've decided not to merge this PR. The decision to support .NET 6+ exclusively is a strategic one for our project. This approach allows us to reduce development overhead, and more importantly, to leverage the latest language features and optimizations available in recent .NET versions. These aspects are crucial for us to enhance performance and stability, which are our top priorities.

Additionally, your PR conflicts with another significant update I've been working on, which relies heavily on features exclusive to newer versions of .NET. Merging your PR would unfortunately undermine the progress and direction of these updates.

That said, we truly value community contributions and encourage you to continue participating in the development of ImageSharp. We'd be more than happy to see contributions that align with our current technological roadmap and project goals.

Please feel free to discuss further if you have any ideas or suggestions that are compatible with our project direction. Your engagement with ImageSharp is greatly appreciated, and we look forward to potentially collaborating on future initiatives that fit our development strategy.

Squall-Leonhart commented 2 months ago

Your strategy is flawed, @IS4Code feel free to maintain your fork, users will migrate to yours.