Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .changeset/smooth-poems-shake.md

This file was deleted.

12 changes: 12 additions & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @blizzard-api/client

## 5.5.1

### Patch Changes

- ae53cb3: Update ky to 2.2.0 and delegate 429 retry handling to ky instead of wrapping every request in a custom retry loop.

`maxAttempts` previously compounded with ky's own retries, so a request configured with `maxAttempts: 3` sent nine HTTP requests. It now sends exactly three. `retryOnRateLimit: false` also did not stop ky from retrying twice; it now disables retries entirely.

Retries are now configured through ky, which also means the token endpoints gain the same `Retry-After` and rate limit header handling as the resource endpoints, and `5xx`, network, and timeout failures are retried too. Retry settings passed per request are honoured rather than silently ignored.

`kyOptions.retry` is merged with the client's defaults instead of replacing them, and `retryOnRateLimit: false` takes precedence over it.

## 5.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blizzard-api/client",
"version": "5.5.0",
"version": "5.5.1",
"description": "A node.js client to integrate with the blizzard battle.net api.",
"keywords": [
"api",
Expand Down
Loading