Reference

Breaking changes

The changes of OpenCTI, OpenAEV, XTM One and the XTM Docker deployment that need an action when you upgrade, per version, with the guide for each.

XTM OneOpenCTIOpenAEVAll modulesFor platform engineers and developers

This page lists, per module and version, the changes that need an action when you upgrade: a setting to add, a script to update, a module to upgrade at the same time. Read the entries between your current version and the one you upgrade to, newest first, before you follow Upgrade.

YOU RUNBREAKING CHANGESTHENYour current versionThe entries after it applyXTM Docker deploymentSplit compose, shared PostgreSQLOpenCTIFrom 5.12 to 7.260401.0OpenAEVFrom 2.0.0 to 2.3.4XTM OneFrom 1.261110.2 to 1.261112.0UpgradeFollow the procedure
  1. Your current version → XTM Docker deployment: read
  2. Your current version → OpenCTI: read newest first
  3. Your current version → OpenAEV: read newest first
  4. Your current version → XTM One: read newest first
  5. XTM Docker deployment → Upgrade: act
  6. OpenCTI → Upgrade: act
  7. OpenAEV → Upgrade: act
  8. XTM One → Upgrade: act
Before you upgrade, read the breaking changes of each part between your version and the new one, newest first, and do what each asks

A change is deprecated in the version that announces it, while the old behavior still works, and changed in the version where the old behavior stops.

XTM Docker deployment

ChangeWhat to do
docker-compose.yml includes one file per shared service, in infra/, and one per module, in modules/. The services, their settings and the volume names do not change, and the data is kept. A git pull over a changed docker-compose.yml refuses to mergeMove your changes to docker-compose.override.yml before you pull: Stay on a version or an LTS line
The whole stack always starts, and XTM Composer always manages both OpenCTI and OpenAEV. A COMPOSE_PROFILES line, XTM_COMPOSER_OPENCTI_ENABLE or XTM_COMPOSER_OPENAEV_ENABLE left in .env does nothingRemove these lines from .env: step 2 of Upgrade the stack
OpenAEV and XTM One share one PostgreSQL instance, on a new volume. The new version starts with empty OpenAEV and XTM One databases unless you move the dataDump both databases before you pull the new version: Move to the shared PostgreSQL instance

OpenCTI

OpenCTI 7.260401.0

Removal of the filter script. The GraphQL API refuses the filter script option by default, for security. A script that uses it gets the error Filter script is not allowed. To allow it again, at your own risk, set elasticsearch:unsecure_script_filter_enabled to true: ELASTICSEARCH__UNSECURE_SCRIPT_FILTER_ENABLED=true as an environment variable.

OpenCTI 7.260224.0

SSO needs the Enterprise Edition and moves to the UI. A Community Edition platform can no longer sign in with an SSO configured in the configuration file. Local authentication, with password policies and two-factor authentication, stays available. OpenCTI converts the authentications of the configuration file into authentications managed in the UI. See SSO migration from environment variables to UI.

OpenAEV and XTM Composer versions. OpenCTI 7.260224.0 needs OpenAEV 2.2 or later and XTM Composer 2 or later. XTM Composer 2 supports the new token management and the JSON Web Token (JWT) authentication of OpenCTI 7. See the compatibility matrix.

An encryption key is mandatory. Set app:encryption_key to a random key of at least 32 bytes, encoded in base64, and keep it secret. Generate one with openssl rand -base64 32 and set it as APP__ENCRYPTION_KEY. xtm-docker sets it from OPENCTI_ENCRYPTION_KEY in .env.

Tokens. Each user can have several API tokens, stored hashed (HMAC), with expiration and usage tracking. Connectors authenticate to the platform with JSON Web Tokens signed by keys the platform derives (Ed25519). OpenCTI migrates the existing tokens; after the migration, a user can no longer read their token back. Update the scripts that read or renew tokens:

