Skip to content

1.1.1

Choose a tag to compare

@fabiangftech fabiangftech released this 01 Dec 13:16
· 55 commits to main since this release

Fixes since 1.1.0, all compatible: the API, the generated code and the configuration are unchanged. One of them matters at startup: on Micronaut, an unquoted verify-instances: off in YAML, as the guide shows it, stopped the application from starting.

Fixed

  • A duration longer than about 292 years (Long.MAX_VALUE nanoseconds) in a *Config builder, a Pipeline step or ResilienceRegistry.Builder is rejected with R4C-REG-001, naming the attribute. It used to fail later, when the policy was created, with an ArithmeticException and no R4C code. Annotations and configuration files already rejected it.
  • Micronaut: an unquoted verify-instances: off in YAML stopped the application from starting. YAML reads it as the boolean false, which failed with R4C-MN-006; it now means off. An unquoted on is still rejected, with a hint to quote the value.
  • resilience4cata-opentelemetry: binding a registry kept it alive until close(), so a registry the application dropped was never collected and its gauges kept reporting. They now stop when it is collected (OpenTelemetry).
  • resilience4cata-micrometer: when a bound registry was collected, a registry bound later with an instance of the same id never got gauges; its state stayed NaN. It now takes the stale gauges over (Micrometer).

Install: dev.resilience4cata:resilience4cata-bom:1.1.1 (installation). Full changelog: https://resilience4cata.dev/en/changelog