Deprecate v1.0.0 HTTP and log helpers in favour of the toolkit API
CI / test (push) Successful in 1m12s

LogHandler and HTTPTransport now delegate to NewTraceHandler and
NewHTTPTransport. HTTPMiddleware keeps its v1.0.0 metric names but
shares responseWriter and normalizeMethod with NewHTTPMiddleware.
The package example shows obsx.New.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
M.ShakhmatovandClaude Fable 5.2 committed 2026-11-15 16:43:33 +03:00
1 parent b53a6a6c30
commit 8837e8d316
8 files changed
+40 -149

No files matched your search

+3 -1
View File
@@ -58,5 +58,7 @@
// # Stability
//
// The package follows semantic versioning; the v1 API is stable. The v1.0.0
// helpers HTTPMiddleware, HTTPTransport and LogHandler remain available.
// helpers HTTPMiddleware, HTTPTransport and LogHandler still work but are
// deprecated in favour of NewHTTPMiddleware, NewHTTPTransport and
// NewTraceHandler.
package obsx