Skip to content

Releases: swiftkube/client

SwiftkubeClient v0.8.0

11 Apr 20:46
6f8aae4
Compare
Choose a tag to compare

New

  • DSL for all API Groups/Versions

SwiftkubeClient v0.7.0

15 Mar 20:51
788ae11
Compare
Choose a tag to compare

New

  • Update to Kubernetes model v1.19.8
  • Discovery for server API groups and versions

SwiftkubeClient v0.6.1

11 Feb 18:38
fb078c2
Compare
Choose a tag to compare

Bug Fixes

  • Fix SwiftkubeClientTask cancelling

SwiftkubeClient v0.6.0

11 Feb 15:41
311e8ce
Compare
Choose a tag to compare

New

  • Implement asynchronous shutdown
  • Implement reconnect handling for watch and follow API requests
  • Introduce ResourceWatcherDelegate and LogWatcherDelegate protocols

API Changes

  • Changed signature of watch and follow APIs
  • Replace ResourceWatch and LogWatch with new protocols
  • The follow and watch functions return a cancellable SwiftkubeClientTask instance insteaf of HTTPClient.Task<Void>

SwiftkubeClient v0.5.0

01 Feb 20:08
ea691b7
Compare
Choose a tag to compare

New

  • Add metrics support for gathering request latencies and counts
  • Support ListOptions in watch call
  • Add watch and follow API that accept a RecourceWatch or LogWatch instance
  • Add an errorHandler closure to ResourceWatch and LogWatch
  • Make Selectors (NamespaceSelector, LabelSelector etc.) Hashable

API Changes

  • Replace implicit client shutdown on deinit with explicit syncShutdow
  • Expose ResourceWatch and LogWatch classes for extension

SwiftkubeClient v0.4.0

09 Jan 21:21
b134d2e
Compare
Choose a tag to compare

New

  • Add SwiftFormat config and format code base accordingly
  • Add support for ReadOptions

Bug Fixes

  • Fix massive memory leak by breaking retain cycle between the JSONDecoder and DateFormatters #4 by @t089

SwiftkubeClient v0.3.2

28 Dec 14:56
973e872
Compare
Choose a tag to compare
  • Change personal copyright to Swiftkube Project
  • Make KubernetesClientConfig initializer public #3

SwitkubeClient v0.3.1

13 Dec 11:56
1b92e1b
Compare
Choose a tag to compare
  • Update to Kubernetes model v1.18.13
    • No model changes between 1.18.9 and 1.18.13. This release is to track the update explicitly via a version bump.

SwiftkubeClient v0.3.0

27 Nov 23:03
b00edf1
Compare
Choose a tag to compare

New

  • Add support for DeleteOptions

Bug Fixes

  • Can not create resources because of "Resource metadata.name must be set" error #2

SwiftkubeClient v0.2.0

27 Nov 00:17
ab740f6
Compare
Choose a tag to compare

New

  • Add support for ListOptions
  • Add core.v1.Pod status read and update API

Bug Fixes

  • KubernetesClient can't create x509 authentication from local kubeconfig's certificate data and key #1

API Changes

  • Initializers of GenericKubernetesClients are no longer public
  • Function signature change:
    • from watch(in:watch:) throws -> EventLoopFuture<Void>
    • to watch(in:using:) throws -> HTTPClient.Task<Void>
  • Function signature change:
    • fromfollow(in:name:container:watch:) throws -> HTTPClient.Task<Void>
    • to follow(in:name:container:using:) throws -> HTTPClient.Task<Void>