Skip to content

Releases: swiftkube/client

SwiftkubeClient 0.23.0

14 Apr 18:41
b049bbc
Compare
Choose a tag to compare
  • Update to Kubernetes model v1.32.2
  • Add client support for proxy URLs (#43 by @ewilken)
  • Add client support for gzipped server responses (#43 by @ewilken)
  • Add an optional tailLines parameter to the log request to be able to limit the number of lines requested from the server (#43 by @ewilken)
  • Fix a bug on RequestBuilder where a path was overwritten where it should have been appended (#43 by @ewilken)
    • This became apparent with users using Rancher, where the base path already had a / in it
  • Add a doesNotExist variant to LabelSelectorRequirement, akin to the upstream "DoesNotExist" variant on selectors (#43 by @ewilken)
  • Add the upstream installHint, provideClusterInfo and interactiveMode fields to ExecConfig (#43 by @ewilken)
  • Make ExecCredential public too able to base custom exec implementations on top of it (#43 by @ewilken)
  • Add public initializers to Cluster and AuthInfo (#43 by @ewilken)
  • Make Cluster, AuthInfo, AuthProviderConfig, ExecConfig and ExecEnvVar conform to Hashable and Equatable (#43 by @ewilken)

SwiftkubeClient 0.22.0

06 Mar 21:34
c497cd1
Compare
Choose a tag to compare

0.22.0

  • Make immutable and non-mutating client properties nonisolated

SwiftkubeClient 0.21.0

04 Mar 21:58
75032c9
Compare
Choose a tag to compare

0.21.0

  • Make client implementations actors
  • Mark synchronous shutdown methods as nonisolated
  • Make API-Groups protocols and implementations as Sendable

SwiftkubeClient 0.20.0

23 Feb 21:13
77cf7fe
Compare
Choose a tag to compare

0.20.0

  • Mark configuration structs as Sendable
  • Mark NamespaceSelector, LabelSelectorRequirement, FieldSelectorRequirement as Sendable
  • Mark ListOption and ReadOptions as Sendable
  • Make client's watch and follow functions asynchronous

SwiftkubeClient 0.19.0

19 Feb 19:37
89dbec8
Compare
Choose a tag to compare

0.19.0

New

  • Update to Kubernetes model v1.32.0
  • Update dependencies:
    • Async HTTP Client 1.24.2
    • Kubernetes 1.32.0
    • SwiftkubeModel 0.16.0
    • SwiftNIO 2.80.0
    • SwiftLog 1.6.2
    • SwiftMetrics 2.5.1
    • Yams 5.1.3
  • Add function to create KubernetesClientConfig from string #41
  • Add support for Swift 6 and strict concurrency

Breaking Change

  • Raise minimum Swift version to 5.9
  • Raise minimum supported platform versions
    • macOS 12, iOS 15, tvOs 15, watchOS 8
  • KubernetesResources is Sendable now
    • Any CRDs conforming to KubernetesResources must be Sendable
  • SwiftkubeClientTask is an actor now and all its public methods are async
    • Previous calls to task.start() must be changed to await task.start()

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