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.23.0 (#359)

Louis Amaudruz23728b1519e6
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4ecf26c0d..9ce482760 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -44,6 +44,30 @@ version of their own to them without also giving them a release of their own.
### [Unreleased]
+### [0.23.0] - 2026-09-03
+
+#### Performance
+- **Matrix I/O no longer runs inside a database transaction.**
+ `add_agents_to_room`, `remove_agents_from_room` and `delete_room` each held a
+ connection-pool slot open across a fan-out of Matrix invites/kicks (up to 10s
+ per call), a major contributor to pool exhaustion under load. The three now
+ read short, commit, then do the Matrix work holding nothing — ordered so
+ Matrix membership can never exceed what the database records (a crash leaves
+ an under-privileged, repairable agent, never one silently reading a room
+ Switch has no record of) (#354).
+- **Per-client sync-cursor writes are staggered.** With one Matrix client per
+ participant (hundreds in a single process) and the throttle interval equal to
+ the sync long-poll, every client persisted its cursor in the same instant on
+ an idle instance — a periodic burst of concurrent one-row transactions that
+ starved the pool and cost heartbeats their connection. A sync that carried
+ nothing durable no longer earns a write, and the writes that remain no longer
+ align (#357).
+
+#### Changed
+- On the collaboration bridges, a turn that ends on an error now renders as the
+ stall it is — the reason is shown as why the turn stopped, not streamed as an
+ in-progress step under a spinner (#356).
+
### [0.22.1] - 2026-09-02
#### Performance
diff --git a/artifacts.yaml b/artifacts.yaml
index b092b08c1..9d878ef9a 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.22.1
+ version: 0.23.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 2f818052f..af63fc918 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.22.1',
+ 'switch-core': '0.23.0',
'switch-console': '0.31.3',
'agent-runtime': '0.4.1',
sidecar: '1.9.7',
- gateway: '0.22.1',
- setup: '0.22.1',
- 'helm-chart': '0.22.1',
- compose: '0.22.1',
+ gateway: '0.23.0',
+ setup: '0.23.0',
+ 'helm-chart': '0.23.0',
+ compose: '0.23.0',
'switch-connector': '0.9.11',
'switch-connector-codex': '0.3.12',
'switch-connector-opencode': '0.1.7',
diff --git a/console/packages/switch-agent-runtime/src/artifacts.ts b/console/packages/switch-agent-runtime/src/artifacts.ts
index 2f818052f..af63fc918 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.22.1',
+ 'switch-core': '0.23.0',
'switch-console': '0.31.3',
'agent-runtime': '0.4.1',
sidecar: '1.9.7',
- gateway: '0.22.1',
- setup: '0.22.1',
- 'helm-chart': '0.22.1',
- compose: '0.22.1',
+ gateway: '0.23.0',
+ setup: '0.23.0',
+ 'helm-chart': '0.23.0',
+ compose: '0.23.0',
'switch-connector': '0.9.11',
'switch-connector-codex': '0.3.12',
'switch-connector-opencode': '0.1.7',
diff --git a/core/pyproject.toml b/core/pyproject.toml
index 5b17ce56c..86e2fc6c0 100644
--- a/core/pyproject.toml
+++ b/core/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "switch-core"
-version = "0.22.1"
+version = "0.23.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 c95e7be20..29316617d 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.22.1",
+ "switch-core": "0.23.0",
"switch-console": "0.31.3",
"agent-runtime": "0.4.1",
"sidecar": "1.9.7",
- "gateway": "0.22.1",
- "setup": "0.22.1",
- "helm-chart": "0.22.1",
- "compose": "0.22.1",
+ "gateway": "0.23.0",
+ "setup": "0.23.0",
+ "helm-chart": "0.23.0",
+ "compose": "0.23.0",
"switch-connector": "0.9.11",
"switch-connector-codex": "0.3.12",
"switch-connector-opencode": "0.1.7",
diff --git a/core/uv.lock b/core/uv.lock
index 74a097c96..d0dc63a94 100644
--- a/core/uv.lock
+++ b/core/uv.lock
@@ -2445,7 +2445,7 @@ wheels = [
[[package]]
name = "switch-core"
-version = "0.22.1"
+version = "0.23.0"
source = { editable = "." }
dependencies = [
{ name = "aiohttp" },