Skip to content

v0.1.3

Choose a tag to compare

@SamPetherbridge SamPetherbridge released this 11 Dec 03:00
· 11 commits to main since this release
f31ed64

What's Changed

Features

  • Automatic retry with exponential backoff for rate limiting (429) and server errors (5xx)
    • Exponential backoff: 1s, 2s, 4s... up to 60s max
    • Respects Retry-After header when present
    • 3 retries by default (configurable via max_retries param)
    • Applies to both sync and async request methods
    • Logs retry attempts with delay information

This helps handle Apple's API rate limits gracefully, automatically retrying requests when the API returns 429 errors.