Skip to content

Commit f072f4d

Browse files
authored
Prepare release spire-api 0.4.0 (#213)
Signed-off-by: Max Lambrecht <[email protected]>
1 parent 0993ddf commit f072f4d

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

spire-api/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## [0.4.0] – 2025-12-26
4+
5+
### Changed
6+
7+
* Updated dependency to `spiffe` v0.8 with `grpc` enabled.
8+
* Replaced custom Unix domain socket connector with `spiffe::Endpoint` and the shared gRPC connector.
9+
* Updated `DelegatedIdentityClient` methods to take `&self` instead of `&mut self`.
10+
11+
### Added
12+
13+
* New client constructors: `connect_env()`, `connect_to(...)`, and `connect(Endpoint)`.
14+
15+
### Removed
16+
17+
* Removed custom transport plumbing and unused dependencies (`tower`, `hyper-util`).
18+
* Dropped direct socket-path parsing in favor of typed endpoint parsing.
19+
20+
321
## [0.3.9] – 2025-12-24
422

523
* Migrated to the Rust 2021 edition.

spire-api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spire-api"
3-
version = "0.3.9"
3+
version = "0.4.0"
44
edition = "2021"
55
rust-version = "1.83"
66
authors = ["Max Lambrecht <[email protected]>"]

spire-api/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Add `spire-api` to your `Cargo.toml`:
3131

3232
```toml
3333
[dependencies]
34-
spire-api = "0.3.9"
34+
spire-api = "0.4.0"
3535
````
3636

3737
---
@@ -44,7 +44,7 @@ Fetch a delegated X.509 SVID using selector-based attestation:
4444
use spire_api::DelegatedIdentityClient;
4545
use spire_api::selectors;
4646

47-
let client = DelegatedIdentityClient::default().await?;
47+
let client = DelegatedIdentityClient::connect_env().await?;
4848

4949
let x509_svid = client
5050
.fetch_x509_svid(spire_api::DelegateAttestationRequest::Selectors(vec![

0 commit comments

Comments
 (0)