Skip to content

Commit 188786c

Browse files
authored
πŸ”„ chore: update schema URL to v0.57.0 (#1713)
## Schema URL Update Updates the MCP Gateway JSON schema validation URL from `v0.55.0` to `v0.57.0`. ### Files Changed - `internal/config/validation_schema.go` β€” `schemaURL` variable updated to `v0.57.0` - `internal/config/rules/rules.go` β€” `SchemaURL` constant updated to `v0.57.0` - `internal/config/validation_schema_test.go` β€” hardcoded schema URL updated to `v0.57.0` ### Why Pinning to a specific release tag ensures reproducible, deterministic configuration validation β€” the schema won't silently change between runs. ### Release Notes See the [gh-aw release notes](https://github.com/github/gh-aw/releases/tag/v0.57.0) for changes in this schema version. > Generated by [Nightly Schema Updater](https://github.com/github/gh-aw-mcpg/actions/runs/22877011465) Β· [β—·](https://github.com/search?q=repo%3Agithub%2Fgh-aw-mcpg+%22gh-aw-workflow-id%3A+nightly-schema-updater%22&type=pullrequests) > [!WARNING] > <details> > <summary>⚠️ Firewall blocked 1 domain</summary> > > The following domain was blocked by the firewall during workflow execution: > > - `invalidhostthatdoesnotexist12345.com` > > To allow these domains, add them to the `network.allowed` list in your workflow frontmatter: > > ```yaml > network: > allowed: > - defaults > - "invalidhostthatdoesnotexist12345.com" > ``` > > See [Network Configuration](https://github.github.com/gh-aw/reference/network/) for more information. > > </details> > - [x] expires <!-- gh-aw-expires: 2026-03-16T22:12:44.506Z --> on Mar 16, 2026, 10:12 PM UTC <!-- gh-aw-agentic-workflow: Nightly Schema Updater, engine: copilot, id: 22877011465, workflow_id: nightly-schema-updater, run: https://github.com/github/gh-aw-mcpg/actions/runs/22877011465 --> <!-- gh-aw-expires-type: pull-request --> <!-- gh-aw-workflow-id: nightly-schema-updater -->
2 parents 8a09b8d + c9f508b commit 188786c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

β€Žinternal/config/rules/rules.goβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var log = logger.New("config:rules")
1212
// Documentation URL constants
1313
const (
1414
ConfigSpecURL = "https://github.com/github/gh-aw/blob/main/docs/src/content/docs/reference/mcp-gateway.md"
15-
SchemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.55.0/docs/public/schemas/mcp-gateway-config.schema.json"
15+
SchemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.57.0/docs/public/schemas/mcp-gateway-config.schema.json"
1616
)
1717

1818
// ValidationError represents a configuration validation error with context.

β€Žinternal/config/validation_schema.goβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var (
4141
// Current schema version: v0.50.7
4242
//
4343
// Alternative: Embed the schema using go:embed directive for zero network dependency.
44-
schemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.55.0/docs/public/schemas/mcp-gateway-config.schema.json"
44+
schemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.57.0/docs/public/schemas/mcp-gateway-config.schema.json"
4545

4646
// Schema caching to avoid recompiling the JSON schema on every validation
4747
// This improves performance by compiling the schema once and reusing it

β€Žinternal/config/validation_schema_test.goβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ func TestEnhancedErrorMessages(t *testing.T) {
556556
"Location:",
557557
"Error:",
558558
"Details:",
559-
"https://raw.githubusercontent.com/github/gh-aw/v0.55.0/docs/public/schemas/mcp-gateway-config.schema.json",
559+
"https://raw.githubusercontent.com/github/gh-aw/v0.57.0/docs/public/schemas/mcp-gateway-config.schema.json",
560560
},
561561
},
562562
{

0 commit comments

Comments
Β (0)