docs(mcp): document httputil handlers + WithStatus in wire builtin (v1.3.3)

This commit is contained in:
2026-08-12 17:59:16 -06:00
parent 87c5eda1bc
commit 766adb2989
5 changed files with 109 additions and 37 deletions
+15
View File
@@ -6,6 +6,21 @@ This module adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html
---
## [1.3.3] — 2026-08-09
Patch. Documents the httputil handler adapters and configurable success status.
### Added
- Wire builtin gains an "HTTP handlers (httputil)" section — `Handle`/`HandleNoBody`/
`HandleEmpty`, their default success statuses (200/200/204), and `httputil.WithStatus`
(web v1.5.0) for 201 Created / 202 Accepted, with the 2xx-only panic-at-wiring rule and
automatic error mapping.
### Fixed
- Wire builtin feature-hook example passes `logger` to the handler constructor (httputil needs it).
## [1.3.2] — 2026-08-08
Patch. Scaffold/wire middleware order now mirrors `web.New`.