Skip to content

Releases: fabric8io/kubernetes-client

6.13.1 (2024-07-02)

02 Jul 09:44
33181b8
Compare
Choose a tag to compare

Bugs

  • Fix #6059: Swallow rejected execution from internal usage of the informer executor
  • Fix #6068: KubernetesMockServer provides incomplete Configuration while creating test Config for KubernetesClient
  • Fix #6085: model getters have same annotations as fields (breaks native)

Full Changelog: v6.13.0...v6.13.1

6.13.0 (2024-05-29)

29 May 10:26
91c7f77
Compare
Choose a tag to compare

Bugs

  • Fix #5866: Addressed cycle in crd generation with Java 19+ and ZonedDateTime
  • Fix #5960: The serialization of time related types should be string

Improvements

  • Fix #5605: proxy configs support proxy URLs without a scheme
  • Fix #5867: (crd-generator) Imply schemaFrom via JsonFormat shape (SchemaFrom takes precedence)
  • Fix #5867: (java-generator) Add JsonFormat shape to date-time
  • Fix #5878: (java-generator) Add implements Editable for extraAnnotations
  • Fix #5878: (java-generator) Update documentation to include dependencies
  • Fix #5953: Made informer watch starting deterministic with respect to list processing
  • Fix #5954: (crd-generator) Sort required properties to ensure deterministic output
  • Fix #5973: CacheImpl locking for reading indexes (Cache.byIndex|indexKeys|index) was reduced
  • Fix #6012: Add convenience methods on HasMetadata to help with SSA

Dependency Upgrade

  • Fix #5695: Upgrade Fabric8 Kubernetes Model to Kubernetes v1.30.0

Note: Breaking changes

  • Fix #5947: CRD generation using the v1beta1 version is deprecated. Please use only v1 instead.
  • Fix #5960: The KubernetesSerializer will now by default serialize time related types to strings - rather than object, integer, number, or arrays of integer / number. If you are using these types in a custom object and were not including JsonFormat annotations to adjust the serialization they were likely being serialized in a non-standard way that would not be usable other Kubernetes clients, nor match the generated custom resource definition if one was being produced. Please open an issue if you need the previous behavior for whatever reason - there is a workaround by creating a customized KubernetesSerializer.
  • storagemigration.k8s.io/v1alpha1 StorageVersionMigration introduced in Kubernetes 1.30.0 is added to kubernetes-model-storageclass module. A dedicated module hasn't been created for this new ApiGroup.
  • Fix #6006: Service Catalog extension is deprecated following its deprecation in Kubernetes.

New Contributors

Full Changelog: v6.12.1...v6.13.0

6.12.1 (2024-04-18)

18 Apr 13:16
e4ddf55
Compare
Choose a tag to compare

Bugs

  • Fix #5880: OpenID Connect token refreshed in loaded Config
  • Fix #5911: (crd-generator) Improve error message for detected cycles
  • Fix #5898: Kube API module resolvable from Maven Central

New Contributors

Full Changelog: v6.12.0...v6.12.1

6.12.0 (2024-04-12)

12 Apr 11:50
640a4f9
Compare
Choose a tag to compare

Bugs

  • Fix #5845: (crd-generator) Fail generating if multiple versions are marked as stored
  • Fix #5847: Missing Log4j2Plugins.dat descriptor in Kubernetes Lookup
  • Fix #5853: (java-generator) Gracefully handle colliding enum definitions
  • Fix #5860: Corrections to java-generator gradle plugin extension
  • Fix #5817: NPE on EKS OIDC cluster when token needs to be refreshed

Improvements

  • Fix #5843: Support existingJavaTypes extension in java-generator

6.11.0 (2024-03-25)

25 Mar 14:01
81711c1
Compare
Choose a tag to compare