BeforeNow
GraphQL User.api_token (String!)User.api_tokens ([ApiToken!]!)
GraphQL MeUser.api_tokenMeUser.api_tokens
GraphQL meTokenRenew and UserEditMutations.tokenRenewRemoved
Python client MeUser.api_tokenMeUser.api_tokens
Python client token_renew()create_token() and remove_token()

Python 3.9. Python 3.9 is no longer supported. Review the scripts that still run with it.

OpenCTI 6.4.11

Functions allowed in webhook templates. A webhook template can only use the functions of an allowed list. You cannot create a template that uses another function, or update an existing template with one. In the versions this documentation describes, templates run in a sandbox whose list is fixed: the standard JavaScript objects and functions, such as Date, JSON, Math, String, Array, parseInt and encodeURIComponent. The APP__NOTIFIER_AUTHORIZED_FUNCTIONS setting of 6.4.11 no longer exists: remove it from your configuration. A template that uses another name fails with Forbidden variable access. See Write a template.

OpenAEV

ChangeDeprecated inChanged in
CSRF token enforcement2.3.4
Scenario generation from OpenCTI security coverage2.2.0, fixed in 2.2.1
Password encryption2.1.0
OpenAEV renamingOpenBAS 1.18.202.0.0
  • 2.3.4: API calls from the OpenAEV interface carry a Cross-Site Request Forgery (CSRF) token. Upgrade the collectors, injectors, OpenAEV agents and custom integrations together with the platform.
  • 2.2.0: OpenAEV 2.2.0 works only with OpenCTI 7, and OpenCTI 7 only with OpenAEV 2.2.0 or later. OpenAEV 2.2.1 works with older OpenCTI versions again.
  • 2.1.0: two settings become mandatory, openaev.admin.encryption_key and openaev.admin.encryption_salt, to encrypt the secrets of the integrations stored in the database.
  • 2.0.0: OpenBAS becomes OpenAEV. Images, configuration variables, the default bucket, queues and indices are renamed.

XTM One

XTM One 1.261116.0

Built-in web search on Brave Search. Google Custom Search, the built-in web search that BUILTIN_GOOGLE_SEARCH_API_KEY turns on, is closed to new customers and stops on 1 January 2027. Before that date, create a key in the Brave Search API dashboard, and set it as BUILTIN_BRAVE_SEARCH_API_KEY on the platform and the worker. XTM One sets up one built-in web search: Brave Search when this key is set, otherwise Google. With both keys set, it removes the built-in Google Search integration at the next start. The web and image tools of Brave Search also answer to the names of the Google tools, search_google_web and search_google_images, so the instructions that name them keep working.

XTM One 1.261114.0

Shared state limits lowered. No migration, but the platform trims the entries already past the new limits. The size of a shared state value counts the characters of its JSON. Agents now get a warning when they read back a value past 32,768 characters (was 65,536). A write that leaves a value past 65,536 characters (was 524,288) is refused, unless it makes the value smaller. A write that makes a top-level list longer than 500 items is refused too, while there was no cap before. A write to an archive entry drops its oldest items instead of being refused. The scheduler compacts the entries already past either limit: it drops the oldest items of their lists, and adds a note to the entry with the count. The items an archive write moved are deleted after 14 days (was 30). To keep the previous limits, set these variables on the platform and the worker before you upgrade, 0 turning the list cap off:

SHARED_STATE_VALUE_SOFT_LIMIT_CHARS=65536
SHARED_STATE_VALUE_HARD_LIMIT_CHARS=524288
SHARED_STATE_LIST_MAX_ITEMS=0
SHARED_STATE_ARCHIVE_RETENTION_DAYS=30

See Review what agents did for what shared state holds.

