feat(http): add automatic rate limit handling with smartrequest
- Migrated HTTP client to @push.rocks/smartrequest for robust rate limiting - Automatic retry with exponential backoff (1s, 2s, 4s) on HTTP 429 - Respects Retry-After headers from server - Improved error handling and network resilience - Updated documentation with rate limit handling examples
This commit is contained in:
11
changelog.md
11
changelog.md
@@ -1,5 +1,16 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-07-29 - 4.3.0 - feat(http)
|
||||
Enhanced HTTP client with automatic rate limit handling
|
||||
|
||||
- Added @push.rocks/smartrequest dependency for robust HTTP handling
|
||||
- Implemented automatic retry with exponential backoff for rate-limited requests
|
||||
- Built-in handling of HTTP 429 responses with intelligent waiting
|
||||
- Respects Retry-After headers when provided by the server
|
||||
- Maximum of 3 retry attempts with configurable backoff (1s, 2s, 4s)
|
||||
- Improved error handling and network resilience
|
||||
- Updated readme documentation with automatic rate limit handling examples
|
||||
|
||||
## 2025-07-27 - 4.2.1 - fix(tests)
|
||||
Fix test compatibility with breaking changes from v4.0.0
|
||||
|
||||
|
Reference in New Issue
Block a user