Releases: fabric8io/kubernetes-client
Releases Β· fabric8io/kubernetes-client
5.4.2 (2022-01-05)
Bugs
- Fix #3653: SnakeYAML uses only standard Java types
5.3.2 (2022-01-05)
Bugs
- Fix #3653: SnakeYAML uses only standard Java types
5.1.2 (2022-01-05)
Bugs
- Fix #3653: SnakeYAML uses only standard Java types
5.0.3 (2022-01-05)
Bugs
- Fix #3653: SnakeYAML uses only standard Java types
5.11.1 (2021-12-24)
Bugs
- Fix #3672: Native image builds of Fabric8 work (commons-codec no longer required)
- Fix #3639: Support for NodeMetrics and PodMetrics informers
- Fix #3662: NodeMetrics should be marked as Cluster scoped resource
- Fix #3686: Ignore fields annotated with JsonIgnore during CRD generation
- Fix #3652: Avoid a StackOverflow and properly fail on cyclic references in CRD generation
5.11.0 (2021-12-17)
Bugs
- Fix #3538: Update Plural rule to work with Prometheus
- Fix #3555: using the new builder for generic resources
- Fix #3535: ensure clientKeyAlgo is set properly when loading config YAML from
fromKubeconfig
- Fix #3598: applying cancel to the correct future for waitUntilCondition and waitUntilReady
- Fix #3609: adding locking to prevent long running Watcher methods from causing reconnects with concurrent processing
- Fix #3629: correcting the watch 200/503 exception handling
- Fix #3606: Template getObjects doesn't throw NPE when objects is null
- Fix #3620: throw a meaningful exception if no kind/plural is on a ResourceDefinitionContext, default plural if possible
- Fix #3636: ensure proper handling of LogWatch closure wrt its streams
Improvements
Dependency Upgrade
- Fix #3505: Update OpenShift Model to latest version (4.9.x)
New Features
Note: Breaking changes in the API
- If you do not wish to receive bookmarks, then set ListOptions.allowWatchBookmarks=false - otherwise all Watches will default to requesting bookmarks. If supported by the api-server, bookmarks will avoid 410 exceptions and keep the watch alive longer. If you are using the mock framework with explicit uris, you may need to update your expected watch endpoints to include the parameter allowWatchBookmarks=true
- Refactoring #3547: due to an abstraction layer added over okHttp, the following api changes were made:
- OperationContext withOkHttpClient was removed, it should be needed to be directly called
- PatchType.getMediaType was replaced with PatchType.getContentType
- ExecListener no longer passes the okhttp3.Response to onOpen. onFailure will pass a simplified ExecListener.Response when possible.
- okhttp3.TlsVersions has been replaced by io.fabric8.kubernetes.client.http.TlsVersion
- HttpClientUtils.createHttpClient(config, additionalConfig) has been deprecated and now returns an OkHttpClientImpl
- The client is no longer adaptable to an OkHttpClient, use Client.getHttpClient instead
5.10.1 (2021-11-12)
5.10.0 (2021-11-11)
Bugs
- Fix #3408: quote pod upload file paths to support special chars
- Fix #3561: ensure okhttp resources are closed
- Fix #3570: added a setter for additionalProperties for proper builder support
Improvements
- Fix #3562: Kubernetes Mock Server improvements
- Fix #3406: Add support for approve/deny CertificateSigningRequests
- Fix #3460: support for deserializing templates with non-string params
- Fix #3574: support for deserialization of properties that don't match the target field's type
- Fix #3511: Improve selectors support in OperationContext
Dependency Upgrade
- Fix #3562: Bump MockWebServer
New Features
- Fix #3430: Support Vertical Pod Autoscaler
Note: Breaking changes in the API
Tools Changes:
- Serialization: Those KubernetesResources that include entries in the additionalProperties Map that override a field
of the resource instance, will no longer be duplicated. The values present in the additionalProperties Map take
precedence.
5.9.0 (2021-10-14)
Bugs
- Fix #3482: sanitizeName now truncate names to be less than 63 chars and makes sure first and last charaters are letters
- Fix #3353: addressing extra quoting in quantity serialization
- Fix #3509: notify reader when something is written in ExecWebSocketListener
- Fix #3501: addressed NPE with default BuildConfig operations
Improvements
- Fix #3448 added methods for getting specific version information -
KubernetesClient.getKubernetesVersion
,OpenShiftClient.getOpenShiftV3Version
, andOpenShiftClient.getOpenShiftV3Version
- Fix #3404 supporting generic resources in resource/resourceList with minimal metadata, as well as a new entry point
KubernetesClient.genericKubernetesResources(String apiVersion, String kind)
- Fix #3390: Make mock server support JSON_MERGE_PATCH
New Features
Note: Breaking changes in the API
- OpenShiftConfig#openshiftApiGroupsEnabled is deprecated and no longer used.
- OpenShiftConfig#disableApiGroupCheck is used only to determine if a client is adaptable to the OpenShiftClient and is generally only needed in mock scenarios. It will be set automatically on clients obtained from an openshift mock server.
KubernetesClient.getVersion
has been deprecated, please use one of the more specific methods introduced by #3448 -KubernetesClient.getKubernetesVersion
,OpenShiftClient.getOpenShiftV3Version
, andOpenShiftClient.getOpenShiftV3Version
5.8.0 (2021-09-23)
Bugs
- Fix #3445: TokenRefreshInterceptor throws when running incluster config
- Fix #3456: io.fabric8:crd-generator README should reference crd-generator-apt instead of now removed crd-generator artifact
- Fix #3384: preventing NPE from being logged with pod execs.
- Fix #3484: Ensuring that the informer isWatching flag is correctly reported
Improvements
- Fix #3468: Add method to get non-running
Informer
from context specific dsl - Fix #3398: Added javadocs explaining the wait parameter
- Fix #3491: Add more metadata to
KubernetesClientException
when possible - Fix #3465: Allowing for more super class event handlers
Dependency Upgrade
- Fix #3326: Upgrade Kubernetes Model to v1.22.1