Skip to content
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

KubeClient v3.0 #168

Merged
merged 38 commits into from
Mar 8, 2025
Merged

KubeClient v3.0 #168

merged 38 commits into from
Mar 8, 2025

Conversation

tintoy
Copy link
Owner

@tintoy tintoy commented Mar 8, 2025

KubeClient v3 introduces breaking changes, relative to v2.x:

  • KubeClient no longer supports netstandard2.0; it requires net7.x (or netstandard2.1).
  • K8sWebSocket (a custom implementation that was needed until .NET Core fully supported WebSockets) has been replaced by the (BCL-provided) ClientWebSocket.
  • HTTPlease, the underlying HTTP client library used by KubeClient, has been internalised (rolled into KubeClient). It is largely source-code-compatible, except that namespaces have changed from HTTPlease.* to KubeClient.Http.*.
  • Apart from these changes, existing consumer code that compiles against KubeClient v2.x assemblies should largely continue to compile, without modification, against KubeClient v3 assemblies.

Implements #166.

Adam Friedman and others added 30 commits October 2, 2024 09:16
…. Microsoft.Extensions.DepencyInjection and Microsoft.Extensions.Http
(will be needed to modernise KubeClient's dependency injection to support Microsoft.Extensions.Http)

#166
(and move common functionality to KubeClient.Core)

#166
@tintoy tintoy added enhancement New feature or request breaking-change/binary Breaking change in binary compatibility; potential issue for upstream consumers if when upgrading. breaking-change/source Breaking change at the source level, but binary compatibility is maintained. labels Mar 8, 2025
@tintoy tintoy self-assigned this Mar 8, 2025
@tintoy tintoy linked an issue Mar 8, 2025 that may be closed by this pull request
@tintoy tintoy merged commit 21876ba into develop Mar 8, 2025
1 of 2 checks passed
@tintoy tintoy deleted the feature/net80-upgrade branch March 8, 2025 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change/binary Breaking change in binary compatibility; potential issue for upstream consumers if when upgrading. breaking-change/source Breaking change at the source level, but binary compatibility is maintained. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Internalise HTTP extensions (remove dependency on HTTPlease)
1 participant