From a90cdc0de4a9927f085ec0d1026a1b7d13ad8d20 Mon Sep 17 00:00:00 2001 From: Iskandar Abudiab Date: Sat, 4 Sep 2021 18:25:29 +0200 Subject: [PATCH] Update Readme and Changelog --- CHANGELOG.md | 14 ++++++++++++++ README.md | 27 ++++++++++++++------------- 2 files changed, 28 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2915f6f..1b384fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.10.0 + +### 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 + ## 0.9.0 - Add supported platforms for Swift package diff --git a/README.md b/README.md index 7d03a19..2693627 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@

- - Kubernetes 1.18.13 + + Kubernetes 1.20.9 Swift Package Manager @@ -35,7 +35,7 @@ Swift client for talking to a [Kubernetes](http://kubernetes.io/) cluster via a fluent DSL based on [SwiftNIO](https://github.com/apple/swift-nio) and the [AysncHTTPClient](https://github.com/swift-server/async-http-client). -- [x] Covers all Kubernetes API Groups in v1.19.8 +- [x] Covers all Kubernetes API Groups in v1.20.9 - [x] Automatic configuration discovery - [x] DSL style API - [x] For all API Groups/Versions @@ -48,8 +48,8 @@ Swift client for talking to a [Kubernetes](http://kubernetes.io/) cluster via a - [x] List Options - [x] Delete Options - [ ] PATCH API -- [ ] `/scale` API -- [ ] `/status` API +- [x] `/scale` API +- [x] `/status` API - [x] Resource watch support - [x] Follow pod logs support - [x] Discovery API @@ -61,12 +61,13 @@ Swift client for talking to a [Kubernetes](http://kubernetes.io/) cluster via a ## Compatibility Matrix -| | <1.18.9 | 1.18.9 - 1.18.13 | 1.19.8 | -|---------------------------|---------|------------------|--------| -| SwiftkubeClient 0.6.x | - | ✓ |- | -| SwiftkubeClient 0.7.x | - | - |✓ | -| SwiftkubeClient 0.8.x | - | - |✓ | -| SwiftkubeClient 0.9.x | - | - |✓ | +| | <1.18.9 | 1.18.9 - 1.18.13 | 1.19.8 |1.20.9| +|---------------------------|---------|------------------|--------|--------| +| SwiftkubeClient 0.6.x | - | ✓ | - | - | +| SwiftkubeClient 0.7.x | - | - | ✓ | - | +| SwiftkubeClient 0.8.x | - | - | ✓ | - | +| SwiftkubeClient 0.9.x | - | - | ✓ | - | +| SwiftkubeClient 0.10.x | - | - | - | ✓ | - `✓` Exact match of API objects in both client and the Kubernetes version. - `-` API objects mismatches either due to the removal of old API or the addition of new API. However, everything the client and Kubernetes have in common will work. @@ -429,7 +430,7 @@ app.get("metrics") { request -> EventLoopFuture in To use the `SwiftkubeModel` in a SwiftPM project, add the following line to the dependencies in your `Package.swift` file: ```swift -.package(name: "SwiftkubeClient", url: "https://github.com/swiftkube/client.git", from: "0.9.0"), +.package(name: "SwiftkubeClient", url: "https://github.com/swiftkube/client.git", from: "0.10.0"), ``` then include it as a dependency in your target: @@ -440,7 +441,7 @@ import PackageDescription let package = Package( // ... dependencies: [ - .package(name: "SwiftkubeClient", url: "https://github.com/swiftkube/client.git", from: "0.9.0") + .package(name: "SwiftkubeClient", url: "https://github.com/swiftkube/client.git", from: "0.10.0") ], targets: [ .target(name: "", dependencies: [