Skip to content

feat: add TLS diagnostics and expand transport passthrough#7

Merged
StopMakingThatBigFace merged 1 commit intomainfrom
feat/v2.2.0
Apr 15, 2026
Merged

feat: add TLS diagnostics and expand transport passthrough#7
StopMakingThatBigFace merged 1 commit intomainfrom
feat/v2.2.0

Conversation

@StopMakingThatBigFace
Copy link
Copy Markdown
Owner

Release Notes

Added

  • Added tlsDebug options for HTTP and WebSocket:
    • peerCertificates
    • keylog: true | { path: string }
  • Added tlsDanger options for explicit unsafe TLS overrides:
    • certVerification
    • verifyHostname
    • sni
  • Added TLS peer certificate metadata on HTTP responses via response.wreq.tls.
  • Added support for arbitrary HTTP methods, including methods outside the previous allowlist.
  • Added Client helpers for put, patch, delete, head, and options.
  • Added passthrough support for transport controls from wreq:
    • readTimeout
    • connectTimeout
    • http1Only
    • http2Only
    • localAddress
    • localAddresses
    • interface
  • Added WebSocket passthrough controls:
    • forceHttp2
    • readBufferSize
    • writeBufferSize
    • maxWriteBufferSize
    • acceptUnmaskedFrames
    • maxFrameSize
    • maxMessageSize

Changed

  • Kept upstream wreq defaults when transport options are not set.
  • Normalized streamed body timeout failures to TimeoutError.

@StopMakingThatBigFace StopMakingThatBigFace merged commit e8f4ff8 into main Apr 15, 2026
16 checks passed
@StopMakingThatBigFace StopMakingThatBigFace deleted the feat/v2.2.0 branch April 15, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant