Bump kube from 0.99.0 to 1.0.0
Type: Pull Request
State: Open
![dependabot[bot]](https://github.com/dependabot.png)
Association: Contributor
Comments: 2
(4 months ago)
(3 months ago)
dependencies rust
⚠️ Dependabot is rebasing this PR ⚠️
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Bumps kube from 0.99.0 to 1.0.0.
Release notes
Sourced from kube's releases.
1.0.0
A Major Version
It's been a long time coming, but time has come to draw the line in the sand. No alphas, no betas. Hope it finds you all well. Thanks to everyone who has contributed over the years.
This is a somewhat symbolic gesture, because semver-breaking changes are still hard to avoid with a large set of sub-1.0 dependencies we need to bump, as well as managing the large api surface of Kubernetes.
Therefore, the plan is to align our breaking changes and major bumps with Kubernetes versions / k8s-openapi versions for now, and this should allow our other releases to stream in. See kube-rs/kube#1688 for more information.
Kubernetes
v1_33
support viak8s-openapi
0.25Please upgrade k8s-openapi along with kube to avoid conflicts.
New minimum versions: MSRV 1.82.0, MK8SV: 1.30*
KubeSchema
The
CELSchema
alternate derive forJsonSchema
has been renamed toKubeSchema
to indicate the increased functionality.In addition to being able to inject CEL rules for validations, it can now also inject
x-kubernetes
properties such as merge-strategy via kube-rs/kube#1750, handle#[validate]
attributes kube-rs/kube#1749, and pass validation rules as string literals kube-rs/kube#1754 :#[derive(CustomResource, Serialize, Deserialize, Debug, PartialEq, Clone, KubeSchema)] #[kube(...properties) struct DocumentSpec { /// New merge strategy support #[x_kube(merge_strategy = ListMerge::Set)] x_kubernetes_set: Vec<String>,
/// CEL Validation now lives on x_kube and supports literal Rules: #[x_kube(validation = "!has(self.variantOne) || self.variantOne.int > 22")] complex_enum: ComplexEnum,
}
See kube.rs docs on validation for more info. Huge thanks to
@Danil-Grigorev
.What's Changed
Added
- feat(deps): enable
hyper-util/tracing
feature flag by@cratelyn
in kube-rs/kube#1734- Permit literal string validation for CEL expressions by
@Danil-Grigorev
in kube-rs/kube#1754Changed
- Support additional
x-kubernetes-*
schema extensions by@Danil-Grigorev
in kube-rs/kube#1750- Bump
k8s-openapi
to0.25.0
by@clux
in kube-rs/kube#1756Removed
- Remove deprecated
watcher::Event
into_iter_*
methods by@clux
in kube-rs/kube#1738Fixed
- docs: Adjust #[kube(scale(...)] doc example by
@Techassi
in kube-rs/kube#1733- Add suffix to generated struct by
CELSchema
by@Danil-Grigorev
in kube-rs/kube#1747- Allow schemars validate attribute in
CELSchema
by@Danil-Grigorev
in kube-rs/kube#1749
... (truncated)
Changelog
Sourced from kube's changelog.
1.0.0 / 2025-05-13
A Major Version
It's been a long time coming, but time has come to draw the line in the sand. No alphas, no betas. Hope it finds you all well. Thanks to everyone who has contributed over the years.
This is a somewhat symbolic gesture, because semver-breaking changes are still hard to avoid with a large set of sub-1.0 dependencies we need to bump, as well as managing the large api surface of Kubernetes.
Therefore, the plan is to align our breaking changes and major bumps with Kubernetes versions / k8s-openapi versions for now, and this should allow our other releases to stream in. See kube-rs/kube#1688 for more information.
Kubernetes
v1_33
support viak8s-openapi
0.25Please upgrade k8s-openapi along with kube to avoid conflicts.
New minimum versions: MSRV 1.82.0, MK8SV: 1.30*
KubeSchema
The
CELSchema
alternate derive forJsonSchema
has been renamed toKubeSchema
to indicate the increased functionality.In addition to being able to inject CEL rules for validations, it can now also inject
x-kubernetes
properties such as merge-strategy via kube-rs/kube#1750, handle#[validate]
attributes kube-rs/kube#1749, and pass validation rules as string literals kube-rs/kube#1754 :#[derive(CustomResource, Serialize, Deserialize, Debug, PartialEq, Clone, KubeSchema)] #[kube(...properties) struct DocumentSpec { /// New merge strategy support #[x_kube(merge_strategy = ListMerge::Set)] x_kubernetes_set: Vec<String>,
/// CEL Validation now lives on x_kube and supports literal Rules: #[x_kube(validation = "!has(self.variantOne) || self.variantOne.int > 22")] complex_enum: ComplexEnum,
}
See kube.rs docs on validation for more info. Huge thanks to
@Danil-Grigorev
.What's Changed
Added
- feat(deps): enable
hyper-util/tracing
feature flag by@cratelyn
in kube-rs/kube#1734- Permit literal string validation for CEL expressions by
@Danil-Grigorev
in kube-rs/kube#1754Changed
- Support additional
x-kubernetes-*
schema extensions by@Danil-Grigorev
in kube-rs/kube#1750- Bump
k8s-openapi
to0.25.0
by@clux
in kube-rs/kube#1756Removed
- Remove deprecated
watcher::Event
into_iter_*
methods by@clux
in kube-rs/kube#1738Fixed
- docs: Adjust #[kube(scale(...)] doc example by
@Techassi
in kube-rs/kube#1733- Add suffix to generated struct by
CELSchema
by@Danil-Grigorev
in kube-rs/kube#1747
... (truncated)
Commits
ed3d390
release 1.0.02f08a6f
bump readme pin for k8s-openapie8a8c3b
Merge pull request #1758 from ulagbulag/fix/correct-confliect-schemars-featur...3ca7a9a
Merge pull request #1756 from kube-rs/k8s-025c16deef
fix: resolve conflict with schemars preserve_order featurea68eaf2
clippy on wait6529708
update inconsequential license update on optional feature dep webpki-roots3c9d9a4
just bump-msrv 1.82.006dcdcf
no more compile constraints when limiting to kube >= 1.303532128
jump bump-k8s- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
0
0
+0
-0
Package Dependencies
Technical Details
ID: | 359624 |
UUID: | 3060911214 |
Node ID: | PR_kwDONuP-8c6WDBx- |
Host: | GitHub |
Repository: | mattfsourcecode/ai-kubernetes-gateway |