Skip to content

Latest commit

 

History

History
100 lines (65 loc) · 3.2 KB

CHANGELOG.md

File metadata and controls

100 lines (65 loc) · 3.2 KB

Changelog

[0.6.3] - 2024-11-07

What's Changed

  • Depend explicitly on tonic 0.12.3 (#120)
  • Update thiserror requirement from 1 to 2 in (#127)

[0.6.2] - 2024-10-07

What's Changed

[0.6.1] - 2024-09-11

  • Update Rust Edition to 2021 (#82)
  • Enhance Usability with Core Type Re-exports (#83)

[0.5.0] - 2024-03-07

Dependencies updates

  • Updated prost, prost-types, and prost-build to "0.12" (#73)
  • Updated tonic and tonic-build to "0.11" (#73)
  • Updated x509-parser to "0.16" (#73)

[0.4.0] - 2023-08-23

Added

  • Refactor of spiffe crate: Introduced spiffe-types and workload-api features for better modularity (#44).
  • Implemented X509Source for fetching X.509 materials (#50).
  • Added dependencies log and tokio-util specifically to the workload-api feature (#50, #51).

API Changes

  • Renamed stream_ methods in WorkloadApiClient (#44).
  • Moved SocketPathError and GrpcClientError to spiffe::errors package as part of the spiffe-types feature, aligning with the new structure (#44).

Changed

  • Replaced unreachable!() in find_spiffe_id function with UnexpectedExtension error variant to handle unexpected X.509 extensions, improving error handling in SAN extension parsing (#48).

[0.3.1] - 2023-08-12

Fixed

  • Integrated google/protobuf/Struct.proto into the library, eliminating the need for other projects to rely on system versions of that file. This enhances compatibility across different build environments. (#36)

[0.3.0] - 2023-08-08

Breaking Changes

  • Workload API Client Update: Methods' signatures have been transitioned from synchronous to asynchronous. They now require &mut self instead of &self.

Added

  • Support for watching and streaming updates for both X.509 and JWT SVIDs and Bundles.
  • New integration tests covering the watch/stream functionalities.
  • New dependencies: tonic, prost, prost-types, tokio, tokio-stream, and tower.

Changed

  • Code generation migrated from protobuf and grpcio to tonic and prost.

Removed

  • Dependencies: protobuf, grpcio, and futures.

0.2.2 (August 5, 2023)

  • Add watch_x509_context_stream method to WorkloadApiClient (#28)
  • Update grpcio to 0.12.0 (#27)
  • Update dependencies (#26)
  • Add error info to grpcio:Error (#25)

0.2.1 (April, 22, 2022)

  • Fix the chrono RUSTSEC advisory (#17)
  • Replace chrono by time crate.

0.2.0 (July 6, 2021)

  • Strict SPIFFE ID parsing (#8)
  • Method validate_jwt_token returns a JwtSvid parsed from given token after validating it using then Workload API (#9)

0.1.1 (June 18, 2021)

  • Add method validate_jwt_token in the WorkloadApiClient (#2).

0.1.0 (June 14, 2021)

Initial implementation of the library (#1):

  • Workload API client with one-shot call methods
  • Certificate and PrivateKey types
  • X.509 SVID and bundle types
  • JWT SVID and bundle types
  • TrustDomain and SpiffeId types