Skip to content

Commit 515d4ce

Browse files
authored
chore: release seatbelt 0.4.0 (#307)
1 parent 3389251 commit 515d4ce

File tree

5 files changed

+30
-16
lines changed

5 files changed

+30
-16
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ layered = { path = "crates/layered", default-features = false, version = "0.3.0"
3636
ohno = { path = "crates/ohno", default-features = false, version = "0.3.1" }
3737
ohno_macros = { path = "crates/ohno_macros", default-features = false, version = "0.3.0" }
3838
recoverable = { path = "crates/recoverable", default-features = false, version = "0.1.1" }
39-
seatbelt = { path = "crates/seatbelt", default-features = false, version = "0.3.1" }
39+
seatbelt = { path = "crates/seatbelt", default-features = false, version = "0.4.0" }
4040
testing_aids = { path = "crates/testing_aids", default-features = false }
4141
thread_aware = { path = "crates/thread_aware", default-features = false, version = "0.6.2" }
4242
thread_aware_macros = { path = "crates/thread_aware_macros", default-features = false, version = "0.6.1" }

crates/seatbelt/CHANGELOG.md

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

3+
## [0.4.0] - 2026-03-06
4+
5+
- ⚠️ Breaking
6+
7+
- no more default features ([#303](https://github.com/microsoft/oxidizer/pull/303))
8+
9+
- ✨ Features
10+
11+
- introduce hedging resilience middleware ([#298](https://github.com/microsoft/oxidizer/pull/298))
12+
- introduce fallback middleware ([#294](https://github.com/microsoft/oxidizer/pull/294))
13+
- introduce config for each middleware ([#302](https://github.com/microsoft/oxidizer/pull/302))
14+
- improve telemetry ([#297](https://github.com/microsoft/oxidizer/pull/297))
15+
- improve documentation
16+
317
## [0.3.1] - 2026-02-27
418

519
- ✨ Features

crates/seatbelt/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[package]
55
name = "seatbelt"
66
description = "Resilience and recovery mechanisms for fallible operations."
7-
version = "0.3.1"
7+
version = "0.4.0"
88
readme = "README.md"
99
keywords = ["oxidizer", "resilience", "layered", "recovery", "retry"]
1010
categories = ["data-structures"]

crates/seatbelt/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,12 @@ This crate provides several optional features that can be enabled in your `Cargo
182182
This crate was developed as part of <a href="../..">The Oxidizer Project</a>. Browse this crate's <a href="https://github.com/microsoft/oxidizer/tree/main/crates/seatbelt">source code</a>.
183183
</sub>
184184

185-
[__cargo_doc2readme_dependencies_info]: ggGkYW0CYXSEGy4k8ldDFPOhG2VNeXtD5nnKG6EPY6OfW5wBG8g18NOFNdxpYXKEG4STOoP2_1kjG_YFfNmBbFbQG7vz1CXQ1d10GxetSJWWkufEYWSFgmdsYXllcmVkZTAuMy4wgmtyZWNvdmVyYWJsZWUwLjEuMYJoc2VhdGJlbHRlMC4zLjGCZHRpY2tlMC4yLjGCbXRvd2VyX3NlcnZpY2VlMC4zLjM
185+
[__cargo_doc2readme_dependencies_info]: ggGkYW0CYXSEGy4k8ldDFPOhG2VNeXtD5nnKG6EPY6OfW5wBG8g18NOFNdxpYXKEG4STOoP2_1kjG_YFfNmBbFbQG7vz1CXQ1d10GxetSJWWkufEYWSFgmdsYXllcmVkZTAuMy4wgmtyZWNvdmVyYWJsZWUwLjEuMYJoc2VhdGJlbHRlMC40LjCCZHRpY2tlMC4yLjGCbXRvd2VyX3NlcnZpY2VlMC4zLjM
186186
[__link0]: https://crates.io/crates/layered/0.3.0
187187
[__link1]: https://docs.rs/layered/0.3.0/layered/?search=Stack
188-
[__link10]: https://docs.rs/seatbelt/0.3.1/seatbelt/hedging/index.html
189-
[__link11]: https://docs.rs/seatbelt/0.3.1/seatbelt/breaker/index.html
190-
[__link12]: https://docs.rs/seatbelt/0.3.1/seatbelt/fallback/index.html
188+
[__link10]: https://docs.rs/seatbelt/0.4.0/seatbelt/hedging/index.html
189+
[__link11]: https://docs.rs/seatbelt/0.4.0/seatbelt/breaker/index.html
190+
[__link12]: https://docs.rs/seatbelt/0.4.0/seatbelt/fallback/index.html
191191
[__link13]: https://github.com/microsoft/oxidizer/blob/main/crates/seatbelt/examples/timeout.rs
192192
[__link14]: https://github.com/microsoft/oxidizer/blob/main/crates/seatbelt/examples/timeout_advanced.rs
193193
[__link15]: https://github.com/microsoft/oxidizer/blob/main/crates/seatbelt/examples/retry.rs
@@ -201,16 +201,16 @@ This crate was developed as part of <a href="../..">The Oxidizer Project</a>. Br
201201
[__link22]: https://github.com/microsoft/oxidizer/blob/main/crates/seatbelt/examples/tower.rs
202202
[__link23]: https://github.com/microsoft/oxidizer/blob/main/crates/seatbelt/examples/config.rs
203203
[__link24]: https://github.com/microsoft/oxidizer/blob/main/crates/seatbelt/examples/config.json
204-
[__link25]: https://docs.rs/seatbelt/0.3.1/seatbelt/timeout/index.html
205-
[__link26]: https://docs.rs/seatbelt/0.3.1/seatbelt/retry/index.html
206-
[__link27]: https://docs.rs/seatbelt/0.3.1/seatbelt/hedging/index.html
207-
[__link28]: https://docs.rs/seatbelt/0.3.1/seatbelt/breaker/index.html
208-
[__link29]: https://docs.rs/seatbelt/0.3.1/seatbelt/fallback/index.html
204+
[__link25]: https://docs.rs/seatbelt/0.4.0/seatbelt/timeout/index.html
205+
[__link26]: https://docs.rs/seatbelt/0.4.0/seatbelt/retry/index.html
206+
[__link27]: https://docs.rs/seatbelt/0.4.0/seatbelt/hedging/index.html
207+
[__link28]: https://docs.rs/seatbelt/0.4.0/seatbelt/breaker/index.html
208+
[__link29]: https://docs.rs/seatbelt/0.4.0/seatbelt/fallback/index.html
209209
[__link3]: https://crates.io/crates/tick/0.2.1
210210
[__link30]: https://docs.rs/tower_service/0.3.3/tower_service/?search=Service
211-
[__link4]: https://docs.rs/seatbelt/0.3.1/seatbelt/?search=ResilienceContext
212-
[__link5]: https://docs.rs/seatbelt/0.3.1/seatbelt/?search=ResilienceContext
211+
[__link4]: https://docs.rs/seatbelt/0.4.0/seatbelt/?search=ResilienceContext
212+
[__link5]: https://docs.rs/seatbelt/0.4.0/seatbelt/?search=ResilienceContext
213213
[__link6]: https://docs.rs/recoverable/0.1.1/recoverable/?search=RecoveryInfo
214214
[__link7]: https://docs.rs/recoverable/0.1.1/recoverable/?search=Recovery
215-
[__link8]: https://docs.rs/seatbelt/0.3.1/seatbelt/timeout/index.html
216-
[__link9]: https://docs.rs/seatbelt/0.3.1/seatbelt/retry/index.html
215+
[__link8]: https://docs.rs/seatbelt/0.4.0/seatbelt/timeout/index.html
216+
[__link9]: https://docs.rs/seatbelt/0.4.0/seatbelt/retry/index.html

0 commit comments

Comments
 (0)