Open-NET-Libraries / Open.ChannelExtensions

A set of extensions for optimizing/simplifying System.Threading.Channels usage.
https://open-net-libraries.github.io/Open.ChannelExtensions/api/Open.ChannelExtensions.Extensions.html#methods
MIT License
401 stars 25 forks source link

Supporting .Net 6 and up #29

Closed darcon77 closed 8 months ago

darcon77 commented 8 months ago

Is there a plan to target .Net 6 and remove the dependency on System.Threading.Channels 6.0.0, since frameworks .Net 6 and up ship with System.Threading.Channels?

electricessence commented 8 months ago

I'm careful to update a lower version unless there's a serious reason for it. You should without any issue be able use (local update) any version higher than 6.0.0 and it work fine. It can seem a little less elegant than just importing the major version, but since this library is entirely NET Standard 2.0 and 2.1, there's nothing preventing it from being used by any version of .NET.

I am considering a leap to multi-target .NET 8, because of all the improvements and potential performance benefits. May end up working on that this week. Stay tuned.

electricessence commented 8 months ago

It's done. I did it. Thank you. You're welcome. :) Released final 6.3 version. Released v7 to support Channels 7. Released v8 to support Channels 8. Targets: NET Standard 2.0 and 2.1, NET 6, and NET 8. https://www.nuget.org/packages/Open.ChannelExtensions/8.0.0