v3.6.0
·
34 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
3.6.0
- Breaking:
Retriable.overrideandRetriable.reset_overrideare removed and replaced by block-scopedRetriable.with_override(opts) { ... }. The new API requires a block, restores the previous override (or absence of override) when the block exits viaensure, and is thread-local — overrides set in one thread do not affect other threads, and child threads do not inherit them. Fibers within a thread still share the thread's active override. Nestedwith_overridecalls correctly restore the outer override on inner exit. See the README anddocs/testing.mdfor migration and testing patterns. This replaces the override API introduced in 3.5.0.