-
Notifications
You must be signed in to change notification settings - Fork 595
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
Support netstandard2.0 (and higher) #686
Comments
Does this mean you'll drop support for anything lower than netstandard2.0? If so, I'm all for it, so the codebase can move forward. |
Yes, that's exactly what it means @stebet. |
That's great. In that case, I have a PR well on it's way that modernizes quite a bit, will probably submit it tomorrow :) |
@stebet - great! Thanks. |
To make sure my comment on the other issue is clear, I'm currently thinking this should be the new
|
Some useful links to include in this project: |
Why 4.5.2? If you are aiming for a major revision, I'd highly recommend moving the minimum target up to 4.6 at least, maybe even netstandard2.0 as a minimum. System.IO.Pipelines for example has 4.6 as the minimum requirement: https://www.nuget.org/packages/System.IO.Pipelines/ For added reference, the peeps at StackExchange will probably make netstandard2.1 a minimum for major revisions starting in 2020: https://twitter.com/marcgravell/status/1214226671550775297 NetFX support is dropping fast, and target anything lower than 4.6 will limit the possibilities of getting new and improved APIs pretty rapidly as NetFX will not be receiving any new features, since .NET 5.0 is being worked on. |
@stebet - we would consider requiring a more recent .NET Framework if concrete benefits to users of this library can be demonstrated (faster performance, better memory use, etc). |
As for benefits, a lot of them are well documented. I'd almost say that enabling the use of System.IO.Pipelines and System.Threading.Channels (both have 4.6 as minimum) alone would be reason enough. Also a lot of *Async functionality isn't available except in higher versions. More knowledgeable people like @benaadams, @davidfowl and @mgravell can probably point at several as well. I think 4.6.1 is a good middle ground between maintaining backwards compat (if that's a hard requirement) and enabling new/improved constructs and functionality. https://docs.microsoft.com/en-us/dotnet/framework/whats-new/ |
OK thanks. I'm assuming that would require code changes. I am happy to run performance tests on proposed changes that are 4.6.1+ specific if you'd like to include them in your current PR or a new one. Thanks. |
I personally vote for going with 4.6.1 as the minimum supported version.
@bording would that work for your team?
…On Thu, Jan 16, 2020 at 7:10 PM Luke Bakken ***@***.***> wrote:
OK thanks. I'm assuming that would require code changes. I am happy to run
performance tests on proposed changes that are 4.6.1+ specific if you'd
like to include them in your current PR or a new one. Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#686?email_source=notifications&email_token=AAAAIQRNSWRWRC3SBYFU743Q6CBF5A5CNFSM4KHGJ6OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJETRJA#issuecomment-575223972>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAIQSTKHDD45MYLK6VHF3Q6CBF5ANCNFSM4KHGJ6OA>
.
--
MK
Staff Software Engineer, Pivotal/RabbitMQ
|
No real code changes necessary as is I think. |
We currently ship with For our rabbit transport, we'll have to release a new major version to support 6.0 anyway, so it would be okay to have to bump it up to 4.6.1 as part of that. |
Addressed by #690 |
https://docs.microsoft.com/en-us/dotnet/standard/net-standard
@bording approved 😄
The text was updated successfully, but these errors were encountered: