chore: Testing the release#23
Merged
edenreich merged 6 commits intoclaude/issue-19-20250822-1009from Aug 22, 2025
Merged
Conversation
Signed-off-by: Eden Reich <eden.reich@gmail.com>
… clarity Signed-off-by: Eden Reich <eden.reich@gmail.com>
## [1.12.0-rc.1](v1.11.1...v1.12.0-rc.1) (2025-08-22) ### ✨ Features * **retry:** Add configurable status codes and callback mechanism ([1d3cefa](1d3cefa)) * **retry:** Add retry logic with exponential backoff for HTTP requests ([0d1a57a](0d1a57a)) ### ♻️ Improvements * **retry:** Clean up comments ([b5a32db](b5a32db)) ### 🐛 Bug Fixes * **headers:** Remove redundant comment in TestWithHeaders ([a6a6cbb](a6a6cbb)) ### 🔧 Miscellaneous * Remove redundant comments ([fbbe49f](fbbe49f)) * Testing the release ([#22](#22)) ([05b9687](05b9687))
## [1.12.0-rc.1](v1.11.1...v1.12.0-rc.1) (2025-08-22) ### ✨ Features * **retry:** Add configurable status codes and callback mechanism ([1d3cefa](1d3cefa)) * **retry:** Add retry logic with exponential backoff for HTTP requests ([0d1a57a](0d1a57a)) ### ♻️ Improvements * **retry:** Clean up comments ([b5a32db](b5a32db)) * **retry:** Remove comments from retryable status code tests for clarity ([5948350](5948350)) * **retry:** Remove redundant comments in isRetryableStatusCode function ([930dc15](930dc15)) ### 🐛 Bug Fixes * **headers:** Remove redundant comment in TestWithHeaders ([468f356](468f356)) ### 🔧 Miscellaneous * **release:** 🔖 1.12.0-rc.1 [skip ci] ([d36f1ab](d36f1ab)) * Remove redundant comments ([fbbe49f](fbbe49f)) * Testing the release ([#22](#22)) ([05b9687](05b9687))
…fter function with tests also for rate-limiting retries Signed-off-by: Eden Reich <eden.reich@gmail.com>
## [1.12.0-rc.2](v1.12.0-rc.1...v1.12.0-rc.2) (2025-08-22) ### ✨ Features * Add Retry Mechanism section to README and implement parseRetryAfter function with tests also for rate-limiting retries ([ce74bad](ce74bad))
|
🎉 This PR is included in version 1.12.0-rc.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
edenreich
added a commit
that referenced
this pull request
Aug 22, 2025
…ts (#20) * feat(retry): Add retry logic with exponential backoff for HTTP requests - Add RetryConfig type with configurable retry parameters - Update ClientOptions to include RetryConfig field - Implement retry helper functions for error detection and backoff calculation - Add executeWithRetry method with exponential backoff logic - Integrate retry logic into all HTTP methods (ListModels, ListProviderModels, ListTools, GenerateContent, GenerateContentStream, HealthCheck) - Add comprehensive tests covering various retry scenarios - Default retry configuration: enabled with 3 max attempts, 2s initial backoff, 30s max backoff, 2x multiplier - Retry on status codes: 408, 429, 500, 502, 503, 504 - Retry on network errors: timeouts, connection failures, DNS errors - Respect context cancellation during retries Co-authored-by: Eden Reich <edenreich@users.noreply.github.com> * refactor(retry): Clean up comments Signed-off-by: Eden Reich <eden.reich@gmail.com> * feat(retry): Add configurable status codes and callback mechanism - Add RetryableStatusCodes field to RetryConfig for custom status codes - Add OnRetry callback for retry event logging and monitoring - Maintain backward compatibility with default behavior - Update isRetryableStatusCode to use configurable codes - Add comprehensive test coverage for new functionality Co-authored-by: Eden Reich <edenreich@users.noreply.github.com> * chore: Remove redundant comments * chore: Testing the release (#22) * refactor(tests): Remove unnecessary blank line in TestIsRetryableStatusCode Signed-off-by: Eden Reich <eden.reich@gmail.com> * chore(release): 🔖 1.12.0-rc.1 [skip ci] ## [1.12.0-rc.1](v1.11.1...v1.12.0-rc.1) (2025-08-22) ### ✨ Features * **retry:** Add configurable status codes and callback mechanism ([1d3cefa](1d3cefa)) * **retry:** Add retry logic with exponential backoff for HTTP requests ([0d1a57a](0d1a57a)) ### ♻️ Improvements * **retry:** Clean up comments ([b5a32db](b5a32db)) * **tests:** Remove unnecessary blank line in TestIsRetryableStatusCode ([223ab26](223ab26)) ### 🔧 Miscellaneous * Remove redundant comments ([fbbe49f](fbbe49f)) --------- Signed-off-by: Eden Reich <eden.reich@gmail.com> * refactor(retry): Remove redundant comments in isRetryableStatusCode function Signed-off-by: Eden Reich <eden.reich@gmail.com> * chore: Testing the release (#23) * fix(headers): Remove redundant comment in TestWithHeaders Signed-off-by: Eden Reich <eden.reich@gmail.com> * refactor(retry): Remove comments from retryable status code tests for clarity Signed-off-by: Eden Reich <eden.reich@gmail.com> * chore(release): 🔖 1.12.0-rc.1 [skip ci] ## [1.12.0-rc.1](v1.11.1...v1.12.0-rc.1) (2025-08-22) ### ✨ Features * **retry:** Add configurable status codes and callback mechanism ([1d3cefa](1d3cefa)) * **retry:** Add retry logic with exponential backoff for HTTP requests ([0d1a57a](0d1a57a)) ### ♻️ Improvements * **retry:** Clean up comments ([b5a32db](b5a32db)) ### 🐛 Bug Fixes * **headers:** Remove redundant comment in TestWithHeaders ([a6a6cbb](a6a6cbb)) ### 🔧 Miscellaneous * Remove redundant comments ([fbbe49f](fbbe49f)) * Testing the release ([#22](#22)) ([05b9687](05b9687)) * chore(release): 🔖 1.12.0-rc.1 [skip ci] ## [1.12.0-rc.1](v1.11.1...v1.12.0-rc.1) (2025-08-22) ### ✨ Features * **retry:** Add configurable status codes and callback mechanism ([1d3cefa](1d3cefa)) * **retry:** Add retry logic with exponential backoff for HTTP requests ([0d1a57a](0d1a57a)) ### ♻️ Improvements * **retry:** Clean up comments ([b5a32db](b5a32db)) * **retry:** Remove comments from retryable status code tests for clarity ([5948350](5948350)) * **retry:** Remove redundant comments in isRetryableStatusCode function ([930dc15](930dc15)) ### 🐛 Bug Fixes * **headers:** Remove redundant comment in TestWithHeaders ([468f356](468f356)) ### 🔧 Miscellaneous * **release:** 🔖 1.12.0-rc.1 [skip ci] ([d36f1ab](d36f1ab)) * Remove redundant comments ([fbbe49f](fbbe49f)) * Testing the release ([#22](#22)) ([05b9687](05b9687)) * feat: Add Retry Mechanism section to README and implement parseRetryAfter function with tests also for rate-limiting retries Signed-off-by: Eden Reich <eden.reich@gmail.com> * chore(release): 🔖 1.12.0-rc.2 [skip ci] ## [1.12.0-rc.2](v1.12.0-rc.1...v1.12.0-rc.2) (2025-08-22) ### ✨ Features * Add Retry Mechanism section to README and implement parseRetryAfter function with tests also for rate-limiting retries ([ce74bad](ce74bad)) --------- Signed-off-by: Eden Reich <eden.reich@gmail.com> --------- Signed-off-by: Eden Reich <eden.reich@gmail.com> Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Eden Reich <edenreich@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.