-
Notifications
You must be signed in to change notification settings - Fork 33
Multi-targeting (netstandard2.1, net7.0, net8.0, net9.0) #167
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
Comments
Please be aware that Microsoft has not supported .NET 7 since May 2024 → It appears that the |
Unfortunately, I know of at least one (commercial, closed-source) project that uses dotnet-kube-client but can't be upgraded to
Once we have stabilised everything, then yes - my plan is to drop |
This working is pretty much complete at this stage; no major issues have arisen from multi-targeting so far. Any remaining work will be handled by the completion of #166. |
KubeClient v3 should simplify dependency-management, from Ocelot's perspective: * KubeClient no longer has an external dependency (HTTPlease) for its HttpClient support. The internalised version of this support is now located in the KubeClient.Http namespace. * KubeClient v3 is multi-targeted for net9.0, as well as a couple of older versions that some consumers are still using (support for these older versions will be tailed off over the next couple of minor releases) Related discussion at: tintoy/dotnet-kube-client#166 tintoy/dotnet-kube-client#167
* Upgrade to KubeClient v3 and log failed Kubernetes API requests KubeClient v3 should simplify dependency-management, from Ocelot's perspective: * KubeClient no longer has an external dependency (HTTPlease) for its HttpClient support. The internalised version of this support is now located in the KubeClient.Http namespace. * KubeClient v3 is multi-targeted for net9.0, as well as a couple of older versions that some consumers are still using (support for these older versions will be tailed off over the next couple of minor releases) Related discussion at: tintoy/dotnet-kube-client#166 tintoy/dotnet-kube-client#167 * Don't attempt to deserialise response payload from Kubernetes API if it isn't going to be used * Simplify logging implementation by moving it out of EndPointClientV1 and into its caller * Add support for returning error responses from the fake Kubernetes API used by service-discovery tests * Revert "Add support for returning error responses from the fake Kubernetes API used by service-discovery tests" This reverts commit 9a8bf9c. * Upgrade KubeClient to v3.0.1 * Use consistent serialisation settings for fake Kubernetes API responses * Add unit tests for handling of error responses from Kubernetes API * Code review by @raman-m * Change EndPointClientV1.GetAsync into a non-async wrapper method, since it only has a single await as the last statement (return await) * Update docs with user's instructions --------- Co-authored-by: Raman Maksimchuk <[email protected]>
Note - breaking changes in
net9.0
:https://learn.microsoft.com/en-us/dotnet/core/compatibility/9.0
The text was updated successfully, but these errors were encountered: