Changelog
v1.0.0
Initial release.
- Core HTTP client with
createClient, method helpers (get,post,put,patch,delete,head,options), andrequest. - Request and response interceptors with
use/eject. HttpErrorwith 11 descriptive error codes andisHttpErrortype guard.HttpResponse<T>envelope withdata,status,statusText,headers, and redactedconfig.RequestConfigwith full URL, header, body, timeout, cancellation, redirect, security, progress, and TLS options.- Runtime response validation via
validateoption (Standard Schema v1,.parse(), or plain function). - Upload and download progress tracking via
onUploadProgressandonDownloadProgress. - Auto-FormData conversion from plain objects containing File/Blob values.
- 13 security defaults: SSRF protection, redirect header stripping, prototype-pollution-safe merging, CRLF injection defense, content-type-aware parsing, and more.
- Node.js TLS overrides via
tlsconfig (self-signed certs, custom CAs). @parcely/auth-tokenaddon for token attachment and 401 refresh with single-flight coalescing.@parcely/auth-redirectaddon for browser login redirects on 401/403.