OpenSandbox images 0.6. By default, XTM One now asks the OpenSandbox server for sandbox-python:0.6 and sandbox-nodejs:0.6, instead of sandbox-python:0.5 and sandbox-nodejs:0.4. sandbox-python:0.6 adds PyAV, which decodes the frames of a video in the code interpreter. Before you upgrade, check that the server can pull or find them: they are published as xtmone/sandbox-python and xtmone/sandbox-nodejs, or built with backend/sandbox/build-image.sh. Otherwise, sandbox creation fails. To keep the previous images, set OPENSANDBOX_IMAGES=python:sandbox-python:0.5,nodejs:sandbox-nodejs:0.4 on the platform and the worker: both stay published. On Kubernetes, a pool's image is set on the pool, not by OPENSANDBOX_IMAGES: move it to the new image with the default.

XTM One 1.261112.0

Chat over HTTP: HTTP/2 at the reverse proxy. No migration. The web chat, the rails of the deck and video studios, voice mode and the Office add-in no longer use a WebSocket: they stream over HTTP, as server-sent events, under /api/v1/web/chat. Every open tab holds its own streams, and a browser opens 6 HTTP/1.1 connections per host at most. Behind a proxy that speaks only HTTP/1.1 to browsers, a few open tabs use them all up and the app stops loading. Before you upgrade, check three settings of the proxy in front of XTM One:

  • HTTP/2 between browsers and the proxy. The proxy may still reach XTM One over HTTP/1.1.
  • No response buffering for /api/, or an answer shows only once it is complete. Nginx honours the X-Accel-Buffering: no header XTM One sends on the chat streams; another proxy needs the setting.
  • A read timeout above 15 seconds: an idle stream writes a keep-alive every 15 seconds. An agent's answer can take minutes, so keep 300 seconds.

In Nginx 1.25.1 and later, the server block of XTM One in Publish the platforms over HTTPS becomes:

server {
    listen 443 ssl;
    http2 on;
    server_name xtm-one.example.com;
    # certificates, client_max_body_size and location / as before, with:
    #   proxy_buffering    off;
    #   proxy_read_timeout 300s;
}

Before Nginx 1.25.1, write listen 443 ssl http2; instead of the http2 on; line. The proxy keeps forwarding the WebSocket upgrade: XTM One Desktop, runners and relays still connect over WebSocket, and fall back to slower HTTP polling without it.

Chat WebSocket removed from the API. A script that opened WS /api/v1/chat/conversations/{id}/ws must move to the HTTP routes:

BeforeNow
Open the WebSocket with the session token in ?token=Send the session token as Authorization: Bearer. These routes accept a web session only, and refuse an API key or a platform token with 403
Send a message frame on the socketPOST /api/v1/web/chat/messages, with content and conversation_id. The response streams the same frames as server-sent events
Keep the socket open to follow the conversationGET /api/v1/web/chat/conversations/{id}/events
Stop, Continue now, steering and approvals as framesA POST each, under /api/v1/web/chat/messages/: cancel, skip-wait, steer and approve
ping and pong framesNone. An idle stream writes a keep-alive comment every 15 seconds
Close code 4003HTTP 403, with code chat_unavailable or terms_required
An error frame for a send refused before it startsAn HTTP error with detail
The session ends while the socket is openA session_expired frame, then the end of the stream

A script that authenticates with an API key keeps POST /api/v1/chat/conversations/{id}/messages, which is unchanged. See the XTM One chat API.

GitHub Copilot and Cursor removed from AI adoption. AI Adoption now follows the agentic AI of XTM One alone: it keeps its Overview and Adoption Gaps tabs, and its configuration card leaves Settings > Usage and quotas > Observability. The migration x11380devadopt1 deletes the GitHub Copilot and Cursor keys, the mapping of people to their GitHub logins and Cursor emails, and the metrics collected from both. The routes under /api/v1/ai-external-keys are removed. A rollback with the downgrade does not bring the data back: only the database backup taken before the upgrade does. The same release removes focus mode: the focus mode choices of people and groups are no longer used, and x11380focdrop1 drops them. No action is needed for either.

XTM One 1.261110.2

