kubernetes-client v7.7.0 Release Notes
Release Date: 2026-05-12 // about 1 month ago-
๐ Bugs
- ๐ Fix #7747: (mockwebserver) avoid RejectedExecutionException in MockWebServer#shutdown() โ linearize close sequence to remove the httpClose-listener vs await race, and make shutdown() idempotent against repeated calls (e.g. JUnit @nested afterAll cascades)
- ๐ Fix #7734: (mockwebserver) avoid sending Content-Length together with Transfer-Encoding for chunked responses
- ๐ Fix #7716: (informer) SerialExecutor.execute() now returns immediately after shutdown โ no wrapper is offered, scheduleNext() is not called, and the underlying executor is not touched, fixing a post-stop NPE race exposed by SharedProcessor.distribute(...) after stop()
- ๐ Fix #7702: ExecWebSocketListener.onError now wraps WebSocketHandshakeException via the chaining KubernetesClientException constructor instead of post-hoc initCause โ handshake failures with a non-null upgrade response no longer throw IllegalStateException synchronously, so onFailure/exitCode receive the parsed Status and the original handshake exception as the cause
- ๐ Fix #7686: (httpclient-vertx-5) StackBasedRecursionGuard.enter() no longer increments depth when refusing entry, fixing an infinite runOnContext loop that stalled InputStreamReadStream uploads under CPU contention
- ๐ Fix #7700: ExecWebSocketListener.onError now defers failure handling through the SerialExecutor so a pending channel-3 exit-status task runs first and the parsed exit code is preserved instead of being overwritten by a peer-close exception
- ๐ Fix #7698: (httpclient-vertx-5) InputStreamReadStream now fires endHandler when registered after the end signal has already been delivered, fixing a race for empty/fast streams
- ๐ Fix #7696: (httpclient-vertx) clear response exception handler before reset in cancel() to prevent StreamResetException from racing with future cancellation
- ๐ Fix #7695: ExecWebSocketListener now defers exitCode completion through the SerialExecutor so pending stdout/stderr async writes are flushed before exit signals
- ๐ Fix #7632: java-generator now HTML-escapes
<,>, and&in CRD descriptions to produce valid Javadoc - ๐ Fix #7543: fix processInlineDuplicateFields to recursively resolve nested inline embeds
- ๐ Fix #7450: StandardHttpClient.shouldRetry() does not retry on Vert.x HttpClosedException
- ๐ Fix #7350: Improper callback timing in leaderelection leads to the dual-leader
- ๐ Fix #7265: fix ephemeral removal of index entries from informer caches
๐ Improvements
- ๐ Fix #7426: add
HasMetadata#isSameResourceto test whether two HasMetadata instances point to the same logical cluster resource, with an optional strict mode that also requires matching kind and resourceVersion - ๐ Fix #7662: (mockwebserver) new
MockWebServer#setHttp2ClearTextEnabled(boolean)setter to opt out of HTTP/2 cleartext (h2c) upgrade - ๐ Fix #7522: improve dependency management for kubernetes-httpclient-okhttp
- ๐ Fix #7550: add a ResourceEventHandler onList method and deprecated onNothing
- ๐ Fix #6922: add addOwnerReference variant to set controller and blockOwnerDeletion fields
- ๐ Fix #3396: (mockwebserver) Enhance self-signed certificate generation to include Subject Alternative Names (SANs) for proper TLS verification by modern clients
- ๐ Fix #6923: Make the crd-generator-maven-plugin be toolchain aware
โฌ๏ธ Dependency Upgrade
- ๐ Fix #7754: bump baremetal-operator/apis from 0.12.4 to 0.13.0
- ๐ Fix #7754: bump cluster-api-provider-metal3 from 1.12.4 to 1.13.0
- ๐ Fix #7651: bump k8s.io/apimachinery from 0.35.4 to 0.36.0
- ๐ Fix #7579: bump istio.io/client-go from 1.28.0 to 1.29.1
- ๐ Fix #7551: bump jackson-bom from 2.20.0 to 2.21.1
- ๐ Fix #7718: bump kin-openapi from 0.135.0 to 0.137.0
- ๐ Fix #7758: bump kin-openapi from 0.137.0 to 0.138.0
- ๐ Fix #7723: bump knative.dev/eventing from 0.48.2 to 0.49.0
- ๐ Fix #7723: bump knative.dev/eventing-github from 0.48.0 to 0.49.0
- ๐ Fix #7723: bump knative.dev/eventing-gitlab from 0.48.0 to 0.49.0
- ๐ Fix #7723: bump knative.dev/eventing-kafka-broker from 0.48.3 to 0.49.0
- ๐ Fix #7723: bump knative.dev/networking from 0.0.0-20260120131110-a7cdca238a0d to 0.0.0-20260422140718-e9578ef11562
- ๐ Fix #7723: bump knative.dev/serving from 0.48.2 to 0.49.0
- ๐ Fix #7580: bump kustomize/api from 0.20.1 to 0.21.1
- ๐ Fix #7726: bump tektoncd/pipeline from 1.11.1 to 1.12.0
- ๐ Fix #7552: bump tektoncd/triggers from 0.33.0 to 0.35.0
- ๐ Fix #7556: bump eventing-kafka-broker from 0.46.2 to 0.48.1
- ๐ Fix #7553: bump cert-manager from 1.19.4 to 1.20.0
- ๐ Fix #7557: bump baremetal-operator/apis from 0.9.2 to 0.12.2
- ๐ Fix #7544: bump cluster-api-provider-metal3 from 1.9.3 to 1.12.2
- ๐ Fix #7543: bump prometheus-operator from 0.85.0 to 0.89.0
- ๐ Fix #7542: bump open-cluster-management.io/api from 0.16.2 to 1.2.0
- ๐ Fix #7753: bump open-cluster-management.io/api from 1.2.0 to 1.3.0
- ๐ Fix #7541: bump gateway-api from 1.4.0 to 1.5.0
- ๐ Fix #7538: bump cert-manager from 1.18.2 to 1.19.4
- ๐ Fix #7583: bump operator-framework/api from 0.33.0 to 0.41.0
- ๐ Fix #7589: bump prometheus-operator from 0.89.0 to 0.90.0
- ๐ Fix #7736: bump prometheus-operator from 0.90.1 to 0.91.0
- ๐ Fix #7578: bump tektoncd/pipeline from 1.9.0 to 1.10.2
- ๐ Fix #7582: bump vertical-pod-autoscaler from 1.4.1 to 1.6.0
- ๐ Fix #7659: bump vertx.version from 4.5.24 to 4.5.26
- ๐ Fix #7731: bump vertx-5 version from 5.0.7 to 5.0.12
๐ New Features
- ๐ Fix #7417: Support for Kubernetes v1.36 (ใใซ / Haru)
- ๐ Fix #5495: Add more support for subresource operations with enhanced documentation and examples for the generic
subresource()method - ๐ Fix #7451: Add support for server-side content negotiation (Table and PartialObjectMetadata responses)
_ Note _: Breaking changes
- ๐ Fix #7417:
scheduling.k8s.io/v1alpha1model classes removed (Workload,WorkloadList,WorkloadSpec,PodGroup,PodGroupPolicy,BasicSchedulingPolicy,GangSchedulingPolicy,TypedLocalObjectReference) โ upstream rearchitected workload scheduling via KEP-5832 - ๐ Fix #7544: cluster-api model classes moved from package
io.fabric8.kubernetes.api.model.clusterapi.v1beta1toio.fabric8.kubernetes.api.model.clusterapi.core.v1beta1(following upstream cluster-api v1.11+ API reorganization) - ๐ Fix #7538: cert-manager model
ObjectReferencerenamed toIssuerReference(following upstream rename in cert-manager v1.19.0) - ๐ Fix #7541: gateway-api model
v1beta1.ReferenceGrantFrom,v1beta1.ReferenceGrantSpec, andv1beta1.ReferenceGrantToremoved (ReferenceGrant graduated to v1 upstream) - ๐ Fix #7723: knative model
internal.autoscaling.v1alpha1.PodScalableSpec.templatefield removed (upstream removed the field in autoscaling.internal.knative.dev v1alpha1) - ๐ Fix #7580: kustomize model
Patch.optionsfield type changed fromMap<String, Boolean>toPatchArgs(following upstream kustomize v0.21.0 PatchArgs API type addition) - ๐ Fix #7543: monitoring model
v1.AuthorizationValidationError,v1.OAuth2ValidationError,v1.ProbeTargetsValidationError, andv1.PrometheusTracingConfigremoved - ๐ Fix #7736: monitoring model
v1.ThanosSpec.grpcServerTlsConfigandv1.ThanosRulerSpec.grpcServerTlsConfigfield type changed fromTLSConfigto the newGRPCServerTLSConfig(following upstream prometheus-operator v0.91.0) - ๐ Fix #7542: open-cluster-management model
operator.v1.WebhookConfigurationremoved (replaced byDefaultWebhookConfigurationandHostedWebhookConfigurationupstream)
๐ New Contributors
- @Desel72 made their first contribution in #7558
- @rtsui-harmonicinc made their first contribution in #7699
- @taole33 made their first contribution in #7383
Full Changelog : v7.6.1...v7.7.0
Previous changes from v7.6.1
-
๐ Bugs
- ๐ Fix #7460: Add explicit Automatic-Module-Name to all httpclient modules to fix invalid auto-derived JPMS module names and vertx/vertx-5 collision
๐ New Contributors
- @UniZKTech made their first contribution in #7461
Full Changelog : v7.6.0...v7.6.1