fix(mcp): scaffold middleware order mirrors web.New (Recover first, UUID v7)

This commit is contained in:
2026-08-08 21:56:27 -06:00
parent e1802e4c25
commit 87c5eda1bc
6 changed files with 45 additions and 9 deletions
+11
View File
@@ -6,6 +6,17 @@ This module adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html
---
## [1.3.2] — 2026-08-08
Patch. Scaffold/wire middleware order now mirrors `web.New`.
### Changed
- Generated wire (and the wire builtin example) apply middleware in `web.New`'s order —
`Recover` outermost, a time-ordered UUID v7 request ID (`newRequestID`), then
`RequestLogger` — with the env-gated allow-all CORS as the only deliberate divergence.
Previously the scaffold put `RequestID` before `Recover` and used a v4 request ID.
## [1.3.1] — 2026-08-08
Patch. Correct the `web.allowedorigins-removed` rule message and migration docs to name the