Skip to content

Commit

Permalink
import 0.97.0
Browse files Browse the repository at this point in the history
Signed-off-by: clux <sszynrae@gmail.com>
  • Loading branch information
clux committed Nov 20, 2024
1 parent 23f3995 commit 4ebeea9
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 5 deletions.
39 changes: 36 additions & 3 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,46 @@
<!-- DO NOT touch the headers, UNRELEAS'D line, or compare url manually - they are sed'd -->
<!-- next-header -->
## Unreleased
* see https://github.com/kube-rs/kube/compare/0.96.0...main
* see https://github.com/kube-rs/kube/compare/0.97.0...main

## [0.97.0](https://github.com/kube-rs/kube/releases/tag/0.97.0) / 2024-11-20
<!-- Release notes generated using configuration in .github/release.yml at 0.97.0 -->

## 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
- 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
- Feature use:
* Client proxy feature-set misuse prevention #1626
* Allow disabling `gzip` via `Config` #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
### 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
### Fixed
* fix(kube-runtime): setup backoff with builder pattern by @tiagolobocastro in https://github.com/kube-rs/kube/pull/1603
* allow null user in kubeconfig's context by @aviramha in https://github.com/kube-rs/kube/pull/1608
* Gauge SelectableField by k8s 1.30 version by @Danil-Grigorev in https://github.com/kube-rs/kube/pull/1610
* Add a compile_error if setting selectable fields on K8s < 1.30 by @clux in https://github.com/kube-rs/kube/pull/1612
* conditionally install `aws-lc-rs` by @goenning in https://github.com/kube-rs/kube/pull/1617
* Warn when trying to use an unsupported proxy protocol by @nightkr in https://github.com/kube-rs/kube/pull/1626

## [0.96.0](https://github.com/kube-rs/kube/releases/tag/0.96.0) / 2024-10-09
<!-- Release notes generated using configuration in .github/release.yml at 0.96.0 -->
## Highlights
- **[Features](https://kube.rs/features/)**: `webpki-roots` added #1323, and [predicates](https://docs.rs/kube/latest/kube/runtime/utils/predicates/index.html) no longer require `unstable-runtime` #1578
- **Local auth**: improve leniency/kubectl-alignment #1595, remove http proxy vars #1520
- **[Features](https://kube.rs/features/)**: `webpki-roots` added [#1323](https://github.com/kube-rs/kube/issues/1323), and [predicates](https://docs.rs/kube/latest/kube/runtime/utils/predicates/index.html) no longer require `unstable-runtime` [#1578](https://github.com/kube-rs/kube/issues/1578)
- **Local auth**: improve leniency/kubectl-alignment [#1595](https://github.com/kube-rs/kube/issues/1595), remove http proxy vars [#1520](https://github.com/kube-rs/kube/issues/1520)
- **Dependencies**: upgrades to `tower` and `secrecy`, and `derivative` swapped for `educe`

## What's Changed
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Select a version of `kube` along with the generated [k8s-openapi](https://github

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

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

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

Expand Down

0 comments on commit 4ebeea9

Please sign in to comment.