Skip to content

Releases: fabric8io/kubernetes-client

v4.10.3 (2020-07-14)

14 Jul 18:09
Compare
Choose a tag to compare

Bugs

  • Fix #2285: Raw CustomResource API createOrReplace does not propagate exceptions from create
  • Fix Raw CustomResource API path generation to not having trailing slash
  • Fix #2131: Failing to parse CustomResourceDefinition with OpenAPIV3Schema using JSONSchemaPropOr* fields
  • Fix #2297: Resuscitate ProjectRequestHandler in openshift-client
  • Fix #2328: Failure in deserialization while watching events
  • Fix #2299: Improve error handling of RejectedExecutionException from ExecutorService
  • Fix KubernetesAttributesExctractor to extract metadata from unregistered custom resources, such when using Raw CustomResource API
  • Fix #2296: No adapter available for type:interface io.fabric8.kubernetes.client.dsl.V1APIGroupDSL
  • Fix #2269: Setting a grace period when deleting resource using withPropagationPolicy()
  • Fix #2342: watchLogs for deployment is broken
  • Fix #2309: Move HasMetadataComparator to exported package

Improvements

  • Fix #2233: client.service().getUrl(..) should be able to fetch URL for ClusterIP based services
  • Fix #2278: Added type parameters for KubernetesList in KubernetesClient + test verifying waitUntilCondition always retrieves resource from server
  • Fix #2336: Test and fix for the wrong "Kind" declared on KubernetesListHandler
  • Fix #2320: Added JUnit5 extension for mocking KubernetesClient in tests using @EnableKubernetesMockClient
  • Fix #2332: Added PodExecOptions model
  • Improve error handling on stream closing errors in S2I binary builds(#2032)
  • Fix #2288: Adds configurable serializers and deserializers to json schema codegen

Dependency Upgrade

  • Fix #2333: bump bouncycastle.version from 1.65 to 1.66
  • Fix #2262: bump maven-shade-plugin from 3.2.3 to 3.2.4
  • Fix #2261: bump exec-maven-plugin from 1.6.0 to 3.0.0
  • Fix #2345: bump mockito-core from 3.3.3 to 3.4.0
  • Fix #2260: Bump tektoncd pipeline to v0.12.1

New Features

  • Fix #1868: Add Support for rolling update
  • Fix #2266: Support for APIServices in Kubernetes Client
  • Fix #2215: io.fabric8.kubernetes.client.Config should expose all and the current context defined in kubeconfig

4.10.2 (2020-06-02)

02 Jun 15:04
Compare
Choose a tag to compare

Bugs

  • Fix #2251: Modify KubernetesDeserializer for handling classes with same name but different apiVersions
  • Fix #2205: Event model classes from core v1 have been lost
  • Fix #2226: SharedIndexInformer for non-namespaced resources not working
  • Fix #2201: Uberjar doesn't contain model classes anymore
  • Fix #2066: Uber Jar includes merged service entry for multiple implementations of the same interface
  • Fix #2195: Annotation processors and build time dependencies transitive
  • Fix #1760: The bundle version of kubernetes-client is missing ServiceLoader files
  • Fix #2218: Uberjar: Package rewrite issues in META-INF/services
  • Fix #2212: JDK8 always uses http/1.1 protocol (Prevent OkHttp from wrongly enabling http/2)

Improvements

  • Fix #2199: KubernetesClient#customResources now accepts CustomResourceDefinitionContext
  • Adds basic support for Pod Eviction API

New Features

  • Added DSL support for admissionregistration.k8s.io/v1beta1 resources
  • Add support for Namespaced SharedInformers, fixed probelms with OperationContext argument
  • Fix #1821: ListOptions now supported when watching a Kubernetes Resource

4.9.2 (2020-05-19)

19 May 13:01
Compare
Choose a tag to compare

Bugs

  • Fix #2212: JDK8 always uses http/1.1 protocol (Prevent OkHttp from wrongly enabling http/2)

4.10.1 (2020-05-06)

06 May 05:47
Compare
Choose a tag to compare

Bugs

  • Fix #2189: Change package names of Resource Operation classes in order to avoid duplicates Operation classes

New Features

  • Fix #2165: Support for setting ListOptions while listing objects

4.10.0 (2020-05-04)

04 May 10:58
Compare
Choose a tag to compare

Bugs

  • Fix #2163: fix kubernetes-client not support cert chain
  • Fix #2144: CRD's schema Default fields do not handle boolean and are prefixed with Raw keyword
  • KubernetesAttributeExtractor: handle possible /status subpath due to using status subresource on crd
  • Fix #2124: Raw Watch on CustomResource does not work if name specified

Improvements

  • Fix #2174: Change log level to warn for multiple kubeconfig warning
  • Fix #2088: Support networking.k8s.io/v1beta1 alongside extensions/v1beta1
  • Fix #2107: Set PropagationPolicy to Background by default
    (Note: Deletion option cascading(..) has been marked as deprecated)

Dependency Upgrade

  • Updated Kubernetes Model to v1.18.0
  • Fix #2145: Updated OkHttp to v3.12.11

New Features

  • Fix #2115: Keep tekton v1alpha1 api
  • Fix #2002: DSL Support for PodTemplate
  • Fix #2015: Add Support for v1, v2beta1, and v2beta2 apiVersions in case of HorizontalPodAutoscaler

4.9.1 (2020-04-17)

17 Apr 15:23
Compare
Choose a tag to compare

Bugs

  • Fix #2071: Fixed pvc example issue #2071
  • Fix #1109: something drops '-' from Singular/Plural forms of CustomResources
  • Fix #1586: Replace of Job should add extra selector property to the resource
  • Fix #2034: Quantity.equals mishandles fractions
  • Fix #2009: Regression withoutLabel() stopped to work
  • Fix #2057: Fix jar and osgi bundle generation for extensions
  • Fix #2075: KubernetesDeserializer registration for CustomResources
  • Fix #2078: watchLog for Deployment and StatefulSet
  • Fix #2046: OpenshiftClient getVersion returns null for Openshift ContainerPlatform v4
  • Fix #2117: Knative Service.status is always null

Improvements

  • Fix #1987: Added an example for Task and TaskRun with updated model
  • Fix #2019: Added CustomResourceCrudTest
  • Fix #2054: JobExample doesn't work
  • Fix #2082: Added filter node metrics via labels
  • Generated *List classes for Knative implement proper KubernetesResourceList interface
  • Modify the dependency management of the generator of kubernetes-model to golang module

Dependency Upgrade

  • Updated Knative model to v0.13.0
  • Updated Tekton Model to v0.11.0

v4.9.0 (2020-03-12)

12 Mar 15:12
Compare
Choose a tag to compare

Bugs

  • Fix #2047: Readiness#isReady is unreliable for StatefulSet
  • Fix #1247: URL parameters are not escaped.
  • Fix #1961: Two SharedInformer issues related to kube-apiserver unavailable and relisting
  • Fix #2023: Class RawCustomResourceOperationsImpl can't handle HTTP responses with empty body coming from the k8s
    cluster (Jackson deserialization error was throwed). This kind of response can be returned after executing operations
    like the delete of a custom resource.
  • Fix #2017: Incorrect plural form for Endpoints kind
  • Fix #2053: Fixed parsing of exponential values. Added multiplication to the amount during parsing exponential values.
  • Fix #2058: NullPointerException with upload() websocket failures

Improvements

  • Fix #2012: osgi: Allow the ManagedKubernetesClient to consume an available OAuthTokenProvider

Dependency Upgrade

New Features

  • Fix #1820: Override Createable.create(T) to avoid generic array creation

v4.8.0 (2020-02-14)

14 Feb 11:48
Compare
Choose a tag to compare

Bugs

  • Fix #1847: Remove resource-*.vm files from *-client.jar
  • Fix #959: Support for double braced ${{ }} template placeholders
  • Fix #1964: Refactor Duration
  • Fix #703: Fix NullPointerException in Config.tryKubeConfig
  • Fix #2000: Unable to create jobs in OSGi environments

Improvements

  • Fix #1874: Added unit tests verifying windows line-ends (CRLF) work
  • Fix #1177: Added support for OpenID Connect token in kubeconfig

Dependency Upgrade

  • Update Jackson Bom to 2.10.2
  • Fix #1968: Support for PodSecurityPolicies in Kubernetes 1.17

New Features

  • Fix #1948: LeaderElection Implementation (Lock Implementations: ConfigMap & Lease)

v4.7.1 (24-01-2020)

24 Jan 18:30
Compare
Choose a tag to compare

Bugs

  • Fix #1937: Quantity.getAmountInBytes() should be able to handle negative exponents
  • Fix #1805: Unable to create Template on OCP4

Improvements

  • Fix #1894: SharedInformer Improvements
  • Fix #1963: Use Serialization not a default ObjectMapper in Watch
  • Fix #1957: Build Failing on CI due to Central repository moving to HTTPS

Dependency Upgrade

  • Fix #1962: chore(deps): bump karaf.version from 4.2.7 to 4.2.8
  • Fix #1960: chore(deps): bump junit-bom from 5.5.2 to 5.6.0
  • Fix #1939: chore(deps): bump sundrio.version from 0.20.0 to 0.21.0

New Features

  • Fix #1917: Allow user to add custom Headers to client

v4.7.0 (08-01-2020)

08 Jan 15:31
Compare
Choose a tag to compare

Bugs

  • Fix #1850: Add option to disable timestamps in build logs on Openshift
  • Fix #1902: Fix the usage of reflection, so that getMetadata is detected properly
  • Fix #1925: Client should always read services from server during replace
  • Fix #1486: Creating CRDs with schema validation is broken
  • Fix #1707: HorizontalPodAutoscalerSpecBuilder found no metric method
  • Fix #885: Quantity doesn't honour the unit
  • Fix #1895: Parsing different quantity formats

Improvements

  • Fix #1880: Remove use of reapers manually doing cascade deletion of resources, leave it upto Kubernetes APIServer
  • Test coverage for ServiceCatalog
  • Fix #1772: Add Javadocs for KubernetesClient class

Dependency Upgrade

  • Fix #1889: update tekton from v0.7.0 to v0.9.0
  • Fix #1872: Support for kubernetes 1.17
  • Fix #1930: chore(deps): bump commons-codec from 1.13 to 1.14
  • Fix #1927: chore(deps-dev): bump awaitility from 4.0.1 to 4.0.2
  • Fix #1923: chore(deps): bump junit from 4.12 to 4.13
  • Fix #1913: chore(deps): bump maven-source-plugin from 3.2.0 to 3.2.1
  • Fix #1909: chore(deps): bump slf4j.version from 1.7.29 to 1.7.30
  • Fix #1908: chore(deps): bump mockito-core from 3.1.0 to 3.2.4
  • Fix #1897: chore(deps): bump maven-scr-plugin from 1.26.2 to 1.26.4

New Features

  • Fix #417: Support Subresources
  • Fix #1548: Allow user to update the status on CustomResources
  • Fix #1282: Add Support for fetching Kubernetes metrics