Skip to content

Commit

Permalink
release 0.98.0
Browse files Browse the repository at this point in the history
  • Loading branch information
clux committed Dec 23, 2024
1 parent abcfed4 commit 3f122f9
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 22 deletions.
21 changes: 12 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
<!-- next-header -->
UNRELEASED
===================
* see https://github.com/kube-rs/kube/compare/0.97.0...main
* see https://github.com/kube-rs/kube/compare/0.98.0...main

0.98.0 / 2024-12-23
===================

[0.97.0](https://github.com/kube-rs/kube/releases/tag/0.97.0) / 2024-11-20
===================
Expand All @@ -14,22 +17,22 @@ UNRELEASED
## Highlights

- [`CustomResource`](https://docs.rs/kube/latest/kube/derive.CustomResource.html) derive added features for crd yaml output:
* selectable fields #1605 + #1610
* annotations and labels #1631
* selectable fields [#1605](https://github.com/kube-rs/kube/issues/1605) + [#1610](https://github.com/kube-rs/kube/issues/1610)
* annotations and labels [#1631](https://github.com/kube-rs/kube/issues/1631)
- Configuration edge cases:
* Avoid double installations of `aws-lc-rs` (rustls crypto) provider #1617
* Kubeconfig fix for `null` user; #1608
* Default runtime watcher backoff alignment with `client-go` #1603
* Avoid double installations of `aws-lc-rs` (rustls crypto) provider [#1617](https://github.com/kube-rs/kube/issues/1617)
* Kubeconfig fix for `null` user; [#1608](https://github.com/kube-rs/kube/issues/1608)
* Default runtime watcher backoff alignment with `client-go` [#1603](https://github.com/kube-rs/kube/issues/1603)
- Feature use:
* Client proxy feature-set misuse prevention #1626
* Allow disabling `gzip` via `Config` #1627
* Client proxy feature-set misuse prevention [#1626](https://github.com/kube-rs/kube/issues/1626)
* Allow disabling `gzip` via `Config` [#1627](https://github.com/kube-rs/kube/issues/1627)
- Depedency minors: `thiserror`, `hashbrown`, `jsonptr`, `json-patch`. Killed `lazy_static` / `once_cell`

## What's Changed
### Added
* Feature: Allow to pass selectableFields for CRD definition by @Danil-Grigorev in https://github.com/kube-rs/kube/pull/1605
* add support for CRD annotations and labels in kube-derive by @verokarhu in https://github.com/kube-rs/kube/pull/1631
* Feature: Add config setting to disable gzip compression #1627 by @markdingram in https://github.com/kube-rs/kube/pull/1628
* Feature: Add config setting to disable gzip compression [#1627](https://github.com/kube-rs/kube/issues/1627) by @markdingram in https://github.com/kube-rs/kube/pull/1628
### Changed
* upgrade to hashbrown 0.15.0 by @rorosen in https://github.com/kube-rs/kube/pull/1599
* update jsonptr + json-patch by @aviramha in https://github.com/kube-rs/kube/pull/1600
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ members = [
]

[workspace.package]
version = "0.97.0"
version = "0.98.0"
authors = [
"clux <[email protected]>",
"Natalie Klestrup Röijezon <[email protected]>",
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Select a version of `kube` along with the generated [k8s-openapi](https://github

```toml
[dependencies]
kube = { version = "0.97.0", features = ["runtime", "derive"] }
kube = { version = "0.98.0", features = ["runtime", "derive"] }
k8s-openapi = { version = "0.24.0", features = ["latest"] }
```

Expand Down Expand Up @@ -156,7 +156,7 @@ By default [rustls](https://github.com/rustls/rustls) is used for TLS, but `open

```toml
[dependencies]
kube = { version = "0.97.0", default-features = false, features = ["client", "openssl-tls"] }
kube = { version = "0.98.0", default-features = false, features = ["client", "openssl-tls"] }
k8s-openapi = { version = "0.24.0", features = ["latest"] }
```

Expand Down
2 changes: 1 addition & 1 deletion e2e/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ openssl = ["kube/openssl-tls"]
anyhow.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
kube = { path = "../kube", version = "^0.97.0", default-features = false, features = ["client", "runtime", "ws", "admission", "gzip"] }
kube = { path = "../kube", version = "^0.98.0", default-features = false, features = ["client", "runtime", "ws", "admission", "gzip"] }
k8s-openapi.workspace = true
serde_json.workspace = true
tokio = { workspace = true, features = ["full"] }
4 changes: 2 additions & 2 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ anyhow.workspace = true
futures = { workspace = true, features = ["async-await"] }
jsonpath-rust.workspace = true
jsonptr.workspace = true
kube = { path = "../kube", version = "^0.97.0", default-features = false, features = ["admission"] }
kube-derive = { path = "../kube-derive", version = "^0.97.0", default-features = false } # only needed to opt out of schema
kube = { path = "../kube", version = "^0.98.0", default-features = false, features = ["admission"] }
kube-derive = { path = "../kube-derive", version = "^0.98.0", default-features = false } # only needed to opt out of schema
k8s-openapi.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion kube-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ rustls = { workspace = true, optional = true }
rustls-pemfile = { workspace = true, optional = true }
bytes = { workspace = true, optional = true }
tokio = { workspace = true, features = ["time", "signal", "sync"], optional = true }
kube-core = { path = "../kube-core", version = "=0.97.0" }
kube-core = { path = "../kube-core", version = "=0.98.0" }
jsonpath-rust = { workspace = true, optional = true }
tokio-util = { workspace = true, features = ["io", "codec"], optional = true }
hyper = { workspace = true, features = ["client", "http1"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion kube-derive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Add the `derive` feature to `kube`:

```toml
[dependencies]
kube = { version = "0.97.0", feature = ["derive"] }
kube = { version = "0.98.0", feature = ["derive"] }
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion kube-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ rust.unsafe_code = "forbid"

[dependencies]
futures = { workspace = true, features = ["async-await"] }
kube-client = { path = "../kube-client", version = "=0.97.0", default-features = false, features = ["jsonpatch", "client"] }
kube-client = { path = "../kube-client", version = "=0.98.0", default-features = false, features = ["jsonpatch", "client"] }
educe = { workspace = true, features = ["Clone", "Debug", "Hash", "PartialEq"] }
serde.workspace = true
ahash.workspace = true
Expand Down
8 changes: 4 additions & 4 deletions kube/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ rustdoc-args = ["--cfg", "docsrs"]
workspace = true

[dependencies]
kube-derive = { path = "../kube-derive", version = "=0.97.0", optional = true }
kube-core = { path = "../kube-core", version = "=0.97.0" }
kube-client = { path = "../kube-client", version = "=0.97.0", default-features = false, optional = true }
kube-runtime = { path = "../kube-runtime", version = "=0.97.0", optional = true}
kube-derive = { path = "../kube-derive", version = "=0.98.0", optional = true }
kube-core = { path = "../kube-core", version = "=0.98.0" }
kube-client = { path = "../kube-client", version = "=0.98.0", default-features = false, optional = true }
kube-runtime = { path = "../kube-runtime", version = "=0.98.0", optional = true}
# Not used directly, but required by resolver 2.0 to ensure that the k8s-openapi dependency
# is considered part of the "deps" graph rather than just the "dev-deps" graph
k8s-openapi.workspace = true
Expand Down

0 comments on commit 3f122f9

Please sign in to comment.