Releases: kube-rs/kube
0.98.0
Highlights
- Kubernetes
v1_32
support viak8s-openapi
0.24- Please upgrade k8s-openapi along with kube to avoid conflicts.
- New minimum versions: MSRV 1.81.0, MK8SV: 1.28
kube-derive
additions:- A
CELSchema
derive macro wrapper aroundJsonSchema
for injecting cel validations into the schema #1649 - Allow overriding
served
andstorage
booleans for multiple versions ofCustomResource
derives: #1644
- A
kube-runtime
eventRecorder
now aggregates repeat events #1655 (some breaking changes, see controller-rs#116)kube-client
UTF-16 edge case handling for windows #1654
What's Changed
Added
- Add
storage
andserved
argument to derive macro by @Techassi in #1644 - Implement
derive(CELSchema)
macro for generating cel validation on CRDs by @Danil-Grigorev in #1649
Changed
- Add series implementation for
runtime
event recorder by @pando85 in #1655 - Bump
k8s-openapi
for Kubernetesv1_32
support and MSRV by @clux in #1671 - Update tokio-tungstenite requirement from 0.24.0 to 0.25.0 by @dependabot in #1666
Fixed
New Contributors
- @Techassi made their first contribution in #1644
- @mgs255 made their first contribution in #1647
- @pando85 made their first contribution in #1655
Full Changelog: 0.97.0...0.98.0
0.97.0
Highlights
CustomResource
derive added features for crd yaml output:- Configuration edge cases:
- Feature use:
- Depedency minors:
thiserror
,hashbrown
,jsonptr
,json-patch
. Killedlazy_static
/once_cell
What's Changed
Added
- Feature: Allow to pass selectableFields for CRD definition by @Danil-Grigorev in #1605
- add support for CRD annotations and labels in kube-derive by @verokarhu in #1631
- Feature: Add config setting to disable gzip compression #1627 by @markdingram in #1628
Changed
Fixed
- fix(kube-runtime): setup backoff with builder pattern by @tiagolobocastro in #1603
- allow null user in kubeconfig's context by @aviramha in #1608
- Gauge SelectableField by k8s 1.30 version by @Danil-Grigorev in #1610
- Add a compile_error if setting selectable fields on K8s < 1.30 by @clux in #1612
- conditionally install
aws-lc-rs
by @goenning in #1617 - Warn when trying to use an unsupported proxy protocol by @nightkr in #1626
New Contributors
- @bryantbiggs made their first contribution in #1629
- @verokarhu made their first contribution in #1631
Full Changelog: 0.96.0...0.97.0
0.96.0
Highlights
- Features:
webpki-roots
added #1323, and predicates no longer requireunstable-runtime
#1578 - Local auth: improve leniency/kubectl-alignment #1595, remove http proxy vars #1520
- Dependencies: upgrades to
tower
andsecrecy
, andderivative
swapped foreduce
What's Changed
Added
- rustls: optionally use WebPKI roots to avoid panicking on Android & iOS by @ewilken in #1323
- Stabilise runtime predicates by @clux in #1578
- Add
ObjectRef::from
as alias for::from_obj
by @nightkr in #1598
Changed
- Bump
secrecy
to 0.10 by @clux in #1588 - Upgrades
tower
to 0.5.1 by @markdingram in #1589 - runtime: rename references from Flatten to Decode by @clux in #1520
Removed
Fixed
- replace derivative dependency with educe by @rorosen in #1585
- change auth behavior to match upstream on unknown/empty user - use null auth by @aviramha in #1595
New Contributors
Full Changelog: 0.95.0...0.96.0
0.95.0
Kubernetes v1_31
support via k8s-openapi
0.23
Please upgrade k8s-openapi along with kube to avoid conflicts.
New minimum versions: MSRV 1.77.2, MK8SV: 1.26
What's Changed
Changed
- Update tokio-tungstenite requirement from 0.23.0 to 0.24.0 by @dependabot in #1579
- Bump
k8s-openapi
to 0.23 for Kubernetes 1.31 support by @clux in #1581
Full Changelog: 0.94.2...0.95.0
0.94.2
What's Changed
Fixes a runtime regression in watch_object
.
Fixed
- Ensure
watch_object
handles objects removed before init by @markdingram in #1577
New Contributors
- @markdingram made their first contribution in #1577
Full Changelog: 0.94.1...0.94.2
0.94.1
What's Changed
Convenience release. Adjusted a version bound to avoid possibility of running into version compatibility errors with hyper-rustls
.
Fixed
- Update hyper-rustls minimum version by @divergentdave in #1575
New Contributors
- @divergentdave made their first contribution in #1575
Full Changelog: 0.94.0...0.94.1
0.94.0
Highlights
Support for rustls
's aws-lc-rs is available under a new kube/aws-lc-rs
feature. Via #1568 for #1562
Furthermore, there are features to help avoid dynamic typing:
- Added a
DeserializeGuard
safety wrapper to lift deserialisation errors (to e.g. not break watchers). See the errorbound example and core module module. Wrapped type be used with e.g.Api::<DeserializeGuard<CaConfigMap>>
. Via #1556 - A derive macro for
Resource
;#[derive(Resource)]
allows inheriting existingk8s-openapi
resource implementations to avoid stepping down to the dynamic api. See the cert check example for usage. Via #1565
What's Changed
Added
- Add error boundary wrapper type by @nightkr in #1556
- Implement Error for error_boundary::InvalidObject by @nightkr in #1558
- Add finalizers predicate filter by @ivan-kiselev in #1560
- optional feature to use
aws-lc-rs
rustls feature by @mcluseau in #1568 - Add
Resource
derive macro by @Danil-Grigorev in #1565
Changed
New Contributors
- @ivan-kiselev made their first contribution in #1560
- @mcluseau made their first contribution in #1568
- @yerke made their first contribution in #1571
Full Changelog: 0.93.1...0.94.0
0.93.1
0.93.0
Highlights
Better query validation, better client header customisation, and two new modules:
core::labels
module for creating typed label selectors forListParams
orWatchParams
. Can be constructed from a nativeLabelSelector
, or directly from aSelector
ofExpression
s. PR.prelude
to simplify imports of extension traits. PR.
A big thank you to everyone who contributed to this release!
What's Changed
Added
- add option to provide headers to send as client by @aviramha in #1523
- Add prelude for blanket and extension traits across sub-crates by @Danil-Grigorev in #1527
- Label selector support by @Danil-Grigorev in #1539
Changed
- Update garde requirement from 0.19.0 to 0.20.0 by @dependabot in #1535
Removed
Fixed
- Fix watcher not fully paginating on Init by @clux in #1525 (ported to 0.92.1)
- Prevent empty string object name requests from being sent to the apiserver by @xMAC94x in #1541
New Contributors
- @rockburning made their first contribution in #1526
- @Gbd199 made their first contribution in #1531
- @xMAC94x made their first contribution in #1541
- @rorosen made their first contribution in #1546
Full Changelog: 0.92.0...0.93.0