breaker_machines 0.24.1 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +545 -0
- data/Cargo.toml +64 -0
- data/README.md +63 -116
- data/ext/breaker_machines_native/core/CHANGELOG.md +285 -0
- data/ext/breaker_machines_native/core/Cargo.toml +36 -0
- data/ext/breaker_machines_native/core/README.md +111 -0
- data/ext/breaker_machines_native/core/src/answer.rs +261 -0
- data/ext/breaker_machines_native/core/src/async_circuit.rs +299 -0
- data/ext/breaker_machines_native/core/src/breaker/settle.rs +142 -0
- data/ext/breaker_machines_native/core/src/breaker/share.rs +65 -0
- data/ext/breaker_machines_native/core/src/breaker.rs +490 -0
- data/ext/breaker_machines_native/core/src/callbacks.rs +56 -0
- data/ext/breaker_machines_native/core/src/circuit/builder.rs +114 -0
- data/ext/breaker_machines_native/core/src/circuit.rs +524 -0
- data/ext/breaker_machines_native/core/src/classifier.rs +62 -0
- data/ext/breaker_machines_native/core/src/clock.rs +60 -0
- data/ext/breaker_machines_native/core/src/distributed.rs +280 -0
- data/ext/breaker_machines_native/core/src/error.rs +87 -0
- data/ext/breaker_machines_native/core/src/lib.rs +62 -0
- data/ext/breaker_machines_native/core/src/lifecycle.rs +44 -0
- data/ext/breaker_machines_native/core/src/policy.rs +170 -0
- data/ext/breaker_machines_native/core/src/refusal.rs +48 -0
- data/ext/breaker_machines_native/core/src/storage.rs +490 -0
- data/ext/breaker_machines_native/core/src/test_support.rs +53 -0
- data/ext/breaker_machines_native/extconf.rb +3 -0
- data/ext/breaker_machines_native/ffi/Cargo.toml +23 -0
- data/ext/breaker_machines_native/ffi/extconf.rb +12 -0
- data/ext/breaker_machines_native/ffi/src/breaker.rs +303 -0
- data/ext/breaker_machines_native/ffi/src/classes.rs +39 -0
- data/ext/breaker_machines_native/ffi/src/init.rs +59 -0
- data/ext/breaker_machines_native/ffi/src/lib.rs +8 -0
- data/ext/breaker_machines_native/ffi/src/names.rs +137 -0
- data/ext/breaker_machines_native/ffi/src/values.rs +255 -0
- data/lib/breaker_machines/async_circuit.rb +17 -30
- data/lib/breaker_machines/cascading_circuit.rb +61 -141
- data/lib/breaker_machines/circuit.rb +419 -6
- data/lib/breaker_machines/circuit_group.rb +44 -115
- data/lib/breaker_machines/configuration.rb +74 -0
- data/lib/breaker_machines/console.rb +54 -321
- data/lib/breaker_machines/coordinated_circuit.rb +52 -4
- data/lib/breaker_machines/dsl.rb +120 -229
- data/lib/breaker_machines/errors.rb +32 -38
- data/lib/breaker_machines/hedging.rb +174 -0
- data/lib/breaker_machines/registry.rb +85 -153
- data/lib/breaker_machines/storage/cache.rb +49 -240
- data/lib/breaker_machines/storage/fallback_chain.rb +35 -272
- data/lib/breaker_machines/storage/memory.rb +35 -60
- data/lib/breaker_machines/storage/null.rb +8 -47
- data/lib/breaker_machines/storage.rb +66 -2
- data/lib/breaker_machines/version.rb +1 -1
- data/lib/breaker_machines.rb +126 -206
- data/sig/breaker_machines.rbs +560 -0
- data/sig/manifest.yaml +6 -0
- metadata +52 -141
- data/lib/breaker_machines/async_support.rb +0 -112
- data/lib/breaker_machines/circuit/admission.rb +0 -115
- data/lib/breaker_machines/circuit/async_state_management.rb +0 -37
- data/lib/breaker_machines/circuit/base.rb +0 -100
- data/lib/breaker_machines/circuit/callbacks.rb +0 -162
- data/lib/breaker_machines/circuit/configuration.rb +0 -67
- data/lib/breaker_machines/circuit/coordinated_state_management.rb +0 -84
- data/lib/breaker_machines/circuit/execution.rb +0 -191
- data/lib/breaker_machines/circuit/hedged_execution.rb +0 -122
- data/lib/breaker_machines/circuit/introspection.rb +0 -93
- data/lib/breaker_machines/circuit/native.rb +0 -202
- data/lib/breaker_machines/circuit/protection.rb +0 -13
- data/lib/breaker_machines/circuit/proxy.rb +0 -27
- data/lib/breaker_machines/circuit/state_callbacks.rb +0 -70
- data/lib/breaker_machines/circuit/state_machine_definition.rb +0 -51
- data/lib/breaker_machines/circuit/state_management.rb +0 -26
- data/lib/breaker_machines/dsl/cascading_circuit_builder.rb +0 -20
- data/lib/breaker_machines/dsl/circuit_builder.rb +0 -209
- data/lib/breaker_machines/dsl/hedged_builder.rb +0 -21
- data/lib/breaker_machines/dsl/parallel_fallback_wrapper.rb +0 -20
- data/lib/breaker_machines/hedged_async_support.rb +0 -91
- data/lib/breaker_machines/native_extension.rb +0 -81
- data/lib/breaker_machines/native_speedup.rb +0 -10
- data/lib/breaker_machines/storage/backend_state.rb +0 -69
- data/lib/breaker_machines/storage/base.rb +0 -54
- data/lib/breaker_machines/storage/bucket_memory.rb +0 -113
- data/lib/breaker_machines/storage/memory_support.rb +0 -82
- data/lib/breaker_machines/storage/native.rb +0 -87
- data/lib/breaker_machines/types.rb +0 -41
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99ceceb26482d5cb772c9193d8b67f61f47c924a9bc30ae2602f16d11890764d
|
|
4
|
+
data.tar.gz: a8be398c0f24e3acc25d9ad143d21650e1a5736be400f5cb4e4084597bf48fce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9958dcd456a061ddd3dac2afbb83ace62232b3a294b44fdad17d704b465278e181e2b2d5c328fe40a7e6106b9fe20dd27bc39fa11696326c17ed2aeba525dfa
|
|
7
|
+
data.tar.gz: 37980a07942636e3febfeeb8a463c4a19489f5026deb06d7f67464d58b1419f32a6bc8024efe777e4497ecb294bb3fafde199b27fe3d9a131fb82f1ac8249878
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,545 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* Restore shared circuit state after state machine initialization.
|
|
8
|
+
|
|
9
|
+
## [0.28.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.27.0...breaker_machines/v0.28.0) (2026-11-16)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### ⚠ BREAKING CHANGES
|
|
13
|
+
|
|
14
|
+
* the whole Ruby API is the core's: Integer nanoseconds, `Data` configuration values, refusal Symbols, Ruby >= 4.0 and a native extension. In Rust, `Breaker::force_close`, `reset` and `adopt` and the runtime's `force_open`/`force_close`/`reset` return `Result`.
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* decide circuits in a no_std Rust core, Ruby runtime on top ([a030b81](https://github.com/seuros/breaker_machines/commit/a030b8196de7394b7231cfabed3b6a70e07d08f6))
|
|
19
|
+
|
|
20
|
+
## [0.27.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.26.1...breaker_machines/v0.27.0) (2026-11-06)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### ⚠ BREAKING CHANGES
|
|
24
|
+
|
|
25
|
+
* the re-exported chrono-machines is now 0.11.
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
* require chrono-machines 0.11 ([082c156](https://github.com/seuros/breaker_machines/commit/082c1560219f0bdc5240ec208ebbb2e4e667c893))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* build without default features again ([4e9f993](https://github.com/seuros/breaker_machines/commit/4e9f993f414f3646ecc805b5d7ac8dcf51be002b))
|
|
35
|
+
|
|
36
|
+
## [0.26.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.26.0...breaker_machines/v0.26.1) (2026-11-06)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* dedup closed-circuit gate and async circuit test helpers ([04dd0ac](https://github.com/seuros/breaker_machines/commit/04dd0ac88b6db46c7dbc8a49f6400d442e61a4cb))
|
|
42
|
+
|
|
43
|
+
## [0.26.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.25.0...breaker_machines/v0.26.0) (2026-11-06)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
* expose retry timing and a drop-safe probe ticket on the async breaker ([f963c02](https://github.com/seuros/breaker_machines/commit/f963c02176526dfad1db26d8bcfad6ee8f3c36a2))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Bug Fixes
|
|
52
|
+
|
|
53
|
+
* keep test modules out of the packaged crate ([269e5c9](https://github.com/seuros/breaker_machines/commit/269e5c9be8d302e98d1c31d6d66d03df23921450))
|
|
54
|
+
|
|
55
|
+
## [0.25.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.24.1...breaker_machines/v0.25.0) (2026-11-02)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### ⚠ BREAKING CHANGES
|
|
59
|
+
|
|
60
|
+
* breaker-machines re-exports state-machines, now 0.34. A crate that names the re-export, or pairs breaker-machines with its own state-machines, needs state-machines 0.34.
|
|
61
|
+
|
|
62
|
+
### Bug Fixes
|
|
63
|
+
|
|
64
|
+
* build on state-machines 0.34 ([add4838](https://github.com/seuros/breaker_machines/commit/add4838e63d9cb60ecf8751da71c2d8def890735))
|
|
65
|
+
|
|
66
|
+
## [0.24.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.24.0...breaker_machines/v0.24.1) (2026-11-01)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Bug Fixes
|
|
70
|
+
|
|
71
|
+
* express the state_machines constraint as a floor ([131264c](https://github.com/seuros/breaker_machines/commit/131264cdd9b0e1e6192627b7b3503e3daec7aa55))
|
|
72
|
+
|
|
73
|
+
## [0.24.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.23.0...breaker_machines/v0.24.0) (2026-11-01)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
### Features
|
|
77
|
+
|
|
78
|
+
* gems:push_all fetches the release itself ([3b4eb6d](https://github.com/seuros/breaker_machines/commit/3b4eb6d3e7b54bbc60639cc6659a3b3a652ec02d))
|
|
79
|
+
* pass a rubygems OTP through GEM_OTP ([188ea57](https://github.com/seuros/breaker_machines/commit/188ea57b4c9f193c8f202a14fd1a44b01f46a70b))
|
|
80
|
+
* verify release gem checksums before pushing ([1000edf](https://github.com/seuros/breaker_machines/commit/1000edf92efd75518e1aaa0609b807351e0f5135))
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Bug Fixes
|
|
84
|
+
|
|
85
|
+
* enable the rb-sys compiled fallback so new Rubies can build ([db6d75e](https://github.com/seuros/breaker_machines/commit/db6d75e0feadc2ade27518aad47eaba370ee1526))
|
|
86
|
+
* raise the chrono_machines floor to 0.12.1 ([2959305](https://github.com/seuros/breaker_machines/commit/295930570ef92754ba38bc9697a755227c640fb6))
|
|
87
|
+
|
|
88
|
+
## [0.23.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.22.1...breaker_machines/v0.23.0) (2026-11-01)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### Features
|
|
92
|
+
|
|
93
|
+
* **core:** forward state-machines' serde feature ([42361d7](https://github.com/seuros/breaker_machines/commit/42361d77fdd462bf644611fc4c2a264b6f262cde))
|
|
94
|
+
* **core:** re-export state-machines and chrono-machines ([b32e43a](https://github.com/seuros/breaker_machines/commit/b32e43a26290b7f8e063222318873f6169e7700b))
|
|
95
|
+
* honour an ambient deadline at admission ([210555f](https://github.com/seuros/breaker_machines/commit/210555fabceb5f4e31d89b33f4183f8c40feeb79))
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Bug Fixes
|
|
99
|
+
|
|
100
|
+
* a failed gem push fails the release ([8ce3858](https://github.com/seuros/breaker_machines/commit/8ce38582e9621eec5eb9106c19a04f7ea18eb107))
|
|
101
|
+
* a lone checkout can bundle ([ed39395](https://github.com/seuros/breaker_machines/commit/ed39395189c692876d008becbe59e846b586a92e))
|
|
102
|
+
* both circuit backends follow one recovery rule ([c4a731b](https://github.com/seuros/breaker_machines/commit/c4a731bbbee111242d35bc4b2f9dd72f0dd518ce))
|
|
103
|
+
* call chrono for jitter instead of reimplementing it ([c203132](https://github.com/seuros/breaker_machines/commit/c20313268b61b13b38cce877ccfe258e3af2b987))
|
|
104
|
+
* check the budget before clamping the hedge timeout ([536f102](https://github.com/seuros/breaker_machines/commit/536f1020b62fae55b6bf7b2a20852bef3152a2f0))
|
|
105
|
+
* cooldown jitter is drawn once, and observers run outside the lock ([1f75a21](https://github.com/seuros/breaker_machines/commit/1f75a217fe7b098d8f18d5e8afa821057efe459d))
|
|
106
|
+
* hedges prefer a slow success, and native storage counts once ([3a6ffe6](https://github.com/seuros/breaker_machines/commit/3a6ffe67d5f5c8e3b551a955d5d4df2a0abfcab9))
|
|
107
|
+
* native circuits answer the registry's protocol ([fa74516](https://github.com/seuros/breaker_machines/commit/fa74516b19305b8b1a0546a74f4a13ad78b15a9b))
|
|
108
|
+
* resolve the sibling crates from the registry ([83927b3](https://github.com/seuros/breaker_machines/commit/83927b3131556a25aa19bb8d0dc47ef7c397964b))
|
|
109
|
+
* ship the core's test files so the packaged crate builds ([05f5937](https://github.com/seuros/breaker_machines/commit/05f5937b44e75c8e0bfd0ebe52eb85fabf8d0d61))
|
|
110
|
+
* the circuit registry retained every circuit forever ([3fc5d8d](https://github.com/seuros/breaker_machines/commit/3fc5d8dd10a719d6f1c2681da141c30a20f58f3a))
|
|
111
|
+
* the hedged path no longer overruns the budget it just checked ([60a9ccd](https://github.com/seuros/breaker_machines/commit/60a9ccdbf5060e54ce6ec15224db149f62588c53))
|
|
112
|
+
* the native circuit honours half_open_calls ([2ac5f46](https://github.com/seuros/breaker_machines/commit/2ac5f4636e97ae0e2b967e690d6f2cd425c29ab6))
|
|
113
|
+
|
|
114
|
+
## [0.22.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.22.0...breaker_machines/v0.22.1) (2026-10-30)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### Bug Fixes
|
|
118
|
+
|
|
119
|
+
* **console:** show event times as wall-clock dates ([fc6a3fc](https://github.com/seuros/breaker_machines/commit/fc6a3fc0c58c228a513e1b8bd576ab4329e9189c))
|
|
120
|
+
* **storage:** append Cache events atomically and clear stores without delete_matched ([26fdc66](https://github.com/seuros/breaker_machines/commit/26fdc66fa6b1c2e6c4b727847423ff11f8307723))
|
|
121
|
+
|
|
122
|
+
## [0.22.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.21.2...breaker_machines/v0.22.0) (2026-10-16)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
### Features
|
|
126
|
+
|
|
127
|
+
* **core:** observe outcomes that ran outside the circuit ([d9fcb64](https://github.com/seuros/breaker_machines/commit/d9fcb64ee045963f1a8a53f41d1768a6ca073cab))
|
|
128
|
+
|
|
129
|
+
## [0.21.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.21.1...breaker_machines/v0.21.2) (2026-10-14)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
### Bug Fixes
|
|
133
|
+
|
|
134
|
+
* **deps:** bump chrono-machines to 0.9 ([c378c62](https://github.com/seuros/breaker_machines/commit/c378c6270aae5e67da3388c546ac9d8d062d076d))
|
|
135
|
+
* **deps:** bump state-machines to 0.32 ([2ac37d7](https://github.com/seuros/breaker_machines/commit/2ac37d7a6c83d9c486f615d35af455e7d6cd0e0e))
|
|
136
|
+
|
|
137
|
+
## [0.21.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.21.0...breaker_machines/v0.21.1) (2026-10-14)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
### Bug Fixes
|
|
141
|
+
|
|
142
|
+
* restore shared circuit state after initialization ([#85](https://github.com/seuros/breaker_machines/issues/85)) ([b15edc8](https://github.com/seuros/breaker_machines/commit/b15edc849708618b67ce7977347ac70230600ea4))
|
|
143
|
+
|
|
144
|
+
## [0.21.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.20.0...breaker_machines/v0.21.0) (2026-10-13)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
### Features
|
|
148
|
+
|
|
149
|
+
* protect selected client methods with a circuit ([#81](https://github.com/seuros/breaker_machines/issues/81)) ([3bba5ff](https://github.com/seuros/breaker_machines/commit/3bba5ff467930485d6d768f593a456ff419af37d))
|
|
150
|
+
|
|
151
|
+
## [0.20.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.19.0...breaker_machines/v0.20.0) (2026-10-12)
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
### ⚠ BREAKING CHANGES
|
|
155
|
+
|
|
156
|
+
* Rails 8.0 is no longer supported; activesupport >= 8.1 is required.
|
|
157
|
+
|
|
158
|
+
### Features
|
|
159
|
+
|
|
160
|
+
* add bucket_seconds to cache storage counters ([637aa5e](https://github.com/seuros/breaker_machines/commit/637aa5ec4ac0d32bb106cf70203f05bf9df2e3d5))
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
### Bug Fixes
|
|
164
|
+
|
|
165
|
+
* honor cache counter windows ([#78](https://github.com/seuros/breaker_machines/issues/78)) ([81437a6](https://github.com/seuros/breaker_machines/commit/81437a61803aaa344712487406a19a349c4d4c1f))
|
|
166
|
+
* keep shared circuit state consistent across hosts ([39f9d11](https://github.com/seuros/breaker_machines/commit/39f9d11bed086f58bc9db5f85e9a70bc99aefb4d))
|
|
167
|
+
* refresh shared circuit state before admission ([#79](https://github.com/seuros/breaker_machines/issues/79)) ([759b122](https://github.com/seuros/breaker_machines/commit/759b122f6ff52fa664b136501e7da54028e96754))
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
### Build System
|
|
171
|
+
|
|
172
|
+
* require Rails 8.1 and run tests with padded_cell ([bc575a9](https://github.com/seuros/breaker_machines/commit/bc575a9e37cd1113f28baa98749e8fdb8e4646ca))
|
|
173
|
+
|
|
174
|
+
## [0.19.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.18.0...breaker_machines/v0.19.0) (2026-10-10)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
### Features
|
|
178
|
+
|
|
179
|
+
* **core:** add CallTicket admission (try_acquire/complete/abandon) ([9c00764](https://github.com/seuros/breaker_machines/commit/9c007649c2c47a66915587d6d43b48f44b8c39ca))
|
|
180
|
+
* **core:** drop per-call allocations; adopt state-machines 0.31 ([89b8f53](https://github.com/seuros/breaker_machines/commit/89b8f5300d3e06383ba2351468ac7c0f00a01968))
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
### Bug Fixes
|
|
184
|
+
|
|
185
|
+
* **ci:** attach release gems with gh release upload ([9248788](https://github.com/seuros/breaker_machines/commit/924878817ef098e0f03340faebbe0fd7ba068a28))
|
|
186
|
+
* **native:** admit Ruby calls through the core so circuits leave Open ([16a75ce](https://github.com/seuros/breaker_machines/commit/16a75ce4701db90432abf011983e33738ecd8fc1))
|
|
187
|
+
* **storage:** stop scanning the memory event log on every write ([940a1fc](https://github.com/seuros/breaker_machines/commit/940a1fc580bb18b5078b000cc76bd02a50b9f169))
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
### Performance Improvements
|
|
191
|
+
|
|
192
|
+
* **core:** keep the event buffer in a VecDeque ([871cd36](https://github.com/seuros/breaker_machines/commit/871cd3669503f0a5291f41f80315ae3c8fecbeab))
|
|
193
|
+
|
|
194
|
+
## [0.18.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.17.0...breaker_machines/v0.18.0) (2026-10-05)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
### Features
|
|
198
|
+
|
|
199
|
+
* **core:** adopt state-machines 0.30 entry data, hooks and epochs ([d1ee535](https://github.com/seuros/breaker_machines/commit/d1ee535083dd996aa9f6d84c096255cafedaf0c6))
|
|
200
|
+
* require Ruby 4.0, magnus 0.9, Ractor-safe native ext ([bcad7dd](https://github.com/seuros/breaker_machines/commit/bcad7dd403f8fa31a4e0d26c3b173c7b0c8299a0))
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
### Bug Fixes
|
|
204
|
+
|
|
205
|
+
* **build:** skip host compile when packaging a cross gem ([308f761](https://github.com/seuros/breaker_machines/commit/308f761fd77163485ec3e19b1f6c1eda4c7cdbf6))
|
|
206
|
+
* **deps:** loosen state-machines/chrono-machines version ranges ([535f507](https://github.com/seuros/breaker_machines/commit/535f50758de19ff920f082ce575361a2161bfb9f))
|
|
207
|
+
* **deps:** pin state_machines ~> 0.202, chrono_machines ~> 0.9; crates to 0.30/0.8 ([ed47405](https://github.com/seuros/breaker_machines/commit/ed47405988274b30b10dc3934d71f094f0f745c2))
|
|
208
|
+
|
|
209
|
+
## [0.17.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.16.1...breaker_machines/v0.17.0) (2026-09-14)
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
### Features
|
|
213
|
+
|
|
214
|
+
* **core:** share circuit context via Arc ([240375d](https://github.com/seuros/breaker_machines/commit/240375d62b22eb580c87268313a730d6edec2c0d))
|
|
215
|
+
* **core:** share circuit context via Arc, drop defensive fallbacks ([feb5b37](https://github.com/seuros/breaker_machines/commit/feb5b37ce44a11353a2c94492dd27f266cc43b35))
|
|
216
|
+
|
|
217
|
+
## [0.16.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.16.0...breaker_machines/v0.16.1) (2026-08-26)
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
### Bug Fixes
|
|
221
|
+
|
|
222
|
+
* **deps:** bump chrono-machines to 0.6, hashbrown to 0.17; pin rust 1.98 ([de9da4f](https://github.com/seuros/breaker_machines/commit/de9da4f50b900179e03c47e5aff6fae5bd0aa43c))
|
|
223
|
+
|
|
224
|
+
## [0.16.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.15.2...breaker_machines/v0.16.0) (2026-07-18)
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
### Features
|
|
228
|
+
|
|
229
|
+
* **storage:** add distributed circuit coordination ([#71](https://github.com/seuros/breaker_machines/issues/71)) ([8533a6e](https://github.com/seuros/breaker_machines/commit/8533a6e8cdaaeee4053cab0b70763268224bd801))
|
|
230
|
+
|
|
231
|
+
## [0.15.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.15.1...breaker_machines/v0.15.2) (2026-07-17)
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
### Bug Fixes
|
|
235
|
+
|
|
236
|
+
* **async:** make circuit calls cancellation-safe ([#69](https://github.com/seuros/breaker_machines/issues/69)) ([859c200](https://github.com/seuros/breaker_machines/commit/859c200a4aa4844c95a37ee2ac5801ae1815f2d7))
|
|
237
|
+
|
|
238
|
+
## [0.15.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.15.0...breaker_machines/v0.15.1) (2026-06-24)
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
### Bug Fixes
|
|
242
|
+
|
|
243
|
+
* **ci:** use existing actions/upload-artifact v7 ([269667d](https://github.com/seuros/breaker_machines/commit/269667de6bbda38d4f5cfdaae4cf7c7a74ffe4c4))
|
|
244
|
+
|
|
245
|
+
## [0.15.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.14.0...breaker_machines/v0.15.0) (2026-06-24)
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
### Features
|
|
249
|
+
|
|
250
|
+
* **native:** no_std support ([9256931](https://github.com/seuros/breaker_machines/commit/92569311d604f40b3ada7ceccd16ab49a49bab23))
|
|
251
|
+
|
|
252
|
+
## [0.14.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.13.2...breaker_machines/v0.14.0) (2026-06-24)
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
### Features
|
|
256
|
+
|
|
257
|
+
* **native:** add async circuit support ([4a76604](https://github.com/seuros/breaker_machines/commit/4a76604b9f4737470d9e52083b19fe33d9101020))
|
|
258
|
+
|
|
259
|
+
## [0.13.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.13.1...breaker_machines/v0.13.2) (2026-06-15)
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
### Bug Fixes
|
|
263
|
+
|
|
264
|
+
* **ci:** build aarch64-linux gem in cross-gem matrix on x86_64 host ([68cea75](https://github.com/seuros/breaker_machines/commit/68cea7529921365f4b2bcbf790d31a8f397d655d))
|
|
265
|
+
|
|
266
|
+
## [0.13.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.13.0...breaker_machines/v0.13.1) (2026-06-15)
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
### Bug Fixes
|
|
270
|
+
|
|
271
|
+
* **ci:** cross-compile aarch64-linux gem for Ruby 3.4 and 4.0 ([6022fb7](https://github.com/seuros/breaker_machines/commit/6022fb75d3b9f62b80e9491600637bc0ea68f75e))
|
|
272
|
+
|
|
273
|
+
## [0.13.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.12.0...breaker_machines/v0.13.0) (2026-06-15)
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
### Features
|
|
277
|
+
|
|
278
|
+
* adopt state-machines 0.20 typed-state API ([fcfcfee](https://github.com/seuros/breaker_machines/commit/fcfcfee9a3fd16ab34f0331b05cc0ee7d4f11e0a))
|
|
279
|
+
|
|
280
|
+
## [0.12.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.11.0...breaker_machines/v0.12.0) (2026-05-25)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
### Bug Fixes
|
|
284
|
+
|
|
285
|
+
* ship pure ruby fallback gem ([7103928](https://github.com/seuros/breaker_machines/commit/71039286d00ebf308adfdc893e968110100cae29))
|
|
286
|
+
|
|
287
|
+
## [0.11.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.9...breaker_machines/v0.11.0) (2026-05-25)
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
### Bug Fixes
|
|
291
|
+
|
|
292
|
+
* skip native extension outside CRuby ([2cbda6f](https://github.com/seuros/breaker_machines/commit/2cbda6fe828e39f1b7da8280f2d348a1e37464ec))
|
|
293
|
+
* stabilize hedged execution timing tests ([9bec8f5](https://github.com/seuros/breaker_machines/commit/9bec8f59a1a29c6cab113854542086ded67d75c3))
|
|
294
|
+
|
|
295
|
+
## [0.10.9](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.8...breaker_machines/v0.10.9) (2026-05-25)
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
### Bug Fixes
|
|
299
|
+
|
|
300
|
+
* load native extension without embedding Ruby ([ae00fce](https://github.com/seuros/breaker_machines/commit/ae00fceaeeed505570b3f077de0ca8306f6e77d7))
|
|
301
|
+
|
|
302
|
+
## [0.10.8](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.7...breaker_machines/v0.10.8) (2026-03-22)
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
### Bug Fixes
|
|
306
|
+
|
|
307
|
+
* add state-machine keyword, upgrade state-machines to 0.9 ([0157a3c](https://github.com/seuros/breaker_machines/commit/0157a3c4decc0cac51a528af710018ea39604cf2))
|
|
308
|
+
|
|
309
|
+
## [0.10.7](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.6...breaker_machines/v0.10.7) (2026-03-22)
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
### Bug Fixes
|
|
313
|
+
|
|
314
|
+
* add version to workspace breaker-machines dependency ([b87f538](https://github.com/seuros/breaker_machines/commit/b87f538a8512b1f5b3221a036dc3d12caf502c7f))
|
|
315
|
+
* upgrade state-machines to 0.9 ([4054177](https://github.com/seuros/breaker_machines/commit/4054177dc2326ae8407e91eab2b8d3890cf7e4b0))
|
|
316
|
+
|
|
317
|
+
## [0.10.6](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.5...breaker_machines/v0.10.6) (2026-01-23)
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
### Bug Fixes
|
|
321
|
+
|
|
322
|
+
* update state machines ([#56](https://github.com/seuros/breaker_machines/issues/56)) ([cc630de](https://github.com/seuros/breaker_machines/commit/cc630deb675b8ec7e78b8af699244d8b59ab8fde))
|
|
323
|
+
|
|
324
|
+
## [0.10.5](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.4...breaker_machines/v0.10.5) (2026-01-23)
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
### Bug Fixes
|
|
328
|
+
|
|
329
|
+
* update state-machines ([#54](https://github.com/seuros/breaker_machines/issues/54)) ([108af96](https://github.com/seuros/breaker_machines/commit/108af96df17df7773bc35dedd512a3a3cbb0251f))
|
|
330
|
+
|
|
331
|
+
## [0.10.4](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.3...breaker_machines/v0.10.4) (2026-01-16)
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
### Bug Fixes
|
|
335
|
+
|
|
336
|
+
* update crate dependencies ([#52](https://github.com/seuros/breaker_machines/issues/52)) ([2c5e382](https://github.com/seuros/breaker_machines/commit/2c5e382edc08d7d283334c57af3a4b97b1315dd7))
|
|
337
|
+
|
|
338
|
+
## [0.10.3](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.2...breaker_machines/v0.10.3) (2025-12-27)
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
### Bug Fixes
|
|
342
|
+
|
|
343
|
+
* add Ruby 4.0.0-preview3 to test matrix ([#50](https://github.com/seuros/breaker_machines/issues/50)) ([dc73a38](https://github.com/seuros/breaker_machines/commit/dc73a38846b4e8816bbb43cfaf5ea62529f56053))
|
|
344
|
+
|
|
345
|
+
## [0.10.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.1...breaker_machines/v0.10.2) (2025-12-11)
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
### Bug Fixes
|
|
349
|
+
|
|
350
|
+
* remove unused variable in jitter variance test ([cfbd8e0](https://github.com/seuros/breaker_machines/commit/cfbd8e00118db8b93464ef8cc65ba894e809ce44))
|
|
351
|
+
|
|
352
|
+
## [0.10.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.0...breaker_machines/v0.10.1) (2025-11-25)
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
### Bug Fixes
|
|
356
|
+
|
|
357
|
+
* callback panic safety and expanded test coverage ([#46](https://github.com/seuros/breaker_machines/issues/46)) ([5414bc6](https://github.com/seuros/breaker_machines/commit/5414bc6d60e102dca4ba78bf13134f48e2c22de3))
|
|
358
|
+
* callback panic safety and expanded test coverage ([#48](https://github.com/seuros/breaker_machines/issues/48)) ([6dbeb3d](https://github.com/seuros/breaker_machines/commit/6dbeb3d3653b2d1208f119fcebe7f3a9015193cc))
|
|
359
|
+
|
|
360
|
+
## [0.10.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.9.4...breaker_machines/v0.10.0) (2025-11-24)
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
### Features
|
|
364
|
+
|
|
365
|
+
* circuit breaker bookkeeping and HalfOpen counter reset ([#44](https://github.com/seuros/breaker_machines/issues/44)) ([ef2bac7](https://github.com/seuros/breaker_machines/commit/ef2bac77d6c0024265498d2173816e906fa4fb39))
|
|
366
|
+
|
|
367
|
+
## [0.9.4](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.9.3...breaker_machines/v0.9.4) (2025-11-24)
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
### Bug Fixes
|
|
371
|
+
|
|
372
|
+
* update crate ([6b5fac4](https://github.com/seuros/breaker_machines/commit/6b5fac4504454039182765675832288a4fa3eab4))
|
|
373
|
+
|
|
374
|
+
## [0.9.3](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.9.2...breaker_machines/v0.9.3) (2025-11-23)
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
### Bug Fixes
|
|
378
|
+
|
|
379
|
+
* Remove empty env block in manual-native-build.yml ([2487c95](https://github.com/seuros/breaker_machines/commit/2487c953e6e799c538842c9cc1ed8573e349948a))
|
|
380
|
+
* Set BREAKER_MACHINES_NATIVE env var before require in CI test ([62a2eca](https://github.com/seuros/breaker_machines/commit/62a2eca430bc0e963c3e87a581556074b48cd695))
|
|
381
|
+
|
|
382
|
+
## [0.9.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.9.1...breaker_machines/v0.9.2) (2025-11-23)
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
### Bug Fixes
|
|
386
|
+
|
|
387
|
+
* Use ubuntu-24.04-arm (not arm64) ([1ea562c](https://github.com/seuros/breaker_machines/commit/1ea562cc2c387a3b3f525804af0641f626f6d13f))
|
|
388
|
+
|
|
389
|
+
## [0.9.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.9.0...breaker_machines/v0.9.1) (2025-11-23)
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
### Bug Fixes
|
|
393
|
+
|
|
394
|
+
* Use native ARM runner for aarch64-linux builds ([82f4abb](https://github.com/seuros/breaker_machines/commit/82f4abbf095753fb4000197213d8e7ab7a00c326))
|
|
395
|
+
|
|
396
|
+
## [0.9.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.8.4...breaker_machines/v0.9.0) (2025-11-23)
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
### Features
|
|
400
|
+
|
|
401
|
+
* Make native extension opt-in at runtime ([5fba9af](https://github.com/seuros/breaker_machines/commit/5fba9afd9c81ab1e00c154b80e62d50bfdd1127e))
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
### Bug Fixes
|
|
405
|
+
|
|
406
|
+
* Re-add aarch64-linux with platform-specific cache isolation ([b3e8de3](https://github.com/seuros/breaker_machines/commit/b3e8de37dffe79e56d7ca492c6e58135ca2dc9fc))
|
|
407
|
+
* Remove aarch64-linux from build matrix ([aa2d02b](https://github.com/seuros/breaker_machines/commit/aa2d02b22b5ac9b72d8bfd03b11bf51de207e181))
|
|
408
|
+
|
|
409
|
+
## [0.8.4](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.8.3...breaker_machines/v0.8.4) (2025-11-23)
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
### Bug Fixes
|
|
413
|
+
|
|
414
|
+
* Use platform-specific cache-version to prevent cross-contamination ([a5c53d7](https://github.com/seuros/breaker_machines/commit/a5c53d737184209c80c007d8d009203f7b1923bf))
|
|
415
|
+
|
|
416
|
+
## [0.8.3](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.8.2...breaker_machines/v0.8.3) (2025-11-23)
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
### Bug Fixes
|
|
420
|
+
|
|
421
|
+
* Revert opt-in native extension and remove invalid cache-key ([2e6a03f](https://github.com/seuros/breaker_machines/commit/2e6a03f308469dbe4d0c43a3a055573037ce53af))
|
|
422
|
+
|
|
423
|
+
## [0.8.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.8.1...breaker_machines/v0.8.2) (2025-11-23)
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
### Bug Fixes
|
|
427
|
+
|
|
428
|
+
* add JRuby and TruffleRuby CI testing ([#11](https://github.com/seuros/breaker_machines/issues/11)) ([8aa1c99](https://github.com/seuros/breaker_machines/commit/8aa1c995a6b75c5fa6d392ce58243b818c2df27e))
|
|
429
|
+
* Make native extension opt-in with BREAKER_MACHINES_NATIVE=1 ([#36](https://github.com/seuros/breaker_machines/issues/36)) ([126d631](https://github.com/seuros/breaker_machines/commit/126d63158e83fc7e6ca62cd7392ef62d9a592c5e))
|
|
430
|
+
|
|
431
|
+
## [0.8.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.8.0...breaker_machines/v0.8.1) (2025-11-23)
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
### Bug Fixes
|
|
435
|
+
|
|
436
|
+
* Isolate aarch64-linux build with platform-specific cache and target dir ([653ec42](https://github.com/seuros/breaker_machines/commit/653ec427077fe5072e868b2b0c303952217a584f))
|
|
437
|
+
|
|
438
|
+
## [0.8.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.7.1...breaker_machines/v0.8.0) (2025-11-23)
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
### Features
|
|
442
|
+
|
|
443
|
+
* Add GEM_PUSH_HOST env var for flexible gem publishing ([16530d6](https://github.com/seuros/breaker_machines/commit/16530d6ec00a44d69e7a84712b07e496ea13d993))
|
|
444
|
+
* Add multi-architecture test workflow with musl support ([70017e9](https://github.com/seuros/breaker_machines/commit/70017e900ae068213793512e355e28df85cc47a2))
|
|
445
|
+
* Add x86_64-linux-musl platform and GitHub Packages publishing to release workflow ([b661d1a](https://github.com/seuros/breaker_machines/commit/b661d1a9430ebde285214865177e042949bd278f))
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
### Bug Fixes
|
|
449
|
+
|
|
450
|
+
* Add --force flag to bypass allowed_push_host restriction ([7edd9b1](https://github.com/seuros/breaker_machines/commit/7edd9b13d1e79d50a0eacda309a9c8bf1024c207))
|
|
451
|
+
* Correct publish idempotent logic and gem install syntax ([cab2826](https://github.com/seuros/breaker_machines/commit/cab2826e9dee72fb41fac1e6f8a8edf48a0e3063))
|
|
452
|
+
* Handle RubyGems version normalization in test workflow ([b641418](https://github.com/seuros/breaker_machines/commit/b641418222d6822a0051b6c1a9502bdf841f30e8))
|
|
453
|
+
* Make publish idempotent and fix smoke test dependencies ([addc7b7](https://github.com/seuros/breaker_machines/commit/addc7b74b26ea73f2dce6247ec3fce67003737ce))
|
|
454
|
+
* Make smoke tests non-blocking ([3d22dea](https://github.com/seuros/breaker_machines/commit/3d22dea550b7c4e3c845be401736fe21f2cc4558))
|
|
455
|
+
* Reduce to working platforms only - 5 total ([e0ed30b](https://github.com/seuros/breaker_machines/commit/e0ed30bc9098b5e42a2df17806a1671e026ae3c8))
|
|
456
|
+
* Remove aarch64-linux from test workflow due to cache corruption ([8315eff](https://github.com/seuros/breaker_machines/commit/8315effc4d5bd5a926f8ca3f623d6601b610df8d))
|
|
457
|
+
* Remove unsupported armv7-linux-musl and arm-linux-musl platforms ([a075b6c](https://github.com/seuros/breaker_machines/commit/a075b6ccf6943139549edabf67e5ac12bb1ca0b8))
|
|
458
|
+
* Use --allowed-push-host flag to override gemspec restriction ([37e3291](https://github.com/seuros/breaker_machines/commit/37e3291801ed0c2d68ded21eeb234bd2fa841f75))
|
|
459
|
+
|
|
460
|
+
## [0.7.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.7.0...breaker_machines/v0.7.1) (2025-11-19)
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
### Bug Fixes
|
|
464
|
+
|
|
465
|
+
* detect platform binary ([#31](https://github.com/seuros/breaker_machines/issues/31)) ([4f71383](https://github.com/seuros/breaker_machines/commit/4f71383d40e203f8b520b38331abca37941e086c))
|
|
466
|
+
|
|
467
|
+
## [0.7.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.6.2...breaker_machines/v0.7.0) (2025-11-11)
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
### Bug Fixes
|
|
471
|
+
|
|
472
|
+
* cross gem perms ([#28](https://github.com/seuros/breaker_machines/issues/28)) ([e35b9b7](https://github.com/seuros/breaker_machines/commit/e35b9b7fc0383aaf601bce24a492a63de5ff07ec))
|
|
473
|
+
* Fix/release cross gem perms ([#30](https://github.com/seuros/breaker_machines/issues/30)) ([717a152](https://github.com/seuros/breaker_machines/commit/717a152b055d2df1c0d2d3b4697f553c09ea881d))
|
|
474
|
+
|
|
475
|
+
## [0.6.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.6.1...breaker_machines/v0.6.2) (2025-11-05)
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
### Bug Fixes
|
|
479
|
+
|
|
480
|
+
* install rb_sys to user gem home in release ([#26](https://github.com/seuros/breaker_machines/issues/26)) ([909ae50](https://github.com/seuros/breaker_machines/commit/909ae505a68fe3ea96648f626eefc33ae3470eb8))
|
|
481
|
+
|
|
482
|
+
## [0.6.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.6.0...breaker_machines/v0.6.1) (2025-11-05)
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
### Bug Fixes
|
|
486
|
+
|
|
487
|
+
* bundle rb_sys for source installs ([#24](https://github.com/seuros/breaker_machines/issues/24)) ([adeed7e](https://github.com/seuros/breaker_machines/commit/adeed7e7eac2f974d95ffb7ca93c02a4183d36f0))
|
|
488
|
+
|
|
489
|
+
## [0.6.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.5.0...breaker_machines/v0.6.0) (2025-11-05)
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
### Features
|
|
493
|
+
|
|
494
|
+
* add native storage backend with Rust v0.3.0 and Rails 8+ support ([#21](https://github.com/seuros/breaker_machines/issues/21)) ([cf45b0a](https://github.com/seuros/breaker_machines/commit/cf45b0aa8444a86b5ce20e1627013c532c56169e))
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
### Bug Fixes
|
|
498
|
+
|
|
499
|
+
* configure release-please for monorepo with Ruby and Rust packages ([656127c](https://github.com/seuros/breaker_machines/commit/656127c4588010f33822ca5114ba3e9ebbeb6df5))
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
### Code Refactoring
|
|
503
|
+
|
|
504
|
+
* fix clippy warnings in Rust crate ([7dd1230](https://github.com/seuros/breaker_machines/commit/7dd1230bdfc1beff377c4b9c332727beabb996ab))
|
|
505
|
+
|
|
506
|
+
## [0.5.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.4.2...breaker_machines/v0.5.0) (2025-09-10)
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
### Bug Fixes
|
|
510
|
+
|
|
511
|
+
* version ([c69d413](https://github.com/seuros/breaker_machines/commit/c69d41371ea9b72c63b0cce11825f6059a45b8f3))
|
|
512
|
+
|
|
513
|
+
## [0.4.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.4.1...breaker_machines/v0.4.2) (2025-09-10)
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
### Features
|
|
517
|
+
|
|
518
|
+
* modernize async API to leverage 2.31.0 features ([#19](https://github.com/seuros/breaker_machines/issues/19)) ([8360716](https://github.com/seuros/breaker_machines/commit/836071690cee92febdc7d66d9839dbfb68fe486f))
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
### Bug Fixes
|
|
522
|
+
|
|
523
|
+
* implement hard_reset event for proper test isolation ([#16](https://github.com/seuros/breaker_machines/issues/16)) ([0e0c31f](https://github.com/seuros/breaker_machines/commit/0e0c31f0c5e289be77c453b41ea56a8b96449610))
|
|
524
|
+
* resolve race condition in parallel fallback execution ([#18](https://github.com/seuros/breaker_machines/issues/18)) ([07eed69](https://github.com/seuros/breaker_machines/commit/07eed69092dc4747251e10d6501a054570198e5f))
|
|
525
|
+
|
|
526
|
+
## [0.4.1](https://github.com/seuros/breaker_machines/compare/breaker_machines-v0.4.0...breaker_machines/v0.4.1) (2025-09-10)
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
### Features
|
|
530
|
+
|
|
531
|
+
* add state_machines v0.100.0 features and enhancements ([#10](https://github.com/seuros/breaker_machines/issues/10)) ([dc32336](https://github.com/seuros/breaker_machines/commit/dc323365c05e8d1faf0421f3dbc0d62487378a03))
|
|
532
|
+
* allow rails 7.2 to use this gem ([027a8b8](https://github.com/seuros/breaker_machines/commit/027a8b8baeb296c5436b9f4f7db168012ff1fb9e))
|
|
533
|
+
* cascading circuits aka "Shield Harmonics" ([#7](https://github.com/seuros/breaker_machines/issues/7)) ([310bfe6](https://github.com/seuros/breaker_machines/commit/310bfe665c099a510cd358919c095b5c8f89e7fc))
|
|
534
|
+
* created adapter for Rails cache stores ([#1](https://github.com/seuros/breaker_machines/issues/1)) ([2f423e9](https://github.com/seuros/breaker_machines/commit/2f423e9a6f2dc3c82ddeb5eab4bd290ae464c664))
|
|
535
|
+
* dynamic circuits ([b63597b](https://github.com/seuros/breaker_machines/commit/b63597b6136b35e05bf7ad4d87fadf628da99461))
|
|
536
|
+
* extract instrumentation for fallback chain ([5880304](https://github.com/seuros/breaker_machines/commit/588030463b36cfb483dc7c20d5ded65a5a75a8ff))
|
|
537
|
+
* fallback_chain feature ([#6](https://github.com/seuros/breaker_machines/issues/6)) ([fc0df2e](https://github.com/seuros/breaker_machines/commit/fc0df2e69407f5fa900208fcab1409cc836e4605))
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
### Bug Fixes
|
|
541
|
+
|
|
542
|
+
* circuit breaker deadlock in bulkheading feature ([#2](https://github.com/seuros/breaker_machines/issues/2)) ([f72349c](https://github.com/seuros/breaker_machines/commit/f72349c1e6792a5cb71e1bdfbf34fd00c9efd86c))
|
|
543
|
+
* correct fiber_safe syntax ([1024400](https://github.com/seuros/breaker_machines/commit/10244005c40ac1b248dc5eb746056b9de27f8a1c))
|
|
544
|
+
* extract hedged requests ([94dfcc1](https://github.com/seuros/breaker_machines/commit/94dfcc1ebd967a4bc04e3dff12c89eecbc9f13bf))
|
|
545
|
+
* extract hedged requests ([afd9b4b](https://github.com/seuros/breaker_machines/commit/afd9b4b3b5792798fffdb2b1afb17b8ba337013d))
|
data/Cargo.toml
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
members = ["ext/breaker_machines_native/core", "ext/breaker_machines_native/ffi"]
|
|
3
|
+
default-members = ["ext/breaker_machines_native/core"]
|
|
4
|
+
resolver = "3"
|
|
5
|
+
|
|
6
|
+
[workspace.package]
|
|
7
|
+
edition = "2024"
|
|
8
|
+
rust-version = "1.99"
|
|
9
|
+
license = "MIT"
|
|
10
|
+
|
|
11
|
+
[workspace.dependencies]
|
|
12
|
+
breaker-machines = { path = "ext/breaker_machines_native/core" }
|
|
13
|
+
matryona-machines = { version = ">=0.6", default-features = false }
|
|
14
|
+
magnus = { version = "0.9.3", default-features = false }
|
|
15
|
+
# Nothing here calls rb-sys directly: this is the compiled fallback that
|
|
16
|
+
# implements the stable API for a Ruby rb-sys ships no pre-generated bindings
|
|
17
|
+
# for, such as a preview. magnus asks for "stable-api" without it, and its
|
|
18
|
+
# default-features = false drops the default that would have supplied it.
|
|
19
|
+
rb-sys = { version = "0.9.130", default-features = false, features = ["stable-api-compiled-fallback"] }
|
|
20
|
+
|
|
21
|
+
[workspace.lints.rust]
|
|
22
|
+
unsafe_code = "deny"
|
|
23
|
+
unused_must_use = "warn"
|
|
24
|
+
missing_docs = "warn"
|
|
25
|
+
|
|
26
|
+
[workspace.lints.clippy]
|
|
27
|
+
all = { level = "warn", priority = -1 }
|
|
28
|
+
pedantic = { level = "warn", priority = -1 }
|
|
29
|
+
nursery = { level = "warn", priority = -1 }
|
|
30
|
+
await_holding_invalid_type = "deny"
|
|
31
|
+
await_holding_lock = "deny"
|
|
32
|
+
expect_used = "deny"
|
|
33
|
+
identity_op = "deny"
|
|
34
|
+
manual_clamp = "deny"
|
|
35
|
+
manual_filter = "deny"
|
|
36
|
+
manual_find = "deny"
|
|
37
|
+
manual_flatten = "deny"
|
|
38
|
+
manual_map = "deny"
|
|
39
|
+
manual_memcpy = "deny"
|
|
40
|
+
manual_non_exhaustive = "deny"
|
|
41
|
+
manual_ok_or = "deny"
|
|
42
|
+
manual_range_contains = "deny"
|
|
43
|
+
manual_retain = "deny"
|
|
44
|
+
manual_strip = "deny"
|
|
45
|
+
manual_try_fold = "deny"
|
|
46
|
+
manual_unwrap_or = "deny"
|
|
47
|
+
needless_borrow = "deny"
|
|
48
|
+
needless_borrowed_reference = "deny"
|
|
49
|
+
needless_collect = "deny"
|
|
50
|
+
needless_late_init = "deny"
|
|
51
|
+
needless_option_as_deref = "deny"
|
|
52
|
+
needless_question_mark = "deny"
|
|
53
|
+
needless_update = "deny"
|
|
54
|
+
redundant_clone = "deny"
|
|
55
|
+
redundant_closure = "deny"
|
|
56
|
+
redundant_closure_for_method_calls = "deny"
|
|
57
|
+
redundant_static_lifetimes = "deny"
|
|
58
|
+
trivially_copy_pass_by_ref = "deny"
|
|
59
|
+
uninlined_format_args = "deny"
|
|
60
|
+
unnecessary_filter_map = "deny"
|
|
61
|
+
unnecessary_lazy_evaluations = "deny"
|
|
62
|
+
unnecessary_sort_by = "deny"
|
|
63
|
+
unnecessary_to_owned = "deny"
|
|
64
|
+
unwrap_used = "deny"
|