Releases: bmurdock/clearfetch
Releases · bmurdock/clearfetch
clearfetch 1.0.4
Failure-observability, retry-timeout, diagnostic, and package-guardrail hardening.
Highlights:
- route hook and request-construction failures through
onErrorbefore re-throwing them as-is - clarify that retry backoff waits do not consume per-attempt timeout windows
- bound
HttpError.bodyTextcapture for large error payloads - avoid decoding oversized streamed error-body chunks before truncation and cancel truncated error streams
- expand package metadata checks across runtime dependency fields
- extend packed-artifact smoke coverage for public errors and blocked internal subpaths
- document the refined hook, timeout, retry, and
HttpError.responsebody behavior
clearfetch 1.0.3
Abort classification and release-guardrail hardening.
Highlights:
- preserve custom external abort reasons as
AbortRequestError.cause - keep external aborts from being reclassified as timeouts when they win the race
- preserve custom abort reasons during retry backoff cancellation
- document advanced timeout, abort, retry, and hook URL behavior
- replace the dependency-review placeholder with enforced dependency review
- expand release and package smoke checks for metadata, exports, types, and blocked internal subpaths
- block package lifecycle scripts in package metadata validation
clearfetch 1.0.2
Internal efficiency and maintainability release.
Highlights:
- avoid unnecessary response cloning when no
afterResponsehooks are registered - retry eligible HTTP responses before reading error bodies
- reuse initial request normalization and per-attempt hook option snapshots where possible
- reduce request execution complexity by extracting retry policy, timeout control, client defaults, and hook option handling into focused helpers
- expand regression coverage for retries, hooks, timeout behavior, abort behavior, and fetch test helpers
Published to npm as @gavoryn/clearfetch@1.0.2.