Releases: swiftkube/client
Releases · swiftkube/client
SwiftkubeClient 0.21.0
SwiftkubeClient 0.20.0
0.20.0
- Mark configuration structs as Sendable
- Mark
NamespaceSelector
,LabelSelectorRequirement
,FieldSelectorRequirement
as Sendable - Mark
ListOption
andReadOptions
as Sendable - Make client's
watch
andfollow
functions asynchronous
SwiftkubeClient 0.19.0
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
isSendable
now- Any CRDs conforming to
KubernetesResources
must beSendable
- Any CRDs conforming to
SwiftkubeClientTask
is an actor now and all its public methods are async- Previous calls to
task.start()
must be changed toawait task.start()
- Previous calls to
SwiftkubeClient 0.18.0
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
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
SwiftkubeClient 0.15.0
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
SwiftkubeClient v0.13.0
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
usesUnstructuredResource
for unknown types:KubernetesClient/`for`(gvr:) -> GenericKubernetesClient<AnyKubernetesAPIResource>
is replaced with:KubernetesClient/`for`(gvr:) -> GenericKubernetesClient<UnstructuredResource>
- The
SwiftkubeClientTask
returned by thewatch
andfollow
API must be started explicitly - The
SwiftkubeClientTask
returns anAsyncThrowingStream
instead of using a callback delegate
SwfitkubeClient v0.12.0
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
withasync/await
style API