diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fbb7dc..5c34075 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog + +## [1.5.0][] (2024-09-18) + +- Make instance use within a slot really round-robin ([#218][]) +- Mark instances as bad on network failure ([#218][]) +- Automatically clear all connection pools on network failure ([#218][]) +- Retry bad instances in a background thread ([#218][]) +- Retry bad instance "inline" with the requests if background threads are not allowd ([#223][]) +- Add tests for retry mechanisms and timeouts with dead or stalled connections ([#214][]) + +[#214]: https://github.com/Nitrokey/nethsm-pkcs11/pull/214 +[#218]: https://github.com/Nitrokey/nethsm-pkcs11/pull/218 +[#223]: https://github.com/Nitrokey/nethsm-pkcs11/pull/223 + +[1.5.0]: https://github.com/Nitrokey/nethsm-pkcs11/releases/tag/v1.5.0 +[Full Changelog](https://github.com/Nitrokey/nethsm-pkcs11/compare/v1.4.1...v1.5.0) + ## [1.4.1][] (2024-09-09) - Fix compilation on windows ([#219][]) diff --git a/Cargo.lock b/Cargo.lock index 84361b5..57a9220 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -143,15 +143,15 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.7.1" +version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" +checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" [[package]] name = "cc" -version = "1.1.18" +version = "1.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b62ac837cdb5cb22e10a256099b4fc502b1dfe560cb282963a974d7abd80e476" +checksum = "07b1695e2c7e8fc85310cde85aeaab7e3097f593c91d209d3f9df76c928100f0" dependencies = [ "shlex", ] @@ -655,7 +655,7 @@ dependencies = [ [[package]] name = "nethsm_pkcs11" -version = "1.4.1" +version = "1.5.0" dependencies = [ "arc-swap", "base64ct", @@ -977,9 +977,9 @@ checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustix" -version = "0.38.36" +version = "0.38.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f55e80d50763938498dd5ebb18647174e0c76dc38c5505294bb224624f30f36" +checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" dependencies = [ "bitflags", "errno", @@ -990,9 +990,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.12" +version = "0.23.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c58f8c84392efc0a126acce10fa59ff7b3d2ac06ab451a33f2741989b806b044" +checksum = "f2dabaac7466917e566adb06783a81ca48944c6898a1b08b9374106dd671f4c8" dependencies = [ "log", "once_cell", @@ -1438,15 +1438,15 @@ checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-ident" -version = "1.0.12" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" [[package]] name = "unicode-normalization" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" +checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" dependencies = [ "tinyvec", ] @@ -1517,9 +1517,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "webpki-roots" -version = "0.26.5" +version = "0.26.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bd24728e5af82c6c4ec1b66ac4844bdf8156257fccda846ec58b42cd0cdbe6a" +checksum = "841c67bff177718f1d4dfefde8d8f0e78f9b6589319ba88312f567fc5841a958" dependencies = [ "rustls-pki-types", ] diff --git a/pkcs11/Cargo.toml b/pkcs11/Cargo.toml index 1ccd587..54f168e 100644 --- a/pkcs11/Cargo.toml +++ b/pkcs11/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nethsm_pkcs11" -version = "1.4.1" +version = "1.5.0" edition = "2021" [lib]