Skip to content

Releases: swiftkube/client

SwiftkubeClient 0.18.0

01 Jul 19:49
42ced33
Compare
Choose a tag to compare

0.18.0

New

  • Update to Kubernetes model v1.29.6
  • Update dependencies:
    • Async HTTP Client 1.21.2
    • Kubernetes 1.29.6
    • SwiftkubeModel 0.14.0
    • SwiftNIO 2.67.0
    • SwiftLog 1.6.1
    • SwiftMetrics 2.5.0
    • Yams 5.1.2

Fixes

  • Set hard limit for maximum amount of bytes to collect in RequestHandler #40

Breaking Change

  • Raise minimum Swift version to 5.8
    • This aligns supported Swift versions with rest of the ecosystem

SwiftkubeClient 0.17.0

05 Nov 19:35
2787e28
Compare
Choose a tag to compare

0.17.0

Updates

Update dependencies:

  • Async HTTP Client 1.19.0
  • Kubernetes 1.28.3
  • SwiftkubeModel 0.13.0
  • SwiftNIO 2.61.0

SwiftkubeClient 0.16.0

04 Sep 21:56
34744d2
Compare
Choose a tag to compare

New

  • Update to Kubernetes model v1.28.0
  • Add support for exec kube config #29 by @portellaa

Fixes

SwiftkubeClient 0.15.0

04 Jun 17:11
73bec95
Compare
Choose a tag to compare

New

  • Update to Kubernetes model v1.26.4
  • Add support for resourceVersion in streaming task

Fixes

  • Set the default response body buffer size for requests returning String to 10MB #30 by @ewilken
  • Fix streaming issues when watching resources with small payloads #31

Breaking Changes

  • Drop support for Swift 5.5

SwiftkubeClient 0.14.0

11 Feb 23:34
c81dd0f
Compare
Choose a tag to compare

New

  • Update to Kubernetes model v1.24.10

Fixes

  • Fix decoding error when deleting a service #27

Breaking Changes

  • SwiftkubeModel 0.8.0 makes all KubernetesResources Hashable #28

SwiftkubeClient v0.13.0

28 Jan 23:46
9b84281
Compare
Choose a tag to compare

New

  • Use structured concurrency instead of EventLoops for watching resources #25

Fixes

  • Fix client crash in GenericKubernetesClient.prepareDecoder due to decoder instance being shared #24

Breaking Changes

  • Drop AnyKubernetesAPIResource in favour of UnstructuredResource
  • The generic client for a given GroupVersionResource uses UnstructuredResource for unknown types:
    • KubernetesClient/`for`(gvr:) -> GenericKubernetesClient<AnyKubernetesAPIResource> is replaced with:
    • KubernetesClient/`for`(gvr:) -> GenericKubernetesClient<UnstructuredResource>
  • The SwiftkubeClientTask returned by the watch and follow API must be started explicitly
  • The SwiftkubeClientTask returns an AsyncThrowingStream instead of using a callback delegate

SwfitkubeClient v0.12.0

15 Jan 23:07
6809c6a
Compare
Choose a tag to compare

New

  • Update to Kubernetes model v1.24.8
  • Update dependencies
    • Async HTTP Client 1.13.1
    • SwiftkubeModel 0.6.0
    • SwiftLog 1.4.4
    • SwiftMetrics 2.3.3
    • SwiftNIO 2.46.0
    • Yams 5.0.1
  • Update k3s docker image to k3s:v1.24.8-k3s1
  • Add configurable timeout and redirect config for the underlying HTTPClient by @octo47
  • Update documentation comments

Breaking Changes

  • Raise minimum supported Swift version to 5.5
  • Replace EventLoops with async/await style API

SwiftkubeClient v0.11.0

13 Jun 00:36
295785b
Compare
Choose a tag to compare

New

  • Update to Kubernetes model v1.22.7
  • Add option to retrieve logs once without watching / streaming (#14) by @thomashorrobin
  • Add discovery API to load server resources
  • Use SwiftkubeModel v0.5.0
  • Refactor client to use GroupVersionResource instead of GroupVersionKind for resource type resolution
  • Support creating a parametrised generic client given a GroupVersionResource
  • Make GenericKubernetesClient extensions public
  • Update k3s docker image to k3s:v1.22.7-k3s1

Fixes

  • Typo in property name for storage.v1 API Group (#11) by @portellaa
  • Add explicit dependency on NIO (#12) by @t089

SwiftkubeClient 0.10.0

04 Sep 16:26
a90cdc0
Compare
Choose a tag to compare

New

  • Update to Kubernetes model v1.20.9
  • Add LocalFileConfigLoader for loading KubeConfigs from a local file given a URL #8 by @thomashorrobin
  • Add support for scale and status API
  • Setup CI with live K3d cluster and add several tests against it

Bug Fixes

  • Add missing support for continue token in ListOption for retrieving subsequent list results #9
  • Track dependency on SwiftkubeModel up-to-next minor instead of major #10

SwiftkubeClient 0.9.0

10 May 20:31
afb37d7
Compare
Choose a tag to compare
  • Add supported platforms for Swift package
  • Add CI for iOS build