All Versions
88
Latest Version
Avg Release Cycle
39 days
Latest Release
543 days ago

Changelog History
Page 1

  • v6.2.0 Changes

    October 20, 2022

    ๐Ÿ› Bugs

    • ๐Ÿ›  Fix #3733: The authentication command from the .kube/config won't be discarded if no arguments are specified
    • ๐Ÿ›  Fix #4312: fix timestamp can't be deserialized for IstioCondition
    • ๐Ÿ›  Fix #4369: Informers will retry with a backoff on list/watch failure as they did in 5.12 and prior.
    • ๐Ÿ›  Fix #4350: SchemaSwap annotation is now repeatable and is applied multiple times if classes are used more than once in the class hierarchy.
    • ๐Ÿ›  Fix #3733: The authentication command from the .kube/config won't be discarded if no arguments are specified
    • ๐Ÿ›  Fix #4441: corrected patch base handling for the patch methods available from a Resource - resource(item).patch() will be evaluated as resource(latest).patch(item). Also undeprecated patch(item), which is consistent with leaving patch(context, item) undeprecated as well. For consistency with the other operations (such as edit), patch(item) will use the context item as the base when available, or the server side item when not. This means that patch(item) is only the same as resource(item).patch() when the patch(item) is called when the context item is missing or is the same as the latest.
    • ๐Ÿ›  Fix #4442: TokenRefreshInterceptor doesn't overwrite existing OAuth token with empty string
    • ๐Ÿ›  Fix #4350: SchemaSwap annotation is now repeatable and is applied multiple times if classes are used more than once in the class hierarchy.
    • ๐Ÿ›  Fix #4459: Fixed OSGi startup exceptions while using KubernetesClient/OpenShiftClient
    • ๐Ÿ›  Fix #4460: removing split packages. Converting Default clients into adapters rather than real instances.
    • ๐Ÿ›  Fix #4473: Fix regression in backoff interval introduced in #4365
    • ๐Ÿ›  Fix #4478: Removing the resourceVersion bump with null status
    • ๐Ÿ›  Fix #4482: Fixing blocking behavior of okhttp log watch
    • ๐Ÿ›  Fix #4487: Schema for multimaps is now generated correctly
    • ๐Ÿ›  Fix #4496: Removing watch handling of lists

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ›  Fix #4471: Adding KubernetesClientBuilder.withHttpClientBuilderConsumer to further customize the HttpClient for any implementation.
    • ๐Ÿ›  Fix #4348: Introduce specific annotations for the generators
    • ๐Ÿ›  Fix #4441: refactoring TokenRefreshInterceptor
    • ๐Ÿ›  Fix #4365: The Watch retry logic will handle more cases, as well as perform an exceptional close for events that are not properly handled. Informers can directly provide those exceptional outcomes via the SharedIndexInformer.stopped CompletableFuture.
    • ๐Ÿ›  Fix #4396: Provide more error context when @Group/@Version annotations are missing
    • ๐Ÿ›  Fix #4384: The Java generator now supports the generation of specific annotations (min, max, pattern, etc.), as defined by #4348
    • ๐Ÿ›  Fix #4408: Allowing informers started via the start() method to have configurable exception / retry handling.
    • ๐Ÿ›  Fix #3864: Change ManagedOpenShiftClient OSGi ConfigurationPolicy to REQUIRE
    • ๐Ÿ›  Fix #4470: Added timestamps support for deployment logs and other resources.
    • ๐Ÿ›  Fix #4476: [crd-generator] Support custom Annotations and Labels to be emitted in the CRD

    โฌ†๏ธ Dependency Upgrade

    • ๐Ÿ›  Fix #4243: Update Tekton pipeline model to v0.39.0
    • ๐Ÿ›  Fix #4243: Update Tekton triggers model to v0.20.2
    • ๐Ÿ›  Fix #4383: bump snakeyaml from 1.30 to 1.31
    • ๐Ÿ›  Fix #4347: Update Kubernetes Model to v1.25.0
    • ๐Ÿ›  Fix #4413: Update sundrio to 0.93.1

    ๐Ÿ†• New Features

    • ๐Ÿ›  Fix #4398: add annotation @PreserveUnknownFields for marking generated field have x-kubernetes-preserve-unknown-fields: true defined
    • ๐Ÿ›  Fix #4351: add javax.annotation.processing.Generated to classes generated with the java-generator

    Note: Breaking changes in the API

    • ๐Ÿ›  Fix #4350: SchemaSwap's fieldName parameter now expects a field name only, not a method or a constructor.
    • ๐Ÿšš Module io.fabric8:tekton-model-triggers which contained Tekton triggers v1alpha1 model has been removed. We have introduced separate modules io.fabric8:tekton-model-v1alpha1 and io.fabric8:tekton-model-v1beta1 for Tekton triggers v1alpha1 and v1beta1 apigroups respectively. Users who are using io.fabric8:tekton-client dependency directly should be unaffected by this change.
    • ๐Ÿ›  Fix #3864: Now it's compulsory to provide etc/io.fabric8.openshift.client.cfg file in order to load ManagedOpenShiftClient in OSGi environment.
    • ๐Ÿ›  Fix #3924: Extension Mock modules have been removed
    • ๐Ÿ›  Fix #4384: javax.validation.* annotations are no longer added by the Java generator.
    • ๐Ÿ›  Fix #3906: removed BaseKubernetesList, use KubernetesList instead
    • ๐Ÿ›  Fix #4408: deprecated SharedInformerFactory.addSharedInformerEventListener, instead use the SharedIndexInformer.stopped method. Also the signature of SharedIndexInformer.start was changed to a CompletionStage rather than a CompletableFuture.
  • v6.1.1 Changes

    September 01, 2022

    ๐Ÿ› Bugs

    ๐Ÿ›  fix #4373: NO_PROXY should allow URIs with hyphens ("circleci-internal-outer-build-agent")

  • v6.1.0 Changes

    August 31, 2022

    ๐Ÿ› Bugs

    • ๐Ÿ›  Fix #4109: Templates with parameters can be retrieved from OpenShift
    • ๐Ÿ›  Fix #4206: KubernetesDeserializer can now handle any valid object. If the object lacks type information, it will be deserialized as a GenericKubernetesResource
    • ๐Ÿ›  Fix #4247: NO_PROXY with invalid entries throws exception
    • ๐Ÿ›  Fix #4256: crd-generator-apt pom.xml includes transitive dependencies
    • ๐Ÿ›  Fix #4294: crd-generator respects JsonIgnore annotations on enum properties
    • ๐Ÿ›  Fix #4320: corrected leader transitions field on leader election leases
    • ๐Ÿ›  Fix #4360: JUnit dependencies aren't leaked in child modules

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ›  Fix #887: added KubernetesClient.visitResources to search and perform other operations across all resources.
    • ๐Ÿ›  Fix #3960: adding a KubernetesMockServer.expectCustomResource helper method and additional mock crd support
    • ๐Ÿ›  Fix #4041: adding Quantity.getNumericalAmount with an explanation about bytes and cores.
    • ๐Ÿ›  Fix #4241: added more context to informer logs with the endpoint path
    • ๐Ÿ›  Fix #4250: allowing for deserialization of polymorphic unwrapped fields
    • ๐Ÿ›  Fix #4254: adding debug logging for exec stream messages
    • ๐Ÿ›  Fix #4259: Java Generator's CR should have Lombok's @EqualsAndHashCode with callSuper = true
    • ๐Ÿ›  Fix #4287: added WorkloadGroup for Istio v1alpha3 extension generator
    • ๐Ÿ›  Fix #4318: implemented LeaderElection releaseOnCancel
    • ๐Ÿ›  Fix #4359: Remove manual model classes with fields name class

    โฌ†๏ธ Dependency Upgrade

    • ๐Ÿ›  Fix #3967: Update chaos-mesh extension to v2.1.3. Add PodHttpChaos, GCPChaos, BlockChaos and PhysicalMachineChaos.
    • ๐Ÿ›  Fix #4352: Update Knative model to v0.34.0
    • ๐Ÿ›  Fix #4356: Update Apache CamelK to v1.9.2
    • ๐Ÿ›  Fix #4361: Bump Cert-Manager to v1.9.0-beta.1.0.20220829113803-8465f1223efb

    ๐Ÿ†• New Features

    • ๐Ÿ›  Fix #2271: Support periodic refresh of access tokens before they expire
    • ๐Ÿ›  Fix #4333: Implement "attach to pod" functionality

    Note: Breaking changes in the API

    • ๐Ÿ›  Fix #4206: The Serialization utility class will throw an Exception, instead of returning null, if an untyped unmarshall method is used on something that lacks type information
    • In ChaosMesh Model, some types have been renamed. These are
      • io.fabric8.chaosmesh.v1alpha1.AwsChaos => io.fabric8.chaosmesh.v1alpha1.AWSChaos
      • io.fabric8.chaosmesh.v1alpha1.IoChaos => io.fabric8.chaosmesh.v1alpha1.IOChaos
      • io.fabric8.chaosmesh.v1alpha1.PodIoChaos => io.fabric8.chaosmesh.v1alpha1.PodIOChaos
  • v6.0.0 Changes

    July 13, 2022

    ๐Ÿ› Bugs

    • ๐Ÿ›  Fix #2811: Approve/Reject CSR not supported in v1beta1 CertificateSigningRequest API
    • ๐Ÿ›  Fix #4216: Update metadata when replaceStatus() is called
    • ๐Ÿ›  Fix #4217: patchStatus doesn't increment metadata.generation field in Kubernetes Mock Server (CRUD)
    • ๐Ÿ›  Fix #4234: corrected the skip method for base64 inputstream

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ›  Fix #3227 : Move config.openshift.io apiGroup resources out of openshift-model/
    • ๐Ÿ›  Fix #4006: Remove outdated shared test classes in kubernetes-client/ and openshift-client/ modules
  • v6.0.0-RC1 Changes

    June 13, 2022

    ๐Ÿ› Bugs

    • ๐Ÿ›  Fix #2860: ensure that lockexceptions won't inhibit notification
    • ๐Ÿ›  Fix #3300: addressed race connection with watch reconnects
    • ๐Ÿ›  Fix #3745: the client will throw better exceptions when a namespace is not discernible for an operation
    • ๐Ÿ›  Fix #3832 #1883: simplifying the isHttpsAvailable check
    • ๐Ÿ›  Fix #3990: Throw exception when HasMetadata is used in resources(...) API
    • ๐Ÿ›  Fix #4081: moving Versionable.withResourceVersion to a method on WatchAndWaitable and removing Waitable from the return type
    • ๐Ÿ›  Fix #4106: removed listing from projectrequests
    • ๐Ÿ›  Fix #4140: changed StatefulSet rolling pause / resume to unsupported. Also relying on default rolling logic to Deployments and StatefulSets
    • ๐Ÿ›  Fix #4139: status changes don't increment metadata.generation field
    • ๐Ÿ›  Fix #4149: port forwarding can accept both blocking and non-blocking channels
    • ๐Ÿ›  Fix #4171: allowing any object in clone

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ›  Fix #1285: removed references to manually calling registerCustomKind
    • ๐Ÿ›  Fix #2207: added LeaderElector.start to provide a CompletableFuture for easy cancellation
    • Fix #3334: adding basic support for server side apply. Use patch(PatchContext.of(PatchType.SERVER_SIDE_APPLY), service), or new PatchContext.Builder()withPatchType(PatchType.SERVER_SIDE_APPLY).withForce(true).build() to override conflicts
    • ๐Ÿ›  Fix #3486: using a common jsonschema2pojo annotator - see the migration guide for possible changes to extension models
    • ๐Ÿ›  Fix #3625: adds default maps to mostly prevent the need for null checks on things like annotations and labels
    • ๐Ÿ›  Fix #3758: VersionInfo in KubernetesMockServer can be overridden
    • ๐Ÿ›  Fix #3806: Remove setIntVal, setStrVal, setKind setters from IntOrString class to avoid invalid combinations
    • ๐Ÿ›  Fix #3852: Deserializing kamelets fails with UnrecognizedPropertyException
    • ๐Ÿ›  Fix #3889: remove piped stream for file download
    • ๐Ÿ›  Fix #3968: SharedIndexInformer.initialState can be used to set the store state before the informer starts SharedIndexInformer allows for the addition and removal of indexes even after starting, and you can remove the default namespace index if you wish. And Store.getKey can be used rather than directly referencing static Cache functions.
    • ๐Ÿ›  Fix #3969: relist will not trigger sync events
    • ๐Ÿ›  Fix #4065: Client.getAPIResources("v1") can be used to obtain the core/legacy resources
    • ๐Ÿ›  Fix #4082: improving informOnCondition to test the initial list instead of individual add events
    • ๐Ÿ›  Fix #4093: adding a possibility to get a log as an InputStream from the Loggable resources
    • ๐Ÿ›  Fix #4142: Added patch() and patch(PatchContext) methods for use with resource and load
    • ๐Ÿ›  Fix #4146: ManagedKubernetesClient and ManagedOpenShiftClient as delayed OSGi services

    โฌ†๏ธ Dependency Upgrade

    • ๐Ÿ›  Fix #3788: Point CamelK Extension model to latest released version v1.8.0
    • ๐Ÿ›  Fix #3813: Handle exit code status messages with pod uploads
    • ๐Ÿ›  Fix #3947: Point CamelK Extension model to latest released version v1.8.2
    • ๐Ÿ›  Fix #4031: Update Kubernetes Model to v1.24.0
    • ๐Ÿ›  Fix #4100: Update Tekton Pipeline Model to v0.35.0

    ๐Ÿ†• New Features

    • ๐Ÿ›  Fix #3407 #3973: Added resource(item) to directly associate a resource with the DSL. It can be used as an alternative to Loadable.load when you already have the item There is also client.resourceList(...).resources() and client.configMaps().resources() - that will provide a Resource stream. This allows you to implement composite operations easily with lambda: client.secrets().resources().forEach(r -> r.delete());
    • ๐Ÿ›  Fix #3472 #3587: Allowing for customization of the Informer store/cache key function and how state is stored. See BasicItemStore and ReducedStateItemStore and the SharedIndexInformer.itemStore function
    • ๐Ÿ›  Fix #3855: Created a new kubernetes-httpclient-jdk module with an HttpClient implementation based on the Java HttpClient
    • ๐Ÿ›  Fix #3922: added Client.supports and Client.hasApiGroup methods
    • ๐Ÿ›  Fix #3966: KubernetesMockServer has new methods - unsupported and reset - to control what apis are unsupported and to reset its state
    • ๐Ÿ›  Fix #4112: Added TtyExecErrorable.terminateOnError to produce an exceptional outcome to the exitCode when a message is seen on stdErr
    • ๐Ÿ›  Fix #3854: Camel-K: Missing method for manipulating KameletBindings
    • ๐Ÿ›  Fix #4117: Created new kubernetes-junit-jupiter module, adds a JUnit5 extension for Kubernetes
    • ๐Ÿ›  Fix #4180: Created a new kubernetes-httpclient-jetty module with an HttpClient implementation based on Eclipse Jetty

    Note: Breaking changes in the API

    ๐Ÿ‘€ Please see the [migration guide](doc/MIGRATION-v6.md)

  • v5.12.4 Changes

    September 30, 2022

    ๐Ÿ› Bugs

    • ๐Ÿ›  Fix #2271: Support periodic refresh of access tokens before they expire
    • ๐Ÿ›  Fix #3733: The authentication command from the .kube/config won't be discarded if no arguments are specified
    • ๐Ÿ›  Fix #4206: KubernetesDeserializer can now handle any valid object. If the object lacks type information, it will be deserialized as a GenericKubernetesResource.
    • ๐Ÿ›  Fix #4365: backport of stopped future for informers to obtain the termination exception
    • ๐Ÿ›  Fix #4383: bump snakeyaml from 1.28 to 1.33
    • ๐Ÿ›  Fix #4442: TokenRefreshInterceptor doesn't overwrite existing OAuth token with empty string

    Note: Behavior changes

    • ๐Ÿ›  Fix #4206: The Serialization utility class will throw an Exception, instead of returning null, if an untyped unmarshall method is used on something that lacks type information
  • v5.12.3 Changes

    July 27, 2022

    ๐Ÿ› Bugs

    • ๐Ÿ›  Fix #3969: relist will not trigger sync events
    • ๐Ÿ›  Fix #4049: properly populate exception metadata with resource information if available
    • ๐Ÿ›  Fix #4222: backport of #4082 - to not process events until the cache is complete
    • ๐Ÿ›  Fix #4246: KubernetesClientException is swallowed in LeaderElector
    • ๐Ÿ›  Fix #4295: Configure SnakeYaml to ignore converting timestamps to Date objects
  • v5.12.2 Changes

    April 06, 2022

    ๐Ÿ› Bugs

    • ๐Ÿ›  Fix #3582: SSL truststore can be loaded in FIPS enabled environments
    • ๐Ÿ›  Fix #3797: Implement SchemaSwap; generate CRD from model not owned
    • ๐Ÿ›  Fix #3811: Reintroduce Replaceable interface in NonNamespaceOperation
    • ๐Ÿ›  Fix #3818: adding missing throws to launderThrowable
    • ๐Ÿ›  Fix #3848: Supports Queue (cluster) API for Volcano extension
    • ๐Ÿ›  Fix #3859: refined how a deserialization class is chosen to not confuse types with the same kind
    • ๐Ÿ›  Fix #3880: Synchronize access to map in KubernetesCrudDispatcher
    • ๐Ÿ›  Fix #3936: Kubernetes Mock Server .metadata.generation field is an integer
    • ๐Ÿ›  Fix #3957: Lister onOpen should be called before marking the connection as open
    • ๐Ÿ›  Fix #4022: Reintroduce Deletable interface in NonNamespaceOperation
    • ๐Ÿ›  Fix #4009: updating readiness to consider 0 replicas

    Note:

    • Config#autoConfigure(String context): Has been changed to only trigger the autoConfigure method once. Previously, providing a wrong context argument would not be a problem since an initial context-less autoConfigure would have already been invoked to provide a valid initial Config.
  • v5.12.1 Changes

    February 04, 2022

    ๐Ÿ› Bugs

    • ๐Ÿ›  Fix #3786: Deserialize WatchEvents using the specific object type
    • ๐Ÿ›  Fix #3776: VerticalPodAutoscaler cannot load yaml with "controlledResources"
    • ๐Ÿ›  Fix #3796: Limit usage of YAML Serializer
    • ๐Ÿ›  Fix #3772: edit() should not be allowed as a NonNamespaceOperation
    • ๐Ÿ›  Fix #3477: Handle exit code status messages with pod uploads

    Note:

    • Config#autoConfigure(String context): Has been changed to only trigger the autoConfigure method once. Previously, providing a wrong context argument would not be a problem since an initial context-less autoConfigure would have already been invoked to provide a valid initial Config.
  • v5.12.0 Changes

    January 24, 2022

    ๐Ÿ› Bugs

    • ๐Ÿ›  Fix #3683: Handle JsonNode fields by adding x-kubernetes-preserve-unknown-fields
    • ๐Ÿ›  Fix #3697: addresses response that aren't closed by interceptors that issue new requests
    • ๐Ÿ›  Fix #3255: adding basic crud mock resourceVersion support - the field will be set and updated, but not utilized by list/watch queries
    • ๐Ÿ›  Fix #3568: Pod file upload fails if the path is /
    • ๐Ÿ›  Fix #3588: openshift-server-mock is not listed in dependencyManagement in main pom
    • ๐Ÿ›  Fix #3648: Serialization.unmarshal fails to deserialize YAML with single document in presence of document delimiter(---)
    • ๐Ÿ›  Fix #3679: output additionalProperties field with correct value type for map-like fields (CRD Generator)
    • ๐Ÿ›  Fix #3671: HTTP(s) Proxy port is not defaulted or validated
    • ๐Ÿ›  Fix #3712: properly return the full resource name for resources with empty group
    • ๐Ÿ›  Fix #3761: Extension Jar packages don't contain the META-INF/jandex.idx index file
    • ๐Ÿ›  Fix #3763: A Java Long should generate a field of type integer in the CRD
    • ๐Ÿ›  Fix #3769: Fix for ClassCastException from SchemaFrom
    • ๐Ÿ›  Fix #3756 prevent modifications by standard operations to user objects

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ›  Fix #3674: allows the connect and websocket timeouts to apply to watches instead of a hardcoded timeout
    • ๐Ÿ›  Fix #3651: Introduce SchemaFrom annotation as escape hatch (CRD Generator)
    • ๐Ÿ›  Fix #3587: adding inform support for limit/batch fetching
    • ๐Ÿ›  Fix #3734: extract static finalizer validation method

    โฌ†๏ธ Dependency Upgrade

    • ๐Ÿ›  Fix #3637: Update Fabric8 Kubernetes Model to v1.23.0
    • ๐Ÿ›  Fix #3670: Point CamelK Extension model to latest released version v1.7.0
    • ๐Ÿ›  Fix #3725: Bump sundrio to v0.50.3

    ๐Ÿ†• New Features

    • ๐Ÿ›  Fix #3721: Add support for uploading file via InputStream
    • ๐Ÿ›  Fix #3234: Allow specifying specific localhost while port-forwarding
    • ๐Ÿ›  Fix #3506: Add support for Open Cluster Management extension