v3.6.1
·
28 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
3.6.1
- Fix: Validate the
on:option before retrying. Previously, passing a non-Exceptionvalue such asObject,Kernel, or a plainModule(which appear in everyException's ancestor chain) would silently retry process-critical exceptions likeSystemExitandInterrupt. Theon:option now requires anExceptionsubclass, an array of them, or a hash whose keys are such classes and whose values arenil, aRegexp, or an array ofRegexps. Invalid shapes raiseArgumentErrorbefore the block runs. - Fix: Validate
with_override(contexts:)shape before applying overrides.contextsmay benilor a hash, and each per-context override must be a hash. - Docs: Document that
on_retry: falsedisables a callback set inRetriable.configurefor a single call.