Skip to content

6.8.0 (2023-07-24)

Compare
Choose a tag to compare
@manusa manusa released this 24 Jul 09:55
· 451 commits to main since this release

Bugs

  • Fix #4225: [crd-generator] Principled generation of enum values instead of considering more properties
  • Fix #5113: Clashing package names in trigger model dependencies
  • Fix #5186: Support for Pod uploads with big numbers
  • Fix #5221: Empty kube config file causes NPE
  • Fix #5281: Ensure the KubernetesCrudDispatcher's backing map is accessed w/lock
  • Fix #5298: Prevent requests needing authentication from causing a 403 response
  • Fix #5327: Ensured that the informer reconnect task terminates after client close

Improvements

  • Fix #5166: Remove opinionated messages from Config's errorMessages and deprecate it
  • Fix #5233: Generalized SchemaSwap to allow for cycle expansion
  • Fix #5262: all built-in collections will omit empty in their serialized form.
  • Fix #5287: Add an option to filter the files processed by the java-generator, based on a suffix allowlist
  • Fix #5293: Mock server supports KubernetesClientBuilder customization
  • Fix #5315: Introduced kubernetes-junit-jupiter-autodetect to use with automatic extension registration
  • Fix #5339: @PrinterColumn annotation has configuration field for priority

Dependency Upgrade

  • Fix #5056: Update Kubernetes Model to v1.27.3
  • Fix #5140: Upgrade Fabric8 Knative Extension Model to v0.37.1
  • Fix #5308: sundrio was updated to the latest version. FluentImpl classes were removed, along with methods that had been previously deprecated. Some seldom used builder methods dealing manipulating buildable fields as a subtype such as withXXXField were removed in favor of using more general methods such as withField.

New Features

  • Fix #5133: Support for using TokenRequest for existing ServiceAccount

Note: Breaking changes

  • Fix #2718: KubernetesResourceUtil.isResourceReady was deprecated. Use client.resource(item).isReady() or Readiness.getInstance().isReady(item) instead.
  • Fix #5171: Removed Camel-K extension, use org.apache.camel.k:camel-k-crds instead.
  • Fix #5262: Built-in resources were in-consistent with respect to their serialization or empty collections. In many circumstances this was confusing behavior. In order to be consistent all built-in resources will omit empty collections by default. This is a breaking change if you are relying on an empty collection in a json merge or a strategic merge where the list has a patchStrategy of atomic. In these circumstances the empty collection will no longer be serialized. You may instead use a json patch, server side apply instead, or modify the serialized form of the patch.
  • Fix #5279: (java-generator) Add native support for date-time fields, they are now mapped to native java.time.ZonedDateTime
  • Fix #5315: kubernetes-junit-jupiter no longer registers the NamespaceExtension and KubernetesExtension extensions to be used in combination with junit-platform.properties>junit.jupiter.extensions.autodetection.enabled=trueconfiguration. If you wish to use these extensions and autodetect them, change your dependency to kubernetes-junit-jupiter-autodetect.
  • Deprecating io.fabric8.kubernetes.model.annotation.PrinterColumn in favor of: io.fabric8.crd.generator.annotation.PrinterColumn
  • Resource classes in resource.k8s.io/v1alpha1 have been moved to resource.k8s.io/v1alpha2 apiGroup in Kubernetes 1.27. Users are required to change package of the following classes:
    • io.fabric8.kubernetes.api.model.resource.v1alpha1.PodSchedulingContext -> - io.fabric8.kubernetes.api.model.resource.v1alpha2.PodSchedulingContext
    • io.fabric8.kubernetes.api.model.resource.v1alpha1.ResourceClaim -> - io.fabric8.kubernetes.api.model.resource.v1alpha2.ResourceClaim
    • io.fabric8.kubernetes.api.model.resource.v1alpha1.ResourceClaimTemplate -> io.fabric8.kubernetes.api.model.resource.v1alpha2.ResourceClaimTemplate
    • io.fabric8.kubernetes.api.model.resource.v1alpha1.ResourceClass -> io.fabric8.kubernetes.api.model.resource.v1alpha2.ResourceClass

New Contributors

Full Changelog: v6.7.2...v6.8.0