diff --git a/CHANGELOG.md b/CHANGELOG.md index af857c42c..a2db78d7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed +- Add missing schema changes introduced in [#1170](https://github.com/sourcebot-dev/sourcebot/pull/1170). [#1176](https://github.com/sourcebot-dev/sourcebot/pull/1176) + ## [4.17.1] - 2026-05-04 ### Added diff --git a/docs/snippets/schemas/v3/connection.schema.mdx b/docs/snippets/schemas/v3/connection.schema.mdx index f0f81c476..4671abf74 100644 --- a/docs/snippets/schemas/v3/connection.schema.mdx +++ b/docs/snippets/schemas/v3/connection.schema.mdx @@ -985,7 +985,7 @@ "type": "array", "items": { "type": "string", - "pattern": "^[\\w.-]+\\/[\\w.-]+$" + "pattern": "^[\\w.-]+\\/[\\w. -]+$" }, "default": [], "examples": [ @@ -1000,7 +1000,7 @@ "type": "array", "items": { "type": "string", - "pattern": "^[\\w.-]+\\/[\\w.-]+\\/[\\w.-]+$" + "pattern": "^[\\w.-]+\\/[\\w. -]+\\/[\\w. -]+$" }, "default": [], "examples": [ diff --git a/docs/snippets/schemas/v3/index.schema.mdx b/docs/snippets/schemas/v3/index.schema.mdx index 6e23ea4da..8076ab8e2 100644 --- a/docs/snippets/schemas/v3/index.schema.mdx +++ b/docs/snippets/schemas/v3/index.schema.mdx @@ -1476,7 +1476,7 @@ "type": "array", "items": { "type": "string", - "pattern": "^[\\w.-]+\\/[\\w.-]+$" + "pattern": "^[\\w.-]+\\/[\\w. -]+$" }, "default": [], "examples": [ @@ -1491,7 +1491,7 @@ "type": "array", "items": { "type": "string", - "pattern": "^[\\w.-]+\\/[\\w.-]+\\/[\\w.-]+$" + "pattern": "^[\\w.-]+\\/[\\w. -]+\\/[\\w. -]+$" }, "default": [], "examples": [ diff --git a/packages/schemas/src/v3/connection.schema.ts b/packages/schemas/src/v3/connection.schema.ts index e40f3b39b..c539e918d 100644 --- a/packages/schemas/src/v3/connection.schema.ts +++ b/packages/schemas/src/v3/connection.schema.ts @@ -984,7 +984,7 @@ const schema = { "type": "array", "items": { "type": "string", - "pattern": "^[\\w.-]+\\/[\\w.-]+$" + "pattern": "^[\\w.-]+\\/[\\w. -]+$" }, "default": [], "examples": [ @@ -999,7 +999,7 @@ const schema = { "type": "array", "items": { "type": "string", - "pattern": "^[\\w.-]+\\/[\\w.-]+\\/[\\w.-]+$" + "pattern": "^[\\w.-]+\\/[\\w. -]+\\/[\\w. -]+$" }, "default": [], "examples": [ diff --git a/packages/schemas/src/v3/index.schema.ts b/packages/schemas/src/v3/index.schema.ts index f66429185..8bc054ade 100644 --- a/packages/schemas/src/v3/index.schema.ts +++ b/packages/schemas/src/v3/index.schema.ts @@ -1475,7 +1475,7 @@ const schema = { "type": "array", "items": { "type": "string", - "pattern": "^[\\w.-]+\\/[\\w.-]+$" + "pattern": "^[\\w.-]+\\/[\\w. -]+$" }, "default": [], "examples": [ @@ -1490,7 +1490,7 @@ const schema = { "type": "array", "items": { "type": "string", - "pattern": "^[\\w.-]+\\/[\\w.-]+\\/[\\w.-]+$" + "pattern": "^[\\w.-]+\\/[\\w. -]+\\/[\\w. -]+$" }, "default": [], "examples": [