Skip to content

Commit

Permalink
Merge pull request #110 from stormshield-gt/prepare_release_0.7.3
Browse files Browse the repository at this point in the history
Prepare release 0.7.3
  • Loading branch information
stormshield-gt authored Nov 11, 2024
2 parents 5285da1 + e88a785 commit d12c6cf
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 28 deletions.
58 changes: 42 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,30 @@ and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.7.2] - 202-03-20

## [0.7.3] - 2024-03-20

### Added

- Add sys tool random
- Add cert auth configuration
- Add disable mount endpoint
- Add support for reading asymmetric keys from the /transit/keys route

### Changed

- bump rewest to 0.12 (which also bump rustls to 0.23)
- re-export identity to allow different version of reqwest
- improve logging
- update read certificate to vault 1.11.0

### Fixed

- do not log unseal key
- fix formatting
- Fixed links in changelog

## [0.7.2] - 2024-03-20

### Added

Expand All @@ -18,7 +41,7 @@ and this project adheres to
- Bug to fail by compiling with disabled default features and native-tls


## [0.7.1] - 202-03-16
## [0.7.1] - 2024-03-16

### Added

Expand Down Expand Up @@ -166,18 +189,21 @@ and this project adheres to

- Initial release

[unreleased]: https://github.com/jmgilman/vaultrs/compare/v0.7.0...HEAD
[0.7.0]: https://github.com/jmgilman/vaultrs/compare/v0.7.0
[0.6.2]: https://github.com/jmgilman/vaultrs/compare/v0.6.2
[0.6.1]: https://github.com/jmgilman/vaultrs/compare/v0.6.1
[0.6.0]: https://github.com/jmgilman/vaultrs/compare/v0.6.0
[0.5.4]: https://github.com/jmgilman/vaultrs/compare/v0.5.4
[0.5.3]: https://github.com/jmgilman/vaultrs/compare/v0.5.3
[0.5.2]: https://github.com/jmgilman/vaultrs/compare/v0.5.2
[0.5.1]: https://github.com/jmgilman/vaultrs/compare/v0.5.1
[0.5.0]: https://github.com/jmgilman/vaultrs/compare/v0.5.0
[0.4.0]: https://github.com/jmgilman/vaultrs/compare/v0.4.0
[0.3.0]: https://github.com/jmgilman/vaultrs/compare/v0.3.0
[0.2.0]: https://github.com/jmgilman/vaultrs/compare/v0.2.0
[0.1.1]: https://github.com/jmgilman/vaultrs/compare/v0.1.1
[unreleased]: https://github.com/jmgilman/vaultrs/compare/v0.7.3...HEAD
[0.7.3]: https://github.com/jmgilman/vaultrs/compare/v0.7.2...v0.7.3
[0.7.2]: https://github.com/jmgilman/vaultrs/compare/v0.7.1...v0.7.2
[0.7.1]: https://github.com/jmgilman/vaultrs/compare/v0.7.0...v0.7.1
[0.7.0]: https://github.com/jmgilman/vaultrs/compare/v0.6.2...v0.7.0
[0.6.2]: https://github.com/jmgilman/vaultrs/compare/v0.6.1...v0.6.2
[0.6.1]: https://github.com/jmgilman/vaultrs/compare/v0.6.0...v0.6.1
[0.6.0]: https://github.com/jmgilman/vaultrs/compare/v0.5.4...v0.6.0
[0.5.4]: https://github.com/jmgilman/vaultrs/compare/v0.5.3...v0.5.4
[0.5.3]: https://github.com/jmgilman/vaultrs/compare/v0.5.2...v0.5.3
[0.5.2]: https://github.com/jmgilman/vaultrs/compare/v0.5.1...v0.5.2
[0.5.1]: https://github.com/jmgilman/vaultrs/compare/v0.5.0...v0.5.1
[0.5.0]: https://github.com/jmgilman/vaultrs/compare/v0.4.0...v0.5.0
[0.4.0]: https://github.com/jmgilman/vaultrs/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/jmgilman/vaultrs/compare/v0.2.0...v0.3.0
[0.2.0]: https://github.com/jmgilman/vaultrs/compare/v0.1.1...v0.2.0
[0.1.1]: https://github.com/jmgilman/vaultrs/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/jmgilman/vaultrs/releases/tag/v0.1.0
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vaultrs"
version = "0.7.2"
version = "0.7.3"
authors = ["Joshua Gilman <[email protected]>"]
description = "An asynchronous Rust client library for the Hashicorp Vault API."
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ Then, add `vaultrs` as a dependency to your cargo.toml:

```toml
[dependencies]
vaultrs = "0.7.1"
vaultrs = "0.7.3"
```

2. To use [rust-native-tls](https://github.com/sfackler/rust-native-tls), which
builds on your platform-specific TLS implementation, specify:

```toml
[dependencies]
vaultrs = { version = "0.7.1", default-features = false, features = [ "native-tls" ] }
vaultrs = { version = "0.7.3", default-features = false, features = [ "native-tls" ] }
```

## Usage
Expand Down
10 changes: 4 additions & 6 deletions src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,8 @@ where
fn strip_wrap<T>(result: EndpointResult<T>) -> Result<WrapInfo, ClientError> {
trace!("Stripping wrap info from API response");
if let Some(w) = &result.warnings {
match w.is_empty() {
false => warn!("Server returned warnings with response: {:#?}", w),
true => {}
if !w.is_empty() {
warn!("Server returned warnings with response: {:#?}", w);
}
}
result.wrap_info.ok_or(ClientError::ResponseWrapError {})
Expand All @@ -369,9 +368,8 @@ where
{
trace!("Stripping response wrapper from API response");
if let Some(w) = &result.warnings {
match w.is_empty() {
false => warn!("Detected warnings in API response: {:#?}", w),
true => {}
if !w.is_empty() {
warn!("Detected warnings in API response: {:#?}", w);
}
}
result.data
Expand Down
4 changes: 2 additions & 2 deletions vaultrs-login/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vaultrs-login"
version = "0.2.1"
version = "0.2.2"
authors = ["Joshua Gilman <[email protected]>"]
description = "Adds login support for Vault clients from vaultrs."
license = "MIT"
Expand Down Expand Up @@ -31,7 +31,7 @@ tiny_http = { version = "0.12.0", optional = true }
tokio = { version = "1.26.0", optional = true }
tracing = "0.1.37"
url = "2.3.1"
vaultrs = { version = "0.7.2", path = ".." }
vaultrs = { version = "0.7.3", path = ".." }

[dev-dependencies]
reqwest = "0.11.15"
Expand Down
2 changes: 1 addition & 1 deletion vaultrs-login/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Add `vaultrs-login` as a dependency to your cargo.toml:

```toml
[dependencies]
vaultrs-login = "0.2.0"
vaultrs-login = "0.2.2"
```

## Usage
Expand Down

0 comments on commit d12c6cf

Please sign in to comment.