On/off switches of .env reach the containers. This concerns the Docker Compose file of the module, which runs XTM One on its own host. xtm-docker and Kubernetes deployments are unchanged. Before, that file passed a fixed list of variables, so most on/off switches of .env.sample did nothing in .env. It now passes them all to platform, worker and worker-preview: DISABLE_CUSTOM_TOOLS, MCP_DCR_ENABLED, PROMETHEUS_ENABLED, ASSIGNMENT_QUEUE_ENABLED and the others. Only DEBUG, A2A_ALLOW_INSECURE_LOOPBACK and TRUST_PROXY_HEADERS stay out.

A switch your .env sets applies at the next docker compose up -d. A switch that is also in Administration > Settings > Access and security of XTM One then shows read-only there: the variable wins until you remove it. A blank value counts as unset, and no longer stops the startup. Before you upgrade, list the switches your .env sets, and remove those you do not want applied:

grep -E '^[A-Z_]+=(true|false)' .env

The custom tool sandbox of .env.sample takes effect. The same file now also passes CUSTOM_TOOL_SANDBOX and the OPENSANDBOX_* variables. .env.sample sets CUSTOM_TOOL_SANDBOX=opensandbox, which had no effect in 1.261030.0. Once you turn them on, the code interpreter and custom tools fail unless the opensandbox service runs: Custom tool sandbox is set to 'opensandbox' but the OpenSandbox server is not reachable. Run that service with its profile, or set CUSTOM_TOOL_SANDBOX=auto: see the OpenSandbox settings. A docker-compose.override.yml that passed these variables to platform, worker and worker-preview can drop them.

New OpenSandbox images. By default, XTM One now asks the OpenSandbox server for sandbox-python:0.5 and sandbox-nodejs:0.4, instead of 0.3 for both. The server must pull or find them. They are published as xtmone/sandbox-python and xtmone/sandbox-nodejs, or built with backend/sandbox/build-image.sh. Otherwise, sandbox creation fails. To keep the previous images, set OPENSANDBOX_IMAGES=python:sandbox-python:0.3,nodejs:sandbox-nodejs:0.3 on the platform and the worker: 0.3 stays published. On Kubernetes, a pool's image is set on the pool, not by OPENSANDBOX_IMAGES.

Sign-in through platform registration only. In 1.261030.0, an application registered at /mcp/oauth/register with the openid scope got ID tokens, and could sign people in with their XTM One account. It no longer gets them: only the sign-in client of a registered platform, xtm-platform-<identifier>, gets OpenID Connect. Register such an application as a platform instead, with POST /api/v1/platform/register:

  • Authenticate with PLATFORM_REGISTRATION_TOKEN. The published default token gets no sign-in client.
  • Send its callbacks in sign_in_redirect_uris, on the origin of its own platform_url. The answer gives its client ID in sign_in_client_id.
  • Sending [] removes the client, and so does unregistering or purging the platform. A platform whose registration is not active signs nobody in.

Such a sign-in shows no consent page, and the audit log records it with "consent": false. Its token answer has no refresh_token. Its access_token is bound to the client, and no Model Context Protocol (MCP) endpoint accepts it: rely on the ID token only. An administrator who impersonates someone is never signed in to a module as them. MCP clients have nothing to change.

Slack senders identified by their own member ID. No action is needed. Before, the Slack bot identified a sender by the channel they wrote in, and could answer a member as another account. The migration s5811slackid01 removes the identities that name a channel (slack:C…, slack:G…, slack:D…) from the users' linked identities. The member IDs an administrator linked (slack:U…, slack:W…) stay. XTM One links a member again on their next message whose email matches an account. A member whose email matches none is unidentified, or anonymous where the bot allows it. See How the bot knows who is talking.

What's next

NextMetrics renamed in client-python
Deploy
Install, configure, secure, scale and upgrade the platform.

Published

Overview
Run the XTM platform locally
OverviewDeploy with an AI agent