Bugs

  • Fix #5729: ensure that kind is set for generic resource lists
  • Fix #3032: JUnit5 Kubernetes Extension works with Nested tests
  • Fix #5759: Don't annotate KubeSchema and ValidationSchema classes
  • Fix #5781: Use UTF-8 for basic authentication
  • Fix #5508: (crd-generator) Ensure deterministic ordering of CustomResourceDefinitionVersions

Improvements

  • Fix #5701: Owner reference validity check regarding scope and namespace
  • Fix #5353: added KubernetesClientBuilder.editOrNewConfig
  • Fix #5357: adding additional Quantity methods
  • Fix #5635: refined LeaderElector lifecycle and logging
  • Fix #5787: (crd-generator) add support for deprecated versions for generated CRDs
  • Fix #5788: (crd-generator) add support for Kubernetes validation rules
  • Fix #5735: Replace usages of UUID.randomUUID() with UUID created via AtomicLong

New Features

  • Fix #5636: Add new extension open-virtual-networking to manage resources in k8s.ovn.org/v1 API group.
  • Fix #5711: Kube API Test - Kubernetes API Server JUnit Test Support
  • Fix #5772: Add openshift model io.fabric8.openshift.api.model.DeploymentConfigRollback
  • Fix #5718: Add a kubernetes-log4j module to lookup Kubernetes attributes in a Log4j Core configuration.

Note: Breaking changes

  • KubeSchema and Validation Schema generated classes are no longer annotated with Jackson, Lombok, and Sundrio annotations.
    This implies that builders will no longer be generated for these classes and that they won't have special deserialization/serialization behavior.

New Contributors

Full Changelog: v6.10.0...v6.11.0

6.10.0 (2024-01-10)

10 Jan 13:12
Compare
Choose a tag to compare

Bugs

  • Fix #5527: Unable to transfer file to pod if /tmp is read-only
  • Fix #5580: (java-generator) Correctly handle defaults for IntOrString types
  • Fix #5584: Fix CRD generation when EnumMap is used
  • Fix #5626: Prevent memory accumulation from informer usage
  • Fix #5656: Enable EC private key usage for mTLS auth
  • Fix #5694: ExecCredential doesn't fail with unsupported command output

Improvements

  • Fix #5429: moved crd generator annotations to generator-annotations instead of crd-generator-api. Using generator-annotations introduces no transitive dependencies.
  • Fix #5496: Added PodResource.patchReadinessGateStatus and a general subresource method to use any of the patch/edit/update methods with any subresource
  • Fix #5535: Add lombok and sundrio dependencies to the generated bom

Dependency Upgrade

  • Fix #5485: Updated okio to version 1.17.6 to avoid CVE-2023-3635
  • Fix #5643: Updated Kubernetes Model to Kubernetes v1.29.0
  • Fix #5673: Updated sigs.k8s.io/gateway-api go dependency to v1.0.0
  • Fix #5691: Updated github.com/cert-manager/cert-manager to latest available version (v1.14.0-alpha.0.0.20240105200543-3234974a3865)

New Features

  • Fix #5608 Support authentication with certificate in exec-credentials

Note: Breaking changes

  • Deleted resources in Kubernetes 1.29.0 flowcontrol.apiserver.k8s.io/v1alpha1, please migrate to flowcontrol.apiserver.k8s.io/v1 resources (available via client.flowControl().v1() DSL)
    • io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1.FlowSchema removed
    • io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1.PriorityLevelConfiguration removed
  • ClusterCIDR has been removed from Kubernetes 1.29.0 Networking Model
    • io.fabric8.kubernetes.api.model.networking.v1alpha1.ClusterCIDR removed
    • DSL entrypoint client.network().v1alpha1().clusterCIDRs() has been removed from KubernetesClient

6.9.2 (2023-11-02)

02 Nov 14:14
b8b4ca8
Compare
Choose a tag to compare

