You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "kyle minmaxcorp.com" <ky...@minmaxcorp.com> on 2022/02/01 01:53:09 UTC
Deprecation of .Net Standard 2.0
.Net Standard 2.0 is the last version of the framework that will support the .Net Framework 4.6.2+. Currently there is no end of life date set for the .Net Framework 4.6.2+ (although estimated in the next 3 to 5 years). The Avro project currently only tests the .Net Core 3.1, .Net 5 and .Net 6 frameworks. The reason I bring this up is the version of the C# language that corresponds to the framework. The project is tied to the lowest version that it supports.
.Net Standard 2.0 (and .Net Framework 4.6.2+) uses C# 7.3.
.Net Standard 2.1 (and .Net Core 3.1) uses C# 8
.Net 5.0 uses C# 9
.Net 6.0 uses C# 10
.Net Core 3.1 reaches end of support on December 3rd, 2022
.Net 5.0 reaches end of support on May 8, 2022
My recommendation is that the library drops support for .Net Standard 2.0 for future versions allowing developers to start using features from C# 8. Additionally, to drop support for .Net Core 3.1 and .Net 5 after December 3rd, 2022. At which point the projects would be pointed to .Net 6 utilizing the features of C# 10 (supporting both .Net 6 and .Net 7).
References:
.NET and .NET Core official support policy (microsoft.com) (https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core)
Microsoft .NET Framework - Microsoft Lifecycle | Microsoft Docs (https://docs.microsoft.com/en-us/lifecycle/products/microsoft-net-framework)
C# language versioning - C# Guide | Microsoft Docs (https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/configure-language-version)
- Kyle Schoonover
Re: Deprecation of .Net Standard 2.0
Posted by Martin Grigorov <mg...@apache.org>.
Hi Kyle,
I will let other C# developers to comment on your suggestions.
I just want to cross link this mail thread with a recent PR discussion -
https://github.com/apache/avro/pull/1375
On Tue, Feb 1, 2022 at 3:53 AM kyle minmaxcorp.com <ky...@minmaxcorp.com>
wrote:
> .Net Standard 2.0 is the last version of the framework that will support
> the .Net Framework 4.6.2+. Currently there is no end of life date set for
> the .Net Framework 4.6.2+ (although estimated in the next 3 to 5 years).
> The Avro project currently only tests the .Net Core 3.1, .Net 5 and .Net 6
> frameworks. The reason I bring this up is the version of the C# language
> that corresponds to the framework. The project is tied to the lowest
> version that it supports.
>
> .Net Standard 2.0 (and .Net Framework 4.6.2+) uses C# 7.3.
> .Net Standard 2.1 (and .Net Core 3.1) uses C# 8
> .Net 5.0 uses C# 9
> .Net 6.0 uses C# 10
>
> .Net Core 3.1 reaches end of support on December 3rd, 2022
> .Net 5.0 reaches end of support on May 8, 2022
>
> My recommendation is that the library drops support for .Net Standard 2.0
> for future versions allowing developers to start using features from C# 8.
> Additionally, to drop support for .Net Core 3.1 and .Net 5 after December
> 3rd, 2022. At which point the projects would be pointed to .Net 6 utilizing
> the features of C# 10 (supporting both .Net 6 and .Net 7).
>
> References:
> .NET and .NET Core official support policy (microsoft.com) (
> https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core)
> Microsoft .NET Framework - Microsoft Lifecycle | Microsoft Docs (
> https://docs.microsoft.com/en-us/lifecycle/products/microsoft-net-framework
> )
> C# language versioning - C# Guide | Microsoft Docs (
> https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/configure-language-version
> )
>
> - Kyle Schoonover
>