Skip to content

Releases: dexpace/go-sdk

v0.1.0

16 Jun 19:56
ce62f7a

Choose a tag to compare

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 Client configured 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 slog logging, 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 generic iter.Seq2 pagination.
  • Webhooks: inbound signature verification (constant-time HMAC-SHA256 + timestamp tolerance).

Requires Go 1.26+. See CHANGELOG.md for the full list.