feat(mcp): add web.allowedorigins-removed rule; document v1.3.0 CORS migration

This commit is contained in:
2026-08-08 10:51:38 -06:00
parent 03a8d8a641
commit 3961ae7175
7 changed files with 118 additions and 9 deletions
+15
View File
@@ -6,6 +6,21 @@ This module adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html
---
## [1.3.0] — 2026-08-08
Minor. Tracks the frameworks v1.3.0 removal of `web.Config.AllowedOrigins`.
### Added
- `validate_snippet` rule `web.allowedorigins-removed` flags any reference to the removed
`web.Config.AllowedOrigins` field (selector or struct-literal key), pointing callers to
`server.Config.CORSOrigins`.
### Changed
- Wire builtin docs cover the CORS single-source-of-truth and the v1.x → v1.3.0 migration.
- envspec test fixture updated: CORS lives on `server.Config`, not the root `web.Config`.
## [1.2.0] — 2026-08-08
Minor. Scaffold and wire docs track the frameworks v1.2.0 CORS change.