Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.14.0 #82

Merged
merged 3 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "k8s-gateway-api",
"image": "ghcr.io/linkerd/dev:v39",
"image": "ghcr.io/linkerd/dev:v42",
"extensions": [
"DavidAnson.vscode-markdownlint",
"kokakiwi.vscode-just",
Expand All @@ -26,4 +26,4 @@
"type": "bind"
}
]
}
}
4 changes: 2 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: linkerd/dev/actions/setup-tools@v39
- uses: linkerd/dev/actions/setup-tools@v42
- run: just-dev lint-actions

devcontainer-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: linkerd/dev/actions/setup-tools@v39
- uses: linkerd/dev/actions/setup-tools@v42
- run: just-dev check-action-images
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
K8S_CHANNEL: ${{ matrix.k8s }}
steps:
# Install just* tooling
- uses: linkerd/dev/actions/setup-tools@v39
- uses: linkerd/dev/actions/setup-tools@v42
# Configure the default Rust toolchain
- uses: linkerd/dev/actions/setup-rust@v39
- uses: linkerd/dev/actions/setup-rust@v42
# Setup a cluster
- run: curl --proto =https --tlsv1.3 -fLsSv "https://raw.githubusercontent.com/k3d-io/k3d/${K3D_VERSION}/install.sh" | bash
- run: k3d --version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
lint:
timeout-minutes: 20
runs-on: ubuntu-latest
container: docker://ghcr.io/linkerd/dev:v39-rust
container: docker://ghcr.io/linkerd/dev:v42-rust
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- run: just fetch
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
test:
timeout-minutes: 5
runs-on: ubuntu-latest
container: docker://ghcr.io/linkerd/dev:v39-rust
container: docker://ghcr.io/linkerd/dev:v42-rust
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- run: just fetch
Expand All @@ -55,7 +55,7 @@ jobs:
contents: write
timeout-minutes: 5
runs-on: ubuntu-latest
container: docker://ghcr.io/linkerd/dev:v39-rust
container: docker://ghcr.io/linkerd/dev:v42-rust
steps:
- if: needs.meta.outputs.publish
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand All @@ -80,7 +80,7 @@ jobs:
needs: [meta, release]
timeout-minutes: 10
runs-on: ubuntu-latest
container: docker://ghcr.io/linkerd/dev:v39-rust
container: docker://ghcr.io/linkerd/dev:v42-rust
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- if: needs.meta.outputs.publish == ''
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ members = [".", "integration"]

[package]
name = "k8s-gateway-api"
version = "0.13.0"
version = "0.14.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/linkerd/k8s-gateway-api-rs"
rust-version = "1.60"
rust-version = "1.65"
keywords = ["kubernetes", "gateway"]
description = "Rust bindings for the Kubenetes Gateway API"

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

(Unofficial) Rust bindings for the [Kubernetes Gateway API][site].

Based on [gateway-api-v0.5.0-rc1].
Based on [gateway-api-v1.0.0].

[![Crates.io][crate-badge]][crate-url]
[![Documentation][docs-badge]][docs-url]
Expand All @@ -20,7 +20,7 @@ the *v1alpha2* types when the `experimental` feature is enabled.
* Express validation constraints
* Rustify/Linkify documentation

[gateway-api-v0.5.0-rc1]: https://github.com/kubernetes-sigs/gateway-api/tree/4f86f0bd65173b04dadb558f63fbbd53330736d2
[gateway-api-v1.0.0]: https://github.com/kubernetes-sigs/gateway-api/tree/a0684982eddeb0360e215e0de322c3210ac49bb9
[site]: https://gateway-api.sigs.k8s.io/
[crate-badge]: https://img.shields.io/crates/v/k8s-gateway-api.svg
[crate-url]: https://crates.io/crates/k8s-gateway-api
Expand Down
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ deny:
cargo-deny --all-features check

docs:
just-cargo doc --frozen --no-deps --features=k8s-openapi/v1_25
just-cargo doc --frozen --no-deps --features=k8s-openapi/latest

test-build *flags:
just-cargo test-build --frozen {{ flags }}
Expand All @@ -32,7 +32,7 @@ test *flags:
just-cargo test --frozen {{ flags }}

publish *flags:
cargo publish --features=k8s-openapi/v1_25 {{ flags }}
cargo publish --features=k8s-openapi/latest {{ flags }}

action-lint:
just-dev lint-actions
Expand Down
6 changes: 3 additions & 3 deletions src/httproute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -609,9 +609,9 @@ pub enum HttpPathModifier {
/// /foo/bar | /foo/ | /xyz/ | /xyz/bar
/// /foo | /foo | /xyz | /xyz
/// /foo/ | /foo | /xyz | /xyz/
/// /foo/bar | /foo | <empty string> | /bar
/// /foo/ | /foo | <empty string> | /
/// /foo | /foo | <empty string> | /
/// /foo/bar | /foo | _empty string_ | /bar
/// /foo/ | /foo | _empty string_ | /
/// /foo | /foo | _empty string_ | /
/// /foo/ | /foo | / | /
/// /foo | /foo | / | /
#[serde(rename_all = "camelCase")]
Expand Down