Releases: fabric8io/kubernetes-client
Releases · fabric8io/kubernetes-client
7.0.1 (2024-12-18)
Bugs
- Fix #6709: VertxHttpClientFactory reuses the same Vertx instance for each VertxHttpClient instance
Full Changelog: v7.0.0...v7.0.1
7.0.0 (2024-12-03)
Bugs
- Fix #6038: Support for Gradle configuration cache
- Fix #6214: Java generator does not recognize fields in CRDs other than metadata, spec, and status
- Fix #6459: Pod log request sinceTime param correctly encoded
- Fix #6632: Mock server creationTimestamp and deletionTimestamp formatted consistently (ISO 8601)
- Fix #6654: (crd-generator) default values for CRD fields can be numeric or boolean
Improvements
- Fix #3069: (crd-generator) Add
@AdditionalPrinterColumn
to specify a printer column by JSON path. - Fix #6392: (crd-generator) Add
@AdditionalSelectableField
and@SelectableField
to specify selectable fields. - Fix #5836: (crd-generator) Add
@Size
annotation to limit the size of strings, lists/arrays or maps - Fix #5868: (crd-generator) Add
exlusiveMinimum
/exclusiveMaximum
support to@Min
and@Max
- Fix #5264: Remove deprecated
Config.errorMessages
field - Fix #6008: removing the optional dependency on bouncy castle
- Fix #6407: sundrio builder-annotations is not available via bom import
- Fix #6230: introduced Quantity.multiply(int) to allow for Quantity multiplication by an integer
- Fix #6281: use GitHub binary repo for Kube API Tests
- Fix #6282: Allow annotated types with Pattern, Min, and Max with Lists and Maps and CRD generation
- Fix #5480: Move
io.fabric8:zjsonpatch
to KubernetesClient project - Fix #6240: Support for multiple files listed in the KUBECONFIG env var
- Fix #6655: Support removing ResourceEventHandler for informers
Dependency Upgrade
- Fix #2632: Bumped OkHttp from 3.12.12 to 4.12.0
- Fix #5965: Bumped sundrio.version from 0.103.1 to 0.200.0
- Fix #6052: Removed dependency on no longer maintained com.github.mifmif:generex
- Fix #6676: Removed tests and examples from the BOM
New Features
- Fix #5719: io.fabric8:mockwebserver is now based on Vert.x
- Fix #5795: (crd-generator) Allow to configure categories
- Fix #5944: (crd-generator) Add CRD-Generator Maven Plugin
- Fix #5958: (crd-generator) Add CRD-Generator CLI Application
- Fix #6145: Introduced
io.fabric8:kubernetes-model-validator
module to validate Kubernetes resources - Fix #6150: Config uses
proxy-url
in kubeconfig's cluster configuration
Note: Breaking changes
- Check detailed migration documentation for breaking changes in 7.0.0
- Fix #4659: Removed
SupportTestingClient
interface - Fix #5264:
Config.errorMessages
has been removed. Please use Kubernetes status messages directly. - Fix #5351: Removed deprecated
io.fabric8:openshift-server-mock
artifact - Fix #6081: Moved Java baseline from 8 (1.8) to 11
- Fix #6138: Removed unused
io:fabric8:kubernetes-model
artifact - Fix #6140: withReadyWaitTimeout defaults to 0, which means no waiting
- Fix #6156: Removed deprecated extension
io:fabric8:service-catalog
- Fix #6158: Removed deprecated methods from
io.fabric8.kubernetes.client.utils.IOHelpers
class - Fix #6159: Removed deprecated
io.fabric8.kubernetes.client.utils.Utils.getPluralFromKind
method - Fix #6361: Renamed SettableBeanPropertyDelegate to SettableBeanPropertyDelegating
- Fix #6470: Switched default HTTP client from OkHttp to Vert.x (
kubernetes-httpclient-vertx
) - Fix #6603: Removed deprecated
io.fabric8.openshift.api.model.runtime.RawExtension
class - Fix #6605: Removed deprecated
ApiVersionUtil
classes in extension modules - Fix #6609: Removed deprecated
io.fabric8.crd.generator.CRDInfo.getVersion
method - Fix #6612: Removed deprecated
io.fabric8.kubernetes.client.Client.isAdaptable
method - Fix #6626: Removed deprecated methods from
io.fabric8.kubernetes.client.osgi.ManagedKubernetesClient
class - Fix #6627: Removed deprecated methods from
io.fabric8.kubernetes.client.CustomResource
class - Fix #6628: Removed deprecated
io.fabric8.kubernetes.client.CustomResourceList
class - Fix #6630: Removed deprecated
io.fabric8.kubernetes.client.utils.ReflectUtils
class - Fix #6455: (crd-generator) Changed format in
@PrinterColumn
to enum - Fix #6673: (crd-generator) Deprecation of CRD Generator v1
- Fix #6676: Removed tests and examples from the BOM
New Contributors
- @Sineaggi made their first contribution in #6038
- @fhussonnois made their first contribution in #6213
- @fxshlein made their first contribution in #6343
- @aswinayyolath made their first contribution in #6615
- @currantino made their first contribution in #6634
- @asharan2buff made their first contribution in #6633
- @emmanuel-ferdman made their first contribution in #6653
- @MichaelMorrisEst made their first contribution in #6457
Full Changelog: v6.13.4...v7.0.0
6.13.4 (2024-09-25)
Bugs
- Fix #6247: Support for proxy authentication from proxy URL user info
- Fix #6342: UnmatchedFieldTypeModule prevents certain jackson features from working
- Fix #6350: Allowing authenticated http proxy usage with Jetty, vertx, and JDK for https endpoints
- Fix #6354: Prevent deadlock in okhttp AsyncBody.cancel
- Fix #6366: Allow Retry-After header to be considered in retries
Full Changelog: v6.13.3...v6.13.4
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