Skip to content

Commit ea691b7

Browse files
committed
Update Readme and Changelog
1 parent 0574b56 commit ea691b7

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## 0.5.0
4+
5+
### New
6+
7+
- Add metrics support for gathering request latencies and counts
8+
- Support `ListOptions` in watch call
9+
- Add `watch` and `follow` API that accept a `RecourceWatch` or `LogWatch` instance
10+
- Add an `errorHandler` closure to `ResourceWatch` and `LogWatch`
11+
- Make Selectors (`NamespaceSelector`, `LabelSelector` etc.) Hashable
12+
13+
### API Changes
14+
15+
- Replace implicit client shutdown on deinit with explicit `syncShutdow`
16+
- Expose `ResourceWatch` and `LogWatch` classes for extension
17+
318
## 0.4.0
419

520
### New

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ app.get("metrics") { request -> EventLoopFuture<String> in
349349
To use the `SwiftkubeModel` in a SwiftPM project, add the following line to the dependencies in your `Package.swift` file:
350350

351351
```swift
352-
.package(name: "SwiftkubeClient", url: "https://github.com/swiftkube/client.git", from: "0.4.0"),
352+
.package(name: "SwiftkubeClient", url: "https://github.com/swiftkube/client.git", from: "0.5.0"),
353353
```
354354

355355
then include it as a dependency in your target:
@@ -360,7 +360,7 @@ import PackageDescription
360360
let package = Package(
361361
// ...
362362
dependencies: [
363-
.package(name: "SwiftkubeClient", url: "https://github.com/swiftkube/client.git", from: "0.4.0")
363+
.package(name: "SwiftkubeClient", url: "https://github.com/swiftkube/client.git", from: "0.5.0")
364364
],
365365
targets: [
366366
.target(name: "<your-target>", dependencies: [

0 commit comments

Comments
 (0)