sendgrid-csharp icon indicating copy to clipboard operation
sendgrid-csharp copied to clipboard

chore: Upgrade from .NET Core 2.1 to .NET Core 3.1 (#1112)

Open akunzai opened this issue 4 years ago • 9 comments

Fixes #1112

Checklist

  • [x] I acknowledge that all my contributions will be made under the project's license
  • [x] I have made a material change to the repo (functionality, testing, spelling, grammar)
  • [x] I have read the Contribution Guidelines and my PR follows them
  • [x] I have titled the PR appropriately
  • [x] I have updated my branch with the main branch
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [x] I have added the necessary documentation about the functionality in the appropriate .md file
  • [x] I have added inline documentation to the code I modified

If you have questions, please file a support ticket, or create a GitHub Issue in this repository.

akunzai avatar May 11 '21 16:05 akunzai

Hello @akunzai!

Thank you for the PR!!

Reference: https://devblogs.microsoft.com/dotnet/net-core-2-1-will-reach-end-of-support-on-august-21-2021

This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.

With best regards,

Elmer

Internal Tracking: DI-1564

thinkingserious avatar Jul 08 '21 23:07 thinkingserious

@akunzai

A quick confirmation: These changes should not break users who choose to use this helper library on .NET Code 2.1, but rather upgrades our examples to use .NET Code 3.1?

eshanholtz avatar Aug 30 '21 18:08 eshanholtz

@eshanholtz

Yes,

  1. In SendGrid.csproj, the TargetFrameworks was not modified, it keeps the compatibility with .NET Core 2.1.
  2. In RetryDelegatingHandler.cs changes, the TaskCanceledException was inherited from OperationCanceledException, it keeps the compatibility too.
  3. I upgrade tests to use .NET Core 3.1 too, not just examples.

akunzai avatar Aug 31 '21 00:08 akunzai

@akunzai thank you for the PR and for keeping it up to date! This is still in the backlog waiting to be prioritized.

shwetha-manvinkurke avatar Oct 22 '21 21:10 shwetha-manvinkurke

3.1 is no longer supported in dec 2022. I agree with your work, but perhaps just multi-target netstandard2.0 and net6.0. And does sendgrid/twilio have any intent on merging this?

waynebrantley avatar Sep 15 '22 13:09 waynebrantley

Hi @waynebrantley, thanks for your recognition, perhaps your can open another PR to remove outdated TFMs(netstandard1.3;net452;net40).

Please give this PR more thumbs up to make sendgrid/twilio raise priority of this PR.

akunzai avatar Sep 15 '22 13:09 akunzai

I would but only if we knew they were willing to merge it!
@mortenbock @rakatyal any thoughts?

waynebrantley avatar Sep 15 '22 14:09 waynebrantley

Hi @waynebrantley and @akunzai! We definitely appreciate your contributions and will work on merging the changes on our end. I will appreciate if you can tag me once this is ready so that it doesn't get lost in my email. Thank you!

rakatyal avatar Sep 19 '22 19:09 rakatyal

Hi @rakatyal @eshanholtz @thinkingserious,

It is ready to merge for a long while. Please consider merge it before .NET Core 3.1 goes EOL, thanks.

akunzai avatar Sep 23 '22 01:09 akunzai

Hi! Based on internal discussions, we won't be considering these changes since we will look to upgrade to .Net 6 taking into account the .Net Core EOL. Apologies for the confusion.

rakatyal avatar Sep 29 '22 21:09 rakatyal

Hi @rakatyal,

It's OK! never mind, I'm going to close this PR, thanks for your confirmation!

akunzai avatar Sep 30 '22 00:09 akunzai

@rakatyal Seeing how the issues page has been disabled(?) I'll ask here: How are we supposed to report bugs/feature requests on this library now? The links in the README for "feature request" and "bug report" now point to a non-existing header in the CONTRIBUTING document.

Sharparam avatar Sep 30 '22 07:09 Sharparam

Hi @Sharparam, you can report bugs/feature requests to us through Twilio SendGrid Support Help Center.

rakatyal avatar Sep 30 '22 16:09 rakatyal