NEWS


zuhttp 0.1.0

First release.

A minimal HTTP/1.1 and HTTP/2 client that uses the platform's own TLS stack and trust store — Schannel, Network.framework with SecTrust, or system OpenSSL — and bundles neither cryptography nor a CA bundle. One R dependency, its sibling zujson, for JSON.

What is in it

API surface

63 exported functions. Every condition inherits zuhttp_error, directly above error, so tryCatch(..., zuhttp_error = ) catches anything zuhttp raises and nothing else. The testing tools — zu_mock_transport(), zu_stub(), zu_response() and the cassette functions — are experimental and may still change before 1.0; the rest is the stable API.

Trimmed before this release, from the development version some packages may have used: the client-first wrappers zu_client_get() and friends (use zu_get(url, client = api)), and zu_transport_perform(), zu_native_transport(), zu_error_codes(), zu_code_retryable(), zu_is_secret_header(), zu_is_secret_param(), zu_redact_form() and zu_redact_headers_for_display(), which are now internal.

Fixed before release

Known limitations

See the README. In brief: TLS 1.2 maximum on Windows; pinning on OpenSSL only; no custom CA on Windows; HTTPS through a proxy needs macOS 14 on macOS; revocation off by default and refused on OpenSSL; a single total timeout, which DNS resolution ignores outside HTTPS on macOS; HTTPS in a forked child raises on macOS; and no parallel or asynchronous requests.

Not in this release

Asynchronous and parallel requests, R connection sinks, and client certificates are deferred to 0.2.0. Brotli, zstd and Unix-domain sockets are not planned.