fix(mcp): scaffold middleware order mirrors web.New (Recover first, UUID v7)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user