Skip to content

v2.0.2

Latest

Choose a tag to compare

@StefanoGuerrini StefanoGuerrini released this 21 Apr 11:56
· 2 commits to main since this release
0cb0997

Fix

retries: 0 (the documented default of "retries are not active by default") now actually performs zero retries. Previously, an off-by-one in the retryOn callback caused one extra fetch on 422/503/504 responses — callers on defaults will see ~1 fewer request per transient failure.

Thanks @jorgehermo9 for the report and fix in #14. Closes #15.

Tooling (no runtime impact)

  • Biome formatting is now enforced in CI on every PR and push to main (#16).
  • New release workflow publishes to npm with provenance when a GitHub Release is published (#18).