diff --git a/CHANGELOG.md b/CHANGELOG.md index 566550f8e..945b104a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added three new audit actions covering the full org membership lifecycle: `org.member_added`, `org.member_removed`, and `org.member_left`. [#1165](https://github.com/sourcebot-dev/sourcebot/pull/1165) - Added per-user JWT session versioning so admin-driven member removals (and voluntary leaves) invalidate the removed user's active JWT cookies, personal API keys, and OAuth tokens atomically on their next request. [#1168](https://github.com/sourcebot-dev/sourcebot/pull/1168) +### Fixed +- Fixed Azure DevOps connection schema to allow spaces in project and repository names. [#1170](https://github.com/sourcebot-dev/sourcebot/pull/1170) + ## [4.17.0] - 2026-04-30 ### Added diff --git a/docs/snippets/schemas/v3/azuredevops.schema.mdx b/docs/snippets/schemas/v3/azuredevops.schema.mdx index 2b3504455..b3b3d282c 100644 --- a/docs/snippets/schemas/v3/azuredevops.schema.mdx +++ b/docs/snippets/schemas/v3/azuredevops.schema.mdx @@ -82,7 +82,7 @@ "type": "array", "items": { "type": "string", - "pattern": "^[\\w.-]+\\/[\\w.-]+$" + "pattern": "^[\\w.-]+\\/[\\w. -]+$" }, "default": [], "examples": [ @@ -97,7 +97,7 @@ "type": "array", "items": { "type": "string", - "pattern": "^[\\w.-]+\\/[\\w.-]+\\/[\\w.-]+$" + "pattern": "^[\\w.-]+\\/[\\w. -]+\\/[\\w. -]+$" }, "default": [], "examples": [ diff --git a/packages/schemas/src/v3/azuredevops.schema.ts b/packages/schemas/src/v3/azuredevops.schema.ts index 5abf3ba7e..8b730bda5 100644 --- a/packages/schemas/src/v3/azuredevops.schema.ts +++ b/packages/schemas/src/v3/azuredevops.schema.ts @@ -81,7 +81,7 @@ const schema = { "type": "array", "items": { "type": "string", - "pattern": "^[\\w.-]+\\/[\\w.-]+$" + "pattern": "^[\\w.-]+\\/[\\w. -]+$" }, "default": [], "examples": [ @@ -96,7 +96,7 @@ const schema = { "type": "array", "items": { "type": "string", - "pattern": "^[\\w.-]+\\/[\\w.-]+\\/[\\w.-]+$" + "pattern": "^[\\w.-]+\\/[\\w. -]+\\/[\\w. -]+$" }, "default": [], "examples": [ diff --git a/schemas/v3/azuredevops.json b/schemas/v3/azuredevops.json index 191114db3..300d286a8 100644 --- a/schemas/v3/azuredevops.json +++ b/schemas/v3/azuredevops.json @@ -53,7 +53,7 @@ "type": "array", "items": { "type": "string", - "pattern": "^[\\w.-]+\\/[\\w.-]+$" + "pattern": "^[\\w.-]+\\/[\\w. -]+$" }, "default": [], "examples": [ @@ -68,7 +68,7 @@ "type": "array", "items": { "type": "string", - "pattern": "^[\\w.-]+\\/[\\w.-]+\\/[\\w.-]+$" + "pattern": "^[\\w.-]+\\/[\\w. -]+\\/[\\w. -]+$" }, "default": [], "examples": [