Releases: fabric8io/kubernetes-client
Releases · fabric8io/kubernetes-client
6.13.3 (2024-08-13)
6.13.2 (2024-08-09)
Bugs
- Fix #6066: Added support for missing
v1.APIVersions
in KubernetesClient - Fix #6110: VolumeSource (and other file mode fields) in Octal are correctly interpreted
- Fix #6137:
ConfigBuilder.withAutoConfigure
is not working - Fix #6143: Expands the HTTP interceptor API to include a call back for failed connection attempts
- Fix #6197: JettyHttp client error handling improvements.
- Fix #6215: Suppressing rejected execution exception for port forwarder
- Fix #6212: Improved reliability of file upload to Pod
6.13.1 (2024-07-02)
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)
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)
6.12.0 (2024-04-12)
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)
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 ink8s.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
- @csviri made their first contribution in #5701
- @fvasco made their first contribution in #5700
- @jmarti44 made their first contribution in #5312
- @mluckam made their first contribution in #5772
- @baloo42 made their first contribution in #5787
- @jpraet made their first contribution in #5789
- @zwangsheng made their first contribution in #5806
- @ppkarwasz made their first contribution in #5718
Full Changelog: v6.10.0...v6.11.0
6.10.0 (2024-01-10)
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 toflowcontrol.apiserver.k8s.io/v1
resources (available viaclient.flowControl().v1()
DSL)io.fabric8.kubernetes.api.model.flowcontrol.v1alpha1.FlowSchema
removedio.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)
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
- @SamBarker made their first contribution in #5563
Full Changelog: v6.9.1...v6.9.2
6.9.1 (2023-10-26)
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