Releases: dexpace/go-sdk
Releases · dexpace/go-sdk
v0.1.0
First release of the dexpace Go SDK — a transport-agnostic HTTP-client toolkit built on net/http with zero third-party runtime dependencies. Requests and responses are standard *http.Request / *http.Response, and the transport seam is satisfied by *http.Client.
Highlights
- Composable policy pipeline with an umbrella
Clientconfigured through functional options. - Resilience: retry with exponential backoff + full jitter and
Retry-After; idempotency-key stamping (default-on for POST). - Authentication (all HTTPS-only): bearer tokens with a shareable cache, HTTP Basic, API-key, and HTTP Digest (RFC 7616).
- Errors & observability: opt-in typed error model, structured
sloglogging, vendor-neutral tracing/metrics SPIs, and default-deny URL redaction across logs, traces, and errors. - Streaming & bodies: Server-Sent Events (WHATWG parser + reconnecting stream +
Client.EventStream), JSON Lines/NDJSON, multipart form-data, and genericiter.Seq2pagination. - Webhooks: inbound signature verification (constant-time HMAC-SHA256 + timestamp tolerance).
Requires Go 1.26+. See CHANGELOG.md for the full list.