Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

release: switch-core 0.27.0 (#531)

Louis Amaudruz9a78d3565cf6
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5b3f3f783..9988580de 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -44,6 +44,44 @@ version of their own to them without also giving them a release of their own.
### [Unreleased]
+### [0.27.0] - 2026-09-23
+
+#### Added
+- **Multi-tenancy phase 1 — tenant isolation enforced in the database.** Every
+ request and every unit of background work now binds a tenant onto its session,
+ the schema is scoped to a tenant, and row-level security enforces the boundary
+ under a restricted database role whose only exemption is the tenant-resolution
+ lookups. Tenant admin is split from the deployment-operator capability, and a
+ session with several memberships can select which tenant it acts as.
+- **Distributed messaging-install protocol.** A collaboration app can be
+ installed into a workspace and later ended through a first-class lifecycle
+ (`messaging_installs`, install/end routes, and the tenant-routing lookup),
+ inbound platform events are routed to the installing tenant and handled exactly
+ once, and `MESSAGING_PUBLIC_URL` is configurable separately from the gateway's
+ public origin.
+- **Workspaces, invitations and members.** Gateway routes to manage a workspace,
+ its invitations and its members, backed by an invitations table and the lookup
+ that resolves an invitation to a tenant.
+- **Datadog observability (#491).** OpenTelemetry metrics, a liveness/readiness
+ split (only the database gates readiness), log export, and a shipped Datadog
+ dashboard and monitor set. Tracing is not yet wired.
+- **Product-usage telemetry for switch-core (#487).**
+- **Template registry (#421)** — server-side storage and API for room templates.
+- Index on `rooms.group_id` (#404).
+
+#### Fixed
+- Removing an agent from a room no longer stops message delivery to the rest of
+ the room (#412).
+- A failed bridge read is no longer mistaken for an empty bridge list (#515).
+- The gateway refuses to delete a bridge an install created, and refuses to
+ remove a member who still owns agents in the workspace.
+- The gateway requires `GATEWAY_OIDC_SCOPES` to include `openid` and no longer
+ 500s on a userinfo hiccup (#418).
+- Migration lock waits are bounded, and the deploy job runs through boot's path.
+- A log context token is never restored in a context that did not create it
+ (#428).
+- Dependency: `pyjwt` 2.12.1 → 2.13.0 (#508).
+
#### Security
- Room message bodies are delivered to an agent inside `BEGIN`/`END SWITCH
MESSAGE` markers carrying a per-message nonce. Any room participant writes the
diff --git a/artifacts.yaml b/artifacts.yaml
index f6d4ee105..400f09821 100644
--- a/artifacts.yaml
+++ b/artifacts.yaml
@@ -60,7 +60,7 @@
artifacts:
switch-core:
description: The backend service, and the gateway API it serves.
- version: 0.26.0
+ version: 0.27.0
declared_in: core/pyproject.toml
published_as: switch-core
diff --git a/console/packages/shared/src/artifacts.ts b/console/packages/shared/src/artifacts.ts
index 32881922f..b3e131b65 100644
--- a/console/packages/shared/src/artifacts.ts
+++ b/console/packages/shared/src/artifacts.ts
@@ -20,14 +20,14 @@ export interface ContractRange {
* `CONTRACTS` below. The two must never be derived from one another.
*/
export const ARTIFACT_VERSIONS = {
- 'switch-core': '0.26.0',
+ 'switch-core': '0.27.0',
'switch-console': '0.34.0',
'agent-runtime': '0.4.2',
sidecar: '1.9.7',
- gateway: '0.26.0',
- setup: '0.26.0',
- 'helm-chart': '0.26.0',
- compose: '0.26.0',
+ gateway: '0.27.0',
+ setup: '0.27.0',
+ 'helm-chart': '0.27.0',
+ compose: '0.27.0',
'switch-connector': '0.9.15',
'switch-connector-codex': '0.3.16',
'switch-connector-opencode': '0.1.11',
diff --git a/console/packages/switch-agent-runtime/src/artifacts.ts b/console/packages/switch-agent-runtime/src/artifacts.ts
index 32881922f..b3e131b65 100644
--- a/console/packages/switch-agent-runtime/src/artifacts.ts
+++ b/console/packages/switch-agent-runtime/src/artifacts.ts
@@ -20,14 +20,14 @@ export interface ContractRange {
* `CONTRACTS` below. The two must never be derived from one another.
*/
export const ARTIFACT_VERSIONS = {
- 'switch-core': '0.26.0',
+ 'switch-core': '0.27.0',
'switch-console': '0.34.0',
'agent-runtime': '0.4.2',
sidecar: '1.9.7',
- gateway: '0.26.0',
- setup: '0.26.0',
- 'helm-chart': '0.26.0',
- compose: '0.26.0',
+ gateway: '0.27.0',
+ setup: '0.27.0',
+ 'helm-chart': '0.27.0',
+ compose: '0.27.0',
'switch-connector': '0.9.15',
'switch-connector-codex': '0.3.16',
'switch-connector-opencode': '0.1.11',
diff --git a/core/pyproject.toml b/core/pyproject.toml
index 30a40c42f..69dc809b9 100644
--- a/core/pyproject.toml
+++ b/core/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "switch-core"
-version = "0.26.0"
+version = "0.27.0"
description = "Switch — AI agent orchestration and governance platform"
readme = "README.md"
requires-python = ">=3.12"
diff --git a/core/switch_core/artifacts.py b/core/switch_core/artifacts.py
index d0c378541..8290d8c91 100644
--- a/core/switch_core/artifacts.py
+++ b/core/switch_core/artifacts.py
@@ -20,14 +20,14 @@ class ContractRange(NamedTuple):
# Where each artifact is. Says nothing about compatibility — that is
# CONTRACTS below. The two must never be derived from one another.
ARTIFACT_VERSIONS: Final[dict[str, str]] = {
- "switch-core": "0.26.0",
+ "switch-core": "0.27.0",
"switch-console": "0.34.0",
"agent-runtime": "0.4.2",
"sidecar": "1.9.7",
- "gateway": "0.26.0",
- "setup": "0.26.0",
- "helm-chart": "0.26.0",
- "compose": "0.26.0",
+ "gateway": "0.27.0",
+ "setup": "0.27.0",
+ "helm-chart": "0.27.0",
+ "compose": "0.27.0",
"switch-connector": "0.9.15",
"switch-connector-codex": "0.3.16",
"switch-connector-opencode": "0.1.11",
diff --git a/core/uv.lock b/core/uv.lock
index ce48a492a..69004141c 100644
--- a/core/uv.lock
+++ b/core/uv.lock
@@ -2334,7 +2334,7 @@ wheels = [
[[package]]
name = "switch-core"
-version = "0.26.0"
+version = "0.27.0"
source = { editable = "." }
dependencies = [
{ name = "aiohttp" },