Skip to content

RelPrim 0.9.0

Latest

Choose a tag to compare

@bart-rozycki bart-rozycki released this 30 Jul 21:03

Summary

RelPrim 0.9.0 adds provider-aware rate-limit recovery.

The release allows operations to use provider-supplied retry delays, fall back
to regular retry backoff when no hint is available, and avoid waits that exceed
an operation's configured maximum.

Added

  • RateLimitPolicy
  • RateLimitDecision
  • RetryAfterExtractor
  • rate_limit_policy()
  • RetryAfterExtractionError
  • AsyncOperation.with_rate_limit()
  • @resilient(...) rate-limit configuration
  • Provider retry-after delay handling
  • Backoff fallback for missing retry hints
  • Maximum acceptable wait enforcement
  • Rate-limit report metadata
  • Rate-limit structured events
  • Rate-limit documentation and example

Behavior

Rate-limit handling integrates with the existing retry and fallback flow.

When the selected delay exceeds the configured maximum, RelPrim skips the retry
and proceeds to fallback or final failure.

Non-goals

This release does not add request throttling, a token bucket or a distributed
rate limiter.