Bugs

  • Fix #5560: bump com.marcnuri.plugins:gradle-api-maven-plugin to v0.0.5, allows compilation behind a proxy
  • Fix #5564: remove redundant lombok.Setter and lombok.experimental.Accessors annotations
  • Fix #5565: bump sundrio to 0.101.3 to fix Visitor problems

New Contributors

Full Changelog: v6.9.1...v6.9.2

6.9.1 (2023-10-26)

26 Oct 16:28
0926f38
Compare
Choose a tag to compare

What's Changed

Bugs

  • Fix #5501: (crd-generator) Fix fallback value of Default annotation in presence of multiple accessors
  • Fix #5522: type inference fixed by bumping Sundrio to 0.101.2 (see sundrio/sundrio#431)
  • Fix #5554: move certificates in kubernetes-client-api to avoid collisions with those from mockwebserver

Full Changelog: v6.9.0...v6.9.1

6.9.0 (2023-10-05)

05 Oct 16:35
b8c00eb
Compare
Choose a tag to compare

Bugs

  • Fix #5466: OperationSupport should not fail trying to parse Status
  • Fix #5382: (java-generator) Allow to deserialize more valid RFC3339 date-time and make the format customizable
  • Fix #5380: (java-generator) Avoid to emit Java Keywords as package names
  • Fix #5457: (java-generator) Correctly handle numeric enums
  • Fix #5379: ensuring informOnCondition and waitUntilCondition commple with exception when the client closes
  • Fix #5463: ensures that onStopLeading is called with releaseOnCancel even when leadership is already lost
  • Fix #5423: OkHttpClientImpl supports setting request method for empty payload requests

Improvements

  • Fix #5316: support read-only system KeyStores with Kube CA Certs
  • Fix #5327: added proactive shutdown of informers on client close
  • Fix #5432: (java-generator) Add the possibility to always emit additionalProperties on generated POJOs
  • Fix #5410: (crd-generator) added support for default
  • Fix #5368: added support for additional ListOptions fields
  • Fix #5377: added a createOr and unlock function to provide a straight-forward replacement for createOrReplace.
  • Fix #4624: added Config.onlyHttpWatches to control whether watches should only use regular HTTP requests, and not attempt WebSocket connections.
  • Fix #5388: (crd-generator) Generate deterministic CRDs
  • Fix #5135: added per instance methods to create a builder - instead on new PodBuilder(pod), you may use pod.toBuilder()
  • Fix #5257: Add ErrorStreamMessage and StatusStreamMessage to ease mocking of pods/exec requests
  • Fix #5220: refinements and clarifications to the validation of names

Dependency Upgrade

  • Fix #5286: Update Fabric8 OpenShift Model as per OpenShift 4.13.12
  • Fix #5373: Gradle base API based on v8.2.1
  • Fix #5401: Upgrade Fabric8 Kubernetes Model to Kubernetes v1.28.2

New Features

  • Fix #5430: Mock Web Server migrated to this repository

Note: Breaking changes

  • Fix #5343: Removed io.fabric8.kubernetes.model.annotation.PrinterColumn, use io.fabric8.crd.generator.annotation.PrinterColumn
  • Fix #5368: ListOptions parameter ordering is now alphabetical. If you are using non-crud mocking for lists with options, you may need to update your parameter order.
  • Fix #5391: Removed the vertx-uri-template dependency from the vertx client, if you need that for your application, then introduce your own dependency.
  • Fix #5220: KubernetesResourceUtil.isValidLabelOrAnnotation has been deprecated because the rules for labels and annotations are different

New Contributors

Full Changelog: v6.8.1...v6.9.0

6.8.1 (2023-08-14)

14 Aug 11:48
1cd1032
Compare
Choose a tag to compare

Bugs

  • Fix #5382: (java-generator) Allow to deserialize more valid RFC3339 date-time and make the format customizable
  • Fix #5380: (java-generator) Avoid to emit Java Keywords as package names

Full Changelog: v6.8.0...v6.8.1