Repository navigation
Releases
v0.12.1
Full Changelog: v0.12.0...v0.12.1
v0.12.0
SSRF guard (opt-in)
createFetch({ ssrfGuard: true }) refuses requests to private, loopback, link-local and cloud-metadata targets — and re-checks every redirect hop, because reqkit now follows redirects itself while the guard is on.
Blocked: 0.0.0.0/8, 10/8, 127/8, 169.254/16 (incl. 169.254.169.254), 172.16/12, 192.168/16, 100.64/10, multicast/reserved, IPv6 ::, ::1, fe80::/10, fc00::/7, IPv4-mapped forms, localhost, cloud metadata hostnames, and all non-http(s) schemes.
- Hostnames resolve on Node and fail closed on resolution errors (Bun/Deno/Workers: literal + redirect checks only).
- Every hop re-checked up to
maxRedirects(default 5) →SSRFBlockedErrorpast that. - Dev escape hatches:
{ allowHosts: ["localhost"] }orallowPrivate: true. - New exports:
createSsrfGuard,SSRFBlockedError(CJS + ESM + typed).
Opt-in by design — the guard changes redirect semantics. Servers fetching user-supplied URLs should turn it on; localhost dev stays untouched.
Docs
- Removed the self-reported conformance scorecard (returns once the upstream fetch-kit/http-resilience adapter merges).
- Security section rewritten around the guard; SECURITY.md scope updated; stale pinned CDN version fixed; npm downloads + release badges added.
373 tests (10 new for the guard), typecheck, smoke, and the bundle-parity suite all green. Zero dependencies. npm i @boy-offi9-inc/reqkit
v0.11.0
v0.10.0
What's Changed
- chore(deps-dev): bump typescript from 5.9.3 to 7.0.2 by @dependabot[bot] in #5
- chore(deps): bump actions/setup-node from 4 to 7 by @dependabot[bot] in #4
- chore(deps): bump actions/upload-pages-artifact from 3 to 5 by @dependabot[bot] in #3
- chore(deps): bump actions/setup-node from 4 to 7 by @dependabot[bot] in #7
Full Changelog: v0.9.0...v0.10.0
v0.9.0
v0.8.0
What's Changed
- Fix rate-limit event wait reporting by @Boy-Offi9 in #6
- chore(deps): bump actions/deploy-pages from 4 to 5 by @dependabot[bot] in #1
- chore(deps): bump actions/checkout from 4 to 7 by @dependabot[bot] in #2
New Contributors
- @Boy-Offi9 made their first contribution in #6
- @dependabot[bot] made their first contribution in #1
Full Changelog: v0.7.1...v0.8.0