Upgrade Guide
Docker Compose Upgrade
Section titled “Docker Compose Upgrade”-
Back up the database
Terminal window ./scripts/backup.sh --dbDatabase migrations are forward-only. Rolling the container tag back does not roll the schema back. See Backup & Restore.
-
Diff your Compose files against the tagged release and merge the required changes before pulling images; follow Compose file changes, preserving your local configuration. Back up
.env, the active Compose files, and overrides alongside the database backup. -
Check how your images are pinned
Terminal window grep '^BREEZE_API_IMAGE_REF=' .env- Digest-pinned — the value ends in
@sha256:…. Every install made withguided-setup.shfor v0.112.0 or later looks like this. Follow step 4a. - Tag-form — the value ends in
:${BREEZE_VERSION}(older installs, and manual installs that never switched). Follow step 4b.
- Digest-pinned — the value ends in
-
Move to the new release
4a. Digest-pinned: run
guided-setup.sh --upgradeTerminal window # Fetch the current installer. --upgrade is new; an older copy does not have it.curl -fsSLO https://raw.githubusercontent.com/lanternops/breeze/main/scripts/guided-setup.sh# Run from the directory that holds docker-compose.yml and .env, or pass --work-dir.bash guided-setup.sh --upgrade 0.118.2 # omit the version to use the latest releaseThe script:
- downloads the target release’s signed image inventory and verifies it against
RELEASE_ARTIFACT_MANIFEST_PUBLIC_KEYS, the same fail-closed check as a fresh install; - backs up
.env, then rewritesBREEZE_VERSIONand the fourBREEZE_*_IMAGE_REFdigests together. If verification fails,.envis left unchanged and nothing is pulled; - prints links to the target release’s
docker-compose.ymland.env.example. It never edits your Compose file, so complete step 2 for the target release; - pulls the verified images, runs
docker compose up -d, and waits for the API to report healthy.
Add
-yto run it without prompts, for example from a script. Add--no-upto update.envonly and restart later. The script refuses a target older than your currentBREEZE_VERSION. Migrations are forward-only, so restore the matching database backup before you pass--allow-downgrade. Targets older than 0.112.0 are always refused, because release signatures do not cover those images;--allow-unverified-releasedoes not apply to--upgrade. It also re-pins the digests whenBREEZE_VERSIONalready names the target, which repairs an install where onlyBREEZE_VERSIONwas edited.If you run the manual verifier instead, follow Signed, digest-pinned image references and update
BREEZE_VERSIONand all four refs together.4b. Tag-form: set the version, then pull and restart
Terminal window # In .env: set to the version you want (e.g. 0.118.2)BREEZE_VERSION=0.118.2Terminal window docker compose pulldocker compose up -dBREEZE_VERSIONalso selects the agent release your fleet is offered, so set it to a version that is published on GitHub, not one that has only been tagged. See Binary Distribution.Either path pulls the new API, web, and binaries images and restarts all services. Database migrations run automatically on API startup when
AUTO_MIGRATE=true(the default).Expected downtime: Typically 5–15 seconds while containers restart. If the new version includes database migrations, the API container will take additional time to apply them before accepting traffic – usually under 60 seconds for routine schema changes, but potentially several minutes for large data migrations. Agents continue running independently during this window and reconnect automatically. From agent 0.125.0, agents spread that reconnect over up to 30 seconds (was 1–5 seconds), so a device can show offline up to about 30 seconds longer after an API restart. An API that is shedding load answers with
503and aRetry-Afterdelay, which agents honour; see Agent reconnect settings. - downloads the target release’s signed image inventory and verifies it against
-
Verify
Terminal window # Check API healthcurl -s https://breeze.yourdomain.com/health | jq .version# Check all running image versionsdocker compose images# Check agent version (on the device)breeze-agent version/healthreports the version baked into the running API image. If it does not matchBREEZE_VERSIONin.env, the image was not upgraded. The API logs[version] BREEZE_VERSION=… but this API image is …at startup, and Administration → System → Connections shows the same warning. This requires the Compose change described in APP_VERSION comes from the image.Also sign in through your public URL and confirm agents resume checking in.
/healthbypasses the HTTPS redirect and can stay healthy while a stale proxy address sends other requests into a redirect loop.
Redis 7 to 8
Section titled “Redis 7 to 8”The reference configuration and CI now use Redis 8.x (redis:8-alpine) instead of Redis 7. Redis 8 reads Redis 7.x data files, so the upgrade is an image change:
- Back up the Redis volume. This is your rollback path.
- Let the job queues drain. Queue state lives in Redis and persists across the restart, but draining avoids interrupting in-flight jobs.
- Set
REDIS_IMAGE_REFin.envto a reviewed digest of a Redis 8.x image. - Run
docker compose up -d redis. The API reconnects on its own; restart it if it does not.
Redis 7 may not be able to read data files written by Redis 8, so restore the backup if you need to roll back. See Production Deployment for the supported versions.
PostgreSQL 16 to 18
Section titled “PostgreSQL 16 to 18”Adapted from a runbook contributed by @TheMoroney in #10977, tested on a long-lived production install.
Breeze is tested on PostgreSQL 16, 17 and 18 (see Supported PostgreSQL versions); the default stays 16. This procedure moves the bundled postgres service from 16 to 18 by dump and restore into a second Docker volume. The 16 volume is never written to, so it stays your rollback until you delete it. The same steps work for 16 to 17 with a pg17 image.
Why dump and restore, not pg_upgrade:
- The 18 image is built on a newer Debian release with a newer glibc, so text collations can sort differently. A restore rebuilds every index under the new collation.
- Postgres 18
initdbturns on data checksums by default. A 16 cluster usually has none, andpg_upgraderequires both to match. - The old volume stays untouched as the rollback.
Before you start:
- Your
docker-compose.ymlmust come from a release that hasPGDATAandPOSTGRES_DATA_VOLUMEon thepostgresservice:grep -n 'POSTGRES_DATA_VOLUME' docker-compose.ymlprints a line. If it prints nothing, merge the Compose file changes first. - Free disk of at least 1.5 times the database size (the dump plus the new cluster).
- Copies of
.envand your Compose files kept off the host. - Run the long steps (dump, restore) under
nohup,tmuxorscreen, so a dropped SSH session does not kill them. - Afterwards, the host
pg_dumpandpg_restorethatscripts/backup.shandscripts/restore.shuse must be version 18 or newer. Apg_dumpolder than the server refuses to dump it. - If you installed the boot service (
breeze-rmm.serviceby default), do not reboot the host during the procedure. The service starts every container on boot. - This procedure is for the bundled
postgresservice on Docker volumes. For the local./datastorage mode or a managed database, see below.
Run every command from the directory that holds docker-compose.yml and .env. dc stands for the Compose command your installation uses. guided-setup.sh and its boot service use exactly this form:
dc() { docker compose -f docker-compose.yml --env-file .env "$@"; }# Add every other -f file you normally deploy with, in the same order.env | grep -E '^POSTGRES_(IMAGE_REF|DATA_VOLUME)=' && echo 'STOP: unset these first'The last line must print nothing. Compose prefers a variable exported in your shell over .env, so an exported POSTGRES_IMAGE_REF or POSTGRES_DATA_VOLUME would make your session start a different database than the next reboot.
-
Record where you are
Terminal window dc exec -T postgres sh -c 'psql -U "$POSTGRES_USER" -d "$POSTGRES_DB" -Atc "SHOW server_version" -c "SHOW data_directory"'grep '^POSTGRES_DATA_VOLUME=' .env || echo 'unset: postgres_data is active'docker volume ls --format '{{.Name}}' | grep -E '_postgres_data(_alt)?$'Expect
16.xand/var/lib/postgresql/data. WithPOSTGRES_DATA_VOLUMEunset orpostgres_data, the active volume is<project>_postgres_dataand you will restore into<project>_postgres_data_alt. If it is alreadypostgres_data_alt, swap the two names everywhere below.<project>isCOMPOSE_PROJECT_NAMEfrom.env(breezeby default).The target volume must not exist yet, or must be empty. If it exists, list it with
docker run --rm -v <project>_postgres_data_alt:/v:ro alpine ls -A /vand stop if it holds anything. -
Stop everything that writes to the database
Terminal window dc stop apidc --profile worker-split stop worker # only if you run the separate workerLeave
postgresandredisrunning. Agents keep running on the devices and reconnect when the API is back. -
Dump the database and count its rows
Terminal window mkdir -m 700 pg-upgradedc exec -T postgres sh -c 'pg_dump -U "$POSTGRES_USER" -d "$POSTGRES_DB" -Fc' > pg-upgrade/breeze.dumpecho "pg_dump exit: $?"dc exec -T postgres pg_restore --list < pg-upgrade/breeze.dump | tail -n 3pg_dump exitmust be0, andpg_restore --listmust print table-of-contents lines, not an error. Then record the row count of every table, while nothing is writing:Terminal window cat > pg-upgrade/count.sql <<'SQL'SELECT format('%I.%I', table_schema, table_name) || ' ' ||(xpath('/row/c/text()', query_to_xml(format('SELECT count(*) AS c FROM %I.%I', table_schema, table_name),false, true, '')))[1]::textFROM information_schema.tablesWHERE table_type = 'BASE TABLE'AND table_schema NOT IN ('pg_catalog', 'information_schema')ORDER BY table_schema COLLATE "C", table_name COLLATE "C";SQLdc exec -T postgres sh -c 'psql -U "$POSTGRES_USER" -d "$POSTGRES_DB" -At -v ON_ERROR_STOP=1' < pg-upgrade/count.sql > pg-upgrade/counts-16.txt \&& test -s pg-upgrade/counts-16.txt && wc -l pg-upgrade/counts-16.txtIt must print a line count (one line per table). No output means the count failed: stop and fix it before going on.
-
Save the cluster roles
Roles are not part of a single-database dump. Breeze needs
breeze_app,breeze_audit_adminandbreeze_search(see Restoring into a new Postgres cluster).Terminal window (umask 077; dc exec -T postgres sh -c 'pg_dumpall -U "$POSTGRES_USER" --globals-only' > pg-upgrade/globals.sql) -
Point
postgresat the new volume and the 18 imageTerminal window dc stop postgresEdit
.envand change both lines together:Terminal window POSTGRES_IMAGE_REF=pgvector/pgvector:pg18@sha256:<reviewed digest>POSTGRES_DATA_VOLUME=postgres_data_altKeep the old
POSTGRES_IMAGE_REFvalue somewhere: it is half of the rollback. Use a digest you have reviewed (docker buildx imagetools inspect pgvector/pgvector:pg18lists it). Any other volume name inPOSTGRES_DATA_VOLUMEmakesdocker composefail, which is deliberate. Never set it to a path: Compose would bind-mount that host directory instead. -
Start Postgres 18 and confirm it is on the new volume
Terminal window dc up -d postgresuntil dc ps postgres | grep -q '(healthy)'; do sleep 2; donedocker inspect "$(dc ps -q postgres)" --format '{{range .Mounts}}{{.Name}} -> {{.Destination}}{{println}}{{end}}'dc exec -T postgres sh -c 'psql -U "$POSTGRES_USER" -d "$POSTGRES_DB" -Atc "SHOW server_version" -c "SHOW data_directory"'Expect
<project>_postgres_data_alt -> /var/lib/postgresql/data,18.xand/var/lib/postgresql/data. The 18 image also attaches an anonymous volume at/var/lib/postgresql. It holds no data. -
Load the roles
Terminal window dc exec -T postgres sh -c 'psql -U "$POSTGRES_USER" -d postgres -q' < pg-upgrade/globals.sql \&& rm -f pg-upgrade/globals.sqlOne error is expected:
role "<POSTGRES_USER>" already exists, because the new cluster created it on first start. TheALTER ROLElines after it still apply.psqlstill exits 0 for it, soglobals.sqlis deleted only once the roles loaded. If the file is still there,psqlcould not connect: wait for Postgres and run the step again. -
Restore the dump
Terminal window dc exec -T postgres sh -c 'pg_restore -v -U "$POSTGRES_USER" -d "$POSTGRES_DB"' < pg-upgrade/breeze.dump 2> pg-upgrade/restore.logecho "pg_restore exit: $?"grep -E '^pg_restore: (error|warning)' pg-upgrade/restore.logpg_restore exitmust be0, and thegrepmust print nothing. An empty error file is not proof on its own: the exit status is. Anyrole "..." does not existerror means step 7 did not load the roles. Do not start the API. Recreate the empty volume and repeat from step 6. -
Refresh planner statistics
Terminal window dc exec -T postgres sh -c 'psql -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c ANALYZE' -
Verify before anything writes
Terminal window dc exec -T postgres sh -c 'psql -U "$POSTGRES_USER" -d "$POSTGRES_DB" -At' <<'SQL'SHOW server_version;SELECT extname || ' ' || extversion FROM pg_extension ORDER BY 1;SELECT 'invalid index: ' || indexrelid::regclass FROM pg_index WHERE NOT indisvalid;SQLdc exec -T postgres sh -c 'psql -U "$POSTGRES_USER" -d "$POSTGRES_DB" -At -v ON_ERROR_STOP=1' < pg-upgrade/count.sql > pg-upgrade/counts-18.txt \&& test -s pg-upgrade/counts-18.txt \&& diff pg-upgrade/counts-16.txt pg-upgrade/counts-18.txt && echo 'row counts identical'Expect
18.x,pg_trgm(andvectorif Workspace is on), noinvalid indexlines, androw counts identical. The counts were taken with every writer stopped, so any difference is a failed restore, not activity. Stop and roll back. -
Start Breeze
Terminal window dc up -d redisdc up -d apidc logs -f api # Ctrl-C once it reports healthyWatch for the
[auto-migrate]lines (an up-to-date database applies nothing) and for any[cluster-roles]error, which means the roles are missing. Then start the rest and check health:Terminal window dc up -dcurl -s https://breeze.yourdomain.com/healthStart the worker too if you run it (
dc --profile worker-split up -d worker). Sign in and confirm agents check in.
Rollback. Valid until the new database has taken writes you need to keep. Stop the stack (dc stop), put the old POSTGRES_IMAGE_REF back and remove the POSTGRES_DATA_VOLUME line (or set it back to the old slot), then dc up -d and check the mount as in step 6. After the 18 database has taken writes that matter, going back means a dump from 18 restored into a fresh 16 cluster, which a newer pg_dump’s output does not always allow without edits. Decide your go/no-go point before step 11.
Cleanup. Once a backup of the 18 database exists, taken with a pg_dump of version 18 or newer:
docker volume rm <project>_postgres_data # the old 16 slot; never the active onerm -rf pg-upgradeKeep POSTGRES_DATA_VOLUME=postgres_data_alt in .env from now on, next to POSTGRES_IMAGE_REF. Losing that line starts Postgres on the old slot, which is empty after cleanup. The next major-version move restores back into postgres_data and removes the line. guided-setup.sh keeps it when it rewrites .env, and both slots count as existing data when it checks for a previous install.
Never run docker compose down -v or docker volume prune while you rely on the old volume as a rollback: both delete it. The same goes for guided-setup.sh run with a new .env: if you choose Delete existing Postgres storage there, it deletes both postgres_data and postgres_data_alt.
Already running 18 with the upstream volume layout
Section titled “Already running 18 with the upstream volume layout”If you moved to 18 by mounting the volume at /var/lib/postgresql (the layout the 18 image’s error message suggests), SHOW data_directory reports /var/lib/postgresql/18/docker. Keep that mount in your Compose file and set PGDATA: /var/lib/postgresql/18/docker on the postgres service. Do not take the release’s PGDATA: /var/lib/postgresql/data line with your mount. That directory holds no database, so the image would initialize a new, empty one and the API would migrate it.
The release’s postgres service wraps the image entrypoint to stop that. When PGDATA holds no database but one exists in its parent directory or one or two levels below it (/var/lib/postgresql/18/docker, or 17/data from an upgrade helper), or the same levels inside PGDATA, Postgres refuses to start, changes nothing, and logs the PGDATA to set:
postgres: refusing to start. PGDATA=/var/lib/postgresql/data holds no database, but a PostgreSQL 18 database exists at /var/lib/postgresql/18/docker.postgres: starting now would create a new, EMPTY database and Breeze would come up as a fresh install. Nothing has been changed.postgres: to start on the existing data, set PGDATA: /var/lib/postgresql/18/docker on the postgres service in docker-compose.yml (keep your volume mount), or move that data into /var/lib/postgresql/data.postgres: see https://docs.breezermm.com/deploy/upgrades/#already-running-18-with-the-upstream-volume-layoutIf it finds more than one database (for example 17/docker and 18/docker after an in-place pg_upgrade), it names the one that matches the image’s major version and lists the others.
Set that PGDATA and run docker compose up -d postgres again. The check is in the release’s postgres service block, including its entrypoint: and command: lines. If you merge only the PGDATA line into your own file, or your override sets entrypoint: on postgres, you get no check: run SHOW data_directory before you take the line.
Local ./data storage mode
Section titled “Local ./data storage mode”If guided-setup.sh set up local storage, the database is a bind mount of ./data/postgres and POSTGRES_DATA_VOLUME has no effect. guided-setup.sh does not regenerate that Compose file, so if its postgres service has no PGDATA yet, add PGDATA: /var/lib/postgresql/data to its environment: by hand first (one PGDATA key only) (without it an 18 image refuses to start). Follow steps 1–4 and 7–11 above. For steps 5 and 6, keep the old directory as the rollback:
dc stop postgresmv data/postgres data/postgres-16mkdir data/postgres# Edit .env: POSTGRES_IMAGE_REF=pgvector/pgvector:pg18@sha256:<reviewed digest>dc up -d postgresdc exec -T postgres sh -c 'psql -U "$POSTGRES_USER" -d "$POSTGRES_DB" -Atc "SHOW server_version"' # 18.xRollback is the reverse: stop, mv data/postgres data/postgres-18-failed, mv data/postgres-16 data/postgres, put the old image back. Cleanup deletes data/postgres-16 once an 18 backup exists.
Managed Postgres
Section titled “Managed Postgres”A managed database (DATABASE_URL pointing outside the stack) is upgraded with the provider’s own major-version tooling. Take a provider backup first, confirm the target major offers pg_trgm (and vector if Workspace is on), run ANALYZE if the provider does not keep statistics, and make sure whatever runs pg_dump for your backups is version 18 or newer.
Agent reconnect settings
Section titled “Agent reconnect settings”From agent 0.125.0, agents pace their own traffic after an API restart or overload:
- Spread reconnect. After a stable connection drops, an agent waits a random 1–30 seconds before it redials, instead of 1–5 seconds. The first connection after the agent process starts waits a random 0–10 seconds, also after a self-update.
- Drain hint. An API instance that is shutting down can tell its agents
{"type":"drain","reconnectWithinMs":N}before it closes their sockets. Agents then spread their reconnect over that window, at least 5 seconds. No Breeze API sends this yet; it is ready for rolling deploys. - Server delays honoured across cycles. When the API answers a periodic upload (inventory, monitoring results, process samples, logs, UniFi telemetry) with
503or429and aRetry-After, the agent skips that upload until the delay has passed, up to 300 seconds, instead of retrying on its next cycle. Heartbeats and command results are never delayed. - Spread startup uploads. The full inventory, hardware and patch uploads after an agent starts each wait a random 0–120 seconds, and the first service-monitoring pass waits up to one check interval (at most 60 seconds).
Two agent.yaml keys restore the earlier behaviour on a device:
| Key | Default | Effect |
|---|---|---|
ws_first_reconnect_window_seconds |
30 |
Upper bound of the reconnect spread after a stable connection, 0–300 seconds. 0–5 restores the 1–5 second spread of earlier agents. |
loop_retry_after |
true |
false restores per-request handling: the agent waits out a Retry-After only inside the request it was given, and retries on its next cycle. |
The agent reads both at start; restart the agent service after changing them.
Check what an upgrade retires
Section titled “Check what an upgrade retires”Every API image carries a list of the API fields and endpoints Breeze has retired, with the version each one was deprecated and removed in and what replaces it. The list is cumulative, so an image knows every retirement you cross even when you skip versions. The API also records each version your deployment boots, so it can tell which retirements are new to you.
At every boot, before migrations run, the API logs a report headed [upgrade-preflight]. It lists each retirement the upgrade crosses, the endpoints and fields affected, and the replacement. Read it after upgrading:
docker compose logs api | grep upgrade-preflightBefore upgrading, you can run the same check with the new image against your current database, after docker compose pull and before docker compose up -d:
docker compose run --rm --no-deps api node dist/scripts/upgrade-preflight.cjsThis only reads. It does not run migrations or record a version. It exits 0. Add --strict (or set BREEZE_UPGRADE_PREFLIGHT_STRICT=true) to exit 1 when a removal is crossed, for use in an upgrade script.
The report never blocks the API from starting. If the deployment has no recorded version history (the first upgrade to a version with this check, or a database the check could not read), the report lists every retirement in effect for the new image and marks it as possibly crossed. It does not report “no issues” in that case.
In the web UI
Section titled “In the web UI”Platform administrators can see the same information at Administration → System (/admin/system, v0.117.0+). The Deprecations tab lists every retirement the running image knows about with its status for this deployment (crossed, possibly crossed, in effect, or upcoming), along with the running version, the last version recorded, the applied and pending migration counts, and the deployment’s version history. The Connections tab shows each integration the API container is configured for, grouped by area, as enabled, disabled, misconfigured, or required but missing. It reads the API container’s environment only, never shows secret values, and does not contact the services themselves, so “enabled” means configured, not reachable. The Health tab shows the connection-health reconciler and digest, each per-kind heartbeat, and the queue counts for connection health, alerts and event dispatch. It reads Redis only, so it works without the monitoring overlay. Queue counts are not a health verdict. All three tabs are read-only.
Compose file changes
Section titled “Compose file changes”docker compose pull updates images; it does not download a new docker-compose.yml, override file, or .env.example. Current images can therefore run with old network settings or missing environment mappings. Review the configuration shipped with every target release, including when skipping versions; the entries below highlight changes that need operator action, not a complete Compose changelog.
Fetch a separate copy of the target release’s Compose file and compare it with the one you actually deploy. Replace the placeholder with the published release tag matching your intended BREEZE_VERSION:
release_tag="v<target-version>"release_compose=$(mktemp)curl --fail --show-error --location \ "https://raw.githubusercontent.com/LanternOps/breeze/${release_tag}/docker-compose.yml" \ --output "$release_compose" && diff -u docker-compose.yml "$release_compose"diff exits with status 1 when differences exist; a failed download must be resolved before continuing. If you deploy deploy/docker-compose.prod.yml or additional override files, compare those same paths at the same tag too. Review the tagged .env.example and any configuration files referenced by changed services.
Merge the required changes into your backed-up local files, preserving custom services, domains, mounts, secrets, and proxy topology. Do not overwrite .env with .env.example. Add required variables to both .env and the appropriate service’s environment: mapping; setting .env alone does not pass a variable to the container. For digest-pinned deployments, update the image references to the target release as well as BREEZE_VERSION. guided-setup.sh --upgrade does this for you (step 4a).
Validate the merged configuration before the pull/restart step:
docker compose config --quietUse the same -f options and profiles you normally deploy for validation, pull, and restart so your overrides are included. Validation checks the Compose configuration; it does not prove that a trusted proxy address matches the running proxy.
v0.131.0 — MCP tool list default, learned networks and groundwork switches mapped
Section titled “v0.131.0 — MCP tool list default, learned networks and groundwork switches mapped”The v0.131.0 Compose files add 8 optional api mappings to both docker-compose.yml and deploy/docker-compose.prod.yml. Leaving any of them out of .env keeps the built-in default. No mapping was removed.
| Change | Required action |
|---|---|
MCP_TOOL_LIST_DEFAULT (unset = full). |
Nothing. Unset keeps today’s full tool list. See Tool list modes. |
LEARNED_NETWORKS_INGEST_ENABLED (unset = on). |
Nothing. Set false to stop recording the network attachments agents report. A value that is not a boolean stops the API at boot. |
AI_TOOL_DISCOVERY_RETENTION_ENFORCE (unset = report-only). |
Nothing. Until you set true, the nightly AI tool-output job only counts the tool-discovery rows and stored tool-search queries it would remove. See Environment Variables. |
AI_TOOL_EXAMPLES, BACKUP_INDEX_DELTA_PUBLISH (off), BACKUP_INDEX_DELTA_PUBLISH_ORG_IDS and BREEZE_BROWSER_DESKTOP_ENABLED (false). |
Nothing. Leave them unset; they are not available yet. A value that is not a boolean for BREEZE_BROWSER_DESKTOP_ENABLED stops the API at boot. |
docker-compose.monitoring.yml moves postgres-exporter to v0.21.1. |
Nothing unless you run the monitoring overlay; then pull it with the rest. |
v0.130.0 — PostgreSQL data directory pinned and a second data volume
Section titled “v0.130.0 — PostgreSQL data directory pinned and a second data volume”The postgres service in docker-compose.yml gains PGDATA and a selectable data volume. PostgreSQL 17 and 18 are now tested and supported; the default image stays 16.
| Change | Required action |
|---|---|
postgres sets PGDATA: /var/lib/postgresql/data, the mount target. Postgres 18 images moved their default data directory outside that mount and refuse to start without it. |
On 16 or 17 with the shipped mount: nothing. It is the default path there, so the next docker compose up -d recreates the container once (a few seconds of database restart) on the same data. Already running 18 with your volume mounted at /var/lib/postgresql: run SHOW data_directory first. If it reports /var/lib/postgresql/18/docker, keep your mount and set PGDATA to that path instead. With the whole release service block, Postgres refuses to start and logs that path. With only this line merged into your file, it starts an empty database. See Already running 18 with the upstream volume layout. |
postgres sets entrypoint: (a short shell check, then the image’s docker-entrypoint.sh) and command: ['postgres']. The check refuses to start when PGDATA holds no database but one exists beside or inside it, instead of initializing an empty one. |
Nothing on a fresh install or one whose PGDATA already holds the database: it hands straight to the image. A command: override, such as postgres -c ..., still works. If you set your own entrypoint: on postgres, yours replaces the check. |
The postgres mount becomes ${POSTGRES_DATA_VOLUME:-postgres_data}:/var/lib/postgresql/data, and a second volume, postgres_data_alt, is declared. |
Nothing. Unset keeps postgres_data. Only the PostgreSQL 16 to 18 procedure sets POSTGRES_DATA_VOLUME, and any other volume name makes docker compose fail. Never set it to a path, which Compose would bind-mount. |
guided-setup.sh local-storage mode rewrites either mount form to ./data/postgres, and treats both volumes as existing data. |
Nothing. Fetch the current guided-setup.sh as usual. |
v0.130.0 — report-only observation retention settings mapped
Section titled “v0.130.0 — report-only observation retention settings mapped”Both Compose files gain 8 optional api mappings (${VAR:-}). Leaving them out of .env keeps the built-in default.
| Change | Required action |
|---|---|
New api mappings for the hourly observation retention job: AGENT_HEALTH_OBSERVATION_RETENTION_* and SOFTWARE_INVENTORY_OBSERVATION_RETENTION_*, each with _DAYS (defaults: 30 for health, 90 for software inventory), _BATCH_SIZE, _MAX_BATCHES and _ENFORCE. |
Nothing. The job only counts eligible rows and deletes nothing until you set the matching _ENFORCE=true. See Report-only retention jobs. |
New index on received_at for agent_health_observations and software_inventory_observations, built CONCURRENTLY on upgrade. |
Nothing. Writes continue during the build; on a large install the migration step takes longer than usual. |
v0.130.0 — directory deprovisioning, groundwork switches, ticket import limits, snapshot cleanup, worker metrics route
Section titled “v0.130.0 — directory deprovisioning, groundwork switches, ticket import limits, snapshot cleanup, worker metrics route”The v0.130.0 Compose files add these optional api mappings to both docker-compose.yml and deploy/docker-compose.prod.yml, alongside the PostgreSQL and retention entries above. Leaving any of them out of .env keeps the built-in default. No mapping was removed.
| Change | Required action |
|---|---|
PORTAL_DIRECTORY_DEPROVISION_ENFORCE (unset = report-only). |
Nothing. Directory deprovisioning records and reports only until you set true. See Directory deprovisioning. |
TPM_ATTESTATION_ENABLED (false), BREEZE_VENDOR_CANARY_PARTNER_IDS and BREEZE_VENDOR_CANARY_DISABLED (empty). |
Nothing. Leave them unset; they are groundwork and canary switches. See Feature Flags. |
TICKET_IMPORT_MAX_TICKET_ARTICLES (10000) and TICKET_IMPORT_MAX_TICKET_READ_BYTES (256 MiB). |
Nothing for the defaults. A ticket over either limit fails on its own as “ticket too large”. See Ticket Import. |
BACKUP_SNAPSHOT_CLEANUP_CRON (27 2,8,14,20 * * * UTC; off stops it) and BACKUP_SNAPSHOT_CLEANUP_TIME_BUDGET_MS (4 hours). |
Nothing. Expired-snapshot cleanup now runs on its own bounded schedule and resumes where it stopped. |
BACKUP_GC_LIVE_SET_MAX_BYTES and BACKUP_GC_MAX_DELETES_PER_RUN are now mapped. |
If you set either in .env before, it had no effect; it now takes effect once you take the new Compose file. |
PARTNER_TRUST_FRAUD_FLAGS_ENABLED (false) and three IP_CLASSIFY_*_URL overrides. |
Nothing. These serve the hosted service; leave them unset on a self-hosted install. |
docker/Caddyfile.prod routes /metrics/worker to the worker role’s metrics, behind the same scrape token. |
Nothing unless you scrape the worker from outside the Docker network. See Worker Split. |
v0.130.0 — count-only history retention windows mapped
Section titled “v0.130.0 — count-only history retention windows mapped”Both Compose files gain 10 optional api mappings (${VAR:-}). Leaving them out of .env keeps the built-in default.
| Change | Required action |
|---|---|
New api mappings for the count-only targets of the history retention job: SSO_SESSION_RETENTION_DAYS, C2C_CONSENT_SESSION_RETENTION_DAYS, TUNNEL_SESSION_RETENTION_DAYS, UNIFI_SYNC_RUN_RETENTION_DAYS, FLEET_REMEDIATION_RUN_RETENTION_DAYS, TICKET_IMPORT_RUN_RETENTION_DAYS, TOPOLOGY_DIAGNOSTIC_RUN_RETENTION_DAYS, AUDIT_BASELINE_RESULT_RETENTION_DAYS, PERIPHERAL_POLICY_DELIVERY_EVENT_RETENTION_DAYS, ML_FEEDBACK_EVENT_RETENTION_DAYS. |
Nothing. These targets only count eligible rows. They have no _ENFORCE variable and delete nothing. See Count-only retention targets. |
v0.129.0 — local backup destinations on the API server
Section titled “v0.129.0 — local backup destinations on the API server”Both Compose files gain one optional mapping, BACKUP_LOCAL_ROOT (${BACKUP_LOCAL_ROOT:-}), shared by api and worker.
| Change | Required action |
|---|---|
The API and worker no longer read a local backup destination from its Local Path setting. They read it only from <BACKUP_LOCAL_ROOT>/<organization ID>/<storage configuration ID>/. |
Nothing, unless you use server-side features on local destinations (connectivity test, file-level browse, server-side verification, storage sweep, recovery downloads, recovery media). If you do, follow Upgrading an install that uses API-side local storage before relying on them. Until then they are unavailable and the storage sweep deletes nothing from those destinations. Without BACKUP_LOCAL_ROOT, the connectivity test now reports local destinations as Not tested here instead of testing the Local Path on the server. |
v0.129.0 — history retention settings mapped
Section titled “v0.129.0 — history retention settings mapped”Both Compose files gain 26 optional api mappings (${VAR:-}). Leaving them out of .env keeps the built-in default.
| Change | Required action |
|---|---|
New api mappings for the report-only history retention job: HISTORY_RETENTION_BATCH_SIZE, HISTORY_RETENTION_MAX_BATCHES, and a _DAYS and _ENFORCE pair for each of AI_AGENT_RUN_RETENTION_*, PATCH_JOB_RESULT_RETENTION_*, SECURITY_POSTURE_SNAPSHOT_RETENTION_*, CIS_BASELINE_RESULT_RETENTION_*, AUTOMATION_RUN_RETENTION_*, REPORT_RUN_RETENTION_*, USER_NOTIFICATION_READ_RETENTION_*, USER_NOTIFICATION_RETENTION_*, REMOTE_SESSION_RETENTION_*, SUPPORT_SESSION_RETENTION_*, AUTH_SESSION_RETENTION_*, NETWORK_CHANGE_EVENT_RETENTION_*. |
Nothing. Each target only counts eligible rows and deletes nothing until you set its own _ENFORCE=true. See Report-only retention jobs. |
The network baseline worker no longer handles the prune-change-events job type. Nothing ever scheduled it. |
Nothing. Change-event cleanup moves to NETWORK_CHANGE_EVENT_RETENTION_*. |
v0.129.0 — report-only script execution retention settings mapped
Section titled “v0.129.0 — report-only script execution retention settings mapped”Both Compose files gain 5 optional api mappings (${VAR:-}). Leaving them out of .env keeps the built-in default.
| Change | Required action |
|---|---|
New api mappings for the report-only script execution retention job: SCRIPT_EXECUTION_OUTPUT_RETENTION_DAYS, SCRIPT_EXECUTION_RETENTION_DAYS, SCRIPT_EXECUTION_RETENTION_BATCH_SIZE, SCRIPT_EXECUTION_RETENTION_MAX_BATCHES and SCRIPT_EXECUTION_RETENTION_ENFORCE. |
Nothing. The job only counts eligible rows and changes nothing until you set SCRIPT_EXECUTION_RETENTION_ENFORCE=true. See Report-only retention jobs. |
v0.129.0 — closed-alert retention settings
Section titled “v0.129.0 — closed-alert retention settings”Both Compose files gain the same lines under the api environment. Every new mapping is optional; leaving it out of .env keeps the default.
| Change | Required action |
|---|---|
New api mappings ALERT_RETENTION_DAYS, ALERT_RETENTION_BATCH_SIZE, ALERT_RETENTION_MAX_BATCHES and ALERT_RETENTION_ENFORCE (${VAR:-}). |
Nothing for the defaults (365 days, 1000 rows, 100 batches). The job is report-only until you set ALERT_RETENTION_ENFORCE=true. See Report-only retention jobs. |
v0.129.0 — report-only AI transcript retention
Section titled “v0.129.0 — report-only AI transcript retention”Both Compose files gain 3 optional api mappings (${VAR:-}). Leaving them out of .env keeps the built-in default. The release also runs a migration that sets the new technician transcript window to 365 days on every existing partner AI data policy row (a partner with no row already gets 365 by default).
| Change | Required action |
|---|---|
New api mappings for the report-only AI transcript retention job: AI_TRANSCRIPT_RETENTION_BATCH_SIZE, AI_TRANSCRIPT_RETENTION_MAX_BATCHES and AI_TRANSCRIPT_RETENTION_ENFORCE. |
Nothing. The job only counts conversations past their window and changes nothing until you set AI_TRANSCRIPT_RETENTION_ENFORCE=true. See Report-only retention jobs. |
v0.129.0 — report-only retention settings mapped
Section titled “v0.129.0 — report-only retention settings mapped”Both Compose files gain 16 optional api mappings (${VAR:-}). Leaving them out of .env keeps the built-in default.
| Change | Required action |
|---|---|
New api mappings for four report-only retention jobs: DEVICE_COMMAND_RETENTION_*, FILESYSTEM_SNAPSHOT_RETENTION_*, NETWORK_MONITOR_RESULT_RETENTION_*, DEVICE_SESSION_RETENTION_*. Each has _DAYS, _BATCH_SIZE, _MAX_BATCHES and _ENFORCE. |
Nothing. The jobs only count eligible rows and delete nothing until you set the matching _ENFORCE=true. See Report-only retention jobs. |
v0.128.0 — portal Microsoft sign-in, migration lock wait, worker container name, monitoring images pinned
Section titled “v0.128.0 — portal Microsoft sign-in, migration lock wait, worker container name, monitoring images pinned”The v0.128.0 Compose files change the api and web environments, the optional worker service and docker-compose.monitoring.yml. Both Compose files gain the same lines. Every new mapping is optional; leaving it out of .env keeps the built-in default.
| Change | Required action |
|---|---|
New api mappings PORTAL_ENTRA_CLIENT_ID, PORTAL_ENTRA_CLIENT_SECRET and PORTAL_ENTRA_CALLBACK_BASE_URL (${VAR:-}). |
Nothing unless you want customer portal Sign in with Microsoft: it stays off, and its settings stay hidden, until both the client ID and secret are set. See Portal Microsoft sign-in and Customer portal Microsoft sign-in. |
New api mappings OAUTH_REFRESH_ROTATION_GRACE_MS and MIGRATION_LOCK_TIMEOUT_MS (${VAR:-}). |
Nothing for the defaults (10 seconds; 5 minutes). See Upgrade and rollout controls. |
New web mapping TUNNEL_ORIGIN_TEMPLATE (${VAR:-}). It is an existing variable that was passed only to the API. |
If you use Network Proxy host mode, add the line to the web service, or the browser blocks the device frame. See Dedicated tunnel origin. |
The optional worker service no longer sets container_name: breeze-worker, so it can be scaled with docker compose --profile worker-split up -d --scale worker=N. |
Scripts that call docker logs breeze-worker or docker exec breeze-worker should use docker compose logs worker and docker compose exec worker. See Worker Split. |
docker-compose.monitoring.yml pins every image by digest and moves Prometheus 2 → 3, Grafana 10 → 13, Loki and Promtail 2.9 → 3.6, plus Alertmanager and both exporters. Each image can be overridden with its own *_IMAGE_REF variable. |
Only if you run the monitoring overlay and take the new file. Read the upstream upgrade notes and back up the monitoring volumes first, or set the *_IMAGE_REF variables to your current images. See Image versions. |
v0.127.0 — alert worker settings mapped, worker heap cap, new optional settings
Section titled “v0.127.0 — alert worker settings mapped, worker heap cap, new optional settings”The v0.127.0 Compose files change the api environment and the optional worker service. Both Compose files gain the same lines, except where the table says otherwise. Every new mapping is optional; leaving it out of .env keeps the built-in default.
| Change | Required action |
|---|---|
ALERT_WORKER_CONCURRENCY, ALERT_WORKER_STAGGER_WINDOW_MS and AGENT_CONNECTIONS_MAX_PER_DEVICE are now mapped as ${VAR:-}. They were introduced in v0.126.0 but not passed through, so a value set only in .env had no effect. |
Nothing, unless you added your own mapping on v0.126.0; keep one. Empty keeps the defaults (a quarter of DB_POOL_MAX; 50000 ms; 2000). |
New api mapping USER_RATE_LIMIT_PER_MINUTE (${VAR:-}). |
Nothing for the default of 600 requests per minute per signed-in user. See Rate Limiting. |
New api mappings WAKE_ATTEMPT_RETENTION_DAYS, WAKE_ATTEMPT_RETENTION_BATCH_SIZE and WAKE_ATTEMPT_RETENTION_MAX_BATCHES (${VAR:-}). |
Nothing for the defaults (90 days, 1000 rows, 100 batches). |
New api mappings for the nine TICKET_IMPORT_* worker settings (${VAR:-}). |
Nothing. No ticket import source ships yet, so nothing reads them. See Ticket import migration windows. |
New api mappings BREEZE_OEM_UPDATES_ENABLED (${VAR:-false}), BREEZE_OEM_UPDATES_PARTNER_ALLOWLIST, BREEZE_OEM_UPDATES_DISABLED_LANES and OEM_UPDATES_MAX_DISPATCH_PER_TICK. The root docker-compose.yml also maps the lab-only BREEZE_OEM_UPDATES_LAB_DEVICE_IDS; deploy/docker-compose.prod.yml does not. |
Nothing. Leave them unset; vendor updates is not available yet. The API refuses to boot with BREEZE_OEM_UPDATES_LAB_DEVICE_IDS set under NODE_ENV=production. See Vendor Updates. |
The optional worker service sets NODE_OPTIONS: ${WORKER_NODE_OPTIONS:---max-old-space-size=1024}, a 1 GB Node heap. |
Nothing on the default single-container install (BREEZE_ROLE=all); the api container is unchanged. If you run the worker split and need a larger heap, set WORKER_NODE_OPTIONS, for example --max-old-space-size=2048. |
v0.126.0 — Flows on by default, in-cluster HTTPS exemption, IOC sweep limits mapped
Section titled “v0.126.0 — Flows on by default, in-cluster HTTPS exemption, IOC sweep limits mapped”The v0.126.0 Compose files change the api environment and docker/Caddyfile.prod. Both Compose files gain the same lines.
| Change | Required action |
|---|---|
FLOWS_ENABLED is now mapped as ${FLOWS_ENABLED:-true} (was false), and .env.example now shows FLOWS_ENABLED=true. |
If you want Flows off, set FLOWS_ENABLED=false in .env. If you keep the v0.125.0 Compose file and set nothing, Flows stays off. See Flows on by default. |
New api mappings INTERNAL_SERVICE_CIDRS (${INTERNAL_SERVICE_CIDRS-${BREEZE_DOCKER_SUBNET:-…}}, no colon) and INTERNAL_API_HOSTS (api:3001). |
Nothing on the bundled Compose. With FORCE_HTTPS=true, portal and web server-side rendering calls to the API stop failing with 400 FORCE_HTTPS_NON_CANONICAL_HOST. Custom Compose or Kubernetes installs set INTERNAL_SERVICE_CIDRS to their pod or service network. See TLS. |
New api mappings NETWORK_ISOLATION_ENABLED (false) and NETWORK_ISOLATION_ENABLED_PARTNER_IDS (empty). |
Nothing. Leave both unset; network isolation is not available yet. |
New api mapping TICKET_IMPORT_MAX_BYTES_PER_HOUR (${VAR:-}). |
Nothing for the default (2 GiB per hour). See Ticket import migration windows. |
The IOC sweep limits SECURITY_SWEEP_MAX_DEVICES, SECURITY_SWEEP_MAX_ACTIVE_PER_ORG, SECURITY_SWEEP_PUMP_INTERVAL_MS, SECURITY_SWEEP_PUMP_BATCH, SECURITY_SWEEP_PARTNER_RUNNING_CAP, SECURITY_SWEEP_TTL_HOURS_DEFAULT, SECURITY_SWEEP_MFA_DEVICE_THRESHOLD, SECURITY_SWEEP_RUNNING_GRACE_MINUTES and IOC_HUNT_FOUR_EYES_DEVICE_THRESHOLD are now mapped as ${VAR:-}. |
Nothing, unless you added your own mapping on v0.125.0; keep one. Defaults are unchanged. |
docker/Caddyfile.prod redacts the Webhook-Signature request header in access logs, as it already did for other webhook secrets. |
If you maintain your own copy of Caddyfile.prod, carry the line over. |
Not mapped in Compose in v0.126.0 (v0.127.0 maps them): ALERT_WORKER_CONCURRENCY, ALERT_WORKER_STAGGER_WINDOW_MS and AGENT_CONNECTIONS_MAX_PER_DEVICE. On v0.126.0, add them to the api service’s environment: block if you need to change one. See Environment Variables.
v0.125.0 — DNS Security retention, Flows and MCP preview switches, Caddy header defaults
Section titled “v0.125.0 — DNS Security retention, Flows and MCP preview switches, Caddy header defaults”The v0.125.0 Compose files change the api environment and docker/Caddyfile.prod. Both Compose files gain the same lines.
| Change | Required action |
|---|---|
New api mappings, each as ${VAR:-} so unset keeps the built-in default: AI_TOOL_INDEX, BREEZE_ADMISSION_RISE_TICKS, BREEZE_ADMISSION_LEVEL1_HOLD_MS, DNS_SECURITY_RETENTION_DAYS_DEFAULT / _BATCH_SIZE / _MAX_BATCHES, OAUTH_CIMD_ENABLED, OAUTH_CIMD_ALLOWED_HOSTS, MCP_STATELESS_ENABLED, MCP_HEADER_MISMATCH_ALERT_THRESHOLD, MCP_TIER3_INTENTS_ENABLED, the three MCP_INTENT_* limits, MCP_APPROVAL_WAIT_MS, MCP_APPROVAL_WAITS_PER_PRINCIPAL, MCP_APPS_ENABLED, MCP_TASKS_ENABLED and the three MCP_TASK_* timers. |
Copy the lines into your own Compose file if you want to set any of them. See Environment Variables. |
New api mappings with an explicit default: FLOWS_ENABLED (false) and the six FLOW_* limits, AI_OPERATOR_RECIPE_IDENTITY_OFFBOARDING_ENABLED and AI_OPERATOR_RECIPE_IDENTITY_ONBOARDING_ENABLED (false), BREEZE_WISP_ENABLED (false) and BREEZE_WISP_CONNECTOR_ENABLED (false). |
Nothing for the defaults. BREEZE_WISP_ENABLED is for Breeze Cloud only; leave it unset on a self-hosted server. BREEZE_WISP_CONNECTOR_ENABLED is another name for BREEZE_WORKSPACE_ENABLED, not the Wisp switch. |
PROMPT_HOST_ENABLED_KINDS is mapped as ${PROMPT_HOST_ENABLED_KINDS-default} (no colon), so leaving it out of .env passes the built-in list, and an explicitly empty value is the kill switch. |
Nothing. Nothing uses it in this release. |
PAM_OWNERSHIP_EPOCH_TRANSFER and BREEZE_YARA_BUILTIN_PACK_DISABLED (from v0.124.0) are now mapped as ${VAR:-}. |
Nothing, unless you added your own mapping on v0.124.0; keep one. |
docker/Caddyfile.prod sends Strict-Transport-Security and X-Content-Type-Options with the > (replace) form so they are no longer sent twice, adds a default Permissions-Policy, and adds a default Cross-Origin-Resource-Policy: same-site on every path except the API, OAuth, health and public-badge paths. |
If you maintain your own copy of Caddyfile.prod, carry all three over. See Security headers. |
.env.example documents the Microsoft 365 Graph-read, Graph-actions and comms executor variables in one place, and shows the comms signing key as M365_COMMS_EXECUTOR_SIGNING_PRIVATE_JWK_SOURCE_FILE (a host path mounted into the container). |
Nothing. Existing values keep working. |
Not mapped in Compose in v0.125.0 (later releases map them, so set them in .env): the IOC sweep limits SECURITY_SWEEP_* and IOC_HUNT_FOUR_EYES_DEVICE_THRESHOLD. See IOC sweeps.
v0.124.0 — caller verification on by default, AI retention and sweeper settings, web security contacts, Caddy tunnel host
Section titled “v0.124.0 — caller verification on by default, AI retention and sweeper settings, web security contacts, Caddy tunnel host”The v0.124.0 Compose files change the api, web and caddy environments:
| Change | Required action |
|---|---|
CALLER_VERIFICATION_ENABLED is mapped in both files as ${CALLER_VERIFICATION_ENABLED:-true}; it defaulted to false before. Microsoft 365 password resets and account disables now need a fresh caller verification, and an explicit false refuses them instead of leaving the feature dark. |
Check .env before upgrading. Earlier .env.example files shipped CALLER_VERIFICATION_ENABLED=false; remove the line, or set it to true. See the v0.124.0 notes. |
New api mappings in both files: AI_TOOL_OUTPUT_RETENTION_CRON / _BATCH_SIZE / _MAX_BATCHES, AI_TRANSCRIPT_SWEEPER_ENABLED / _CRON / _GRACE_HOURS, CLAUDE_CONFIG_DIR, PAM_EVIDENCE_RETENTION_ENABLED / _DAYS, MCP_INSUFFICIENT_SCOPE_HTTP_403, WEBHOOK_DELIVERY_RETENTION_DAYS / _BATCH_SIZE / _MAX_BATCHES and RESTORE_POINT_ATTEMPT_RETENTION_DAYS / _BATCH_SIZE / _MAX_BATCHES, each as ${VAR:-} so unset keeps the built-in default; plus CALLER_VERIFICATION_WORKSTATION_ENABLED and BREEZE_TRUST_CIS_FRAMEWORK_VIEW as ${VAR:-false}. |
Copy the lines into your own Compose file if you want to set any of them. See Environment Variables. |
deploy/docker-compose.prod.yml now maps MIGRATION_WINDOW_MAX_DAYS, MIGRATION_WINDOW_DEFAULT_WRITES_PER_HOUR and MIGRATION_WINDOW_MAX_WRITES_PER_HOUR, which the root file has mapped since v0.123.0. |
Nothing, unless you added your own mapping on v0.123.0; keep one. |
New web mappings PUBLIC_ABUSE_CONTACT, PUBLIC_SECURITY_CONTACT and PUBLIC_SECURITY_POLICY_URL, all empty by default. Unlike the other PUBLIC_* flags, the web container reads these at runtime, so they work with the published image. |
Set them to publish a “Report abuse” / “Security” footer on the sign-in pages and /.well-known/security.txt; unset publishes nothing. On your own Compose file, add the three lines to the web service’s environment: block. |
New caddy mappings TUNNEL_SITE_ADDRESS, TUNNEL_TLS_DIRECTIVE and TUNNEL_HOST_SUFFIX. Their defaults match nothing, so Network Proxy host mode stays off. |
Nothing for the defaults. Leave them unset rather than empty: an empty TUNNEL_SITE_ADDRESS stops Caddy from starting. See Dedicated tunnel origin. |
docker/Caddyfile.prod sets Referrer-Policy only when the application did not set one (?Referrer-Policy "strict-origin-when-cross-origin"), and gains a site block that serves the Network Proxy tunnel host from the TUNNEL_* variables. |
If you maintain your own copy of Caddyfile.prod, carry both over. Without the ? form, the proxy overwrites the no-referrer the application sends on verification pages, public invoices and unsubscribe links. |
v0.123.0 — ECH and retain-state switches, admission control, 25 newly passed API settings
Section titled “v0.123.0 — ECH and retain-state switches, admission control, 25 newly passed API settings”The v0.123.0 Compose files change the api environment:
| Change | Required action |
|---|---|
AGENT_ECH_ENABLED and HEARTBEAT_RETAIN_STATE_ENABLED are mapped in both files as ${VAR:-true}. Both accept only true or false; any other value stops the API from booting. |
Nothing for the defaults. Never set AGENT_ECH_ENABLED=false casually; see Agent connection switches. |
BREEZE_ADMISSION_MODE and its seven BREEZE_ADMISSION_* tuning knobs, AGENT_BODY_RECEIVE_TIMEOUT_MS, AGENT_BODY_RECEIVE_TOTAL_TIMEOUT_MS, BREEZE_EDR_ACTIONS_ENABLED, TUNNEL_ORIGIN_TEMPLATE, TUNNEL_FRAME_ANCESTOR and the three LLM_EGRESS_EVENTS_RETENTION_* settings are mapped in both files as ${VAR:-}, so unset keeps the built-in default. |
Copy the lines into your own Compose file if you want to set any of them. See Environment Variables. |
Both files pass 22 existing variables that Compose used to ignore (25 in the root file): CF_ACCESS_TRUST_ENABLED, CF_ACCESS_TEAM_DOMAIN, CF_ACCESS_AUD, CF_ACCESS_TRUSTS_MFA, CSP_REPORT_URI, EMAIL_SUPPORT_ADDRESS, GOOGLE_WORKSPACE_ENABLED, M365_ENABLED, HP_WARRANTY_ENABLED, IP_CLASSIFY_PROVIDER, IP_CLASSIFY_API_KEY, the six MCP_LLM_* settings, NVD_API_KEY, PARTNER_MEETING_URL, PARTNER_TRUST_MODE, SENTRY_PROFILES_SAMPLE_RATE and STRIPE_ACCOUNT_CACHE_REFRESH_ENABLED. The root docker-compose.yml also gains APPLE_APP_ATTEST_APP_ID, APPLE_APP_ATTEST_ENVIRONMENT and PARTNER_HOOKS_URL. |
A value already in your .env now takes effect. Check .env for stale entries before upgrading: a leftover CF_ACCESS_TRUST_ENABLED=true without its team domain and AUD, or a malformed MCP_LLM_* value, stops the API from booting. PARTNER_TRUST_MODE has no effect unless IS_HOSTED=true. |
METRIC_ANOMALY_EPISODE_MIN_BUCKETS is mapped in both files, and deploy/docker-compose.prod.yml gains the four PARTNER_API_* ticket and idempotency settings from v0.122.1. |
Nothing, unless you added your own mapping for them on v0.122.1; keep one. |
MIGRATION_WINDOW_MAX_DAYS, MIGRATION_WINDOW_DEFAULT_WRITES_PER_HOUR and MIGRATION_WINDOW_MAX_WRITES_PER_HOUR are mapped in the root docker-compose.yml only in v0.123.0; deploy/docker-compose.prod.yml maps them from v0.124.0. |
On v0.123.0 with deploy/docker-compose.prod.yml, add them to the api service’s environment: block if you need them. The defaults apply without them. |
PUBLIC_ENABLE_ENDPOINT_MESSAGING is a web build-time flag, default off. |
Only takes effect in a web image you build yourself. The published web image is built with it off. |
docker/Caddyfile.prod gains a global log default { format filter { … } } block that redacts credential headers and credential query parameters in every Caddy log. |
If you maintain your own copy of Caddyfile.prod, carry the block over. |
v0.122.1 — installer token default, 63 newly passed API settings, Partner API ticket settings
Section titled “v0.122.1 — installer token default, 63 newly passed API settings, Partner API ticket settings”The v0.122.1 Compose files change the api environment:
| Change | Required action |
|---|---|
INSTALLER_BOOTSTRAP_TOKEN_TTL_MINUTES defaults to 10080 (7 days) in both files; it was 1440 (1 day). |
Nothing if you want the new default. To keep 1 day, set INSTALLER_BOOTSTRAP_TOKEN_TTL_MINUTES=1440 in .env. Values above 43200 (30 days) are clamped. See the v0.122.1 notes. |
Both files pass 63 more variables to the API: retention windows, agent ingest quotas and rate limits, screenshot and log-forwarding caps, DB_POOL_MAX, the offboarding drain window, the public download key TTL and login lockout. Each is passed as ${VAR:-}, so an unset value keeps the built-in default. |
A value already in your .env that Compose used to ignore now takes effect. Check .env for stale entries before upgrading. |
New optional settings are mapped in both files: PATCH_REPORT_RETENTION_DAYS, PATCH_REPORT_ORPHAN_MIN_AGE_MS, DB_POOL_ACQUIRE_TIMEOUT_MS and DB_TIMER_LAG_GRACE_MS. |
Copy the lines into your own Compose file if you want to set any of them. See Environment Variables. |
PARTNER_API_TICKET_WRITE_RATE_LIMIT_PER_HOUR, PARTNER_API_TICKET_WRITE_PARTNER_RATE_LIMIT_PER_HOUR, PARTNER_API_IDEMPOTENCY_RETENTION_ENABLED and PARTNER_API_IDEMPOTENCY_RETENTION_DAYS are mapped in the root docker-compose.yml only in v0.122.1; deploy/docker-compose.prod.yml maps them from the next release. |
On v0.122.1 with deploy/docker-compose.prod.yml, add them to the api service’s environment: block if you need to change them. The defaults apply without them. |
METRIC_ANOMALY_EPISODE_MIN_BUCKETS is not passed to the api container by either v0.122.1 Compose file; both map it from the next release. |
On v0.122.1, add it to the api service’s environment: block if you want to change the default of 3. |
The BREEZE_AI_SCRIPT_REVIEWER_MODEL mapping is removed; the API no longer reads it. |
Delete it from your own Compose file and .env. |
docker/Caddyfile.prod gains a @webBillingAutopay matcher that sends /billing/autopay* to the web app, ahead of the /billing/* route. |
If you maintain your own copy of Caddyfile.prod, carry the matcher over, or the automatic-payment pages are routed to the wrong service. |
v0.121.0 — new optional AI and enrollment settings; production Compose catches up
Section titled “v0.121.0 — new optional AI and enrollment settings; production Compose catches up”The v0.121.0 Compose files change the api environment:
| Change | Required action |
|---|---|
AGENT_ENROLL_RATE_LIMIT, AGENT_ENROLL_RATE_WINDOW_SECONDS, AI_PLATFORM_INFERENCE_GEO and AI_GATEWAY_HEADERS_TIMEOUT_SECONDS are mapped in both docker-compose.yml and deploy/docker-compose.prod.yml. All are optional; empty keeps the defaults. |
Copy the lines into your own Compose file if you want to set any of them. See Environment Variables. |
deploy/docker-compose.prod.yml passes 82 more variables to the API, the same lines the root docker-compose.yml already carries (for example the MCP OAuth, Mailgun, Twilio, SMTP, M365, Cloudflare and Redis memory monitor settings, SESSION_SECRET, JWT_SIGNING_KEYRING and SENTRY_TRACES_SAMPLE_RATE). |
If you deploy that file, a value in your .env that it used to ignore now takes effect. Check .env for stale entries before upgrading. Installs on the root docker-compose.yml (including guided-setup.sh) are unaffected. |
The stock Compose file does not pass MCP_LLM_* to the API. |
If you use MCP_LLM_PROVIDER=openai-compatible, keep your own mapping and read the v0.121.0 notes first. |
v0.120.0 — start fence default and newly mapped API settings
Section titled “v0.120.0 — start fence default and newly mapped API settings”The v0.120.0 Compose files change the api environment in both docker-compose.yml and deploy/docker-compose.prod.yml:
| Change | Required action |
|---|---|
REMOTE_DESKTOP_FENCE_REQUIRED defaults to true (was false). |
See v0.120.0 — remote desktop start fence. Until you take this change, an unset variable keeps the fence off. |
AUDIT_ANCHOR_SIGNING_KEY, AUDIT_CHAIN_ANCHOR_ENABLED, AUDIT_CHAIN_VERIFY_ENABLED, AUDIT_CHAIN_VERIFY_MODE, AUDIT_CHAIN_VERIFY_RESCAN_SLICES and AUDIT_ADMIN_DATABASE_URL are now passed to the API. Before this release Compose installs ignored them even when they were set in .env. |
Copy the entries into your own Compose file if you set any of them. All are optional; leaving them empty keeps today’s behaviour. See Environment Variables. |
AI_INVOCATIONS_RETENTION_DAYS, AI_INVOCATIONS_RETENTION_BATCH_SIZE and AI_INVOCATIONS_RETENTION_MAX_BATCHES are mapped (optional; retention defaults to 400 days). deploy/docker-compose.prod.yml also gains the three DEVICE_COMMAND_QUEUE_*_TTL_HOURS deadlines. |
Copy them if you maintain your own Compose file and want to tune them. |
v0.119.0 — APP_VERSION comes from the image
Section titled “v0.119.0 — APP_VERSION comes from the image”Earlier Compose files set APP_VERSION: ${BREEZE_VERSION...} in the API environment. That value replaced the version baked into the image, so /health, the upgrade preflight, and the recorded version history reported whatever .env said, even when the running image was older. The shipped docker-compose.yml and deploy/docker-compose.prod.yml no longer set it.
| Change | Required action |
|---|---|
The APP_VERSION: line is removed from the shared API environment block (x-api-env in docker-compose.yml, the API environment in deploy/docker-compose.prod.yml). |
Delete the APP_VERSION: line from your own Compose file. Keep BREEZE_VERSION:, which still selects the agent release. Until you remove the line, /health keeps reporting BREEZE_VERSION and the version-mismatch warning cannot fire. |
v0.119.0 — coturn relays again
Section titled “v0.119.0 — coturn relays again”| Change | Required action |
|---|---|
The v0.118.0 coturn configuration listed denied-peer-ip=::. coturn reads an all-zero address as “no bound”, so that one entry refused every peer and relayed (TURN) connections could not be set up. The entry is removed from docker/turnserver.conf, docker-compose.yml and deploy/docker-compose.prod.yml; coturn already refuses the unspecified address on its own. |
Delete the denied-peer-ip=:: line ('--denied-peer-ip=::' in a Compose file) from your coturn configuration and restart coturn, even if you skip this release. Do not replace it with 0.0.0.0 or a range starting at ::. |
v0.119.0 — coturn refuses IPv4-mapped and NAT64 peers
Section titled “v0.119.0 — coturn refuses IPv4-mapped and NAT64 peers”| Change | Required action |
|---|---|
The two denied-peer-ip lines that v0.118.0 shipped commented out are now active in docker/turnserver.conf, docker-compose.yml and deploy/docker-compose.prod.yml: ::ffff:0:0-::ffff:ffff:ffff (IPv4-mapped IPv6) and 64:ff9b::-64:ff9b::ffff:ffff (NAT64 well-known prefix). Relay-to-relay sessions are unaffected. |
Nothing if you use the bundled coturn with the shipped files. If you run your own coturn, add both lines from TURN Server and restart it. Never deny the relay’s own public IP. |
v0.118.0 — coturn peer restrictions and API stop grace
Section titled “v0.118.0 — coturn peer restrictions and API stop grace”The v0.118.0 Compose files and docker/turnserver.conf change two things:
| Change | Required action |
|---|---|
coturn relays only to public addresses: denied-peer-ip rules for loopback, private, CGNAT, link-local, documentation and reserved ranges (IPv4 and IPv6), plus no-tcp-relay. verbose is turned off. |
Nothing if you use the bundled coturn with the shipped files. If you run your own coturn, apply the same rules from TURN Server. Never deny the relay’s own public IP: relay-to-relay traffic targets it. The IPv4-mapped and NAT64 lines ship commented out; enable them only after checking relay-to-relay on your deployment. |
The api service (and worker) has stop_grace_period: 90s, so background work in the process can finish during a restart. |
Copy it into your own Compose file if you maintain one. |
v0.95.0 — stable Caddy address and proxy trust
Section titled “v0.95.0 — stable Caddy address and proxy trust”The v0.95.0 Compose file introduced these coupled settings. If your deployed file predates them, apply all three even if your images are already newer:
| Compose setting | Required action |
|---|---|
networks.breeze.ipam.config.subnet uses BREEZE_DOCKER_SUBNET |
Merge the IPAM configuration. If the shipped subnet overlaps another Docker network, host route, or VPN, choose a non-overlapping subnet in .env. |
services.caddy.networks.breeze.ipv4_address uses BREEZE_CADDY_IP |
Merge the static address pin. If you customize the subnet, choose an unused Caddy address inside it and set BREEZE_CADDY_IP alongside BREEZE_DOCKER_SUBNET. |
services.api.environment.TRUSTED_PROXY_CIDRS defaults to BREEZE_CADDY_IP with a /32 mask |
Merge the derived default. An explicit TRUSTED_PROXY_CIDRS in .env or an override takes precedence: remove a stale override when using bundled Caddy, or set it to the actual immediate proxy’s stable address for a custom topology. |
Keep TRUST_PROXY_HEADERS=true when using the bundled proxy. Do not widen trust to an entire private network to work around an address mismatch. A proxy’s dynamically assigned address can move after a container recreation or host reboot.
Changing an existing network’s IPAM/subnet requires recreating that network during a maintenance window; docker compose restart cannot apply it. For a standalone stack whose network is used only by that stack, stop/remove its containers and network with docker compose down, then recreate them with docker compose up -d after pulling the target images. Do not use down -v, which deletes named data volumes. If other containers share the network, coordinate their migration before recreating it. This network migration takes longer than the routine image-only restart described above.
Before upgrading a proxy-fronted deployment to v0.103.0 or later, verify that TRUSTED_PROXY_CIDRS matches the proxy that directly connects to the API. That release’s TRANSPORT-001 enforcement only honors forwarded HTTPS headers from trusted peers; a stale address can cause repeated 308 redirects for the UI and agents while /health still returns 200. After restarting, check public sign-in and agent check-ins as well as API logs for [proxy-trust] or [force-https] warnings (available from v0.104.0).
Version-specific notes
Section titled “Version-specific notes”v0.131.0 — configuration policy redesign, endpoint messages and live chat, flow editor, EDR disconnect
Section titled “v0.131.0 — configuration policy redesign, endpoint messages and live chat, flow editor, EDR disconnect”No breaking changes to configuration or the upgrade procedure. No setting is removed and no new variable is required. Some changes alter what runs or what is stored, so read Action on upgrade first.
Action on upgrade
Section titled “Action on upgrade”- Inactive SentinelOne and Huntress integrations lose their stored credentials, and this cannot be undone. One migration clears the stored secrets of every SentinelOne and Huntress integration that is not active: the SentinelOne API token and site registration tokens, and the Huntress API key, account key and webhook secret. It logs each count as a
WARNING. Active integrations and all mappings are untouched, and rolling back does not bring the secrets back. To use an inactive integration again, reconnect it and enter its credentials again (see Disconnecting SentinelOne or Huntress). If you want a copy first, back up the database before you upgrade. - A closer configuration policy with an empty Automations or Compliance list now overrides a broader one. After the upgrade, the broader automations and compliance rules stop running on the devices the empty closer policy covers, and their open compliance alerts close. The device’s Effective Configuration tab already showed the closer policy as the source. To keep the broader list on those devices, remove the feature from the closer policy instead of leaving it empty. See Configuration Policies.
- Windows PowerShell scripts report their real exit code once a device’s agent updates to 0.131.0:
exit 3010is 3010, not 1. Success and failure do not change: 0 is success and any other code is a failed run. Check scripts that have an exit-code severity mapping, because a key such as3or3010that never matched on Windows now matches. See Severity by Exit Code. - Customer portal with Microsoft (Entra) sign-in: run the preflight before you upgrade. See customer portal Microsoft sign-in links move to their own table below.
- Bitdefender GravityZone connections: enable the Accounts API on the API key. Breeze reads the key owner’s timezone to store GravityZone times in UTC; without it those times are left blank and Test connection notes that the Accounts API is not enabled on the key. A one-time migration clears every stored GravityZone last-seen time and logs the count as a
WARNING; those endpoints show Unknown until the next inventory sync re-reads them. See Bitdefender GravityZone. - DNSFilter integrations: add a Policy ID under Stored data on the integration row. Without one, pushing a block or allow-list change fails with an error that asks for it. You do not need to re-create the integration. See DNS Security.
Upgrade order
Section titled “Upgrade order”-
Back up the database, or note a point-in-time recovery point. The API serves no requests until the migrations finish, and a rollback to v0.130.0 was not tested.
-
End long-running and idle-in-transaction database sessions. Five index builds wait for every open transaction (see Migrations below).
-
Upgrade the server. Check how your install pins its images with
grep '^BREEZE_API_IMAGE_REF=' .env:- Digest-pinned (the value ends in
@sha256:…; everyguided-setup.shinstall since v0.112.0): fetch the currentguided-setup.shfrommain, then runbash guided-setup.sh --upgrade 0.131.0. Don’t edit onlyBREEZE_VERSIONon a digest-pinned install; that re-pulls the images you already run. - Tag-form (the value ends in
:${BREEZE_VERSION}): setBREEZE_VERSION=0.131.0, then rundocker compose pull api web portal && docker compose up -d. If you run the optionalworkercontainer, pull and restart it too.
Update the API, web, portal and worker containers together. The policy editor, the flow editor and the Disconnect buttons call routes the old API does not have.
- Digest-pinned (the value ends in
-
--upgradedoes not change yourdocker-compose.yml. To pick up this release’s mappings, take the v0.131.0 Compose files or add the lines yourself (see Compose file changes). -
Watch the API start log for
[auto-migrate] Applied 20 migration(s)(from v0.130.0). Let the index builds finish. -
Update agents and Breeze Assist in stages. The PowerShell exit codes, the pending-restart fix, the Breeze Assist connection fix, long backup file names, the plaintext connection warning and the Workspace indexing fixes need the 0.131.0 agent or Breeze Assist. With
AGENT_AUTO_PROMOTE=false, the new agent release is registered but not promoted.
Behaviour changes and feature flags
Section titled “Behaviour changes and feature flags”- Configuration policies: new policies start inactive until you Activate them. Managed by and Based on are fixed at the first save; use Copy to change them. See Configuration Policies.
- Endpoint messages and live chat: the web build flag
PUBLIC_ENABLE_ENDPOINT_MESSAGINGnow defaults on, so the Send message entry points and the device Chat tab are visible. Nothing reaches a device until the Breeze Assist policy’s Endpoint messaging switch is on. See Endpoint messaging and live chat. - Flows: one Automations sidebar entry replaces the separate Jobs and Flows entries, and old links still work. Breeze AI’s
draft_flowtool now also needsautomations.read; a custom role that grantsautomations.writewithout read can no longer draft flows through Breeze AI or MCP until read is added. Adraft_flowupdate withoutexpectedVersionreturns the warningexpected_version_required_soon, and a later release will refuse it. - SentinelOne and Huntress:
POST /integrationwithisActive: falsenow answers400; useDELETE /integrationto disconnect. EDR coverage figures can drop for an organization whose only EDR integration was disconnected. - MCP: a new setting on the partner’s AI script policy,
mcp_unattended_proposal_max_risk(none,lowormedium; defaultnone), caps which reviewed proposals a principal named inMCP_UNATTENDED_TIER3_PRINCIPALSmay run without a human approval. With the default, none can. - Email:
EMAIL_DOMAINS_DAILY_SEND_CAPchanges meaning when set above 0. See Custom sender addresses. - No flag in this release has to be turned on.
Environment variables
Section titled “Environment variables”No new required variables. The config validator refuses to boot when LEARNED_NETWORKS_INGEST_ENABLED or BREEZE_BROWSER_DESKTOP_ENABLED is set to something other than a boolean. New optional variables are listed in Compose file changes and in Environment Variables.
Migrations
Section titled “Migrations”20 idempotent migrations apply on boot when upgrading from v0.130.0 ([auto-migrate] Applied 20 migration(s)). No shipped migration was modified, renamed or removed, and none needs superuser rights or a new extension.
- Five concurrent index builds (
CREATE INDEX CONCURRENTLY) onaudit_logs,group_membership_log,device_hardware(two) andbackup_snapshots. They do not block writes, but each reads its whole table and waits for every open transaction. A largeaudit_logstable is usually the longest step. If a boot is interrupted during a build, the next start stops with an error saying the build left anINVALIDindex and names it. RunDROP INDEX CONCURRENTLY public.<name>;and start the API again. Thebackup_snapshotsbuild repairs itself on the next start. - Two migrations lock busy tables while they run.
2027-01-29-100000-learned-networks.sqladds columns todevicesandsitesand holds their locks until it finishes, so device reads and writes, heartbeats included, wait.2027-01-31-120000-backup-tree-checkpoints.sqllocks the backup snapshot and configuration tables; it waits at most 5 seconds for each lock, and otherwise fails and runs again on the next start. Upgrade when no large backup file-index hydration is running. - The migrating role must own the tables, as a role that has always run the migrations does.
2027-01-30-160000-mcp-tool-list-mode.sqlfails for a role that does not ownoauth_grants. - Rows written: inactive SentinelOne and Huntress secrets are cleared, stored GravityZone last-seen times are cleared once, every existing API key and OAuth connection is set to the
fullMCP tool list, and the final portal identity backfill copies any remaining legacy Microsoft sign-in link. - Rolling back. Not tested. Rolling forward is the supported path. The cleared integration secrets and GravityZone times do not come back on rollback.
Known gaps
Section titled “Known gaps”Some changes were not verified on real devices or vendor accounts before this release, among them the DNSFilter provider calls against a live account. See Known gaps in the v0.131.0 release notes, which also list every change.
v0.131.0 — customer portal Microsoft sign-in links move to their own table
Section titled “v0.131.0 — customer portal Microsoft sign-in links move to their own table”This release stops using the old entra_oid and entra_tenant_id columns on portal logins; Microsoft sign-in links have lived in the identities table since v0.128.0. On start, one migration copies across any link that was never moved. The API log shows final backfill inserted N identit(ies) when it copied something, or inserted 0 identities when it did not. A later release drops the old columns.
The API can refuse to start at this migration. This happens only when a portal login holds an old Microsoft link that no identity reserves, and the login is already linked to a different Microsoft account. The migration does not guess which one is right. The start log shows portal identity final backfill refused, and nothing is changed. The migration retries at every start, so the API keeps failing until you repair the rows. To fix it:
-
Copy the read-only preflight out of the API image. It lives at
./migrations/preflight/relative to the API image’s working directory, not in your install directory. A one-off container reads it even while the API keeps crashing:Terminal window dc run --rm --no-deps -T --entrypoint cat api ./migrations/preflight/2026-11-21-100000-portal-entra-columns-drop-preflight.sql > portal-entra-preflight.sqldc exec -T postgres sh -c 'psql -U "$POSTGRES_USER" -d "$POSTGRES_DB" -v ON_ERROR_STOP=1' < portal-entra-preflight.sql(
dcstands fordocker compose -f docker-compose.yml --env-file .env, as in PostgreSQL 16 to 18.)psqldoes not print the query names. The file prints a one-rowset_configresult, then six result sets in the ordersanity,schema_state,drift_counts,drift_samples,blocking_unreserved_pairsandfence_writes. Findblocking_unreserved_pairsby its columns,portal_user_id | org_id | current_identity_id: it lists every login that blocks the migration. Ifsanityshowsportal_usersof0on an install that has portal users, the connection is blind: do not read an empty list as clean. The output names portal user and organization ids, so keep it out of tickets and public issues. -
For each listed login, decide which Microsoft account should own it, and pick one repair:
- The old link may sign in later as a new login. Clear it on the login.
- The old link is the right owner. Point the login’s Microsoft row in
portal_user_identitiesat it. This setssubjecttoentra_oid, andentra_tenant_idand the issuer from the oldentra_tenant_id.
Disabling the portal login does not clear the refusal.
-
Run the repair in one transaction. Keep the first statement after
BEGIN. The portal tables force row-level security, so a database role that is subject to it and has not elected system scope sees no rows: without that line itsUPDATEmatches zero rows, reportsUPDATE 0, and the migration refuses again at the next start. A superuser role bypasses row-level security and is unaffected, but keep the line anyway. Replace the placeholder with oneportal_user_idper run, and keep only the repair you chose:Terminal window dc exec -T postgres sh -c 'psql -U "$POSTGRES_USER" -d "$POSTGRES_DB" -v ON_ERROR_STOP=1' <<'SQL'BEGIN;SELECT set_config('breeze.scope', 'system', true);-- Repair A: free the old linkUPDATE portal_usersSET entra_oid = NULL, entra_tenant_id = NULLWHERE id = '<portal_user_id>';-- Repair B: make the old link the login's identityUPDATE portal_user_identities iSET subject = pu.entra_oid,entra_tenant_id = pu.entra_tenant_id,issuer = 'https://login.microsoftonline.com/' || pu.entra_tenant_id || '/v2.0'FROM portal_users puWHERE pu.id = i.portal_user_id AND i.provider = 'entra'AND pu.id = '<portal_user_id>';-- Row-count check, before COMMIT: how many logins still block the migrationSELECT count(*) AS still_blockingFROM portal_users puJOIN portal_user_identities i ON i.portal_user_id = pu.id AND i.provider = 'entra'WHERE pu.entra_oid IS NOT NULL AND pu.entra_tenant_id IS NOT NULLAND NOT EXISTS (SELECT 1 FROM portal_user_identities rWHERE r.issuer = 'https://login.microsoftonline.com/' || pu.entra_tenant_id || '/v2.0'AND r.subject = pu.entra_oid);COMMIT;SQLEach
UPDATEmust printUPDATE 1.UPDATE 0means the scope line did not apply or the id is wrong.still_blockingmust reach0once you have repaired every listed login. If it does not, the transaction has already committed, so run the preflight again and repair what it still lists. -
Restart the API:
dc up -d api. The migration runs again, and the log showsfinal backfill inserted N identit(ies)orinserted 0 identities.
AUTO_MIGRATE=false. The migration does not run by itself, so apply it before the new release serves any portal or add-in traffic. The file is at ./migrations/2027-01-30-140000-portal-identity-final-backfill.sql in the same image directory (read it out the same way as the preflight); run it with psql -1 (one transaction) as the database owner, after you have run the preflight above. Running it by hand does not record it as applied, so a later start with AUTO_MIGRATE=true runs it again and logs inserted 0 identities, which is harmless. Until it has run, the new release no longer reads the old columns. A person whose Microsoft link was never copied to the identities table can then get a new active login from the Office add-in, even when an MSP has disabled their original account.
Rolling back. Rolling back to v0.130.0 after this release has run is safe for the database, because the migration only adds rows, but it is stricter than a normal rollback. This release no longer clears the old columns when an MSP removes a Microsoft sign-in link, so those logins keep a link v0.130.0 still checks. v0.130.0 then refuses that person’s Microsoft sign-in (the add-in exchange answers provisioning_failed, portal Microsoft sign-in answers identity_conflict) instead of creating a login, and its daily drift job reports the rows. Nothing is deleted. To let that person sign in again, clear the old link on their login with Repair A above. Take the portal_user_id from the missing_identity rows of the preflight’s drift_samples result.
More than one API instance? Do not skip this release. Upgrade every API and worker instance to it before you take the release that drops the columns. An older instance still running after the drop would fail when it writes those columns.
v0.130.0 — ticket import wizard, reinstall reattach, portal Entra SCIM, remote desktop fixes, PostgreSQL 17 and 18
Section titled “v0.130.0 — ticket import wizard, reinstall reattach, portal Entra SCIM, remote desktop fixes, PostgreSQL 17 and 18”No breaking changes. Several defaults changed (see Behaviour changes below), and many fixes need the 0.130.0 agent.
Upgrade order.
-
Back up the database, or note a point-in-time recovery point. A rollback to v0.129.0 was not tested (see Migrations below).
-
Check free disk on the database volume for the new indexes.
-
Upgrade the server. Check how your install pins its images with
grep '^BREEZE_API_IMAGE_REF=' .env:- Digest-pinned (the value ends in
@sha256:…; everyguided-setup.shinstall since v0.112.0): fetch the currentguided-setup.shfrommain, then runbash guided-setup.sh --upgrade 0.130.0. It also copies the verified release manifest pair into the binaries volume. Don’t edit onlyBREEZE_VERSIONon a digest-pinned install; that re-pulls the images you already run. - Tag-form (the value ends in
:${BREEZE_VERSION}): setBREEZE_VERSION=0.130.0, then rundocker compose pull api web portal && docker compose up -d. If you run the optionalworkercontainer, pull and restart it too.
Update the API, web, portal and worker containers together. After the migration, an API still on v0.129.0 fails portal-user disable and reactivate, so every API instance must run 0.130.0 before an MSP uses either. The ticket import wizard, the SCIM panel, the reattach dialog and the Wake-on-LAN tab call routes the old API does not have.
- Digest-pinned (the value ends in
-
--upgradedoes not change yourdocker-compose.yml. To pick up this release’s mappings and thepostgresservice changes, take the v0.130.0 Compose files or add the lines yourself (see Compose file changes). A value only in.envdoes not reach the container. Already on PostgreSQL 18 with your volume at/var/lib/postgresql: read Already running 18 with the upstream volume layout before you take the newpostgresblock. -
Watch the API start log for
[auto-migrate] Applied 25 migration(s)(from v0.129.0). Let the index builds finish. -
Update agents in stages, and install the new Breeze Viewer. The remote desktop fixes, network filter detection, Wake-on-LAN readiness, the OS-disk usage column and the backup and agent fixes need the 0.130.0 agent; several remote desktop fixes also need the new Viewer. With
AGENT_AUTO_PROMOTE=false, the new agent release is registered but not promoted.
Air-gapped or BINARY_SOURCE=local installs without guided-setup.sh must stage release-artifact-manifest.json and its .ed25519 signature at the root of the binaries volume. This was already required; the API now names the missing file and links Binaries when it is absent.
PostgreSQL 17 and 18
Section titled “PostgreSQL 17 and 18”PostgreSQL 17 and 18 are now tested and supported; the default image stays 16. Do not change the major version by editing POSTGRES_IMAGE_REF on an existing install. Follow PostgreSQL 16 to 18, which restores into the second data volume and keeps the old one as the rollback. A new install may set a reviewed pg17 or pg18 image before its first start.
Behaviour changes and feature flags
Section titled “Behaviour changes and feature flags”- Cmd+K searches every customer by default and ranks the header-selected customer first. This customer only restores the old filter.
- AI and MCP tools refuse arguments they do not define, naming the unknown key. An integration that sends extra or misspelled keys now gets an error.
- MCP and API-key callers with
ENABLE_2FAon getMFA_REQUIREDfor MFA-gated actions, and fully gated tools leavetools/list. The highest-risk AI tool tier is refused instead of offered for approval. - Bounded AI device notes and run-mode check-ins no longer raise approval cards. Actions a check-in proposes still need approval. Device notes written over MCP, unattended grants or flow steps are capped at 200 characters, 30-day expiry and 8 active per device.
- Integration Test stores nothing and is rate limited (
429withRetry-Afterpast 5 tests a minute per user or 10 per organization). Discord accepts onlydiscord.comwebhook URLs. - Reports: the Executive Summary health score is the share of devices seen in the last 7 days; a Security Posture GOOD or STRONG score is held at FAIR while critical patches or vulnerabilities are open or a device is unprotected; report PDFs follow the partner’s document page size and date format; devices with no data are “not assessed”.
- Tickets: the autoresponse cap is 5 per sender per partner per hour (it was 1 per sender per day, shared across partners). Reply-header threading matches only public links from inbound mail and the Outlook add-in. With
EMAIL_PROVIDER=mailgun, cc recipients start to receive mail. - Compliance: registry and config checks a device is not probed for are Not assessed and raise no alert or remediation. The heartbeat probe list now includes active configuration-policy compliance rules.
- Backup: online-only OneDrive placeholders are skipped with a job warning. Verification results carry
filesUncheckedand astorage_session_lostreason. Status views add anoverduebucket. - Windows agent uninstall reports its result after the teardown finishes, not when it starts.
- macOS agents below a release’s minimum macOS (currently 12.0) stay on their current agent, and the pkg refuses to install below the floor. From v0.131.0, macOS agent assets without a signed minimum-OS value are refused at sync; the self-host signing template already includes it.
- Network proxy tunnels queue a burst for up to 5 seconds (96 waiters), then answer
429withRetry-After. BINARY_SOURCE=github: boot sync retries transient network failures in the background for about 15.5 minutes, then logs the manualsync-githubcommand. During a read-only database episode,/health/readyreportsbinarySyncPending: trueuntil the sync can run.- Database-only restores: boot creates
breeze_audit_adminandbreeze_searchif missing. On managed Postgres without the privilege, it logs theGRANTto run. - New partners get their region’s document page size (Letter for the US and Canada, A4 elsewhere). Existing partners keep their stored size.
- Customer portal: directory deprovisioning is report-only until
PORTAL_DIRECTORY_DEPROVISION_ENFORCE=true. Reactivating a portal user who has no usable credential answers409 PORTAL_ACCOUNT_RESTORE_SIGN_IN_FIRST. - Wake-on-LAN: devices with no Wake-on-LAN policy are unchanged. See Wake-on-LAN policy and readiness.
- Groundwork stays off: TPM attestation (
TPM_ATTESTATION_ENABLED=false), network isolation release tokens (leaveNETWORK_ISOLATION_TOKEN_SIGNING_KEYunset), and the read-only vendor observe steps (BREEZE_VENDOR_CANARY_PARTNER_IDSempty). The vendor-updates observe step needs the 0.131.0 agent. - Wisp stays Breeze Cloud only (
BREEZE_WISP_ENABLED, defaultfalse). - No flag in this release has to be turned on.
Environment variables
Section titled “Environment variables”No new required variables. The config validator refuses to boot only when one of TPM_ATTESTATION_ENABLED, NETWORK_ISOLATION_TOKEN_SIGNING_KEY, BREEZE_VENDOR_CANARY_PARTNER_IDS, BREEZE_VENDOR_CANARY_DISABLED or PARTNER_TRUST_FRAUD_FLAGS_ENABLED is set to a malformed value. New optional variables are listed in Compose file changes, and the retention ones in Report-only retention jobs. Nothing in the retention set deletes rows until you set its _ENFORCE=true; Reclaiming disk after retention covers pg_repack once you do.
Migrations
Section titled “Migrations”25 idempotent migrations apply on boot when upgrading from v0.129.0 ([auto-migrate] Applied 25 migration(s)). No shipped migration was modified, renamed or removed, and none needs superuser or extra privileges.
- Concurrent index builds (see the caution above):
2027-01-25-110000-observation-retention-indexes,2027-01-27-140000-export-dataset-reliability-indexesand2027-01-27-150000-export-dataset-alert-index. - A plain index build:
2027-01-27-130000-ai-analysis-run-lineagebuilds two partial indexes onai_agent_runswithoutCONCURRENTLYand holds an exclusive lock on that table for the whole file. On a largeai_agent_runstable, upgrade at a quiet time. - Rows rewritten:
2027-01-24-230000-vulnerabilities-severity-lowercaselowercasesseverityon the CVE catalog in oneUPDATEand logs the row count.2027-01-24-200000-portal-directory-deprovisioningmarks already-disabled portal users as disabled by the MSP. - Constraint validation scans (writes continue): the
remote_sessionsend-reason CHECK and four CHECKs ondevice_hardware. - Short locks under a 5-second lock timeout on
device_disksandpartners. If a long transaction holds a conflicting lock, the migration fails, the API exits, and the file runs cleanly on the next start. - New tables
portal_scim_tokens,portal_directory_runs,portal_directory_actionsandpartner_billing_fraud_flagsenable and force row-level security in the file that creates them. - Other additions are nullable columns, columns with a constant default, CHECK changes and one enum value (
config_feature_typegainswake_on_lan, which a rollback cannot remove).partners.document_page_sizebecomes nullable with no default. - Rolling back. Not tested. A v0.129.0 API on the upgraded database fails MSP portal-user disable and reactivate. Rolling forward is the supported path; restore the pre-upgrade backup if you must go back.
Known gaps
Section titled “Known gaps”Not verified on real hardware or accounts before this release:
- macOS: the Apple Silicon upgrade-in-place leg (Intel passed with no permission prompt); remote desktop double-click; Breeze Assist labels in Portuguese; the HiDPI half of mid-session resolution changes; the helper’s self-restart on a stale Screen Recording grant. The Local Network prompt on update is still open.
- Windows: agent self-uninstall, sign-in screen capture, the YARA rule-cache exclusion, OneDrive placeholder files with a Microsoft account, and the agent half of several remote desktop and Breeze Viewer fixes. Viewer clipboard passed most cases; one case is intermittent.
- Hardware vendors: the HP, Lenovo and Surface observe steps.
- Linux: Wayland capture (still unsupported) and read-only root filesystems.
- Built-in H.264 encoder fallback (#11639): a fix landed; picture quality after a burst on a static screen is unconfirmed.
- External accounts: Entra SCIM, directory deprovisioning against live Entra or Google directories, Zammad import against a live instance, TD SYNNEX price-file staleness and Microsoft 365 Admin actions. Start with a dry run and a test user.
- Portal Sign in with Google ships switched off.
- The PostgreSQL 16 to 18 runbook was not run on a real self-hosted volume. Rehearse it on a copy first.
See the v0.130.0 release notes for the full list of changes.
v0.128.0 — customer portal sign-up options, remote access tool alerts, Wisp check-ins, partner-wide installers
Section titled “v0.128.0 — customer portal sign-up options, remote access tool alerts, Wisp check-ins, partner-wide installers”Upgrade order.
-
Back up the database, or note a point-in-time recovery point. A rollback keeps the new schema and was not tested (see Migrations below).
-
Remove
--site-idfrom any hand-written agent install script (see the caution above). -
If you use UniFi with a self-hosted controller, map every controller site you want inventoried in Integrations → UniFi before you upgrade (see Behaviour changes below).
-
Upgrade the server. Check how your install pins its images with
grep '^BREEZE_API_IMAGE_REF=' .env:- Digest-pinned (the value ends in
@sha256:…; everyguided-setup.shinstall since v0.112.0): fetch the currentguided-setup.shfrommain, then runbash guided-setup.sh --upgrade 0.128.0. Don’t edit onlyBREEZE_VERSIONon a digest-pinned install; that re-pulls the images you already run. - Tag-form (the value ends in
:${BREEZE_VERSION}): setBREEZE_VERSION=0.128.0, then rundocker compose pull api web portal && docker compose up -d. If you run the optionalworkercontainer, pull and restart it too.
If you roll services one at a time, update the API before the web and portal containers. The new Contacts, Customer portal, Domains and Software Library screens call routes the old API does not have. If you run the optional
workercontainer, update it together with the API: while one runs the old build and the other the new one, commands relayed between them fail. - Digest-pinned (the value ends in
-
--upgradedoes not change yourdocker-compose.yml. To pick up this release’s new mappings, take the v0.128.0 Compose files or add the lines yourself (see Compose file changes). A value only in.envdoes not reach the container. -
Watch the API start log for
[auto-migrate] Applied 21 migration(s)(from v0.127.0). -
Let agents, Breeze Assist and Breeze Viewer update to 0.128.0. Trend Micro recognition, patch install dates, the six newly detected remote support tools and the remote desktop fixes need this release’s agent.
Stricter than before
Section titled “Stricter than before”Apart from --site-id, no change breaks an install on default settings. If you integrate with the API, check these before you upgrade:
- Portal sign-in and invites. Portal login no longer answers
400 Multiple portal accounts found; every failed sign-in is401 Invalid email or password. Accept-invite answers400 Invalid or expired invitefor a disabled or already set-up account. Setting an invited portal user toactivethroughPATCH …/portal-users/:idanswers 409, because only accepting the invite activates it. Existing 409s can carry newcodevalues (PORTAL_USER_IDENTITY_MANAGED,PORTAL_ACCOUNT_TRANSITION_REFUSED). POST /orgs/organizations/:id/portal-users/inviteaccepts an optionalcontactId. The invite email must match the contact’s (PORTAL_INVITE_EMAIL_MISMATCH), and a login bound to another contact is not re-pointed (PORTAL_INVITE_CONTACT_CONFLICT). NewPOST …/portal-users/invite-contactsinvites up to 100 contacts and returns one outcome per contact./mfa/disableanswers 409 while the account still has a passkey.- Software upload sessions: a session the caller cannot see answers 404 where a forbidden
?orgIdused to answer 403. Upload sessions on a partner-wide package ignore?orgId, and partner users with selected-organization access get 403. GET /ai/sessions/:idcan returnstatus: 'expired'for an idle session. Theapproval_requiredstream event gains two optional fields,pushedToPhoneandwaitingOn.- Database and VM restore dispatch failures return a fixed message instead of the raw error text.
- Checkout can answer
409 BALANCE_NOT_REPRESENTABLEfor a balance the invoice currency cannot express.POST /invoices/:id/paymentsaccepts anIdempotency-Keyheader (oridempotencyKeyin the body), so a retried manual payment lands once. - Remote launch accepts an optional
providerId, which only selects among the providers already enabled for the device.
Behaviour changes and feature flags
Section titled “Behaviour changes and feature flags”- New remote access tool alerts are on by default. When a device’s management scan finds a known remote access or RMM tool that its previous scan did not have, Breeze raises a built-in alert on the device. A device’s first scan is its baseline, and a tool it has already reported raises nothing. The six tools only the 0.128.0 agent detects (UltraViewer, Zoho Assist, DWService, Supremo, Ammyy Admin and Chrome Remote Desktop) can raise an alert the first time that agent reports them, even where they were installed earlier. If you use a remote tool across your fleet, switch its rule off per organization under Alerts → Monitors → Built-in alerts. There is no partner-wide switch yet. See Management Posture.
- More built-in alerts send notifications: log correlation, DNS threat, AI agent attention, automation and flow Create alert actions, and metric anomaly alerts. They appeared on the Alerts page but could miss channels, routing rules and escalations. Only alerts raised after the upgrade send. Review routing if you use these. See Notifications.
- UniFi self-hosted controllers are mapped-only. Devices and clients on a controller site that is not mapped to a Breeze site are no longer filed under the collector agent’s organization, and rows already filed there are removed the next time the controller reports them. Unmapped sites still appear for mapping, and the worker logs
unifi.reconcile.unmappedwith the counts. Cloud-console collectors are unchanged. See UniFi Integration. - Migration lock wait is bounded. A starting API that cannot get the migration lock within
MIGRATION_LOCK_TIMEOUT_MS(5 minutes) logs which session holds it, exits non-zero and lets the restart policy try again. It used to wait forever with nothing in the log. - Proxy trust check at boot. With
TRUST_PROXY_HEADERSon, the API logs one[proxy-trust]warning when noTRUSTED_PROXY_CIDRSentry overlaps a network it is attached to. It never stops startup. - Worker split. The
workercontainer no longer has the fixed namebreeze-workerand can be scaled. Command relay, cache invalidation and command-result tracking now work across processes. The shipped Compose files still run one API. - Monitoring overlay images move up one to three major versions if you take the new monitoring file. See Compose file changes.
- Customer portal. With no access policy saved, sign-in works as before. Microsoft logins created by the AI for Office add-in with no password now read Active instead of Pending setup in the portal users list, and add-in sessions end after 12 hours. Bulk invite no longer touches those logins. Sign in with Microsoft stays off until
PORTAL_ENTRA_CLIENT_IDandPORTAL_ENTRA_CLIENT_SECRETare both set. Domain verification by DNS needs nothing extra; the Google Workspace method needsGOOGLE_WORKSPACE_ENABLEDand a Workspace connection, and the Microsoft method needs the portal Entra app and a proven tenant. See Customer Portal and Domain Verification. - OAuth refresh tokens. The same client re-presenting a refresh token within 10 seconds of rotating it gets the new token instead of having the connection revoked (
OAUTH_REFRESH_ROTATION_GRACE_MS). A later presentation, or one by a different client, is still treated as reuse. - Microsoft 365 sign-in events: a first sync reads 1 day of history instead of 7.
- Backup storage cleanup now reads snapshot manifests over 200 MiB instead of skipping them, and reads manifests more strictly: a manifest with a repeated or missing
fileskey, or one naming another snapshot, stops cleanup for that destination rather than being treated as empty. - AI chat sessions: a sweep every 15 minutes marks chats idle for 2 hours, or older than 24 hours, as expired. The limits are unchanged; they used to be applied only on the next message.
- AI approval mode moved to Partner → AI Approvals (renamed from AI Approval Timeout), next to the timeout.
- Wisp stays Breeze Cloud only (
BREEZE_WISP_ENABLED, defaultfalse). A grant’s daily budget now counts chat, so a chat-heavy day can pause background checks until 00:00 UTC; chat itself is never refused by the grant budget. - Vendor updates stays off.
BREEZE_OEM_UPDATES_ENABLEDdefaults tofalse; leave it unset. - No flag in this release has to be turned on.
Environment variables
Section titled “Environment variables”No new required variables. The config validator refuses to boot only when one of the optional variables below is set to a malformed value. See Compose file changes.
PORTAL_ENTRA_CLIENT_ID,PORTAL_ENTRA_CLIENT_SECRETandPORTAL_ENTRA_CALLBACK_BASE_URL(api, mapped): the customer portal’s own multi-tenant Entra app. With the app configured, a malformed callback base stops the API at boot.OAUTH_REFRESH_ROTATION_GRACE_MS(api, mapped;10000, at most30000,0turns it off).MIGRATION_LOCK_TIMEOUT_MS(api, mapped;300000). A value that is not a positive whole number of milliseconds stops the API at boot.TUNNEL_ORIGIN_TEMPLATEis newly mapped on thewebservice.BACKUP_GC_LIVE_SET_MAX_BYTES(api, orworkerwhen split) is now mapped in the shipped Compose files and documented in the environment reference; on earlier Compose files it only takes effect if you add the passthrough yourself.- Not in
.env.exampleor the shipped Compose files:M365_SYNC_SIGNIN_EVENTS_PAGE_SIZE(Microsoft Graph read executor;100, from 10 to 1000). Leave it unset unless you need it. - Monitoring overlay only:
PROMETHEUS_IMAGE_REF,GRAFANA_IMAGE_REF,ALERTMANAGER_IMAGE_REF,LOKI_IMAGE_REF,PROMTAIL_IMAGE_REF,REDIS_EXPORTER_IMAGE_REFandPOSTGRES_EXPORTER_IMAGE_REF.
Migrations
Section titled “Migrations”21 idempotent migrations apply on boot when upgrading from v0.127.0 ([auto-migrate] Applied 21 migration(s)). The set was verified to apply as a role that is neither a superuser nor BYPASSRLS. No shipped migration was modified, renamed or removed, and none touches the large device or audit tables. Three are worth knowing about:
2027-01-22-230200-portal-account-foundations.sqlbackfills every row ofportal_users, a small table. A portal user whose status is notinvited,activeordisabledis set todisabledand their sessions are ended. It also createsportal_user_identitiesand copies existing Microsoft identities into it.2027-01-22-233400-wisp-standing-instruction-capture.sqlreplaces a CHECK constraint on the AI egress events table (llm_egress_events): one scan of the table under an exclusive lock. On an install with a long AI history, AI requests can wait for a moment during the upgrade.2027-01-22-231400-unifi-clients-site-identity.sqladds a column tounifi_clientsand builds a unique index on it withoutCONCURRENTLY, then drops the old index. Until the old API process is replaced, its UniFi client writes fail; the cost is at most one telemetry poll per collector, and the job is retried.
Also:
- New tables
portal_user_identities,portal_access_policies,portal_access_requestsanddevice_oem_policy_sideenable and force row-level security in the file that creates them. - Other additions are nullable columns, columns with a constant default, CHECK constraints on small tables and ordinary indexes. Existing Wisp check-ins become time-based reminder check-ins. Every file that writes rows elects system scope first.
- One-way changes: the
security_providerenum gainstrend_micro, and the oldunifi_clientsunique index is dropped. - Ownership.
ALTER TYPE … ADD VALUEneeds the migration role to own the type, which it does on a standard install. - Rolling back. A rollback to v0.127.0 keeps the new schema and was not tested. With the old
unifi_clientsindex gone, the v0.127.0 API cannot write UniFi client rows, so restore the backup if you roll back and use UniFi.
Known gaps
Section titled “Known gaps”- Built-in H.264 encoder fallback: on a Windows host with no hardware encoder where OpenH264 cannot load, the picture can stay blocky after a burst of change on an otherwise static screen, until the screen changes again (#11639). Those hosts could not start a session at all before this release.
- Not lab-verified: Trend Micro recognition (no Trend Micro installation was available; unit tests only); macOS upgrade in place on Apple Silicon (Intel macOS was verified on the signed release candidate, with existing Screen Recording and Accessibility grants kept); the RDP-session preference of the sign-in screen capture (console sign-in screen capture was verified); the S3 backup transport for the new verification lane and manifest streaming (verified on local storage); portal Sign in with Microsoft end to end; and command relay across more than one API process.
v0.127.0 — notifications for every alert, restore browsing for large snapshots, SLA performance report
Section titled “v0.127.0 — notifications for every alert, restore browsing for large snapshots, SLA performance report”Upgrade order.
-
Back up the database, or note a point-in-time recovery point. A rollback keeps the new schema and was not tested (see Migrations below).
-
On a large install, check the size of
device_patchesandremote_sessions, for exampleSELECT count(*) FROM device_patches;. If either has hundreds of thousands of rows, upgrade in a quiet hour (see Migrations below). -
Review alert notification routing and escalation policies (see the caution above).
-
Upgrade the server. Check how your install pins its images with
grep '^BREEZE_API_IMAGE_REF=' .env:- Digest-pinned (the value ends in
@sha256:…; everyguided-setup.shinstall since v0.112.0): fetch the currentguided-setup.shfrommain, then runbash guided-setup.sh --upgrade 0.127.0. Don’t edit onlyBREEZE_VERSIONon a digest-pinned install; that re-pulls the images you already run. - Tag-form (the value ends in
:${BREEZE_VERSION}): setBREEZE_VERSION=0.127.0, then rundocker compose pull api web portal && docker compose up -d. If you run the optionalworkercontainer, pull and restart it too.
If you roll services one at a time, update the API before the web container. A new web container against the old API cannot create Wisp grants and its New folder button in the file browser returns 404.
- Digest-pinned (the value ends in
-
--upgradedoes not change yourdocker-compose.yml. To pick up this release’s new mappings, take the v0.127.0 Compose files or add the lines yourself (see Compose file changes). A value only in.envdoes not reach the container. -
Watch the API start log for
[auto-migrate] Applied 31 migration(s)(from v0.126.0). -
Let agents, Breeze Assist and Breeze Viewer update to 0.127.0. The product number in Device Details, the Windows built-in Administrator and Guest checks and the backup resume fixes need this release’s agent.
Stricter than before
Section titled “Stricter than before”No change breaks an install on default settings. If you integrate with the API, check these before you upgrade:
DELETE /devices/:id/permanenton a device whose agent never confirmed its uninstall (failed, expired, cancelled or none queued) returns409 UNINSTALL_NOT_CONFIRMED. Send{ "force": true }to delete anyway. Bulk delete and the retention purge skip such devices and report them. See Restoring and permanently deleting.- Invoice and autopay operations answer
404 BILLING_DISABLEDfor partners whose billing is switched off (see Behaviour changes below). Reads, PDFs, public pay links and recording a payment keep working. DELETE /c2c/configs/:idon a cloud-to-cloud backup configuration that has jobs or items returns409 CONFIG_HAS_HISTORYinstead of a 500.- Monitor
autoResolveConditionsthat could never resolve an alert, including a group with nologic, are refused. POST /ai/patch-plan/runsandPOST /ai/fleet-design/runsreturn503 enqueue_failedinstead of202when the run could not be queued.- Wake commands to a device that is already online return
TARGET_ONLINEand send nothing. See Wake-on-LAN. - AI-initiated folder creation needs
scripts:execute, matching the file browser.
Behaviour changes and feature flags
Section titled “Behaviour changes and feature flags”- Alert notifications start sending for every alert. See the caution above. No migration and no new environment variable. A notification job that reads an alert before it is visible now logs
PROCESS_ALERT_ROW_NOT_FOUNDinstead of returning silently. - Scheduled IOC (YARA) and sensitive-data scans run at their configured times. Since v0.116.0, scheduled IOC scans compared their schedule with the time the worker started and in practice did not run, and interval sensitive-data scans ran once per restart. If you have scan policies with schedules, expect the scans and their agent load after the upgrade.
- Billing is gated per partner. An earlier migration switched billing off for partners that neither use native service management nor have live billing (an active contract, an open invoice or an autopay enrolment). For those partners, creating, editing, issuing or sending invoices and setting up autopay now answer
BILLING_DISABLED. Contract invoice generation retries without moving money. There is no settings toggle yet: check withSELECT name, billing_enabled FROM partners;, and setbilling_enabledtotrueas the database owner for a partner that bills in Breeze. - Permanent delete asks for confirmation when the agent did not confirm its uninstall. Bulk and retention purges skip those devices.
- Rate limits. Each signed-in user gets their own 600 requests per minute (
USER_RATE_LIMIT_PER_MINUTE), so technicians behind one office IP no longer throttle each other. The shared per-IP limit for anonymous and API-key traffic rises from 300 to 600 per minute, signed-in sessions get a per-IP ceiling of ten times the per-user value, and agent WebSocket connections get their own per-IP bucket. A dashboard page that is still rate-limited waits, retries once and says Please wait instead of showing “Failed to load”. See Rate Limiting. - Missed scheduled backups catch up when the device reconnects. A scheduled backup on a device that is off waits for up to 20 hours or until the next scheduled run, whichever comes first, instead of failing with
Agent not connected. On by default; turn it off per backup schedule. See Backup Policies. - Restore browsing for large snapshots. On S3-compatible storage, snapshots of more than 250,000 entries get their file list built the first time someone browses them, not at backup time, including snapshots taken before this release. The snapshot manifest is spooled to a
manifest-spoolfolder besidePATCH_REPORT_STORAGE_PATH, and building the list for a very large snapshot raises API process memory. Snapshots on device-local destinations are unchanged. See The snapshot file list. - Alert lifecycle defaults. Existing monitors whose cooldown and auto-resolve were still at the old defaults (5 minutes, off) now inherit the new partner default, which starts at those same values, so alerting behaves the same until you change a default. See Alert lifecycle.
- Wake-on-LAN attempts are recorded and resolved by a one-minute background job, and a nightly job prunes closed attempts after
WAKE_ATTEMPT_RETENTION_DAYS(90). - Microsoft 365 support mailboxes connected after the upgrade turn only new mail into tickets, not the mail already in the mailbox.
- Windows admin audit. Devices with the built-in Administrator or Guest account enabled raise a
default_accountfinding once they run the 0.127.0 agent. - SLA performance in the portal. Existing organizations get the SLA performance portal report when you apply a service plan template that uses it. To provision it for every organization at once, run
pnpm --filter @breeze/api reports:reprovision-portal-definitionsfrom a v0.127.0 source checkout against your database: once as a dry run, then with-- --apply. See SLA Performance Report. - New metric and alert:
breeze_metric_rollup_compaction_stalled_monthsand theMetricRollupCompactionStalledalert, which fires when metric history maintenance falls a week behind on a month. - Vendor updates is not available yet.
BREEZE_OEM_UPDATES_ENABLEDdefaults tofalse, and every lane stays closed in code even with the flag on. With the flag off, the Patches page hides the Vendor updates tab. The configuration policy editor still lists a Vendor updates feature tab, which has no effect. See Vendor Updates. - Network isolation is still not available.
NETWORK_ISOLATION_ENABLEDstaysfalse, and the Linux, macOS and Windows agent pieces ship switched off. The configuration policy Containment tab and the Bitdefender GravityZone Coming soon entry are visible but do nothing yet. New Linux installs getDelegate=yeson the agent’s systemd unit; existing Linux installs keep their unit until reinstalled, which is harmless while isolation is off. - Axcient x360Recover is available as a backup provider. Nothing changes until a partner adds an Axcient connection. See Backup Providers.
- Wisp stays Breeze Cloud only (
BREEZE_WISP_ENABLED, defaultfalse).
Environment variables
Section titled “Environment variables”No new required variables. New optional settings, all on the api service and mapped in both Compose files unless noted; see Compose file changes.
USER_RATE_LIMIT_PER_MINUTE(600): per-user budget for signed-in dashboard traffic. The per-IP ceiling for valid sessions is ten times this value.WAKE_ATTEMPT_RETENTION_DAYS(90),WAKE_ATTEMPT_RETENTION_BATCH_SIZE(1000),WAKE_ATTEMPT_RETENTION_MAX_BATCHES(100): nightly pruning of closed Wake-on-LAN attempts.- The nine
TICKET_IMPORT_*worker settings (TICKET_IMPORT_WORKER_CONCURRENCYand the rest). Nothing uses them until a ticket import source ships. See Ticket import migration windows. BREEZE_OEM_UPDATES_ENABLED(false),BREEZE_OEM_UPDATES_PARTNER_ALLOWLIST(empty means all partners),BREEZE_OEM_UPDATES_DISABLED_LANES(comma-separateddell,surface,hp,lenovo; an unknown lane stops the API at boot) andOEM_UPDATES_MAX_DISPATCH_PER_TICK(200). Leave them unset.BREEZE_OEM_UPDATES_LAB_DEVICE_IDSis lab-only, appears only in the rootdocker-compose.yml, and stops the API at boot underNODE_ENV=production.- Newly mapped:
ALERT_WORKER_CONCURRENCY,ALERT_WORKER_STAGGER_WINDOW_MSandAGENT_CONNECTIONS_MAX_PER_DEVICE(introduced in v0.126.0). - Worker split only:
WORKER_NODE_OPTIONS(--max-old-space-size=1024). See Worker Split.
Redis 8 is the reference version. .env.example now shows REDIS_IMAGE_REF=redis:8-alpine and Redis 7 is no longer tested. Your install keeps its current Redis image until you change REDIS_IMAGE_REF; the switch is one-way. See Redis 7 to 8. Unchanged but worth checking: REDIS_MAXMEMORY defaults to 256mb with noeviction. If Redis fills up, queue writes fail and API requests can be refused, so larger installs should raise it, for example to 1gb.
Migrations
Section titled “Migrations”31 idempotent migrations apply on boot when upgrading from v0.126.0 ([auto-migrate] Applied 31 migration(s)). None needs elevated privileges, and none drops or renames anything. No shipped migration was modified, renamed or removed.
-
Three migrations briefly lock a busy table, each for the length of one file. On installs with tables in the low tens of thousands of rows that is seconds, so expect a short stall of remote-session, backup-job and patch-inventory writes during the upgrade.
2027-01-22-200100-remote-sessions-last-start-attempt.sqladds a column toremote_sessions, backfills every row and sets itNOT NULLunder one table lock.2027-01-20-200000-backup-jobs-catch-up-until.sqladds columns tobackup_jobsand builds a partial index withoutCONCURRENTLY.2027-01-22-200300-device-patches-reported-update-type.sqladds two nullable columns todevice_patchesand validates two CHECK constraints with a full table scan.
-
Concurrent index builds.
2027-01-20-170100and2027-01-20-170200build(org_id, lower(mac_address))indexes ondevice_networkanddevice_ip_historywithCREATE INDEX CONCURRENTLY, outside a transaction. After the upgrade, confirm both are valid:SELECT indexrelid::regclass, indisvalid FROM pg_indexWHERE indexrelid::regclass::text IN ('device_network_org_mac_idx', 'device_ip_history_org_mac_idx'); -
Backfills: monitors still on the old cooldown and auto-resolve defaults switch to “inherit” (see Behaviour changes); Wisp thread summaries move into a new column; the
tickets:email_reviewpermission is added, and no existing role gains it. -
New tables for Wake-on-LAN attempts and status, vendor update status, Wisp check-ins and ticket imports enable and force row-level security in the file that creates them.
-
One-way enum additions:
config_feature_type+oem_updates,report_type+ticket_sla_performance,external_backup_status+paused. The two Axcient migrations add one enum value and three nullable columns, with no backfill. -
Ownership.
ALTER TYPE … ADD VALUEand the replaced Wisp grant update-guard trigger function need the migration role to own those objects, which it does on a standard install. -
Rolling back. A rollback to v0.126.0 keeps the new schema, including the enum values and the monitor “inherit” backfill, and was not tested.
Known issues
Section titled “Known issues”- SLA performance report: downloading a stored run as Excel gives a workbook without the breaches sheet. The on-screen report and the PDF are complete. A fix is planned for v0.127.1.
- Report PDFs: server-generated report PDFs (portal downloads and PDFs attached to scheduled report deliveries) can fail with a server error on the packaged API image, as in v0.126.0. A fix is planned for v0.127.1.
- Backup tab retention: saving a schedule on the configuration policy Backup tab can replace a custom retention that matches no preset (one set through the API or the AI tools) with the Standard preset. Check retention after you edit the schedule.
BINARY_SOURCE=localonly: when the official release manifest is staged, the backup component is re-signed with your deployment key, so agents enrolled before the server switched to local mode stop upgrading. Breeze Assist updates can also be refused withrelease_manifest_asset_lookup_failedwhile the agent, watchdog and user helper update normally. The default GitHub binary source is unaffected. Fixes are planned for v0.127.1.- Mac remote sessions: after the first Shift press in a remote session on a Mac, Shift can stay held until you end the session. This is not new in this release (#9595).
- Not verified before release: vendor updates on real OEM hardware (switched off by default), backup resume on S3 storage on a device, and AI behaviour against a live model beyond the model call. Apple Silicon upgrade in place was verified on a virtual machine only.
v0.126.0 — alerts to your PSA and webhooks, partner-wide device groups, Jobs moving to Flows
Section titled “v0.126.0 — alerts to your PSA and webhooks, partner-wide device groups, Jobs moving to Flows”Upgrade order.
-
Back up the database, or note a point-in-time recovery point. A rollback keeps the new schema and was not tested (see Migrations below).
-
On a large install, check the size of
alerts,webhook_deliveriesandincidentsand plan a quiet window (see Migrations below). If you keep a long webhook delivery history, consider pruning it first. -
Upgrade the server. Check how your install pins its images with
grep '^BREEZE_API_IMAGE_REF=' .env:- Digest-pinned (the value ends in
@sha256:…; everyguided-setup.shinstall since v0.112.0): fetch the currentguided-setup.shfrommain, then runbash guided-setup.sh --upgrade 0.126.0. Don’t edit onlyBREEZE_VERSIONon a digest-pinned install; that re-pulls the images you already run. - Tag-form (the value ends in
:${BREEZE_VERSION}): setBREEZE_VERSION=0.126.0, then rundocker compose pull api web portal && docker compose up -d. If you run the optionalworkercontainer, pull and restart it too.
Replace every API and worker instance in the same deploy. Webhook retry state moves from Redis to Postgres in this release, so do not leave a v0.125.0 instance running next to it.
- Digest-pinned (the value ends in
-
--upgradedoes not change yourdocker-compose.yml. To pick up this release’s new mappings and the newFLOWS_ENABLEDdefault, take the v0.126.0 Compose files or add the lines yourself (see Compose file changes). A value only in.envdoes not reach the container. -
Watch the API start log for
[auto-migrate] Applied 56 migration(s)(from v0.125.0). -
Let agents, Breeze Assist and Breeze Viewer update to 0.126.0. Declined-elevation handling and outcome notices for PAM, the new Windows event-log sources, the BitLocker probe gate and the macOS helper reload after an update all need this release’s agent.
Stricter than before
Section titled “Stricter than before”No change breaks an install on default settings. If you integrate with the API, check these before you upgrade:
POST /api/v1/automationsanswers410 automations_moved_to_flowswhile Flows is on. Create flows instead, or setFLOWS_ENABLED=false. Editing and running existing Jobs is unchanged until they are switched.GET /orgs/organizations/:id/effective-settingslists a partner field inlockedonly when the partner value wins. Partner defaults an organization may override move to a newpartnerDefaultslist.- Partner and organization names that are only a reserved brand name (for example “Microsoft”, “Windows Security” or “Apple Help Desk”) return
400on create and update. - Breeze AI
manage_groupsadd_devices/remove_devicesnow need approval and returnalreadyMembers/notMembersinstead ofskipped.query_devicesandmanage_alertslistreturn 20 and 12 rows by default (were 25 and 15).
Flows on by default
Section titled “Flows on by default”- Flows turns on after the upgrade if
FLOWS_ENABLEDreaches the API unset: that is, you take the v0.126.0 Compose file (which passes${FLOWS_ENABLED:-true}) or run a Compose file from before v0.125.0, and your.envhas noFLOWS_ENABLEDline. - Flows stays off if your
.envhasFLOWS_ENABLED=false(the v0.125.0.env.exampleline), or if you keep the v0.125.0 Compose file, which passesfalsewhen the variable is unset. - With Flows on, nothing is switched automatically. Managed Jobs (AI triage, monitor compile, policy workflows) are unaffected. With
FLOWS_ENABLED=false, every flow route answers 404, Jobs stay fully writable, and Move to Flows does not appear. - Event-triggered Jobs can be moved only with durable event dispatch:
EVENT_DISPATCH_MODE=enforceandflow-event-triggeramongEVENT_DISPATCH_QUEUE_SUBSCRIBERS(keep the subscribers you already list). Otherwise they show Can’t move yet. - A Job’s webhook URL keeps working after the switch. The flow accepts JSON-object bodies only, and senders using the plain-secret header must move to
X-Breeze-Webhook-Token.
See Moving Jobs to Flows.
Behaviour changes and feature flags
Section titled “Behaviour changes and feature flags”- DNS Security stores blocked and redirected queries only. Overview and
GET /dns-security/statssay Not stored (allowedTraffic: "none") instead of showing zero. Cisco Umbrella integrations also stop downloading allowed records. Allowed rows already stored are kept until retention removes them. See Stored traffic. - Webhook retries. Failed deliveries retry for about 21 hours (1 min, 5 min, 30 min, 2 h, 6 h, 12 h), then end
failed. The Redis dead-letter queue and the per-webhookretry_policyare retired; pending entries are re-driven at upgrade. A webhook’s connection-health incident now opens when a delivery fails for good, about 21 hours after the first failure for a dead endpoint, rather than within minutes. Editing or disabling a webhook stops its scheduled retries. See Retry Logic. - New webhooks default to alert payload v2, including those created through the API without
payloadVersion. Existing webhooks stay on v1. See Payload versions. - Discovery links by MAC address only. An IP-only match no longer links a discovered asset to a device. Existing automatic links whose MAC is not on the linked device are dropped on the asset’s next scan, and a device role that link set is reset so the agent’s heartbeat restores it. Manual links are untouched. See Asset-to-Device Linking.
- Alerts auto-resolve when acknowledged or suppressed and their condition clears. Alerts that require a person never do. Closed alerts do not re-open on events they already alerted on.
- Remote desktop idle timeout is 30 minutes (was 5) on devices with no Remote Access policy and under policies that do not set one. A timeout a policy sets explicitly, including a stored 5, is unchanged. See Session time limits.
- Alert worker. Concurrency now follows
DB_POOL_MAX(a quarter of it, or half withBREEZE_ROLE=worker) instead of a fixed 10, and each minute’s device evaluations are spread over 50 seconds. RaiseALERT_WORKER_CONCURRENCYif the API logs that alert jobs are still pending. - Agent connection inventory keeps up to 2,000 connections per device report (
AGENT_CONNECTIONS_MAX_PER_DEVICE). - ConnectWise Manage alert tickets are opt-in per connection. Nothing is created until you activate them. See Alert tickets.
- On-device dialogs are opt-in.
PROMPT_HOST_ENABLED_KINDSenables nothing when unset. Enable a kind only after this release’s Breeze Assist build is published; the remote kinds need Breeze Assist 0.1.3 andelevation.requestneeds 0.1.4. See Environment Variables. - Network isolation is not available yet. Its migrations run, but nothing activates on upgrade:
NETWORK_ISOLATION_ENABLEDdefaults tofalse, the agent version gate is a placeholder, and the Windows agent pieces ship switched off. See Network Isolation. - Wisp stays Breeze Cloud only (
BREEZE_WISP_ENABLED, defaultfalse). - Event-log collection on Windows (agent 0.126.0): the first pass after the agent upgrade starts 15 minutes before the agent started; older events are not back-filled. Linux and macOS events collected around the agent upgrade can appear twice, once with the old id and once with the new one.
Environment variables
Section titled “Environment variables”No new required variables. New optional settings, all on the api service; see Compose file changes for which are mapped.
INTERNAL_SERVICE_CIDRS(Compose default: yourBREEZE_DOCKER_SUBNET) andINTERNAL_API_HOSTS(api:3001). WithFORCE_HTTPS=true, portal and web server-side rendering calls to the API no longer get400 FORCE_HTTPS_NON_CANONICAL_HOST. Leave them unset on the bundled Compose. Every entry must lie wholly inside a private range, or the API refuses to boot; an emptyINTERNAL_SERVICE_CIDRSturns the exemption off. See TLS.NETWORK_ISOLATION_ENABLED(false) andNETWORK_ISOLATION_ENABLED_PARTNER_IDS(empty). Leave both unset.TICKET_IMPORT_MAX_BYTES_PER_HOUR(2147483648, 2 GiB, never below 10 MiB): attachment bytes one ticket-import window may download per hour.ALERT_WORKER_CONCURRENCY,ALERT_WORKER_STAGGER_WINDOW_MS(50000, 0–59000) andAGENT_CONNECTIONS_MAX_PER_DEVICE(2000, up to10000), not mapped in the v0.126.0 Compose files.- Changed default:
FLOWS_ENABLED(true, wasfalse).
Migrations
Section titled “Migrations”56 idempotent migrations apply on boot when upgrading from v0.125.0 ([auto-migrate] Applied 56 migration(s)). No shipped migration was modified, renamed or removed.
- Large installs: plan a quiet window for
alerts,webhook_deliveriesandincidents. On a small install these files take seconds. On a large one, check sizes first, for exampleSELECT pg_size_pretty(pg_total_relation_size('alerts')), and repeat forwebhook_deliveriesandincidents.alertsis locked for the whole of the owner-kind migrations (2027-01-18-100000-alerts-owner-kind.sqland2027-01-18-130000-alerts-owner-kind-device-topology-chk.sql). In one transaction they makedevice_idnullable, backfill topology alerts, validate a new CHECK with a full scan and build a unique partial index withoutCONCURRENTLY. Alert reads and writes wait until each file finishes.webhook_deliveriesgains anorg_idcolumn with a foreign key validated by a table scan, then a backfill in 10,000-row batches inside one transaction, so locks are held until the whole backfill commits (2027-01-13-100000-webhooks-partner-ownership.sql,2027-01-13-100100-webhook-deliveries-org-id-backfill.sql).incidentsandincident_actionseach gain a unique(id, org_id)constraint built withoutCONCURRENTLY(2027-01-17-200000-device-network-isolations.sql).- The other changes to busy tables use the safe patterns: constant-default columns on
devices, concurrent index builds, and foreign keys and CHECKs addedNOT VALIDthen validated.
- Smaller backfills: contracts’ source quote from executed agreements and Pax8 orders; contract document template names; the legacy
[monitor]prefix on network monitors; duplicate PSA mappings removed; Wisp tables; AI model assignments for a retired surface deleted. - New tables for flow conversions, automation occurrence claims, alert external references, device network isolations and AI operator account reservations enable and force row-level security in the file that creates them. Device groups may now have no organization (partner-owned groups).
- One-way enum additions:
elevation_statusandelevation_audit_event_type+withdrawn;webhook_delivery_status+scheduled;ai_tool_status+refused;config_feature_type+containment. - Privileged DDL. There is no
CREATE ROLE,OWNER TO,CREATE EXTENSIONor schema-level grant. TwentySECURITY DEFINERfunctions are added, all with a pinnedsearch_path.2027-01-18-188000-contract-documents-template-name-snapshot.sqldisables and re-enables a trigger around its update, which needs table ownership; the migration role owns the table on a standard install. - Rolling back. A rollback to v0.125.0 keeps the new schema, including the enum values above, and was not tested.
Known gaps
Section titled “Known gaps”- Not run on a live agent before release: the BitLocker probe gate on Windows, the sensitive-data scan of user profiles, PAM outcome notices and declined-elevation handling on Windows, and IOC scan command timeouts and sweep results.
- macOS upgrade in place was verified on Intel, not on Apple Silicon.
- ConnectWise Manage alert tickets were tested against a stub, not a live ConnectWise Manage tenant.
- Known issues: Cmd can stay held on a Mac after a shortcut in a remote session; press and release Cmd in the session to clear it (#9595). Some alert notifications can be skipped: in-app notifications, channel sends and escalations for rule-based, monitor and some job-generated alerts may not be sent. This predates this release and is fixed in v0.127.0 (#10926); see v0.127.0.
v0.125.0 — agreements sent for signature, ticket merge and business-hours SLAs, ring-controlled Windows feature updates
Section titled “v0.125.0 — agreements sent for signature, ticket merge and business-hours SLAs, ring-controlled Windows feature updates”Upgrade order.
-
Back up the database, or note a point-in-time recovery point. Rolling back below v0.124.0 needs a database restore (see Migrations below).
-
If you need more than 90 days of DNS Security history, raise each integration’s retention days now (see the aside above).
-
Check
.envforAGENT_ENROLL_RATE_WINDOW_SECONDS. A value above230now stops the API from booting (see Stricter than before). -
Upgrade the server. Check how your install pins its images with
grep '^BREEZE_API_IMAGE_REF=' .env:- Digest-pinned (the value ends in
@sha256:…; everyguided-setup.shinstall since v0.112.0): fetch the currentguided-setup.shfrommain, then runbash guided-setup.sh --upgrade 0.125.0. Don’t edit onlyBREEZE_VERSIONon a digest-pinned install; that re-pulls the images you already run. - Tag-form (the value ends in
:${BREEZE_VERSION}): setBREEZE_VERSION=0.125.0, then rundocker compose pull api web portal && docker compose up -d. If you run the optionalworkercontainer, pull and restart it too.
Replace every API and worker instance in the same deploy, and do not run an instance older than v0.124.0 next to this release. Once this release writes a backup snapshot under a path prefix, an older instance cannot read it.
- Digest-pinned (the value ends in
-
--upgradedoes not change yourdocker-compose.yml. To set any of this release’s new optional variables, add them to theapiservice’senvironment:block, or take the v0.125.0 Compose files, which already map most of them. A value only in.envdoes not reach the container. If you maintain your owndocker/Caddyfile.prod, carry over the new header defaults (see Compose file changes). -
Watch the API start log for
[auto-migrate] Applied 64 migration(s)(from v0.124.0) and[startup] pinned built-in package refresh: refreshed N, failed M. -
Let agents, Breeze Assist and Breeze Viewer update to 0.125.0. Ring-controlled feature updates, install scripts and zip packages, the Breeze Assist availability checks, Force reboot now, reconnect pacing and derived Windows update severities all need this release’s agent.
Stricter than before
Section titled “Stricter than before”No change breaks an install on default settings. Check these before you upgrade a customised install:
AGENT_ENROLL_RATE_WINDOW_SECONDSabove 230 refuses to boot. The default is 60. The limit keeps everyRetry-Afteran agent is told under the agent’s 300-second ceiling.- Uploading, copying and moving files with System Tools needs
scripts:executeas well asdevices:execute, the same as running a script. The AI assistant’s file write and rename follow the same rule. See System Tools. - Approving a UAC elevation request needs
devices:executeas well aspam:approve, and approvals from the approvals inbox and the mobile app need an MFA-verified session. A custom role that relied onpam:approvealone gets a 403. See PAM. - Backup destinations with an invalid stored Path Prefix stop backing up. That means an empty segment,
.or.., characters outsideA–Z a–z 0–9 ! _ . * ' ( ) -, asnapshotssegment, or more than 256 characters. Those backups fail withinvalid_destination_prefix, and Test connection fails too. Fix the prefix in the destination form. See Key prefix. - MCP clients calling
manage_catalogshould switch tomanage_billing_catalog. The old name works for this release only. - Direct-SQL reports on
software_compliance_statussee no rows without a tenant context: row-level security is now forced on that table on databases created from the baseline.
Behaviour changes and feature flags
Section titled “Behaviour changes and feature flags”- Windows feature updates are decided by the update ring. The agent’s
patch_exclude_feature_updatesnow defaults tofalseand acts only as a kill switch; the ring’s Windows feature updates setting (Block, Allow or Pin) decides. Pin writes the Windows Update for Business target-release policy on each device, and switching back removes only the values Breeze wrote; a target-release policy set by your own GPO is left as found. Unless the patch policy’s exclusive Windows Update setting is on, Windows may install an allowed or pinned release on its own schedule. A blocked release shows as Excluded by policy on the device’s Patches tab. Agents older than 0.125.0 keep excluding feature releases locally. Agent log lines:applied Windows feature-update policy,ignoring feature_update_settings. See Update Rings. - DNS Security retention. A nightly job (22:18 UTC) deletes events and daily statistics older than each integration’s retention days, else
DNS_SECURITY_RETENTION_DAYS_DEFAULT(90). Retention days can now be edited on an existing integration. Deleting an integration now runs in the background:DELETE /dns-security/integrations/:idreturns 202, and the row shows Deleting… until it finishes. See DNS Security. - Agent reconnect pacing (agent 0.125.0). After an API restart a device can show offline up to about 30 seconds longer, because agents spread their reconnect over 1–30 seconds instead of 1–5. Startup uploads are spread over up to 2 minutes, and a
503/429withRetry-Afterdefers that periodic upload for up to 300 seconds. Heartbeats and command results are never deferred. See Agent reconnect settings. - Admission control rises only under sustained pressure: level 1 now needs event-loop lag of 200 ms or database wait of 150 ms (was 100 / 75) for three consecutive checks, and holds for 5 seconds (was 15). The emergency threshold is unchanged. The commented defaults in
.env.examplechanged to match. See Agent admission control. - Breeze Assist. New Breeze Assist policies start with Deploy Breeze Assist to devices on; existing policies, and devices with no Assist policy, are unchanged. The agent now removes only an Assist it installed itself; a copy installed by Intune or by hand is reported as not installed by Breeze and left alone, and with deploy on the first heartbeat after the upgrade adopts an Assist it finds. On Windows the agent does not start Assist on a WebView2 Runtime older than 92.0.902.49 and reports Assist unavailable with the reason. See Breeze Assist.
- The native remote-support consent dialog defaults to Deny. Pressing Enter, or letting the dialog time out, declines the session. See Session Consent.
- Patch compliance on the dashboard is now the share of fully patched devices, matching the Patches page. It was the share of individual patches installed, so the number may change.
GET /patches/complianceadds fields and changes none. - Derived Windows update severities (agent 0.125.0). A Windows update with no MSRC rating can now be rated important from its classification and title, labelled Derived rating. A ring that auto-approves important will therefore approve Windows cumulative and security updates that used to be unrated. See Severity Levels.
- Breeze AI. The chat is called Breeze AI everywhere, and the full-page chat moves to
/ai/chat;/workspaceand/wisp/chatredirect, and#session=<id>links still open. A conversation moves between the side panel and the full-page chat with its history.GET /api/v1/ai/sessionsand/searchnow return only chat conversations and addorgId,typeanddeviceId. The chat system prompt lists tools by domain (about 4.4 KB smaller), and every tool stays available; if tool choice gets worse for you, setAI_TOOL_INDEX=full. See Breeze AI. - Agreements. The new
agreements:sendpermission (send, copy link, void, Record signed agreement) is granted by migration to every role withagreements:write,*:writeor*:*; remove it afterwards from roles that should edit templates but not send. Automatic reminders are off by default and links expire after 30 days by default. Customer mail uses the partner’s sending identity. Signed agreements can no longer be changed in the database, except their contract link and, during an organization merge, their organization. See Agreements. - Restart agent. The new
devices:recover_agentpermission is granted by migration to the built-in roles that holddevices:execute(Org Admin, Org Technician, Partner Technician). Custom roles need it added to use Restart agent. See Watchdog. - Ticketing. Ticket merge, business-hours calendars and routing rules are new. Nothing changes until you use them: no ticket uses a business-hours calendar until a partner marks one as default, and routing only fills fields the ticket creator left empty. See Ticketing.
- Install scripts on software versions. Scripts stored on a software version before this release stay inactive until the version is re-created, and the version manager shows a notice. Creating a version with a script needs
devices:execute. Devices on agents older than 0.125.0 fail a deployment that needs a zip package, an install script or a service check withagent_update_required, and nothing is sent to them. See Zip packages and install scripts. - New boot task: the API moves provisioned built-in DNS filtering packages (Control D, NextDNS) to the version pinned in this release and logs
[startup] pinned built-in package refresh: refreshed N, failed M. - IOC scans gain the states
cancelledandexpired, so API consumers filteringGET /security/scans/:deviceIdby status will see them. Sweeps only detect: they never quarantine and never start a Defender scan. See IOC sweeps. - PAM: an agent that cannot act on an elevation request now reports it, and the request closes as expired (cause
device_unable) instead of waiting. Older agents keep the previous behaviour. - Organization defaults: the Default device group is now a real static group that newly enrolled devices join. The partner-level device group, alert threshold and welcome-notification defaults did nothing and are ignored. See Default group for new devices.
- Webhooks: existing subscriptions to
alert.createdare moved toalert.triggered, the event “Alert Created” always meant. - Off by default, preview: Flows (
FLOWS_ENABLED, see Flows); the MCP modernization switches (MCP_STATELESS_ENABLED,MCP_TIER3_INTENTS_ENABLED,MCP_APPS_ENABLED,MCP_TASKS_ENABLED,OAUTH_CIMD_ENABLED, see MCP Server); and the identity offboarding and onboarding AI task recipes (each also needsAI_OPERATOR_TASKS_ENABLED). With the flags off, MCP behaves as in v0.124.0 except thattools/listgainsget_action_statusandcancel_action, and the legacy HTTP+SSE transport now sendsDeprecationandSunsetheaders. - Wisp is Breeze Cloud only. On a self-hosted server
/wispshows a locked page, and no Wisp route, job or screen is active. LeaveBREEZE_WISP_ENABLEDunset: a production API refuses to boot with it on unlessIS_HOSTED=true. - Security Agents: Control D and NextDNS are listed as Coming soon in a policy’s Security Agents tab and cannot be switched on in this release. The built-in Control D and NextDNS software packages are available now from Software → Catalog → Built-in packages.
- Endpoint messaging and live chat stay dark, as in v0.124.0.
Environment variables
Section titled “Environment variables”No new required variables. New optional settings, all on the api service; see Compose file changes for which are mapped.
AI_TOOL_INDEX(lazy):fullrestores the AI system prompt that lists every tool. A conversation picks up a change when its AI session next starts.BREEZE_ADMISSION_RISE_TICKS(3) andBREEZE_ADMISSION_LEVEL1_HOLD_MS(5000).DNS_SECURITY_RETENTION_DAYS_DEFAULT(90, 1–365),DNS_SECURITY_RETENTION_BATCH_SIZE(5000) andDNS_SECURITY_RETENTION_MAX_BATCHES(400).- Flows:
FLOWS_ENABLED(false) and theFLOW_*limits, all inert while Flows is off. See Flows. - MCP:
MCP_STATELESS_ENABLED,MCP_HEADER_MISMATCH_ALERT_THRESHOLD,MCP_TIER3_INTENTS_ENABLEDand its limits,MCP_APPROVAL_WAIT_MS,MCP_APPROVAL_WAITS_PER_PRINCIPAL,MCP_APPS_ENABLED,MCP_TASKS_ENABLEDand its timers,OAUTH_CIMD_ENABLEDandOAUTH_CIMD_ALLOWED_HOSTS. All off or inert by default, and a non-boolean value for a switch refuses boot. See MCP Server. AI_OPERATOR_RECIPE_IDENTITY_OFFBOARDING_ENABLEDandAI_OPERATOR_RECIPE_IDENTITY_ONBOARDING_ENABLED(bothfalse).PROMPT_HOST_ENABLED_KINDS: groundwork; nothing uses it yet.- IOC sweep limits (not in Compose in v0.125.0; later releases map them from
.env):SECURITY_SWEEP_MAX_DEVICES(10000),SECURITY_SWEEP_MAX_ACTIVE_PER_ORG(5),SECURITY_SWEEP_PUMP_INTERVAL_MS(30000),SECURITY_SWEEP_PUMP_BATCH(100),SECURITY_SWEEP_PARTNER_RUNNING_CAP(200),SECURITY_SWEEP_TTL_HOURS_DEFAULT(24),SECURITY_SWEEP_MFA_DEVICE_THRESHOLD(50),SECURITY_SWEEP_RUNNING_GRACE_MINUTES(65) andIOC_HUNT_FOUR_EYES_DEVICE_THRESHOLD(25). BREEZE_WISP_ENABLEDandBREEZE_WISP_CONNECTOR_ENABLED: see the Wisp note above. The connector flag is another name forBREEZE_WORKSPACE_ENABLED.- Agent (
agent.yaml):ws_first_reconnect_window_seconds(30, 0–300) andloop_retry_after(true). See Agent reconnect settings.
Migrations
Section titled “Migrations”64 idempotent migrations apply on boot when upgrading from v0.124.0 ([auto-migrate] Applied 64 migration(s)). No shipped migration was modified, renamed or removed. Two files (2026-12-18-110000-* and 2026-12-18-120000-*) sort before v0.124.0’s newest migration; they are applied anyway, because every pending file is applied whatever its position, and they only add partners columns.
- No table rewrite, and nothing dropped. Every new
NOT NULLcolumn carries a constant default. The busy tables use the safe patterns:devicesconstraints are addedNOT VALIDthen validated, with a 5-second lock timeout;device_commands,script_executionsandticketsget concurrent index builds. - Brief exclusive locks during one scan or index build on
device_patches,elevation_requests,ai_invocations,action_intents,security_scans,ai_agent_runs,ai_operator_tasksandai_sessions. Reads and writes of that table wait while it runs. On a small install this takes well under a second. On a large one, check sizes first, for exampleSELECT pg_size_pretty(pg_relation_size('device_patches')), and plan a quiet window if any is large. Theai_*andaction_intentsfiles run on every install, whether or not Flows or Wisp is on. - Backfills over existing rows:
- Ticket SLA deadlines are stored for every ticket with an SLA target or pause history, in batches of 5,000 with a commit per batch, reproducing today’s deadlines exactly. Partner API tickets-feed consumers receive each backfilled ticket once more, now with the four new deadline fields.
- Business-hours calendars are imported from the existing partner business-hours settings. No ticket uses one until a partner marks a calendar as default.
- Contract notes are now internal only, and invoices print only the Invoice note. The migration copies each contract’s notes into its invoice terms. An old API or worker instance left running prints them twice until it is replaced.
- Permissions:
agreements:sendanddevices:recover_agent, as described above. - Smaller ones: webhook
alert.createdsubscriptions move toalert.triggered; one-time deliverable template items stop showing in the portal;partners.billing_enabledis set from billing activity (nothing reads it yet).
- One-way enum additions:
elevation_audit_event_type+device_unable;security_provider+cylance;report_type+mrr_renewals,quote_win_rate,client_profitability;ai_initiator_kind+flow;deliverable_evidence_kind+contract_document. - Privileged DDL. There is no
CREATE ROLE,OWNER TO,CREATE EXTENSIONor schema-level grant. EightSECURITY DEFINERfunctions are added.contract_documentsbecomes write-protected for the application role, with erasure routed through the audit-admin role, following earlier audit-table migrations. All 34 new tables enable and force row-level security in the file that creates them. - Rolling back. A rollback to v0.124.0 keeps the new schema: the enum values stay,
contract_documentsstays write-protected, and v0.124.0 cannot read backup snapshots this release wrote under a path prefix. Going below v0.124.0 needs a database restore.
Known gaps
Section titled “Known gaps”- macOS lab checks are deferred to the next release. The remote desktop stuck-modifier fix (#9687) is not in this release, Control D is not offered on macOS, and upgrade-in-place on macOS was not re-verified.
- Windows feature releases under Allow or Pin (#10203): the policy, registry pin and revert, and the Excluded by policy badge were confirmed on a device, but Windows Update offering an allowed or pinned release was not observed, because the lab VM runs an out-of-servicing build. Report on the linked PR if a supported build does not pick one up.
- Dismissing the UAC prompt after an approved elevation (#9515) has no clean lab pass: a technician’s approval does not close the user’s Elevation Request dialog (#10178).
- Not run on real hardware: UniFi Wi-Fi collection, GDM Xorg discovery on Linux, Cylance / Aurora detection, the PAM unable report at shutdown, and the agent
drainframe (no sender yet). - Known issues: Breeze Assist crash-loop detection does not fire (#10302); PAM UAC interception can stay disabled after a device is hard-deleted and reinstalled, logging
refusing to enable UAC interception before PAM reconciliation is verified(#10303); the portal agreement detail page shows a blank PDF, so use the Signed copy / Original downloads (#10290).
v0.124.0 — Trust Center, connection health, security agents from policy, verified M365 actions
Section titled “v0.124.0 — Trust Center, connection health, security agents from policy, verified M365 actions”Upgrade order.
-
Back up the database, or note a point-in-time recovery point. Rolling back is a database restore (see the aside above).
-
Check
.envforCALLER_VERIFICATION_ENABLED=false. Earlier.env.examplefiles shipped that line; it used to mean “dark” and now refuses every Microsoft 365 password reset and account disable. Remove it, or set it totrue(see Compose file changes). -
If you run the Microsoft 365 Graph-actions executor yourself, roll the executor build that accepts object-id-only requests before the API. The API now sends only the Entra object id for password resets and account disables.
-
Upgrade the server. Check how your install pins its images with
grep '^BREEZE_API_IMAGE_REF=' .env:- Digest-pinned (the value ends in
@sha256:…; everyguided-setup.shinstall since v0.112.0): fetch the currentguided-setup.shfrommain, then runbash guided-setup.sh --upgrade 0.124.0. It verifies the signed image inventory, updatesBREEZE_VERSIONand all four image digests, then pulls and restarts. Don’t edit onlyBREEZE_VERSIONon a digest-pinned install; that re-pulls the images you already run. - Tag-form (the value ends in
:${BREEZE_VERSION}): setBREEZE_VERSION=0.124.0, then rundocker compose pull api web portal && docker compose up -d.
Replace every API instance in the same deploy. An instance still on v0.123.0 fails patch-settings reads and writes once the patch migration has run.
- Digest-pinned (the value ends in
-
--upgradedoes not change yourdocker-compose.yml. To set any of this release’s new optional variables, add them to the named service’senvironment:block (api,weborcaddy), or take the v0.124.0 Compose files, which already map them. A value only in.envdoes not reach the container. -
Watch the API start log for
[auto-migrate] Applied 28 migration(s)(from v0.123.0; an older install applies more), for warnings containingdrop_policy_patch_auto_approve, and fortrust_page_documents: removed <n> unconfirmed links(see Migrations below). -
Let agents, Breeze Assist and Breeze Viewer update to 0.124.0. System Restore checkpoints, remote desktop sessions through a TURN relay (which also need this release’s viewer), VPN client detection and Linux maintenance-window reboot prompts need this release’s agent. A fleet that never moved to 0.123.0 lands two agent generations at once: v0.123.0’s Encrypted Client Hello, heartbeat retain-state and watchdog-install work, plus this release.
Stricter than before
Section titled “Stricter than before”One default flips for existing installs (CALLER_VERIFICATION_ENABLED, above), and five changes can surface on an install with pre-existing data or a custom setup:
- Approved Microsoft 365 reset or disable intents created before the upgrade fail at release. They are not pinned to a target, so releasing one returns
subject_unmatched. Recreate them after the upgrade. - Manual SentinelOne deploys are refused without the site-token placeholder. A software version whose install arguments lack
{s1_site_token}(blank, a genericmsiexecline, or a hard-coded literal token) is refused at dispatch withSentinelOne install arguments must include SITE_TOKEN={s1_site_token}. Before, such an install ran unregistered or enrolled every organization into one site. See EDR Integrations. - Upgrading straight from v0.121.x or older with your own Microsoft 365 executors: the first-generation consent flow is removed, and Customer Graph consent is unavailable until both the API and the executors are on v0.124.0. Upgrade them together, or step through v0.122.1 first. An install already on v0.122.1 or v0.123.0 has no ordering constraint. No data is lost.
- Partner API configuration export: patch feature settings no longer include
autoApprove,autoApproveSeverities,autoApproveDeferralDaysorapps. The keys are absent, not empty, so every exported patch policy’s revision changes once. Read per-app rules from the Update Ring’sappRules. A policy write that still sends these fields is accepted, and the fields are ignored. - Direct-SQL reports that select the dropped objects fail after the upgrade:
partner_llm_configs,ai_model_registry_state,partner_ai_connections.legacy_default_model,ai_budgets.allowed_models,ai_script_policies.reviewer_model,client_ai_org_policies.allowed_models,ai_agents.model,config_policy_patch_settings.auto_approveandauto_approve_severities.
Behaviour changes and feature flags
Section titled “Behaviour changes and feature flags”- Caller verification is on and enforced. Microsoft 365 password resets and account disables (
m365_reset_password,m365_disable_user) are pinned to one Entra account and need a fresh link-tier caller verification: an SMS or email link, a callback attestation, or an administrative disable with MFA step-up. Before technicians rely on it, establish Entra bindings for the accounts you reset or disable and attest imported contact destinations; until then those actions returncaller_verification_requiredin chat, over MCP and at release. An explicitCALLER_VERIFICATION_ENABLED=falsehides the workflow and refuses the protected actions; it is never a bypass. A failed dispatch does not restore a consumed verification. Rejected-verification notifications now give up after three consecutive email failures, and an install with no email transport sends the in-app notice only, instead of retrying every 5 s. The workstation tier (agent and Breeze Assist) stays dark behindCALLER_VERIFICATION_WORKSTATION_ENABLED. See Caller Verification. - Eight more Microsoft 365 identity actions (revoke sessions, assign and remove a licence, add to and remove from a group, retire an Intune device, create a user, set an auto-reply) are available through AI with four-eyes approval. They need a one-time re-consent to the new actions permission set: a tenant consented under the previous set keeps running the actions it already covers, and a new action refuses with
consent_upgrade_requireduntil the tenant re-consents. See Identity Integrations. - AI tool-output retention: expect a first nightly scrub. At the first run (default 04:33 UTC,
AI_TOOL_OUTPUT_RETENTION_CRON), tool outputs older than 30 days are replaced with an “Output expired” marker for every partner with no AI data policy, and the affected chats lose their resumable model context. To keep history, set Keep AI tool outputs for (days) to blank (“keep forever”) under Partner settings → AI Features after the upgrade and before that run, or move the first run with the cron. See AI. - AI device file reads default to “Excludes user profile folders”. With no policy row, AI tools refuse paths under
C:\Users\*,/home/*,/Users/*and/root. Set Any path with approval to allow them. The level is enforced for chat, agent runs, MCP, the helper and the script builder. - Connection-health digest: expect a one-time burst. After the first deploy, every admin or owner with an open connection incident, including incidents opened under v0.123.0, receives a digest email when the hourly job reaches 08:00–11:59 partner-local. After that an incident appears daily for 7 days, then on Mondays only; each user can opt out under My Account → Email notifications. Notices to customer organization admins are off by default (partner default, organization override), and the built-in Org Admin role is reached for only 4 of 14 incident kinds (see Known gaps). The webhook and Google Workspace sources seed silently on first deploy, then notify for dead webhooks and stalled syncs. See Connection health checks.
- New nightly retention jobs, each deleting only finished rows: webhook delivery history older than 90 days (daily at 22:13 UTC; the first run after the upgrade removes every older delivered and failed record, while pending and retrying deliveries are never deleted); System Restore checkpoint attempts older than 90 days (22:08 UTC); and PAM evidence older than 400 days on held organization-merge shells only, never on a live organization. See Background retention sweeps.
- System Restore checkpoints arrive with agent 0.124.0: one restore point per patch run, script or software install, taken just before its first change, with the outcome reported on the command, so the System Protection policy from v0.123.0 stops reading Awaiting the device. The policy is reporting-only: a restore point that cannot be created never stops the command, and a command that changes nothing spends no restore point. See Configuration Policies.
- Patch approval: policy-level auto-approve is gone from every surface; auto-approve and per-app rules live only on the Update Ring. A soft-deleted ring now counts as an invalid reference, and its policies hold patches. See Update Rings.
- Huntress and SentinelOne from a configuration policy. Turning a vendor on in a policy’s Security Agents tab gives every in-scope device whose organization is mapped in that vendor’s integration the agent with its own keys, through a generated read-only software policy; per-device coverage and gap alerts follow. SentinelOne needs the latest uploaded SentinelOne MSI version with
{s1_site_token}in its install arguments; without it the save fails with a link to Software → Versions, and an organization with no SentinelOne site mapping reads “Organization not mapped”. See Configuration Policies. - EDR response actions in the web UI (isolate, release, scan, the action history and the push switch) and the Security page’s EDR summary sit behind the web build-time flag
PUBLIC_ENABLE_EDR_INTEGRATIONS; the published web image does not set it. Coverage is also on the software policy compliance view, which needs no flag. - Trust Center: document links with no disclosure confirmation are deleted at upgrade (every linked document now needs one). Existing trust pages keep their explicit values; use Reset to inherited on a page to adopt the new partner-wide template. The partner slug
embedis reserved, alongsidepreviewandaccess, and a partner already on it stops serving. Customer editing of the trust page draft is a per-organization portal toggle, off by default and not part of Enable all. Attestation JWTs are served under/api/v1/trust/attestation/, which needs no ingress change. The CIS Controls framework view stays behindBREEZE_TRUST_CIS_FRAMEWORK_VIEW(default off); with it on, CIS Controls v8 becomes the default framework view. See Trust Center. - PAM: moving a device to another organization, or merging its organization, expires its live, un-actuated elevation requests with an audit entry.
- YARA ships dark. The API image now carries a rule pre-check binary, and the built-in rule pack is loaded at boot when
RELEASE_ARTIFACT_MANIFEST_PUBLIC_KEYSlets the API verify it. On a self-hosted install with no pack staged in the binaries volume, boot fetches the signed pack from the GitHub release; an air-gapped install logs one line and loads no pack.BREEZE_YARA_BUILTIN_PACK_DISABLEDis the kill switch (not mapped in Compose; add it to theapiservice yourself). This release has no rule UI; the Security → Detection Rules page ships in v0.125.0 (see Detection rules). Rule sets go only to agents on 0.124.0 or later. - Endpoint messaging and live chat stay dark. The agent carries the handlers, but the server-side minimum agent version gates are held at a placeholder, so every send or chat returns “agent unsupported”; they will be lifted server-side in a later release, without another agent update. The sidebar Messages page is visible to roles with
endpoint_messages:readand shows an empty history;PUBLIC_ENABLE_ENDPOINT_MESSAGINGonly reveals the send entry points. - Self-hosted
docker/Caddyfile.prodcopies:Referrer-Policyis now set only when the application did not set one (?Referrer-Policy), so verification pages, public invoices and unsubscribe links keep theno-referrerthe application sends, and a new site block serves the Network Proxy tunnel host fromTUNNEL_SITE_ADDRESS,TUNNEL_TLS_DIRECTIVEandTUNNEL_HOST_SUFFIX. Carry both over if you maintain your own copy. See Security headers. - Per-user rate limits run before permission and validation checks, so a rejected request still spends one rate-limit unit. Heavier requests no longer hold a database connection while they wait on the limiter.
- API contract changes:
GET /api/v1/desktop-ws/:id/viewer/sessionreturnsagentIceCandidates, andPOST /desktop-ws/:id/viewer/iceis new;GET /api/v1/devices/attention-countstakes at most 100 ids; a correctly signed first-generation Microsoft 365 consent cookie now answersconsent_state_mismatch(restart consent); MCP 401 responses carryWWW-Authenticatemetadata, and API keys and OAuth grants can be limited to MCP tool areas.
Environment variables
Section titled “Environment variables”No new required variables. CALLER_VERIFICATION_ENABLED keeps its name; only its Compose default changed, to ${CALLER_VERIFICATION_ENABLED:-true}, and it accepts only the exact value true as on. New optional settings, each mapped in both shipped Compose files unless noted (with a custom Compose file, add it to the named service’s environment: block):
- web:
PUBLIC_ABUSE_CONTACT,PUBLIC_SECURITY_CONTACTandPUBLIC_SECURITY_POLICY_URL(all empty by default; read by the web container at runtime). They render the sign-in pages’ “Report abuse” / “Security” footer and/.well-known/security.txt; unset publishes nothing. Point them at a mailbox that receives mail. - api:
CALLER_VERIFICATION_WORKSTATION_ENABLED(defaultfalse, dark). While it is off, policies cannot require tier 3 for password reset, and tier 3 for account disable needs administrative disable allowed. - api:
BREEZE_TRUST_CIS_FRAMEWORK_VIEW(defaultfalse). Unlocks the CIS Controls framework view and the CIS hardening safeguards. Leave it off unless you have confirmed your CIS licensing; the flag does not replace the written confirmation. - api:
AI_TRANSCRIPT_SWEEPER_ENABLED(runs by default only whenNODE_ENV=production),AI_TRANSCRIPT_SWEEPER_CRON(38 4 * * *) andAI_TRANSCRIPT_SWEEPER_GRACE_HOURS(24). The sweeper runs only in containers that hold agent connections (BREEZE_ROLE=apiorall), each sweeping its own disk.CLAUDE_CONFIG_DIRis now passed through; an empty value means~/.claude. - api:
AI_TOOL_OUTPUT_RETENTION_CRON(33 4 * * *),AI_TOOL_OUTPUT_RETENTION_BATCH_SIZE(1000) andAI_TOOL_OUTPUT_RETENTION_MAX_BATCHES(50). Schedule and batch knobs only; the window itself is the per-partner Keep AI tool outputs for setting. - api:
WEBHOOK_DELIVERY_RETENTION_DAYS(90, 1–365),WEBHOOK_DELIVERY_RETENTION_BATCH_SIZEandWEBHOOK_DELIVERY_RETENTION_MAX_BATCHES. - api:
RESTORE_POINT_ATTEMPT_RETENTION_DAYS(90, at most 365),RESTORE_POINT_ATTEMPT_RETENTION_BATCH_SIZE(5000) andRESTORE_POINT_ATTEMPT_RETENTION_MAX_BATCHES(50). - api:
PAM_EVIDENCE_RETENTION_ENABLED(on when empty;falseskips the job) andPAM_EVIDENCE_RETENTION_DAYS(400, floor 30). - api:
MCP_INSUFFICIENT_SCOPE_HTTP_403(off): an OAuthinsufficient_scope403 step-up for MCP clients. - caddy:
TUNNEL_SITE_ADDRESS,TUNNEL_TLS_DIRECTIVEandTUNNEL_HOST_SUFFIX. Their defaults match nothing, so Network Proxy host mode stays off; host mode also needs the API’sTUNNEL_ORIGIN_TEMPLATE/TUNNEL_FRAME_ANCESTORfrom v0.123.0. See Dedicated tunnel origin. deploy/docker-compose.prod.ymlnow also mapsMIGRATION_WINDOW_MAX_DAYS,MIGRATION_WINDOW_DEFAULT_WRITES_PER_HOURandMIGRATION_WINDOW_MAX_WRITES_PER_HOUR.- Not in Compose (add them to the
apiservice yourself if you need them):PAM_OWNERSHIP_EPOCH_TRANSFER(off; groundwork, and a transfer also needs a database-side switch) and the YARA kill switchBREEZE_YARA_BUILTIN_PACK_DISABLED.
Migrations
Section titled “Migrations”28 idempotent migrations apply on boot when upgrading from v0.123.0 ([auto-migrate] Applied 28 migration(s)); none of the earlier files were modified or removed (one read-only preflight file under migrations/preflight/, never applied automatically, received a comment-only edit). Most DDL is additive: new tables for AI data policies, trust signing keys, trust page templates and documents, connection-health digests and event outbox, endpoint conversations, EDR push hints, MCP tool areas, YARA rule sets, security-agent device status and agreement requests. No migration rewrites a large table: new NOT NULL columns carry constant defaults, and the restore-point status check is replaced in place. Two migrations drop objects that v0.123.0 still reads; they are described first.
Legacy AI model columns archived and dropped
Section titled “Legacy AI model columns archived and dropped”2026-12-30-200000-ai-model-registry-legacy-drop.sql drops the storage behind the AI settings retired in v0.122.1: the partner_llm_configs table, the per-policy model fields (ai_budgets.allowed_models, ai_script_policies.reviewer_model, client_ai_org_policies.allowed_models, ai_agents.model), the per-connection legacy default model (partner_ai_connections.legacy_default_model), the one-Anthropic-connection index and the cutover-sweep bookkeeping table (ai_model_registry_state). Nothing in Breeze has read them since v0.122.1; a report, BI query or integration that still selects them directly fails after this upgrade. Read AI configuration from AI Providers & Models instead.
- Archived first, never refused. The migration copies every value it drops into a new table,
ai_model_registry_legacy_archive, and logs the per-source counts as[auto-migrate]warnings. It never stops the upgrade because of tenant data: a column that is already gone is skipped and reported. - API keys are not archived. Live keys are in the registry’s connections. The legacy table’s copies, including keys partners had since disconnected, are destroyed with the table.
- A partner can now hold more than one Anthropic connection (for example, a second key for another region or cost centre). Only the first one takes over the features that were on the Breeze platform key; models discovered on a later connection arrive disabled until you assign them.
- Rolling back. v0.123.0 reads none of the dropped objects. As with any release that adds a table, an install with a built-in extension enabled refuses to boot an older image while a table it does not know exists, so plan a rollback there as a database restore. Restoring the dropped data itself always needs a database backup taken before the upgrade.
To see what was archived for your deployment:
BEGIN READ ONLY;SELECT set_config('breeze.scope', 'system', true);SELECT source_table, source_column, count(*) AS rows, count(*) FILTER (WHERE NOT had_cutover) AS never_migrated FROM ai_model_registry_legacy_archive GROUP BY 1, 2 ORDER BY 1, 2;ROLLBACK;never_migrated counts values whose partner had no registry configuration when the archive ran (only possible on an install that skipped v0.121.0); re-enter those choices under AI Providers & Models.
Policy-level patch auto-approve retired
Section titled “Policy-level patch auto-approve retired”2026-12-31-160000-drop-policy-patch-auto-approve.sql finishes moving patch approval onto Update Rings (v0.123.0 moved the rules; this release removes the policy-level copies). Nothing in Breeze has read them for approval since 2026-08.
- Columns dropped:
config_policy_patch_settings.auto_approveandauto_approve_severities. A report or BI query that selects them fails after this upgrade; read the Update Ring’s auto-approve settings instead. - Inline keys stripped:
apps,autoApprove,autoApproveSeveritiesandautoApproveDeferralDaysare removed from every patch feature link’s stored settings, and a write that still sends them is accepted with the fields ignored. The 400APPROVAL_RULES_MOVED_TO_RING/RING_LACKS_POLICY_APP_RULESrefusals are gone. - Partner API export: patch feature settings no longer include those four keys (they are absent, not empty), so every exported patch policy’s revision changes once. Read per-app rules from the Update Ring (
appRules). - Check the start log. The migration logs
drop_policy_patch_auto_approve inline_links_stripped=<n>. A link whose storedappsno valid ring enforces (its ring is missing, disabled or another partner’s — these already deny every patch withring_reference_invalid) is logged asdrop_policy_patch_auto_approve unenforced_app_rules link=… policy=… ring_ref=… apps=…, followed by alinks_with_unenforced_app_rules=<n>total. Recreate those rules on the ring you link when repairing the policy; the migration does not keep them anywhere else. - Rolling deploys. An API instance still running the previous release reads the dropped columns and fails patch-settings reads and writes until it is replaced. Replace every API instance in the same deploy.
- Rolling back needs a database restore: the previous release reads the dropped columns.
Other migrations worth knowing about
Section titled “Other migrations worth knowing about”- Concurrent index builds (
2026-12-30-120100-connection-health-w4-indexes.sql): two partial indexes onwebhook_deliveries(failed rows only) and two ongoogle_workspace_connections. They do not block writes. If an interrupted build leaves an INVALID index, the next start refuses with a message naming it: runDROP INDEX CONCURRENTLY <name>;and restart. - Backfills and deletes over existing rows:
2026-12-30-140000-repair-discovery-demoted-server-roles.sqlsets the role back to server on servers that network discovery had demoted to workstations, bounded to rows whose role was last written by discovery and whose operating system says server, and writes adevice.role.repairedaudit row for each.2026-12-31-210000-agreement-requests.sqladds the agreement request tables and 14 columns on contract documents, and backfills each signed document’s evidence snapshot from its quote acceptance, one row per signed document.2026-12-30-120300-trust-center-w2.sqldeletes trust page document links with no disclosure confirmation and logstrust_page_documents: removed <n> unconfirmed links. It also makes five trust page settings nullable (NULL = inherit the partner template).2026-12-31-170000-m365-consent-sessions-v2-only.sqldeletes leftover first-generation Microsoft 365 consent sessions (all expired by now).2026-12-30-130000-connection-health-event-outbox.sqlbaselines existing incidents once, so they emit no events.
- Trust signing keys (
2026-12-30-110500-trust-signing-keys.sql): a deployment-wide key table. The first key is minted on first use, only when the table is empty. - Privileged DDL (
2026-12-30-210000-pam-epoch-transfer-flag.sql): a one-row switch table the application role cannot write, with guarded grants to the audit-admin role. It applies as a non-superuser owner. - One-way enum addition (Postgres cannot drop an enum value):
security_providergainsbreeze.
Known gaps
Section titled “Known gaps”- YARA-X does not start when the agent runs as a Windows service (#9253); Windows scans fall back to the legacy engine. YARA has no rule UI yet, so nothing user-facing depends on it.
- Endpoint messaging and live chat are dark (above). Do not expect sends to reach devices in this release.
- Connection health “Notify customer admins” reaches the built-in Org Admin role for only 4 of the 14 incident kinds; the others gate on a permission that role does not hold (#9268).
- On an install with no email transport, the trust access-request Approve/Resend toasts and the quote accept-on-behalf dialog still say an email was sent (#9256).
- Record signed agreement without a file dead-ends on templates that use quote variables (“Provide a value for: quote.number”). Attach the signed copy instead (#9296).
- Customer “Withdraw the page” in the portal keeps the recorded trust-page authorization, so the MSP can republish in one click (#9255).
- Not verified on real hardware before the tag: NVIDIA Linux viewer rendering (#8919), instant-boot
bcdbootfailure (#8921), the macOS permission probe (#8755), System Restore checkpoints on Windows 10 and Server 2025 (#8265; only the unsupported and skipped paths were exercised, on Server 2022, which has no System Restore), Windows 10 1507 (#9238), MSI custom actions, which need the signed release MSI (#9000), the viewer dev-buildbreeze://handler (#9136) and Docker containerd-store local builds (#9068). If one of these regresses, report it on the linked issue.
v0.123.0 — agent ECH, ticket types, customer work approval, Update Ring app rules
Section titled “v0.123.0 — agent ECH, ticket types, customer work approval, Update Ring app rules”Upgrade order.
- Back up the database.
- Check
.envfor stale entries that Compose used to ignore and now passes to the API, especiallyCF_ACCESS_*andMCP_LLM_*(see Compose file changes). - Upgrade the server. Check how your install pins its images with
grep '^BREEZE_API_IMAGE_REF=' .env:- Digest-pinned (the value ends in
@sha256:…; everyguided-setup.shinstall since v0.112.0): fetch the currentguided-setup.shfrommain, then runbash guided-setup.sh --upgrade 0.123.0. It verifies the signed image inventory, updatesBREEZE_VERSIONand all four image digests, then pulls and restarts. Don’t edit onlyBREEZE_VERSIONon a digest-pinned install; that re-pulls the images you already run. - Tag-form (the value ends in
:${BREEZE_VERSION}): setBREEZE_VERSION=0.123.0, then rundocker compose pull api web portal && docker compose up -d.
- Digest-pinned (the value ends in
--upgradedoes not change yourdocker-compose.yml. To set any of this release’s new optional variables, add them to theapiservice’senvironment:block, or take the v0.123.0 Compose file, which already maps them. A value only in.envdoes not reach the API.- Watch the API start log for warnings containing
ring_app_rules_backfill <metric>=<n>and for[auto-migrate] Applied 51 migration(s)(from v0.122.1; an older install applies more). - Let agents, Breeze Assist and Breeze Viewer update to 0.123.0. Encrypted Client Hello, heartbeat retain-state, the watchdog install retry, workload inventory and the viewer’s Physical keys mode need this release’s agent.
Stricter than before
Section titled “Stricter than before”No default was flipped for existing installs, but four changes can surface on an install with pre-existing bad data or a custom setup:
- Update Ring app-rules backfill can stop the API from booting (see below).
- A patch policy linked to an invalid or cross-partner Update Ring fails closed. Per-app rules now come from the linked ring only, and such a policy denies every patch candidate with
ring_reference_invalid; the policy’s Patch tab offers a repair prompt. A policy with no ring and a manual approval stays approved. Saving a changedappslist, or a newly setautoApprove: true, on a policy patch link returns 400APPROVAL_RULES_MOVED_TO_RING; reload a stale tab. See Patch Management. - Windows MSI downloads are verified on every binary source. With
BINARY_SOURCE=local, the MSI is checked against the signed manifest pair at the binaries volume root andRELEASE_ARTIFACT_MANIFEST_PUBLIC_KEYS. A volume with no staged manifest pair, a manifest older than v0.105.0, or noRELEASE_ARTIFACT_MANIFEST_PUBLIC_KEYSnow gets503 MSI not available.BINARY_SOURCE=githubwithout a manifest key also refuses instead of serving an unverified MSI. See Verify installer. - Device filter values outside their allowed set return 400, naming the allowed values, instead of being dropped. Before,
osType notEquals "Windows"with a bad value could widen a target to every device. A stored deployment target or dynamic group rule with such a value now fails visibly.
Behaviour changes and feature flags
Section titled “Behaviour changes and feature flags”- Agent Encrypted Client Hello. Some ISP gateway filters (CUJO-based ones such as Comcast xFi Advanced Security and Spectrum Security Shield) match the Breeze hostname in the TLS SNI and answer with a plaintext redirect, so the agent logs
tls: first record does not look like a TLS handshake. With this release’s agent, a device that sees that filter twice in 10 minutes retries with the hostname encrypted. ECH engages only when your API hostname’s DNS publishes anech=HTTPS record (for example a Cloudflare-proxied hostname); a self-hosted edge without one stays plain, and the device’scontrol_planehealth component reports the filter. Not covered: HTTP-proxied agent connections and theinstall.sh/ PowerShell installer downloads. A device opts out withech: falseinagent.yaml.AGENT_ECH_ENABLED=falseis the server-wide switch and a last resort: devices that can only connect over ECH go offline and cannot receive the setting back. See Encrypted Client Hello. - Agent admission control ships observe-only.
BREEZE_ADMISSION_MODE(off | observe | enforce) defaults toobserve: the API counts the low-priority agent telemetry and WebSocket upgrades it would refuse (breeze_admission_*metrics) and refuses nothing. Setenforceonce the counters look right for your fleet. Heartbeats and recovery traffic are never refused. See Agent admission control. - Heartbeat retain-state.
HEARTBEAT_RETAIN_STATE_ENABLEDdefaults totrue; agents that support it keep their PAM, Breeze Assist and remote-management state on a heartbeat where the server could not decide that setting. - Agent request bodies are received before a database connection is held. A stalled upload gets 408 instead of pinning a pooled connection (
AGENT_BODY_RECEIVE_TIMEOUT_MS,AGENT_BODY_RECEIVE_TOTAL_TIMEOUT_MS). Agent WebSocket credential re-checks keep the socket open for up to 120 s when the database cannot answer, instead of closing it with4001. - Several API instances: a write on one instance drops the matching cached setting on every instance within about a second through Redis, instead of waiting out the 60 s / 5 min cache lifetime.
- Endpoint messaging is hidden. The three Send message entry points sit behind the web build-time flag
PUBLIC_ENABLE_ENDPOINT_MESSAGING, default off, and the server side also needs a per-device rollout flag that is off. Theendpoint_messages:sendandendpoint_messages:readpermissions are granted on upgrade to Org Admin, Org Technician and Partner Technician. - Caller verification is dark. Every route answers 404 and every web surface is hidden unless
CALLER_VERIFICATION_ENABLED=true(defaultfalse). Nothing enforces a verification in this release. - EDR response actions (isolate, release, scan) are off for every connection; only a partner admin with MFA can turn them on, through the API in this release.
BREEZE_EDR_ACTIONS_ENABLEDis the server-wide off switch. See EDR provider framework. - System Protection is server side only. The new policy tab and outcome badges are live, but checkpoint creation ships with a later agent release; until then every attempt reads Awaiting the device. See Configuration Policies.
- Off by default: customer work approval, workload inventory enumeration (including Hyper-V and Proxmox), the portal toggles for EDR visibility, support hours, patch detail and vulnerability detail (only EDR visibility is included in Enable all), the Network Proxy dedicated tunnel origin, and mobile Location suggestions.
- Patch compliance counts out-of-date container images on devices with workload inventory on: a stale image counts as pending, a current one as installed, and unchecked images never count. Each partner gains a built-in
container_image_out_of_datemonitor (low severity, not attached to any policy). See Workload Inventory. - Tag-targeted compliance policies evaluate again, observe-only. They write compliance rows but run no remediation and publish no
policy.*events. - Automation targets are validated. An unknown target type, an empty group or device list, or ids from another organization are rejected; partner-wide automations reject
groupsanddevicestargets. A stored broken target makes the runfailedwith the reason in its log instead of reaching every device in the organization. - DNS filtering: domains left unsynced by an earlier release reach the provider on that policy’s next sync; you no longer need to remove and re-add them.
- Security & Compliance Posture report coverage percentages use assessed devices as the denominator and exclude decommissioned devices. Expect larger “not assessed” counts on fleets with offline devices.
- Breeze Viewer: in the default Type what I see keyboard mode the viewer no longer sends physical key codes; the remote resolves keys through its own layout. Choose Physical keys for numpad and right-modifier distinctions. See Remote Access.
- Session Timeout can be set up to 12 hours; writes above 720 minutes are rejected and a stored value above 720 is enforced as 720.
- API contract changes:
GET /backup/snapshots/:id/browsereturns one directory level per request (dir,limit,cursor; entries no longer carrychildren).POST /tunnels/:id/http-ticketreturns{ ticket, url, mode }and rejects amodeother thanframeortab. A request carryingx-breeze-tunnel-sitegets 421 unless it is for a tunnel host with the dedicated origin on. breeze-agent enroll --site-idis deprecated and ignored; the site comes from the enrollment key. Scripts that pass it keep working and print a warning.- Trust Center needs no configuration and no ingress change: public pages use the existing
/portalroute. If your proxy stripsX-Forwarded-Proto/X-Forwarded-Host, canonical URLs fall back to the internal origin. See Trust Center.
Environment variables
Section titled “Environment variables”No new required variables. New optional: AGENT_ECH_ENABLED, HEARTBEAT_RETAIN_STATE_ENABLED, BREEZE_ADMISSION_MODE and its tuning knobs, AGENT_BODY_RECEIVE_TIMEOUT_MS, AGENT_BODY_RECEIVE_TOTAL_TIMEOUT_MS, BREEZE_EDR_ACTIONS_ENABLED, LLM_EGRESS_EVENTS_RETENTION_DAYS / _BATCH_SIZE / _MAX_BATCHES, TUNNEL_ORIGIN_TEMPLATE, TUNNEL_FRAME_ANCESTOR, the three MIGRATION_WINDOW_* settings, and the web build-time flag PUBLIC_ENABLE_ENDPOINT_MESSAGING. AGENT_ECH_ENABLED and HEARTBEAT_RETAIN_STATE_ENABLED accept only true or false; a malformed TUNNEL_ORIGIN_TEMPLATE, or one that shares a registrable domain with an app origin, also stops the API from booting. See Environment Variables.
Migrations
Section titled “Migrations”51 idempotent migrations apply on boot when upgrading from v0.122.1 ([auto-migrate] Applied 51 migration(s)); none of the earlier files were modified or removed. Most DDL is additive: new tables for restore-point attempts, operator plan approvals, caller verification links, migration windows, topology presence, ticket links, LLM egress rollups, connection health incidents, EDR actions, trust pages, the service catalog and org evidence holds. No migration adds a NOT NULL column without a constant default.
Update Ring app-rules backfill
Section titled “Update Ring app-rules backfill”2026-12-26-230000-ring-app-rules-backfill.sql is a data migration. It moves per-app block and pin rules from configuration-policy patch links onto Update Rings, normalised the way the runtime does:
- A link with no ring that carries rules gets a new ring named
<policy> — app rules, which approves nothing. - Where the policies sharing one ring disagree, the ring keeps one set, and each other set gets a clone named
<ring> — <policy>with that ring’s patch approvals copied. These rings appear in the Update Rings list. - Links to an invalid ring are skipped and counted; those policies now fail closed (
ring_reference_invalid). - It aborts the migration, and the API does not boot, if a rule it would move has a package id with non-ASCII characters, or if a ring already carries different non-empty rules. The error names the policy feature link or the ring: edit that rule, or make the ring’s rules match, then restart (see Migration Failure Recovery). On a successful run the API start log has warnings containing
ring_app_rules_backfill <metric>=<n>with the counts. - Policy-level auto-approve is not converted. While it relinks, it briefly locks the affected partners and their organizations.
Other migrations worth knowing about
Section titled “Other migrations worth knowing about”- PAM org-move trigger (
2026-12-27-170000). Restamps only un-actuated elevation requests when a device moves organization. Fixes org moves that aborted with error 42501. - Backfills over existing rows:
device_epochis set on existing elevation requests and PAM actuations, then three foreign keys are validated (a scan of those tables); every time-entry line on a draft invoice is marked as hand-edited, so Refresh from time entries never overwrites a description that existed before the upgrade (issued and void invoices are untouched); the endpoint messaging permissions are granted as described above. - Concurrent index builds on
discovery_jobs,organization_users,automations,tickets,ticket_comments,ticket_external_refsanddevice_commandswait for long-running transactions and don’t block writes. If one of thediscovery_jobs,organization_users,automationsor ticket builds is interrupted, the next start refuses with an “INVALID index” message naming the index: runDROP INDEX CONCURRENTLY <name>;and restart. Thedevice_commandsbuild has no such check: after an interrupted start, checkidx_device_commands_set_log_level_device_completedforindisvalid = falseand drop it if so. metric_rollupspartitions get tighter autovacuum-analyze settings (does not block reads or writes), and the audit-chain verify functions are replaced in place.- One-way enum additions (Postgres cannot drop an enum value):
config_feature_typesystem_protectionandsecurity_agents,security_providerunknown,monitor_kindcontainer_image_currency,notification_typeintegration, and the new ticket type enum.
Known gaps
Section titled “Known gaps”- Workload inventory on Docker with the containerd image store misclassifies a locally built image as “Not checked / private registry” instead of “Local build” (#8993). Fix planned for the next release.
- Caller verification, if you enable it: on a deployment with no email transport, a rejected workstation verification is retried every 5 s (#8998). Leave the flag off, as shipped, or configure email first. Fixed in v0.124.0 (#9065).
- PAM on an RDS session host: the on-demand helper lifecycle leaves no SYSTEM helper, so elevation never completes unless
helper_lifecycle_mode: always-onis set inagent.yaml(#8996). Pre-existing.
v0.122.1 — remote desktop clipboard v2, diagnostic file access, Partner API tickets, restore integrity
Section titled “v0.122.1 — remote desktop clipboard v2, diagnostic file access, Partner API tickets, restore integrity”Upgrade order.
- Back up the database. Avoid a database backup window for the upgrade itself (see Migrations below).
- Update agents and rebuild recovery media to v0.120.0 or later, if you have not already: restores from older backup helpers are refused once the server is on v0.122.1.
- Review partner service principals: remove
tickets:*scopes that should not be live, and have each principal’s owner rotate any key another admin issued (details below). - Upgrade the server:
bash guided-setup.sh --upgrade 0.122.1on a digest-pinned install (fetch the currentguided-setup.shfrommainfirst), or setBREEZE_VERSION=0.122.1and rundocker compose pull api web portal && docker compose up -d. - Merge the Compose file changes if you maintain your own Compose file.
- Let agents, Breeze Assist and Breeze Viewer update to 0.122.1. Clipboard v2, diagnostic file access and identity sync after a device move need this release’s agent.
Breaking changes
Section titled “Breaking changes”- Legacy AI model settings removed. The AI model registry (AI Providers & Models) is now the only AI model configuration.
/api/v1/ai/provideris gone (404). Use/api/v1/ai/models:GET /ai/models,POST /ai/models/connections,POST /ai/models/connections/:id/key,POST /ai/models/connections/:id/endpoint,DELETE /ai/models/connections/:id, andPUT /ai/models/assignmentsfor per-feature defaults. See the API reference.- Retired request fields are rejected with HTTP 400 that names the field and its replacement:
reviewerModelon both script-policy endpoints,allowedModelson the AI for Office organization policy, andmodelon AI agent create/update/preview (sendofferingId). They were already ignored; GET responses no longer include them. BREEZE_AI_SCRIPT_REVIEWER_MODELandWORKSPACE_CONTENT_LLM_MODELare no longer read. Remove them from.env. New partners start every feature on the platform default model (ANTHROPIC_MODEL, else the default set on Admin → AI models).- Skipping releases: the one-time conversion of legacy AI settings into the registry ran only in v0.121.0. If you upgrade straight from an older release, each partner is set up from the platform default instead; a partner with its own Anthropic key keeps using it, but its legacy per-feature choices (script reviewer, AI for Office, AI agent allowlists) are not carried over. Set them again under AI Providers & Models.
- No schema change for this in v0.122.1. The legacy table and columns are archived and dropped in the next release.
- Restores need a v0.120.0 or later backup helper. Restores that write, import or boot a backup (file, SQL Server, Hyper-V, restore as VM, instant boot, bare-metal recovery and rebuild) are refused for devices whose backup helper cannot check restores against snapshot attestations, with “Update the Breeze agent on this device, then try again.” Recovery media and recovery tools older than v0.120.0 are refused. Verification and test restores are unchanged. Snapshots taken before attestations existed show as Not verified; restoring one needs a technician’s two-factor confirmation, and AI tools and DR plans refuse them. See Integrity checks on restore.
- Partner API
tickets:*grants take effect. v0.121.x let admins granttickets:readandtickets:writeto a partner service principal before the ticket routes existed. This release adds the routes (/api/v1/partner-api/tickets*), and a principal that already holds those scopes can use them immediately:tickets:readreads every ticket and comment, including internal notes, in every organization the principal reaches, andtickets:writecreates and updates tickets and posts comments, including customer-visible replies that email the requester. Before upgrading, review which principals holdtickets:*(Settings → Partner Service Principals) and remove the scopes where they don’t belong. Scopes granted before the upgrade are not re-checked against the granting admin’s own permissions. - Partner service principal keys belong to the principal’s owner. Only the admin who created a principal can issue or rotate its keys, re-enable it, add a scope, or widen its expiry or source-CIDR restriction; other partner-wide admins get
403but can still revoke keys, disable the principal, remove scopes and rename it. Every scope is a delegation the granter must hold. Keys stop when the owner’s password is changed or reset, the owner’s account status or MFA factors change, or the owner is removed from the partner; signing out does not stop them. Existing keys are bound to their owner’s current state on upgrade and keep working.- Over MCP, a key that another admin issued on someone else’s principal is refused until the owner rotates it (the Partner API keeps accepting it). Have principal owners rotate such keys before upgrading.
- Plan for owner off-boarding: an integration whose principal belongs to a departing admin stops when that admin is disabled or removed. Create a replacement principal under another admin first.
- Organization API keys: only a key’s creator can rotate it (
403for anyone else, who can still revoke it). - Rolling deploys: API containers still on v0.121 cannot issue or rotate service principal keys once the migration has run.
- See Who can manage a partner service principal.
- New
webhooks:readpermission. Viewing webhooks and their delivery history (the Webhooks tab,GET /webhooks*and the assistant’squery_webhookstool) needswebhooks:readinstead oforganizations:read; managing them still needsorganizations:write. Org Admin, Org Technician, Partner Technician and any custom role withorganizations:writereceive it on upgrade. Partner Viewer, Partner Security Approver and any custom role withorganizations:readbut notorganizations:writelose webhook visibility until an administrator addswebhooks:readunder Settings → Roles. The migration logs awebhooks-read-permission:warning with the count and up to 20 names of the affected custom roles. The delivery list no longer returns deliverypayloadorresponseBody. See Webhooks.
Other behaviour changes
Section titled “Other behaviour changes”- Installer bootstrap tokens default to 7 days and last at most 30 days.
INSTALLER_BOOTSTRAP_TOKEN_TTL_MINUTESdefaults to10080in code and both Compose files (it was1440under Compose); values above43200are clamped with a startup warning. An explicitttlMinutesabove43200on the installer download orPOST /enrollment-keys/:id/bootstrap-tokenreturns400. The Add Device Installer tab offers up to 30 days. Installer links and enrollment keys still accept up to a year, but each installer downloaded from a link carries a token of at most 30 days. Installers already downloaded keep their expiry. See Installer Bootstrap Tokens. - Patch compliance report files are kept for 30 days, then removed by a daily job; the report shows as
expiredand its download returns 410. SetPATCH_REPORT_RETENTION_DAYSto change the window. On the first run after upgrading, existing reports older than the window are expired. - Diagnostic file access lets the AI assistant list and read approved folders on one device, read-only and time-boxed, after an administrator approves. Credential material is never grantable, file content is redacted for secrets, and a sole operator approving their own request must use a passkey or Breeze Authenticator. Diagnostic reads need agents from this release. See Diagnostic File Access.
- AI for Office prompt templates have their own permissions,
client_ai_templates:readandclient_ai_templates:write, replacingorganizations:read/organizations:writeon the template manager. Roles holdingorganizations:readreceive read and roles holdingorganizations:writereceive write on upgrade, which gives the built-in Org Admin new write access. Org Technician and Org Viewer get neither. Template changes also require MFA when your MFA policy requires it. - Second-factor confirmations. Approving an audit baseline apply request requires an MFA session when
ENABLE_2FAis on (API keys cannot approve), and is refused with 409 when a target device has since been decommissioned, deleted or moved. Charge now, saving payment settings when a value changes, and sending an automatic-payment request to an address other than the billing contact ask for a fresh authenticator code or passkey from a signed-in session. Closing a remote tunnel needsdevices:execute,remote:accessand MFA; fleet findings status changes need MFA; opening the live event stream needsdevices:read. - CIS hardening and IOC auto-quarantine run under an approving user. Editing CIS baselines or remediations and turning on IOC auto-quarantine need
devices:executeand MFA. An existing schedule keeps running while its creator is active and holdsdevices:execute; otherwise it pauses with “Needs re-approval”, an IOC scan runs detect-only, and a remediation returns to pending approval until someone withdevices:executeand MFA saves it again. Approved CIS remediations not dispatched within 7 days return to pending approval. - Automatic payments run only for active partners. For a suspended, churned, offboarding, pending or deleted partner, enrollment, charges, retries and card-expiry emails stop for all of its clients; stop and skip links keep working. An invoice’s Reset link also revokes the automatic-payment links sent for it. An invoice over the client’s automatic-payment limit is refused before anything is created at Stripe. See Online Payments.
- Device purge and organization erasure keep backup objects in storage. Storage cleanup no longer deletes them later, including those past retention, so storage is not reclaimed on purge or erasure. A legal hold on a backup or configuration policy blocks purge and erasure (
409). Organization erasure now completes for an organization that is in use. - Deleting a role that an access review covered returns 409 (“Role is referenced by access reviews”). Deleting a notification channel keeps the delivery history it produced, and deleting a maintenance window removes all of its occurrences.
- Moved devices take their new organization and site through a signed identity update and restart their agent once, after a random 0–60 s delay. This needs a deployment signing key. The server creates one the first time it signs anything: registering its own agent binaries (
BINARY_SOURCE=local), issuing an agent rollback, or approving a diagnostic file access grant. Until then (the usual state on the defaultBINARY_SOURCE=github) a moved agent keeps its enrolled organization and site, as before, and the API logs a one-time warning. Agents withBREEZE_ORG_ID/BREEZE_SITE_IDin their environment cannot take the new identity; they retry the restart at most twice and then stop. - Bounded database pool waits. A request queued behind a saturated pool now fails after
DB_POOL_ACQUIRE_TIMEOUT_MS(default 10000;0restores the unbounded wait), logged as[db-pool-acquire]. Workers may show more job retries under saturation. WithDB_POOL_MAXbelow 3 the API logs a warning at startup. - Several API instances: some organization and partner settings (agent update policy, version pins, topology flags, helper settings, policy probe, PAM fallback) are cached per API process for up to 60 s, and the remote-management relay setting for up to 180 s. The instance that handled a change applies it immediately. A reinstated device or tenant can take up to 60 s to be accepted again.
- Breeze Assist starts hidden in the tray when the agent starts it, its tray menu no longer has Exit, and the
showTrayIconpolicy option is removed. The Helper API returns 403 for a device whose effective Helper setting is off. - Breeze Viewer shortcuts move to a prefix chord: Ctrl+Alt+Shift+F/V/R on Windows and Linux, ⌃⌥⌘F/V/R on macOS (fullscreen, paste as keystrokes, release stuck keys), so Ctrl/Cmd+Shift+V and +F reach the remote.
- Add Device: the Windows install one-liner enrolls before installing the service and no longer ends with
service start. On split deployments the install command usesPUBLIC_API_URL(elseAPI_URL) from the API, so setPUBLIC_API_URLon the API when the dashboard and API are on different hosts. With object storage configured, watchdog downloads stream through the API instead of redirecting. - Enrollment keys with an
expiresAtin the past are refused with 400. Discovery profiles with a subnet larger than /16 need deep scan. - Cloudflare Gateway DNS Security tokens also need Account Analytics: Read. DNS filtering policy edits now reach providers; changes left pending by an earlier release are not pushed automatically, so remove and re-add those domains (see DNS Security). Sending-domain auto-suspension now runs; on self-hosted installs it is on only if you set an
EMAIL_DOMAINS_AUTOSUSPEND_*variable. - Microsoft 365 Customer Graph executors you run yourself must be updated to images that serve
POST /v1/verify-identity(read and actions) before you upgrade the API, or onboarding fails asexecutor_unavailable. A consent in progress during the upgrade must be restarted. On Azure Container Apps, executors can bind to loopback withM365_GRAPH_READ_EXECUTOR_BIND_HOST=127.0.0.1/M365_GRAPH_ACTIONS_EXECUTOR_BIND_HOST=127.0.0.1. - Email: customer-facing mail uses your company name as the display name when
EMAIL_FROMis a bare address; anEMAIL_FROMwith its own display name is sent unchanged. - Webhooks and automations receive
ticket.commentedfor customer email replies. The assignee notification for a new ticket arrives on the next outbox pass, about 5 seconds later. - Linux patches on deferred update rings start auto-approving once the deferral has passed since the device first reported the patch. Windows and macOS patches with no release date still wait for manual approval.
- Policy assignment ties: when two configuration policy assignments tie on every ranking key, the earliest-created now wins. A device decided by an exact tie may change once after the upgrade.
- Metric anomaly episodes need three 5-minute buckets (
METRIC_ANOMALY_EPISODE_MIN_BUCKETS, was 2), and RAM growth opens one only on a new 7-day high. - Helper screenshot cleanup catches up: the first retention run deletes expired screenshots and orphaned files that accumulated before. With several API containers, each sweeps only its own local files.
- Quotes use the partner’s Settings → Branding logo and colours; contract PDFs generated from now on may paginate slightly differently. Hardware lines without a SKU or part number are left out of the parts order.
- Time capture settings: Settings → Ticketing → Time capture used to show both suggestion toggles as off and save those defaults back over the stored values. If you saved that card on an earlier version, re-check “Suggest time entries from remote sessions” and its thresholds.
- Building the agent from source needs Go 1.26.9. With the default
GOTOOLCHAIN=auto,go buildfetches it; withGOTOOLCHAIN=local, install it first. Pre-built agent binaries need no action.
Environment variables
Section titled “Environment variables”No new required variables. New optional: PATCH_REPORT_RETENTION_DAYS, PATCH_REPORT_ORPHAN_MIN_AGE_MS, DB_POOL_ACQUIRE_TIMEOUT_MS, DB_TIMER_LAG_GRACE_MS, PARTNER_API_TICKET_WRITE_RATE_LIMIT_PER_HOUR, PARTNER_API_TICKET_WRITE_PARTNER_RATE_LIMIT_PER_HOUR, PARTNER_API_IDEMPOTENCY_RETENTION_ENABLED and PARTNER_API_IDEMPOTENCY_RETENTION_DAYS. Changed default: INSTALLER_BOOTSTRAP_TOKEN_TTL_MINUTES (10080, capped at 43200) and METRIC_ANOMALY_EPISODE_MIN_BUCKETS (3). Changed meaning: MCP_UNATTENDED_TIER3_PRINCIPALS also accepts partner_sp:<principal id>. No longer read: BREEZE_AI_SCRIPT_REVIEWER_MODEL, WORKSPACE_CONTENT_LLM_MODEL. See Environment Variables and the Compose file changes.
Migrations
Section titled “Migrations”76 idempotent migrations apply on boot ([auto-migrate] Applied 76 migration(s)). A 77th file, under migrations/preflight/, is a read-only check for the next release’s legacy AI drop and is never applied automatically. Most DDL is additive: new tables (diagnostic access grants, backup restore authorizations, Partner API idempotency keys, EDR providers, device ownership history, reliability baselines, physical placements, contact roles, fix memory and others), new columns, the new permissions above, and RLS policy updates.
- Brief exclusive locks: avoid a backup window. The
2026-12-13-110000,-110100and-110200migrations redefine foreign keys on child tables ofusers,devices,alerts,tickets,rolesand others. Each swap briefly takes an ACCESS EXCLUSIVE lock on the child and the parent table and waits at most 5 s for it. If a long-running reader (a large report, apg_dump) holds one of those tables, the migration stops, the API fails to boot with a lock-timeout error, and it re-applies cleanly on the next restart. No data is rewritten; the new constraints are validated afterwards without blocking writes. Thetime_entries,tickets/ticket_partsandsitescolumn migrations use the same 5 s lock timeout. audit_logsindex and validation scan.2026-12-05-110100-audit-logs-partner-scope-index.sqlbuilds an index withCREATE INDEX CONCURRENTLYand then validates a constraint. Audit writes continue, but on a largeaudit_logstable this can add minutes to the first boot. If the build is interrupted, the next start refuses with an “INVALID index” message: runDROP INDEX CONCURRENTLY audit_logs_partner_scope_idx;and restart. Partner-level audit events recorded before the upgrade stay hidden.- Other concurrent index builds on
remote_sessions/tunnel_sessions,tickets,time_entriesandsiteswait for long-running transactions and don’t block writes. If one is interrupted, the next start names the index; drop it withDROP INDEX CONCURRENTLY <name>;and restart. - Backfills. Network-monitor alerts are rewritten so endpoints show as scheme and host (each rewritten alert is re-delivered once on the Partner API alerts feed); one ownership row is created per existing device, in batches; report run ownership is copied from each report, briefly holding report generation; contact roles are back-filled from existing contacts; existing partner service principal keys are bound to their owner’s current state; grandfathered CIS and IOC approvals are logged with counts.
backup_configs.encryption_keyis dropped. The column has no writer. If any row still holds a value, the migration refuses and the API does not boot (refusing to drop backup_configs.encryption_key: N row(s) still hold a non-null value). Review and clear those rows, then restart.- New permissions granted to roles as described above:
webhooks:read,client_ai_templates:read/:write,sites:set_location(Partner Technician, Org Technician and Org Admin) andtickets:record_approval(every role that holdstickets:manage).
v0.121.0 — AI model registry, BYO OpenAI-compatible models, encrypted backup credentials
Section titled “v0.121.0 — AI model registry, BYO OpenAI-compatible models, encrypted backup credentials”Security. v0.121.0 fixes GHSA-vjqq-fmr4-m576 (High: a user who can configure a webhook, alert channel or image-from-URL field, or whoever runs the URL it points at, could repeatedly stop the API process) and GHSA-7xq8-mcq6-j438 (Low: a technician limited to selected organizations could read, edit or delete ticket comments in the partner’s other organizations). Upgrade from 0.120.0 or earlier.
Don’t skip this release on the way to v0.122.1. The one-time move of legacy AI settings (script reviewer, AI for Office and AI agent model choices) into the AI model registry runs in v0.121.0. An install that jumps straight to v0.122.1 starts each partner from the platform default and loses those choices.
Upgrade order.
- Back up the database.
- If you use
MCP_LLM_PROVIDER=openai-compatible, prepare the changes below (explicitIS_HOSTED=false, nolocalhostURL, a tool-capable model). - Upgrade the server:
bash guided-setup.sh --upgrade 0.121.0on a digest-pinned install, or setBREEZE_VERSION=0.121.0and rundocker compose pull api web portal && docker compose up -d. - Merge the Compose file changes if you maintain your own Compose file.
- Let agents and Breeze Assist update to 0.121.0.
MCP_LLM_PROVIDER=openai-compatible installs
Section titled “MCP_LLM_PROVIDER=openai-compatible installs”The instance-wide OpenAI-compatible chat path becomes a connection in the AI model registry. See Bring Your Own LLM Key.
- Set
IS_HOSTED=falseexplicitly. IfIS_HOSTEDis unset, empty or not a recognised self-host value, the API refuses to start withMCP_LLM_PROVIDER=openai-compatible is for self-hosted Breeze (set IS_HOSTED explicitly to false)…. The stockdocker-compose.ymlpassesIS_HOSTED: ${IS_HOSTED:-false}, so a Compose install getsfalseunless it overrides it; systemd, Kubernetes and bare Node installs must set it. - At boot, each partner gets one read-only, env-managed connection and a priced, enabled model (prices from
MCP_LLM_PRICE_INPUT_PER_M_USD/MCP_LLM_PRICE_OUTPUT_PER_M_USD), verified once. Chat is pointed at it once, only where chat used the platform default. Restarts and multiple replicas don’t create duplicates. Partners created later get their connection within 10 minutes. - The model must support tool calling to serve chat. A model that fails tool-use verification can’t serve chat; chat says to choose a tool-capable model.
- Loopback, link-local and cloud-metadata URLs are refused, so
http://localhost:11434(the usual Ollama URL) no longer works. Use the Docker service name or the host’s LAN address; private-network addresses overhttp://are allowed on self-host. The API still starts, bootstraps nothing, logs[envOpenAiBootstrap] MCP_LLM_BASE_URL refused: …and retries at 1, 5, 15 and 60 minutes, then every 10 minutes. MCP_LLM_API_KEYis optional but must be at least 8 characters when set.- Removing the variables keeps the connection active and read-only; you can disconnect it in the UI. Delete the
MCP_LLM_BASE_URLline rather than blanking it: an empty value fails config validation. - Model server sizing. Allow at least 70k tokens of context. The gateway waits up to 120 seconds for a self-hosted model server to start responding (30 seconds on hosted); raise
AI_GATEWAY_HEADERS_TIMEOUT_SECONDS(5–600) for slow or CPU-only servers. When it runs out, the request returns504naming the setting and the API logs[modelGateway] upstream sent no response headers within the <N> ms response-header deadline.
AI model settings move to AI Providers & Models
Section titled “AI model settings move to AI Providers & Models”- Model choices from the Office policy editor, the script-reviewer model fields and the partner AI provider default are migrated once, on first start, into Partner Settings → AI Providers & Models. The API logs
[startup] AI model registry cutover sweep: … N partner(s) cut over, 0 failed. BREEZE_AI_SCRIPT_REVIEWER_MODELandWORKSPACE_CONTENT_LLM_MODELare no longer read at runtime; their values are migrated at that first start.ANTHROPIC_MODELremains the bootstrap default.- Deprecated, removed in v0.122.1:
/api/v1/ai/providerand thereviewerModel,allowedModelsand AI agentmodelrequest fields. In v0.121.0 they still work and the retired fields are ignored. See the API reference for the replacements. - Residency switch. Turning on the residency requirement disables every AI feature whose model can’t guarantee it; BYO OpenAI-compatible models are never residency-eligible.
AI_PLATFORM_INFERENCE_GEO(new, optional) acceptsusorglobal; any other value takes platform models offline, and the API warns at boot. - AI chargeback is off until you configure it. Every billing profile starts as not billed, and usage from before this release is never billable. A daily job (05:28 UTC) closes the previous UTC month per organization. Chargeable usage is kept at least 156 days regardless of
AI_INVOCATIONS_RETENTION_DAYS. Installs without a billing service never mark AI usage for credit debit. See AI Usage Chargeback.
Other behaviour changes
Section titled “Other behaviour changes”- API keys and sign-out. A sign-out, role change, email change or organization merge no longer stops a key minted by a person; a password change or reset, invite acceptance, an admin status change or an MFA factor change still does. Keys that stopped working after a sign-out on v0.120.0 are not revived: mint a replacement. See API Keys.
- Duplicate built-in alert rules are merged once at upgrade. The oldest copy is kept; if any copy was switched off, the merged rule is off. Open alerts from removed copies move to the kept rule, and where two were open for the same device the extra one is resolved as
source_retired. The API logs#7650: …warnings with the counts. - Metric history. On the first daily metric-rollup maintenance run, rows in the catch-all
metric_rollups_defaultpartition move into monthly partitions (rows past your 5-minute retention are discarded, as before). Until it finishes, those older points are missing from charts. Look for[MetricRollupMaintenance] … drained metric_rollups_default: moved=N discarded=M. - Quick Support always shows the viewing indicator, whatever the device’s remote access indicator setting, and AI screen tools are refused on Quick Support devices. See Remote Access.
- Agent enrollment rate limit is configurable with
AGENT_ENROLL_RATE_LIMIT(default 10) perAGENT_ENROLL_RATE_WINDOW_SECONDS(default 60), per source IP. Raise it for mass deployments behind one NAT address. A non-integer or non-positive value stops the API from starting. - Breeze Viewer on Windows. Viewers on 0.118–0.120 whose in-app update kept failing pick up 0.121.0 on their next launch; no reinstall is needed. A failed update now names the stage and the log path (
%LOCALAPPDATA%\com.breeze.viewer\logs\updater.log). As a fallback, downloadbreeze-viewer-windows.msifrom the release and run it once.
Environment variables
Section titled “Environment variables”No new required variables, except IS_HOSTED=false on MCP_LLM_PROVIDER=openai-compatible installs (above). New optional: AI_PLATFORM_INFERENCE_GEO, AI_GATEWAY_HEADERS_TIMEOUT_SECONDS, AGENT_ENROLL_RATE_LIMIT and AGENT_ENROLL_RATE_WINDOW_SECONDS, all mapped in both Compose files. Deprecated (no longer read): BREEZE_AI_SCRIPT_REVIEWER_MODEL, WORKSPACE_CONTENT_LLM_MODEL.
Migrations
Section titled “Migrations”45 idempotent migrations apply on boot ([auto-migrate] Applied 45 migration(s)). Some are named earlier than v0.120.0’s newest; they still apply, in order. Most are additive: tables for the AI registry cutover and AI chargeback, autopay foundation tables (off for every partner), new columns on AI, billing profile, user and API key tables, a unique index on built-in alert rules, the Partner API ticket groundwork (ticket_external_refs, and tickets:read / tickets:write as allowed service-principal scopes that have no effect yet), and a topology index.
- Three indexes are built with
CREATE INDEX CONCURRENTLY, outside a transaction, so writes continue. If theai_budget_reservationsbuild is interrupted, the next start refuses with an “INVALID index” message: runDROP INDEX CONCURRENTLY ai_budget_reservations_session_turn_idx;and restart. The other two have no such guard, so check them after the upgrade:If either isSELECT c.relname, i.indisvalid FROM pg_index i JOIN pg_class c ON c.oid = i.indexrelidWHERE c.relname IN ('ai_invocations_chargeable_idx', 'idx_device_commands_install_patches_device_created');false, drop it withDROP INDEX CONCURRENTLY <name>;and re-run theCREATE INDEX CONCURRENTLYfrom its migration (2026-11-26-100150-ai-invocations-chargeable-idx.sqlor2026-11-19-101100-device-commands-install-patches-index.sql). - Brief locks. A few constraint and index steps on AI session, budget and egress tables scan while holding a write lock (well under a second at 300,000 rows per table in testing; expect a few seconds of paused AI chat writes on very large tables). No migration sets a lock timeout, so a long idle-in-transaction session on these tables delays boot.
- Device mTLS certificate repair. One migration records every device’s issued client certificate in the certificate history. It holds only a read lock on
devices, so agents keep checking in, but it runs inside the boot and can add seconds to minutes on a large fleet. It always logsWARNING device mTLS history reconcile: demoted <D> stale active rows, imported <I> issued certificates, skipped <S> devices…. Demoted certificates are revoked at Cloudflare in the background, 200 every 5 minutes.
v0.119.0 — network topology, time sync, Xero, S3 restores through storage sessions
Section titled “v0.119.0 — network topology, time sync, Xero, S3 restores through storage sessions”Security. v0.119.0 fixes GHSA-9qpw-p6rx-5f2h (High, agent: restoring a Windows backup as a Hyper-V VM could run code from that backup on the host), GHSA-c445-q84m-rph4 (Medium, server on a non-UTC host time zone) and GHSA-vjq5-x2g3-pjhq (Low, AI file tools). Upgrade the server and let agents and Breeze Assist update to 0.119.0.
Upgrade command. On a digest-pinned install (every guided-setup.sh install from v0.112.0), fetch the current guided-setup.sh from main and run bash guided-setup.sh --upgrade 0.119.0; it verifies the signed image inventory and rewrites BREEZE_VERSION and all four image digests together. Do not upgrade by only editing BREEZE_VERSION on a digest-pinned install: that pulls the images you already run. Delete the APP_VERSION: line from your own Compose file (details). Coming from v0.117.x or earlier, read the v0.118.0 notes first.
Behaviour changes
Section titled “Behaviour changes”- Live device inspection needs
devices:execute. Process, service, scheduled-task, event-log, file and registry reads, and the live session list, need it (/devices/:id/sessions/livealso acceptsremote:access). Org Viewer, Partner Viewer and the two seeded approver roles lose live inspection; custom roles that should keep it needdevices:execute. API keys with onlyai:readcan no longer trigger live reads. - Site scoping. Fleet security posture, threats, the executive summary and OS distribution respect site-restricted access.
- Remote consent. On devices whose policy is Require consent, VNC is refused (
409 CONSENT_REQUIRED_TRANSPORT_UNAVAILABLE) and desktop starts need a consent-capable agent (409 CONSENT_UPGRADE_REQUIRED); update those agents before the server. AI screen tools and Diagnose are refused on consent-mode devices. Audit actions are renamed:session_consent_denied→session_consent_blocked_unanswered,session_consent_bypassed→session_consent_blocked_unavailable. Update saved audit filters and SIEM rules; older rows keep the old names. - Approver assurance becomes the default for high- and critical-risk approvals from 2026-11-05 for partners that never saved an Approval Security choice. Move the date with
APPROVER_ASSURANCE_DEFAULT_ENFORCE_FROM. - Settings secrets are encrypted and masked. Notification secrets in partner, organization and site settings are encrypted by a background sweep after first boot (using
APP_ENCRYPTION_KEY) and returned as********; integrations that GET then PUT settings must send the marker back unchanged. If you run a separateworkercontainer, roll it together withapi. - Billing contact. Invoices and quotes go to the organization contact with the Billing role, with no fallback to the primary contact. Fix affected organizations in Contacts.
- Compliance alerts stay open until the device is compliant. Duplicate rule set names within one policy are refused.
- Built-in time-sync monitors are provisioned for every partner but not attached, so nothing alerts until you attach them. Opt out with
BREEZE_BUILTIN_MONITORS_AUTOSEED=false. - AI not configured. Without a usable model provider, chat and the script builder answer
503 ai_not_configured.
Environment variables
Section titled “Environment variables”No new required variables. New optional: XERO_CLIENT_ID, XERO_CLIENT_SECRET, XERO_REDIRECT_URI, XERO_WEBHOOK_KEY, XERO_DAILY_CALL_LIMIT (Xero stays hidden until configured), AI_TOOL_SEARCH (auto, on, off), APPROVER_ASSURANCE_DEFAULT_ENFORCE_FROM, PRE_ASSIGNMENT_ENROLLMENT_ENABLED (default false) and METRIC_ANOMALY_EPISODE_MIN_BUCKETS. METRIC_ROLLUP_MAX_DELETE_BATCHES is no longer read. Never set BREEZE_BINARIES_VERSION; it is baked into the image. See Environment Variables.
Migrations
Section titled “Migrations”50 idempotent migrations apply on boot, all before the API serves. Take a database backup first.
- Backup history backfill. One migration writes a reservation row per existing backup snapshot (about 13 seconds per 300,000 snapshots in testing). Check
SELECT count(*) FROM backup_snapshots;beforehand if your backup history is large. notification_channels.configis dropped. On a v0.118.x image, alert delivery keeps working but creating or editing a notification channel fails. Do not roll back below v0.118.0.- Metric history storage. Older months are rewritten by the nightly maintenance job once their 5-minute data has expired. Set
METRIC_ROLLUP_5M_RETENTION_DAYS=30(in.envand theapiservice’senvironment:block) to reclaim space sooner. If the migration role can’t create themetric_rollups_stagingschema, create it by hand.
v0.120.0 — S3 backups through storage sessions, restore integrity, consent prompt protocol 2
Section titled “v0.120.0 — S3 backups through storage sessions, restore integrity, consent prompt protocol 2”Upgrade order.
- Update every device that backs up to S3 to agent v0.119.0 or later, and move storage endpoints and the agent API to HTTPS (above).
- Back up the database.
- Upgrade the server:
bash guided-setup.sh --upgrade 0.120.0on a digest-pinned install, or setBREEZE_VERSION=0.120.0and rundocker compose pull api web portal && docker compose up -d. - Merge the Compose file changes if you maintain your own Compose file.
- Let agents and Breeze Assist update to 0.120.0. Server first: a server older than this release refuses consent- and notify-mode desktop starts on updated agents.
- Open each Backup policy’s Destination section and work through the storage key card: replace each listed key with your storage provider, disable the old one, then use Check old key or I disabled this key.
Backups and restores
Section titled “Backups and restores”- Who is refused for S3 backups. A device whose backup component has reported it cannot write through a storage session (
409 helper_update_requiredon the on-demand SQL Server and Hyper-V routes; scheduled jobs fail with “Update the Breeze agent on this device, then try again.”), anhttp://storage endpoint, a plain-http://agent API or a missingPUBLIC_API_URL, and providers other than S3 and local. Devices that have not reported yet are held until their first heartbeat. Themanage_backup_configsAI tool accepts only thes3andlocalproviders. - Restores are checked against the snapshot’s integrity record. Every restore, verify, test restore, VM restore and bare-metal recovery carries the snapshot’s integrity expectations, and the updated backup helper checks the manifest and each file before installing it. A snapshot that failed its integrity check is refused; a snapshot without an attestation still restores and is labelled unattested. See Restoring from Backup.
- Windows restores are stricter. Reserved Windows names (
CON,NUL,COM1and the like), and path components containing:or ending in.or a space, are refused. A restored security descriptor naming accounts the machine doesn’t recognise is replaced with a restrictive one (owner Administrators; SYSTEM and Administrators only), and the result lists those paths.bmr_recoveron Windows restores files only; system state is applied by a bare-metal rebuild. - DR plans. A Bare metal rebuild step now waits up to 24 hours by default (was 4 hours).
Remote desktop start fence required by default
Section titled “Remote desktop start fence required by default”REMOTE_DESKTOP_FENCE_REQUIREDnow defaults totrue. Remote desktop (WebRTC and the WebSocket fallback) starts only on agents that report the session start fence, which agents v0.114.0 and later do. On an older agent the technician sees “Remote desktop needs an agent update on this device (session revocation lease and start fence support)…” (HTTP503 agent_upgrade_required, or the WebSocket errorAGENT_UPGRADE_REQUIRED) and no session starts. Terminal, Files and every other remote tool are unaffected. Agents update themselves; if you pin agent versions below v0.114.0, move the pin, or setREMOTE_DESKTOP_FENCE_REQUIRED=falseuntil they have updated. If your.envstill carriesREMOTE_DESKTOP_FENCE_REQUIRED=falsecopied from an older.env.example, that line keeps the fence off; remove it. A Compose file from an earlier release also passesfalsewhen the variable is unset, so an existing install keeps the fence off until you either setREMOTE_DESKTOP_FENCE_REQUIRED=truein.envor take the v0.120.0 Compose change. New installs get it on. A value that is not a recognized boolean (true/false, 1/0, yes/no, on/off) now refuses boot.- The WebSocket desktop fallback now behaves like WebRTC. The technician’s
view stays on connecting until the agent reports the stream started, so a
consent prompt is answered before anything is shown; a denial ends the session
as
deniedwith its reason. End stops the stream immediately. Updated agents also show the notify notice and on-screen indicator on this transport, keep the session lease (a Redis or API outage longer than about 90 seconds ends the stream, as it already does on WebRTC), and refuse a start that arrives after the session was stopped.
Consent prompts report whether they were shown
Section titled “Consent prompts report whether they were shown”Only devices whose remote access policy uses the consent prompt are affected.
- A signed-in user who cannot be shown the prompt is always refused, whatever “If no one can respond” says (for example, Breeze Assist not running or a native dialog failing). That setting still applies when nobody is signed in, and when a prompt the user could see went unanswered.
- On macOS and Linux an unanswered prompt is refused, because only Windows reports the lock state reliably.
- Update Breeze Assist with the agent. An older Assist still handles Allow and Deny, but its unanswered prompts are refused.
- The technician sees a specific message for each outcome, and consent audit events gain
consentOutcome,consentOccupancyandconsentProtocol, plus the reasonsno_user_sessionandhelper_unreachable. See Remote Access.
Breeze Assist on Windows
Section titled “Breeze Assist on Windows”- Console session only. The agent delivers Assist’s credential only over its local channel to the active console session and no longer stores it in
agent.yaml. Assist in an RDP or other non-console session shows that it has not received its credentials until a later release adds support. - On first start the agent moves any credential it finds in
agent.yamlinto its protected secrets file and rotates it once. macOS and Linux are unaffected.
- The default model is
claude-sonnet-5-5with adaptive thinking. Existing chats keep their stored model, andBREEZE_AI_SCRIPT_REVIEWER_MODELfollows the new default. If AI runs through a LiteLLM or other gateway alias, add an alias forclaude-sonnet-5-5and let the gateway accept or drop the thinking parameters (LiteLLMdrop_params), or setANTHROPIC_MODELto your backend’s model id. See Environment Variables. POST /ai/sessionsrejects a model that isn’t offered (400 invalid_model).- AI model registry. Platform admins get Admin → AI models (
/admin/ai-models). A daily discovery job lists new Anthropic models for review; it never enables, prices or removes anything, and it is skipped whenANTHROPIC_BASE_URLpoints at a gateway. Routing, pricing and billing still come from your existing settings in this release.
Other behaviour changes
Section titled “Other behaviour changes”- API error codes. Five codes from device and agent routes now use the standard uppercase form:
SCHEME_NOT_ALLOWED,INVALID_CUSTOM_FIELD_VALUE(wasinvalid-custom-field-value),RACE_LOST,RE_ENROLLMENT_REQUIREDandSOFTWARE_INVENTORY_LOCK_TIMEOUT. HTTP statuses and messages are unchanged; update integrations that match on the old codes. - S3-backed binary hosting. Backup, watchdog, user-helper and recovery-media downloads are served from the
agent/prefix, and the Breeze Assist installer is synced tohelper/at boot. Thebackup/,watchdog/,user-helper/andrecovery-iso/prefixes are no longer read and can be deleted. An unsetHELPER_BINARY_DIRnow means the agent binaries directory. See Binary Distribution. - Device restores count against the device limit, like enrollment.
Environment variables
Section titled “Environment variables”No new required variables. REMOTE_DESKTOP_FENCE_REQUIRED now defaults to true (see above). New optional: AI_INVOCATIONS_RETENTION_DAYS (default 400), AI_INVOCATIONS_RETENTION_BATCH_SIZE and AI_INVOCATIONS_RETENTION_MAX_BATCHES. The audit-chain settings are now passed to the API by Compose; see Compose file changes.
Migrations
Section titled “Migrations”Twelve idempotent migrations apply on boot. They add tables for portal session revocations, backup storage key history and the AI model registry, seed the platform model catalog, and copy each partner’s AI provider setup into the registry. No large rewrites.
ai_sessionsindex. Built withCREATE INDEX CONCURRENTLYoutside a transaction. If the build is interrupted, the next start refuses with “ai_sessions offering index build left INVALID index”. RunDROP INDEX CONCURRENTLY public.ai_sessions_offering_idx;and restart the API.- First start. The API records the storage key each S3 destination uses and builds the AI registry from your current AI settings, logging one
[startup]line for each.
v0.118.0 — legacy alerting retired, network checks become monitors
Section titled “v0.118.0 — legacy alerting retired, network checks become monitors”Upgrade order.
- On v0.117.0, run Convert everything and review the refusals (above).
- Back up the database.
- Set
BREEZE_VERSIONto the new release in.env, then rundocker compose pull api web portal && docker compose up -d. - Merge the Compose file changes if you maintain your own Compose file or coturn configuration.
- Let every agent and Breeze Helper update to 0.118.0, then rebuild any recovery media you keep.
Update every agent and Helper. Many changes in this release take effect on a device only once it runs the 0.118 agent and Helper. Until then, the device keeps its previous behaviour. This covers installer secret handling, Windows local file and pipe checks, PAM file-hash pinning, the new restore path, the Hyper-V, restore-as-VM and instant-boot fixes, consent-prompt reporting, memory module inventory and the macOS binary move. A few paths refuse older agents rather than fall back; they are listed below.
Alerting and network checks
Section titled “Alerting and network checks”- Legacy alerting is retired. The policy Alerts and Service & Process Monitoring tabs are gone, and
/alerts/rulesredirects to Alerts → Monitors. Writes under/alerts/rules*and/alert-templates*, and writes to the retiredalert_ruleandmonitoringpolicy feature types, return410 Gone. Reads still work, so history stays available. - First boot converts what is left. The API converts any remaining legacy sources for each partner and retires the ones it cannot convert, with a reason for each. A dismissible banner under Alerts → Monitors lists them. Recreate what you need as monitors before you dismiss it. Open alerts from retired sources stay open until someone resolves them. Set
BREEZE_LEGACY_ALERTING_SWEEP=falseto skip the conversion at boot; the API still counts what is left. - Leftovers are logged on every boot. If any legacy policy alert rules or service/process watches are still unretired after the sweep, the API logs the counts at error level on every start. Nothing evaluates them any more. Restart the API to run the sweep again (after removing
BREEZE_LEGACY_ALERTING_SWEEP=falseif you set it), or run Convert everything. - Review alert routing before you upgrade. Queued legacy alerts and unconverted standalone rules no longer use their old per-rule delivery settings. Delivery follows the monitor’s settings, your routing rows and the explicit Everything else row. An alert that matches no destination sends no notification.
- Network checks move to Monitors. You now create and edit network checks as
network_checkmonitors under Alerts → Monitors. Network → Results is read-only and offers conversion of existing checks. Checks you have not converted keep polling and alerting. Creating or editing a check through the old endpoints returns410. An asset cannot be deleted while it still has active or retained checks (409). The boot sweep never converts or retires network checks. See Network Monitors. - Maintenance windows suppress monitor alerts again. On v0.117.0, Suppress alerts in a maintenance window did not stop monitor alerts, including alerts from rules converted to monitors. Expect fewer alerts during maintenance than on v0.117.0.
- Some monitor thresholds now fire. Bandwidth, disk I/O, network-error and patch-compliance monitors now evaluate in the units they display. Bandwidth thresholds had been compared about 8× too high, so a bandwidth monitor that never fired may fire now.
Dynamic groups as execution targets
Section titled “Dynamic groups as execution targets”Dynamic groups whose rules match on a field the device reports about itself no longer act as execution targets. These fields are hostname, display name, tags, device role, last user, agent version, Helper version, installed software (installed or not installed), and any custom field.
- Affected: scripts, automations, software policies and update rings. The automation, software, remote-access, PAM, maintenance, OneDrive and Assist policy features also skip such groups.
- Not affected: patch and backup assignments still resolve through these groups. So does every non-execution use of a dynamic group, such as views, filters and reports.
- Visible in the audit log. Each skipped group is logged with the fields that caused it. Where the request is interactive, the response also carries a warning.
To keep targeting these devices, rebuild the group on fields Breeze accepts for targeting, such as site, organization, OS, hardware, network facts or metrics. Or use a static group. See Device Groups.
Backups, restores and DR
Section titled “Backups, restores and DR”- DR plan steps cannot store credentials. A step whose restore settings include a recovery token or storage credentials fails when it runs. The upgrade removes those keys from saved steps, and saving a step that includes them is rejected. Open each affected step and save it again without credentials. Breeze resolves the storage destination from the snapshot when the step runs. See Disaster Recovery.
- Commands queued across an org merge or device move. A backup, restore or verify command that is still queued when its device changes organization is not delivered. This includes devices moved by an organization merge. The command is expired with a reason. Run it again after the move.
- Restores no longer receive storage credentials. A restore, verify or test-restore command no longer carries the storage destination. With the 0.118 backup helper, the device fetches each file it needs through a short-lived, read-only link that Breeze issues for that command and device only. Devices whose backup helper predates 0.118 keep using the previous path until they update. See Restoring from Backup.
- Restore as VM and instant boot report failures. A restore as VM that cannot place every file now fails before any VM is created, instead of reporting success. Instant boot runs its background sync inside the command, and an incomplete sync reports the VM as degraded. Hyper-V restore refuses a VM name that already exists.
- New run state: completed with errors. A backup run that produced a snapshot but could not read or upload some files (up to 10%) is now Completed with errors, not Completed. API consumers see the new status value
completed_with_errors. See Monitoring Backups. - Legal hold blocks erasure. Erasing an organization’s data is refused (
409) while any of its snapshots is under legal hold, and a legal hold cannot be placed on an organization that is being erased. Permanently deleting a device is refused while one of its snapshots is under legal hold or inside its immutability window. - Storage cannot be shared across partners. A bucket, endpoint or local path already used by an organization under another partner is refused. Organizations under the same partner can still share one.
- Cove name matches are no longer mapped automatically. Only a Cove customer whose external code is set to a Breeze organization ID is mapped on sync. Map name-only matches yourself. Mappings made before this release are not changed. See Third-Party Backup Providers.
- Recovery bundles verify their helper. A recovery bundle’s launch script checks the included helper binary’s signature before running it. Bundles need recovery signing configured on the server when they are built, and the machine that runs them needs
minisign(pluscurlon Linux and macOS). Rebuild recovery bundles after upgrading. The recovery console also no longer relaxes its HTTPS requirement forbreeze.insecure=1in interactive mode.
- Windows: linked data and log directories are replaced. If
C:\ProgramData\Breeze\dataorC:\ProgramData\Breeze\logsis a junction or symbolic link, the installer and the agent replace it with a real directory that only SYSTEM and Administrators can write to. Files in the old link target are not moved or copied, so copy anything you need first. If the link cannot be removed, the agent refuses to start and writes the reason toC:\ProgramData\Breeze\logs\agent-start-failed.txt. Remove the link by hand, then start the service. - macOS: agent binaries move only when
/usr/local/binis unsafe. Agents 0.118.0 through 0.118.2 moved the agent and watchdog binaries from/usr/local/binto/Library/Breeze/binon every Mac, on first start, which broke Full Disk Access for anyone on that path (macOS ties FDA to a bare binary’s file path, not its identity). Upgrade straight to 0.118.3 or later — do not promote 0.118.0-0.118.2 to Macs you cannot touch. From 0.118.3, the agent moves only when/usr/local/bin(or a directory above it) is not owned by root, or is group- or world-writable — the known case is Homebrew on Intel Macs, which hands that directory to an admin user. A stock Mac (root-owned, non-writable/usr/local/bin) never moves and keeps all of its grants. Only a Mac that does move needs Full Disk Access re-granted for/Library/Breeze/bin/breeze-agent; the agent logs a warning when it moves and reports amacos_fda_relocationself-health warning until the grant lands. A Mac already moved by 0.118.0-0.118.2 stays at/Library/Breeze/binon 0.118.3+ — it is not moved back, so a re-grant already done keeps holding. See macOS Permissions. - Helper token file. On Linux and macOS, the Helper token moves to
helper_token.yaml.
Access, MFA and limits
Section titled “Access, MFA and limits”- Account changes reach delegated access. A password change or reset, or an MFA factor reset, ends that user’s live remote sessions and invalidates the API keys they created before the change. A role change revokes the user’s refresh tokens. Service-principal keys are not affected, and the upgrade itself revokes nothing.
- More actions need a fresh MFA check:
- revealing a disk-encryption key;
- report email recipients;
- partner billing profiles and work types;
- org billing-profile assignment and org billing settings;
- linking a backup-provider device;
- topology template library changes;
- software-policy executable rules, which also need
pam:manage_policy; - AI script policy changes;
- deactivating a policy.
- Permissions. System Tools file-content and registry reads need
devices:execute, and so do sensitive event-log channels (Security, PowerShell, Sysmon). Reads of the agent’s own configuration directory and the SAM and SECURITY registry hives are always refused. Enrollment short codes are shown only to users who can create or rotate enrollment keys. Role, MFA-reset and member actions require the caller to hold every permission of the target user’s role. - PAM and AI approvals. An approval for a specific executable without its file hash is denied with a reason. AI elevation requests always wait for a human approver, and a requester cannot approve their own elevation. AI ticket comments are private unless approved as customer-visible. Newly discovered MCP tools must be reviewed before they are enabled.
- Enrollment and installers. Rotating an enrollment link issues a new short code, so the old
/s/and/i/links return404. A custom-field value used in installer arguments must not contain spaces, quotes or backslashes; otherwise that device’s install fails as an unresolved field. - Stored credentials stay tied to their destination. Changing a tool source, backup S3 endpoint, log-forwarding URL or monitoring integration URL to a new origin requires re-entering its credential. Changing an SNMP discovery profile’s subnets, exclusions or site requires re-entering or clearing its SNMP secrets.
- Remote sessions. Where the remote-access policy requires consent or an on-screen notice, desktop sessions over the WebSocket fallback to agents older than 0.118 are refused until the agent updates.
- New limits. Most can be tuned; see Environment Variables → Agent traffic and ingest budgets.
- public downloads: 600 requests per 5 minutes per route per IP;
- TURN credentials: 30 per 10 minutes per user;
- password-reset emails: one per account per 5 minutes;
- agent WebSocket messages, plus daily agent log, event-log and change-log ingest (
429when exceeded); - Helper screenshots;
- pending log-forwarding jobs per organization;
- the partner’s organization limit when creating organizations.
Other behaviour changes
Section titled “Other behaviour changes”- Public invoice and quote links stop working while the owning partner is not active.
- Adopting a sending domain that already exists at the email provider needs a DNS TXT record at
_breeze-verify.<domain>, or the domain listed inEMAIL_DOMAINS_ADOPT_EXISTING_ALLOWLIST. Otherwise provisioning ends asprovider_conflict. - Organization-scoped users cannot set audit-log retention below 90 days.
- Revoking a topology template is final.
- Inviting an address that already belongs to another tenant returns the normal success response.
- Public download routes, including
install.shanduninstall.sh, return503while Redis is unavailable. - With
BINARY_SOURCE=local, the Breeze Helper download is checked against the signed release manifest and returns503on a mismatch. Keep the manifest files next to the Helper binaries (HELPER_BINARY_DIRis respected). - Notification channel settings (webhook URLs, bot tokens, routing keys) move to their own table, which only the channel’s owner can read. The old column is kept for rollback and is dropped in the next release.
Environment variables
Section titled “Environment variables”No new required variables. New optional ones all have defaults; see Environment Variables. The four OFFLINE_DETECTOR_REEVAL_* variables no longer do anything: the job that read them was retired with legacy alerting. You can remove them.
Migrations
Section titled “Migrations”All migrations are idempotent and apply on boot. Migrations that change rows report their counts in the API log. Read these before upgrading:
- One accounting connection per partner. The API does not start if any partner has more than one accounting connection. Disconnect the extra provider first.
- Backup snapshot index. A new unique index on backup snapshots is built without blocking writes. If duplicate snapshot rows exist, the API logs a warning with the count and skips the index, and tries again on every start until the duplicates are resolved. If an interrupted build left an invalid index, the migration stops with an error. Run
DROP INDEX CONCURRENTLY backup_snapshots_storage_identity_snapshot_id_uqand restart. - Elevation audit index. Same pattern. If an interrupted build left the index invalid, run
DROP INDEX CONCURRENTLY public.elevation_audit_org_created_id_idxand restart. - Stored storage destinations are cleared. Storage destinations are removed from finished device commands, and credential keys from DR plan steps. On an install with a long command history, the first boot takes longer. Queued commands are left alone and cleared when they finish.
- Patch job results index. Built without blocking writes, but it can take a while on a large table.
- Network checks. A new asset/organization constraint on network checks stops the migration if existing rows already break that pairing. It converts and retires nothing.
Rolling back to v0.117.0 means restoring the database backup you took before upgrading, together with the v0.117.0 images.
v0.117.0 — legacy labour-pricing columns dropped
Section titled “v0.117.0 — legacy labour-pricing columns dropped”The six legacy labour-pricing columns are dropped. The migration removes
default_billable, default_hourly_rate and rate_currency from both
ticket_categories and org_ticket_settings. Nothing in Breeze has read them
since v0.115.0. Any report, BI query or integration that still selects them
directly from the database fails after this upgrade. Read pricing from the
billing-profile tables (billing_profiles, billing_profile_rules,
org_billing_profile_assignments) or from the values stamped on each time entry
(time_entries.hourly_rate, coverage, work_type_id, billable_minutes).
Nothing is lost: the old values are archived first. Before it drops the
columns, the migration copies every row that still holds a legacy value into a
new table, legacy_labour_pricing_archive. A few values never made it into a
billing profile during the v0.115.0 conversion. For those rows, skip_reason
says why:
skip_reason |
What the conversion did |
|---|---|
org_currency_off_list |
The organization’s currency is not on the supported list, so its rate and billable default were skipped entirely. |
org_rate_currency_mismatch |
The organization’s rate was entered in a different currency from the organization’s own, so the rate was not carried over. |
non_billable_org_rate |
The organization was non-billable but also had a rate. A non-billable card carries no rate, so the rate was dropped. |
non_billable_category_rate |
The category was non-billable but also had a rate. The rate was dropped. |
category_rate_currency_unsupported |
The category rate had no currency, or an unsupported one, so it was not carried over. |
| (empty) | Converted into a billing profile. The row is kept for reference. |
To see what still needs re-entering on Settings → Billing → Rates:
BEGIN;SELECT set_config('breeze.scope', 'system', true); -- the table is row-level securedSELECT source_table, source_name, default_billable, default_hourly_rate, rate_currency, owner_currency_code, skip_reason FROM legacy_labour_pricing_archive WHERE skip_reason IS NOT NULL ORDER BY partner_id, source_table, source_name;COMMIT;The migration counts what it archived in the API log (billing profiles W04b:
lines). It refuses to run, and the API does not start
(refusing to drop legacy labour-pricing columns), in two cases. The first is
when any partner was never converted. A normal upgrade path cannot produce
that, because the conversion runs earlier in the same migration sequence. The
second is when manual DDL left only some of a table’s three legacy columns in
place, which the migration will not drop without archiving them.
Rolling back to v0.116 after this upgrade needs a database restore. The
v0.116 image’s tenant-export policy still lists the three org_ticket_settings
columns, and tenant export rejects any mismatch between that list and the live
schema, so organization data export fails on a v0.116 image running against an
upgraded database. Back up your database before upgrading. To roll back,
restore that backup together with the v0.116 image.
Billables CSV: two new columns at the end. The billables export
(GET /tickets/export/billables.csv) appends work_type and
included_minutes (worked minutes of contract-included time, 0 on other
time rows, empty on parts). Existing columns keep their positions. An importer
that rejects unknown trailing columns needs updating.
v0.116.0 — retired labour-pricing fields are rejected
Section titled “v0.116.0 — retired labour-pricing fields are rejected”Breaking API change: defaultHourlyRate, defaultBillable and rateCurrency
are rejected. In v0.115.0 labour pricing moved from per-organization ticket settings and
per-category defaults to partner-level billing profiles (rate cards) with
per-work-type rows. The conversion migration builds the profiles from your
existing rates and assigns one to every organization, so nothing needs
re-entering. From v0.116.0 PATCH /organizations/:id/ticket-settings,
POST /ticket-categories and PATCH /ticket-categories/:id return 400 when
the request carries any of the three retired fields, and the whole request is
rejected — a rename sent alongside a retired field does not land either. The
error names the field and its replacement. Update any integration or script
that writes these fields: assign a profile with
PUT /organizations/:id/billing-profile, edit rates under
Settings → Billing → Rates, and point a category at a work type via
defaultWorkTypeId. GET responses no longer return the retired fields.
Breeze’s own web, mobile and add-in clients never send them.
The six underlying database columns are still present in v0.116.0, so v0.116.0
can still be rolled back to v0.115.0. Nothing reads or writes them any more,
and they will be dropped in v0.117, which will carry its own rollback note.
Repoint any report, BI query or integration that reads
ticket_categories.default_billable, default_hourly_rate or rate_currency,
or the same three columns on org_ticket_settings, directly from the database
before upgrading to v0.117. Read pricing from the billing-profile tables
(billing_profiles, billing_profile_rules,
org_billing_profile_assignments) or from the values stamped on each time
entry (time_entries.hourly_rate, coverage, work_type_id,
billable_minutes). The legacy columns hold only the pre-conversion values.
Back up your database before upgrading all the same.
v0.115.0 — billing profiles replace per-organization labour rates
Section titled “v0.115.0 — billing profiles replace per-organization labour rates”Labour pricing moved to billing profiles, and the old fields are silently
ignored in this release. The conversion migration builds partner-level billing
profiles from your existing organization and category rates and assigns one to
every organization; nothing needs re-entering. However, v0.115.0 still accepts
defaultHourlyRate, defaultBillable and rateCurrency on
PATCH /organizations/:id/ticket-settings, POST /ticket-categories and
PATCH /ticket-categories/:id, returns 200, and discards the value.
The only signal is a deprecationWarnings array in the response body. An
integration that changes a rate through these fields on v0.115.0 keeps billing
at the old rate. Move rate changes to billing profiles
(PUT /organizations/:id/billing-profile, or Settings → Billing → Rates)
before or during this upgrade. v0.116.0 turns these writes into a 400 (above).
v0.114.0 — evidence reports, network device page, account board
Section titled “v0.114.0 — evidence reports, network device page, account board”Navigation moved; old URLs removed. The Fleet Management entry Monitoring is
now Network Monitor and holds only network assets, checks and SNMP templates.
Device monitors (CPU, memory, disk, service, process, custom) moved to
Alerts → Monitors (/alerts/monitors). The pre-v0.114 URLs /monitoring/monitors,
/monitoring/rules, /monitoring/delivery, and /monitoring/network were removed
and now return 404. Update bookmarks to /alerts/monitors, /alerts/rules,
/alerts/channels, and /monitoring, respectively. If a technician reports that “Monitors disappeared”, this is where they
went.
catalog_items.unit_price is dropped. Catalog sell prices have lived in
catalog_item_prices (per-organization price book) since the multi-currency
work landed; unit_price on catalog_items was a write-only leftover column
that nothing read. The API and catalog UI are unaffected — the unitPrice
field on create/update requests is still accepted as an input alias mapped
into the price book. If you have custom SQL, a BI tool, or a script reading
catalog_items.unit_price directly, it will break; point it at
catalog_item_prices (via catalog_item_org_pricing) instead.
v0.113.0 — remote desktop stability, AI-authored scripts, service deliverables
Section titled “v0.113.0 — remote desktop stability, AI-authored scripts, service deliverables”No breaking API changes. Two settings deserve a decision before you pull:
APP_ENCRYPTION_KEY_ID (now a boot refusal for split-role deployments and a
503 on integration credential saves everywhere else) and
BREEZE_AI_SCRIPT_AUTHORING_ENABLED, which is now on by default. Read
Action required before you pull.
Pull api, web and portal together, in one pass (plus worker if you
run the worker split). The customer portal gains two
new sections and the web dashboard gains new navigation, so a mixed set of
images shows menu entries that 404. Afterwards assert version parity on every
ghcr.io/lanternops/breeze/* container rather than trusting the service list.
Action required in v0.113.0
Section titled “Action required in v0.113.0”- Set
APP_ENCRYPTION_KEY_IDif you have not already. The API refuses to boot without it whenBREEZE_ROLEisapiorworkeror whenM365_GRAPH_ACTIONS_TOOLS_ENABLED=true. Every other deployment boots with a warning, but saving integration credentials returns503— Discord, Teams, Grafana, OpsGenie, PagerDuty, monitoring webhooks, ticketing and PSA settings — until the key id is set, because those credentials are now sealed at rest with key-bound ciphertext and no longer fall back to unbound ciphertext. Add any[A-Za-z0-9._-]+identifier to.envand map it in theapi(andworker) service’senvironment:block; installs whoseguided-setup.shrun predates the key never had it generated. Setting it does not rotateAPP_ENCRYPTION_KEY. See Environment Variables. - AI script authoring is on by default. The chat assistant and background
AI agents can now write a script as a reviewed proposal and, once a human
approves it on a card, run it. Set
BREEZE_AI_SCRIPT_AUTHORING_ENABLED=falseto keep the feature dark. Two related permission changes: approving a proposal that matched a Strict danger pattern requires the approver to holdscripts:writein the proposal’s organization and to have completed MFA (the same bar the script library already applies), and four-eyes requests for such proposals fan out only to approvers who holdscripts:write— grant it to whoever decides AI script runs. The unattended lane ships off: it needs a partner to open the ceiling and each organization to opt in, and no environment variable controls it. See AI Script Authoring. - Two new permissions,
documents:readanddocuments:write, gate the new organization document library and the Documents tab. The migration grants both to the built-in Partner Technician, Org Admin and Org Technician roles; custom roles get nothing until you add them under Settings → Roles. Service deliverables themselves use the existingcontracts:read/contracts:write. - If you take online payments through Stripe, resetting a payment link,
recording a manual payment, voiding an invoice or replacing the Stripe key
now refuses with
503 STRIPE_REVOCATION_PENDINGwhen Breeze cannot prove the customer’s open Checkout session is dead. A 60-second sweep retries, so the refusal is brief; if it ever blocks invoice work during an incident, setSTRIPE_SESSION_REVOCATION_MODE=observerather than rolling back. - Customers with Microsoft 365 Graph-read consent see a re-consent prompt.
The
customer-graph-readmanifest moves to v3 with four additional Graph permissions for the upcoming posture program. The prompt is non-interrupting — existing connections keep working until the customer administrator re-consents.
Database migrations in v0.113.0
Section titled “Database migrations in v0.113.0”22 migrations (2026-10-15-170300 through 2026-10-16-170700). Take a
database backup first. All are idempotent, apply automatically on API startup
unless AUTO_MIGRATE=false, and have been dry-run as a non-superuser role.
None rewrites a large table. The ones with operator-visible effects:
| Migration | Effect |
|---|---|
2026-10-15-170400-documents-permissions.sql |
Seeds documents:read / documents:write and grants them to the built-in Partner Technician, Org Admin and Org Technician roles (counts logged as Postgres WARNINGs). |
2026-10-16-100000-script-versions-immutable.sql |
Creates one head-version row per existing script and makes script versions append-only — every save now cuts a new immutable version. |
2026-10-16-100300-scripts-origin.sql |
Adds origin (human / ai / system) to scripts and backfills system on the built-in ones. |
2026-10-16-160200-checkout-session-revocation.sql |
Marks aged-out pending Stripe Checkout session mappings revoked and pre-existing ones legacy_unbounded; adds the revocation-intent bookkeeping. |
2026-10-16-170100-mfa-enrollment-grace.sql |
Adds the enrolment-deadline columns on users. No rows written. |
2026-10-16-110000-portal-branding-service-documents-flags.sql |
Adds the portal Service and Documents visibility flags, both false. |
The rest — organization documents, script proposals and policies, monitor definitions, the remote-session start generation, M365 tenant-sync foundation, Fleet Designer and device-function tables — are DDL-only additions with no backfill.
New settings in v0.113.0
Section titled “New settings in v0.113.0”Only APP_ENCRYPTION_KEY_ID (item 1 above) is required, and only for the
configurations listed there. Full descriptions are in
Environment Variables.
| Variable | Default | Why you might set it |
|---|---|---|
BREEZE_AI_SCRIPT_AUTHORING_ENABLED |
true |
Set false to keep AI script authoring dark. |
BREEZE_AI_SCRIPT_REVIEWER_MODEL |
— | Platform-default model for the independent script reviewer; a partner or organization policy can override it. |
STRIPE_SESSION_REVOCATION_MODE |
enforce |
observe is the incident de-escalation lever for item 4 above. |
M365_SYNC_CONTINUATION_KEY, M365_SYNC_MAX_IN_FLIGHT, M365_MAX_IN_FLIGHT |
— / 4 / 32 |
Read by the separate m365-graph-read-executor sidecar only. Without a continuation key the executor mints one per process and a sync resumes from page 1 after a restart — self-healing, so existing executors need nothing. |
BACKUP_GC_ORPHAN_MANIFEST_MAX_AGE_MS, BACKUP_BASE_LEASE_MS, BACKUP_RESTORE_PIN_LINGER_MS, BACKUP_PUBLISH_MARGIN_MS |
9 d / 7 d / 7 d / 1 h | Lab/test knobs for the backup storage sweep. Production enforces floors and logs when a lower value is ignored. Leave unset. |
New infrastructure: one new queue, script-verify, consumed by the API
replica that owns the agent socket. No new service, no new port.
Rolling back v0.113.0
Section titled “Rolling back v0.113.0”Prefer roll-forward. Every schema change is additive, so rolling the images
back needs no schema rollback; scripts saved on v0.113.0 keep their version
rows. Do not revert the Checkout-session migration to escape a revocation
refusal — flip STRIPE_SESSION_REVOCATION_MODE=observe instead, otherwise
the older code ignores the pending intents and re-opens the duplicate-charge
window.
Behaviour changes in v0.113.0
Section titled “Behaviour changes in v0.113.0”- Navigation. Automations now live under a top-level Jobs entry
(bookmarked
/automations/*links redirect); the sidebar’s Network Monitor entry is now Monitoring, a hub with Monitors, Network, Delivery and Legacy rules tabs; Devices is now Devices & Assets, with your last five devices under it and a Cmd+K palette that opens on recent devices and pages. See Automations and Monitors. - Monitors are the new single object a technician authors — condition, severity, delivery and responses in one place — compiled into the alert templates, alert rules and automations that already run. Existing alert rules keep working; Legacy rules offers one-click conversion.
- Service deliverables and the organization document library ship with two new customer-portal sections, Service and Documents, both off per organization until you turn them on. A daily sweep opens tickets for deliverables that come due and for key-date reminders. See Service deliverables and Customer Portal.
- AI Fleet Designer is a fourth AI-agent kind,
designer, that reads the fleet and writes a Fleet Design report. It is inert until an administrator creates one for an organization, and nothing in its design is applied automatically. It also assesses a Function for each device (domain controller, kiosk, …), shown next to the billable Device Role. See AI Agents. - Consecutive supervised Tier-3 approvals need one step-up ceremony — a 120-second grant bound to the approver’s session — instead of one per decision. Four-eyes approvals still take a fresh ceremony each time.
- MFA enrolment grace window. A user who lands in a Force MFA role and has
never held a factor gets a nonrenewable 14-day window (banner plus email
notices) before the
428enrolment wall applies. Inert unlessMFA_FORCE_FOR_PARTNER_ADMIN=true, whose default is unchanged (false). See Users & Roles. - Backup storage usage starts to drop. The reclamation sweep now deletes retired restore points’ exclusive data and orphaned upload prefixes, on top of the loose-object grace rules. See Storage.
- Integration credentials are sealed and masked. Discord, Teams, Grafana, OpsGenie, PagerDuty and monitoring-webhook secrets are encrypted at rest and never echoed back to the settings form; re-enter a secret to change it.
- Alert-correlation views honour the site ceiling and
alerts:read. A site-restricted or permission-stripped reader no longer sees the whole organization’s correlation graph. - Approver devices now distinguish Hardware-attested from Not attested platform-bound mobile devices. See Approval Security.
- M365 tenant-sync foundation lands schema and executor plumbing only — nothing new in the dashboard this release.
- Remote desktop start and stop commands are now strictly ordered per session on both server and agent. No operator action; a late start can no longer win against a terminal decision.
v0.112.0 — Windows MSI fix, security remediations, bare-metal recovery
Section titled “v0.112.0 — Windows MSI fix, security remediations, bare-metal recovery”No breaking API changes and no new required environment variables, but this release removes implicit access and pauses some scheduled work the moment the migrations run. Read Action required before you pull.
Pull api, web and portal together, in one pass (plus worker if you
run the worker split). Two changes in this release have
no flag-level rollback: session-binding enforcement (below) and the remote
desktop lease, which expects every replica on the new protocol. Sequence the
API restart as stop-then-start rather than rolling: stop the old API
replicas, let the migrations apply, then start only the new ones — an older
API must not resume serving after the installer-token cutover (item 6 below).
Afterwards assert version parity on every ghcr.io/lanternops/breeze/*
container rather than trusting the service list.
Action required in v0.112.0
Section titled “Action required in v0.112.0”- PAM auto-approve rules are suspended. Every rule with verdict
Auto-approve is switched to Require approval and badged
“Auto-approve suspended”. Matching elevations wait for a human
until an admin holding the new
pam:manage_policypermission clicks Re-approve on the rule (MFA). See PAM → Rules. - New permissions replace implicit access.
pam:approve,pam:manage_policy,accounting:read,accounting:manage,workspace:read|write|credentials|executeandconnected_apps:read|manageare granted to the built-in Org Admin only (Partner Admin holds*:*). Every other built-in role and every custom role loses QuickBooks, Workspace, connected-apps and PAM-approval access until you grant the keys in Settings → Roles. A Partner Technician or Partner Billing user who could browse or sync QuickBooks yesterday gets a 403 today. See Built-in permissions. - Recurring sensitive-data scan policies are switched off and any queued
or running scheduled scan is failed. There is no badge: each affected policy
simply shows as inactive on the Scan Policies tab. A user who holds
devices:writeanddevices:execute, with MFA satisfied, re-approves it by turning Active back on (or re-saving it), which binds the schedule to that user’s authority. Manual scans are unaffected. See Sensitive Data. - Recurring network-baseline scans are paused with the banner “Recurring scan paused: re-approval required”. Re-saving the schedule arms it under the saving user; Scan Now still works. Newly auto-created baselines now start with recurrence off. See Network Baselines.
- Office add-in technician bindings are revoked. Every technician who uses the Outlook/Office add-in technician pane repeats the one-time sign-in; the account must now have an authenticator-app (TOTP) factor. See AI for Office.
- Outstanding installer bootstrap tokens are invalidated. Unused bootstrap-derived enrollment keys are deleted. Regenerate any installer links or copies you handed out before the upgrade.
- Remote desktop needs an updated agent and is capped at 12 hours. Only
an agent that reports lease support can start a desktop session; older
agents show “Remote desktop needs an agent update on this device” (HTTP
503 agent_upgrade_required). Expect up to one heartbeat interval (about a minute) per device while agents self-update; if you pin agent versions, desktop sessions are unavailable until you move the pin.Max session durationis clamped to 1–12 hours (0no longer means unlimited), a membership/role/site-scope/MFA change ends a live session within about 25 s, and a Redis outage longer than 90 s ends live desktop sessions. Terminal, Files and VNC are unaffected. See Session lease and revocation. AUTH_BROWSER_TRANSITIONS_ENFORCEDis removed. Session binding is enforced on every issuance path (password, SSO, Cloudflare Access, MFA, passkey, refresh, registration, invitation) with no opt-out. Delete the line from.env; the safety net is an image rollback, not a flag. Existing browser sessions self-heal on their next refresh. Mobile app builds older than v0.109.0 cannot sign in until updated.- Legacy policy execution routes are gone.
POST /policies/:id/evaluate,/remediateand/activateare retired; usePOST /automations/:id/trigger./deactivateis unchanged. - Site-restricted technicians can no longer create or edit organization-wide governance objects (webhooks, notification channels, software and peripheral policies, configuration policies, PAM config, backup destinations and profiles) or manage PSA and DNS-security connections. They can still assign an existing policy to their own site.
- Check
TRUSTED_PROXY_CIDRS. With proxy trust unset, client-IP attribution now records the raw socket peer instead ofunknown. Behind a real proxy that peer is the proxy, so make sure the variable is set on every deployment that fronts Breeze with one.
Database migrations in v0.112.0
Section titled “Database migrations in v0.112.0”20 migrations. Take a database backup first. All are idempotent, none abort
on pre-existing data, and all apply automatically on API startup unless you
have set AUTO_MIGRATE=false. The ones with operator-visible effects:
| Migration | Effect |
|---|---|
2026-10-15-150200-pam-dedicated-permissions.sql |
Suspends every auto_approve PAM rule (original verdict kept for re-approval); seeds pam:approve / pam:manage_policy and grants them to each built-in Org Admin. |
2026-10-15-150051-office-addin-binding-mfa-epoch.sql |
Revokes every existing Office add-in technician binding. |
2026-10-15-140001 / 140002 / 140003-sensitive-data-*.sql |
Deactivate every recurring sensitive-data policy and fail queued/running scheduled scans. |
2026-10-15-141001-installer-bootstrap-credential-generation.sql |
Deletes unused bootstrap-derived enrollment keys and bumps the generation on their parents. |
2026-10-15-150030 / 150031 / 150032 and 150500-accounting-dedicated-permissions.sql |
Seed workspace:*, connected_apps:*, accounting:read, accounting:manage; grant them to the built-in Org Admin only. |
2026-10-15-140004-backup-snapshot-lineage-fk-set-null.sql |
Makes restore_jobs.snapshot_id and recovery_tokens.snapshot_id nullable and moves five foreign keys onto backup_snapshots to ON DELETE SET NULL, so retention can finally delete a snapshot that was ever restored, verified or tokened. |
2026-10-15-150600-network-baseline-recurring-authority.sql |
Pauses every enabled recurring baseline scan (reapproval_required) until an authorized user re-saves the schedule. |
2026-10-15-150001-bound-webhook-retries.sql |
Normalizes legacy webhook retryCount values into 0–2; the count is logged as a Postgres WARNING. |
2026-10-15-150050-mobile-refresh-family-binding.sql |
Adds a partial index on refresh_token_families in-transaction (not CONCURRENTLY). Instant at typical sizes; run off-peak if yours is very large. |
The rest (150010, 150020, 150040, 150100, 150300, 160010) are
additive column adds with no data change. A non-superuser migrating role is
sufficient, as before.
New optional settings in v0.112.0
Section titled “New optional settings in v0.112.0”None are required. Full descriptions are in Environment Variables.
| Variable | Why you might set it |
|---|---|
LENOVO_WARRANTY_ENABLED=true and/or LENOVO_API_KEY |
Lenovo warranty lookup works for the first time — credential-free via Lenovo’s public lookup endpoint, or through the official Warranty API. DELL_CLIENT_ID / DELL_CLIENT_SECRET and both Lenovo knobs are now mapped through every shipped Compose file, so a value in .env is enough. See Warranty lookups. |
RECOVERY_MEDIA_WORK_DIR |
Already defaulted to /data/recovery-work by the shipped Compose files; moves bare-metal recovery media builds off the container’s 64 MB /tmp. Override only to relocate it. |
BACKUP_GC_GRACE_MS |
Lab/test only. Production enforces a one-hour floor; the 48 h default is unchanged. |
Removed: AUTH_BROWSER_TRANSITIONS_ENFORCED (see item 8 above).
Fresh installs and image pinning in v0.112.0
Section titled “Fresh installs and image pinning in v0.112.0”.env.example and deploy/docker-compose.prod.yml now expect signed,
digest-pinned image references (ghcr.io/lanternops/breeze/api@sha256:…)
resolved from the release’s signed image inventory. The guided installer
resolves and verifies them itself for 0.112.0 and later (fail-closed). The
current installer refuses releases older than 0.112.0 unless you pass
--allow-unverified-release; with that flag it warns and uses tag-tracking refs.
Existing installs whose
.env still carries …/api:${BREEZE_VERSION} refs keep working with the
upgrade steps at the top of this page. If you have already switched to digest
pins, update the four BREEZE_*_IMAGE_REF lines from the new release’s
inventory on every upgrade — bumping BREEZE_VERSION alone changes nothing.
guided-setup.sh --upgrade does this in one command (step 4a above).
See Signed, digest-pinned image references.
Rotating RELEASE_ARTIFACT_MANIFEST_PUBLIC_KEYS is a fleet re-enrollment:
agents pin the key they enrolled under and there is no remote revocation. See
Binary Distribution.
Rolling back v0.112.0
Section titled “Rolling back v0.112.0”Prefer roll-forward. If you must roll back, downgrade agents before the API: a v0.112.0 agent talking to an older API gets no lease answer and ends its desktop session after about 150 s. The added columns are additive and need no schema rollback. Rolling back the network-baseline change resumes every paused recurring baseline under no authority — clear each affected baseline’s schedule first.
Other behaviour changes in v0.112.0
Section titled “Other behaviour changes in v0.112.0”- Bare-metal recovery now restores system state on Linux, every
system_imagebackup records a disk-layout manifest with a restorability verdict, and abreeze-backup rebuildcommand can provision a disk from a snapshot. See Bare Metal Recovery. - Backup exclude patterns with a leading
/are root-anchored (gitignore semantics) instead of matching at any depth. File backups now capture symlinks, directories, ownership and setuid/setgid/sticky bits; manifests carrying them use a new format that older agents cannot read, so restore with a v0.112.0 agent. See Backup Policies. - Retention GC no longer stops on the first snapshot that was ever restored, verified or tokened. Bucket usage still does not shrink — storage reclamation lands in a later release.
- Webhooks make one HTTP attempt per invocation; the queue owns retries,
retryCountis capped at 2, and permanent failures (bad configuration, SSRF-blocked URL, ordinary 4xx) dead-letter immediately./testand/retryon a paused webhook return409. - Org-scoped sessions are now evaluated against the partner IP allowlist.
- MCP tool
get_fleet_statusis renamedget_invite_funnel. The old name dispatches for one more release but no longer appears intools/list. - HP warranty lookup is de-registered — HP’s API is not available to RMM
vendors, so HP devices stay at
unknown.
v0.111.1 — hotfix for a v0.111.0 upgrade-blocking migration
Section titled “v0.111.1 — hotfix for a v0.111.0 upgrade-blocking migration”One of the migrations that shipped in v0.111.0,
2026-10-14-100100-discovered-assets-manual-source.sql, backfills a new
provenance column on discovered network assets. On a database where those
discovered_assets rows span more than one organization or partner, the
backfill’s two update statements can request the partner-export lock
hierarchy out of order, which Postgres rejects. The migration transaction
rolls back, autoMigrate retries it on the next boot, and the API never
finishes starting — a crash loop, not a degraded mode. A single-partner or
empty install is not affected.
v0.111.1 adds a new migration,
2026-10-14-100050-discovered-assets-source-backfill-prelock.sql, which sorts
immediately before the failing one. It acquires every partner and
organization lock the backfill will need, up front and in the correct order,
so that by the time the original migration replays, it has nothing left to
do and completes normally.
If your API is already crash-looping on v0.111.0, you have two ways out:
-
Upgrade to v0.111.1 (recommended). The failed migration’s transaction rolled back cleanly, so nothing is half-applied — pulling v0.111.1 and restarting is sufficient on its own.
-
Apply the fix-forward SQL below by hand against your database, using the same role your migrations run as, then restart the API on v0.111.0 before upgrading further:
BEGIN;-- The failed migration rolled back its own CREATE TYPE / ADD COLUMN, so in the-- crash-loop state the `source` column does NOT exist yet: create it first-- (guarded, so this is also safe where it already exists).DO $$ BEGINCREATE TYPE public.discovered_asset_source AS ENUM ('scan', 'unifi', 'manual');EXCEPTION WHEN duplicate_object THEN NULL;END $$;ALTER TABLE public.discovered_assets ADD COLUMN IF NOT EXISTS source public.discovered_asset_source;ALTER TABLE public.discovered_assets ADD COLUMN IF NOT EXISTS url text;-- Required: the lock helpers read organizations, and discovered_assets is-- FORCE ROW LEVEL SECURITY. Without this the discovery SELECTs return no rows-- and the UPDATEs match nothing, silently.SELECT set_config('breeze.scope', 'system', true);-- Acquire every affected partner (shared) and organization (exclusive) export-- lock in ascending order BEFORE the backfill, so the per-row triggers find-- them already held.SELECT public.breeze_partner_export_lock_partners_shared(ARRAY(SELECT DISTINCT o.partner_idFROM public.discovered_assets dJOIN public.organizations o ON o.id = d.org_idWHERE d.source IS NULL AND o.partner_id IS NOT NULLORDER BY 1));SELECT public.breeze_partner_export_lock_orgs_exclusive(ARRAY(SELECT DISTINCT d.org_idFROM public.discovered_assets dWHERE d.source IS NULL AND d.org_id IS NOT NULLORDER BY 1));UPDATE public.discovered_assets aSET source = 'unifi'WHERE a.source IS NULLAND (a.detected_type_source = 'unifi_controller'OR EXISTS (SELECT 1 FROM public.unifi_devices uWHERE u.discovered_asset_id = a.id));UPDATE public.discovered_assets SET source = 'scan' WHERE source IS NULL;COMMIT;This is idempotent: on a database where the migration already succeeded, every statement is a no-op.
Recovery for a deployment that is already stuck in the crash loop:
- Set
BREEZE_VERSION=0.111.1in.env(or apply the fix-forward SQL above against v0.111.0 first, if you cannot upgrade immediately). docker compose pull api web portal && docker compose up -d binaries-init api.- Wait for the API to report healthy (
curl -sf https://yourdomain/health). - Once the API is healthy, bring the rest of the stack back up:
docker compose up -d web portal.
No schema shape changes beyond v0.111.0: the same enum, the same two columns, the same constraints. The new migration only moves the backfill earlier and wraps it in the correct lock order.
v0.111.0 — offline work queue, script cancellation, organization record page
Section titled “v0.111.0 — offline work queue, script cancellation, organization record page”No breaking API changes and no new required environment variables. But five defaults change on upgrade, and two of them will alter what your customers and your technicians see the moment the API restarts. Read Behaviour changes before you pull.
Pull the portal container too, alongside api and web — and worker if
you have opted into the worker split.
Database migrations in v0.111.0
Section titled “Database migrations in v0.111.0”35 migrations. Take a database backup first. All are idempotent and apply
automatically on API startup unless you have set AUTO_MIGRATE=false.
Six indexes are built concurrently, so writes are not blocked while they run —
on a large audit_logs or process-sample history they are the long pole and the
API does not serve until they finish. An interrupted build leaves an invalid index
that the next boot reports loudly; recover with DROP INDEX CONCURRENTLY <name>
and restart.
Three migrations touch existing rows and record what they did as a Postgres
WARNING. Read these in the API log after the first boot:
| Log line | What it means |
|---|---|
device_custom_field_values backfill: copied N value(s), minted N definition(s) for previously undefined keys, N stored key(s) do not match the enforced key pattern |
Custom-field values move into a table of their own. Sized by devices × custom-field keys. Keys written before the naming rules were enforced are deliberately kept in the old projection only, so nothing is lost or renamed under you. |
backfilled N discovered_assets rows to source=unifi / source=scan |
Every discovered asset gains a provenance column. Sized by your discovery inventory, not your device count — on a large scanned estate this is the longest single statement in the set. |
| The Partner Admin forced-MFA stamp | Records the reconcile described under Behaviour changes. Enforcement is off this release, so nothing changes for your admins at upgrade time. |
A non-superuser migrating role is sufficient, as in every previous release: the range creates no roles, extensions, or schema-level grants.
New optional settings in v0.111.0
Section titled “New optional settings in v0.111.0”None are required and none fail boot when missing — except PLAY_INTEGRITY_SERVICE_ACCOUNT,
which is validated when set. Full descriptions are in
Environment Variables.
| Variable | Why you might set it |
|---|---|
| Offline work queue | Queueing is always enabled for queueable actions. The former opt-out has been removed; use action-specific offline policies where available. |
DEVICE_COMMAND_QUEUE_TTL_HOURS, DEVICE_COMMAND_QUEUE_SHORT_TTL_HOURS, DEVICE_COMMAND_QUEUE_POWER_STATE_TTL_HOURS |
Shorten or lengthen how long queued work waits for an offline device (7 days / 24 hours / 24 hours). |
MFA_FORCE_FOR_PARTNER_ADMIN |
Now defaults to false. Set true to enforce forced MFA for Partner Admins immediately. |
AI_OPERATOR_TASKS_ENABLED, AI_OPERATOR_RECIPE_SERVICE_RECOVERY_ENABLED |
Turn on the opt-in AI tasks preview. Both ship off. |
READINESS_CACHE_TTL_MS, READINESS_PROBE_TIMEOUT_MS |
Tune the new readiness contract. Defaults suit every deployment we know of. |
OFFLINE_DETECTOR_WORKER_CONCURRENCY |
Raise offline-sweep concurrency on a very large fleet. |
PLAY_INTEGRITY_SERVICE_ACCOUNT |
Verify Android approver devices with Play Integrity as well as hardware Key Attestation. A malformed value stops the boot rather than silently reporting “not configured” forever. |
Readiness versus liveness
Section titled “Readiness versus liveness”/health is unchanged and remains liveness — it answers 200 before the
instance can actually serve. /ready and /health/ready now answer a real
aggregate readiness question, and API admission is gated on the consumers the
process role requires. If your load balancer or Compose healthcheck should hold
traffic until Postgres, Redis and the background consumers are genuinely up, point
it at /ready. See Health Monitoring.
Behaviour changes in v0.111.0
Section titled “Behaviour changes in v0.111.0”- ⚠️ QuickBooks starts pushing payments into every connected realm. The Payment push switch ships on, so a connected realm in automatic push mode begins creating QuickBooks Payments as soon as the API restarts — no operator action. Only payments recorded after the switch became active are pushed, and a payment deletion always propagates regardless of the switches. Turn it off first if you are not ready. See Payment push.
- ⚠️ Network-monitor alerts now notify, escalate and automate. ICMP/TCP/HTTP/DNS monitor alerts previously landed in the Alerts inbox only. Expect a step change in notification and automation volume if you run monitors with alert rules. The five-minute cooldown, the deduplication and the auto-resolve on recovery all still apply. See Network Monitors.
- Work aimed at an offline device queues instead of failing. Patch jobs, automation Run script / Run command actions and scan/rollback commands are persisted with a delivery deadline and claimed on the device’s next heartbeat. A waiting step reads “Queued — device offline” instead of Failed. The other side of that coin: work you previously saw fail fast now sits pending for up to a week. Existing automations have no stored offline preference and therefore queue — set a step to Skip if it is only meaningful against a live device. See Devices → Queued actions.
- ⚠️ On Linux and macOS,
breeze-agent service stopis now temporary while the watchdog is installed. The watchdog restarts the agent after its standby grace period. For a durable stop, stop or uninstall the watchdog too. See Agent Watchdog. service installnow restarts the service on an already-enrolled host instead of leaving it stopped — the old behaviour stranded a host Offline until someone started it by hand. See Agent Installation. The Windows equivalent is fixed too, including installing over an existing service, which previously failed while reporting the service as running when it was not.- “Remove device” now uninstalls the agent by default. The removal flow asks about the agent and defaults to uninstalling it; previously the uninstall was effectively never sent and agents were left running on removed devices. A permanent delete now refuses until that uninstall has been collected.
- Forced MFA for Partner Admins is reconciled but NOT enforced. A migration marks every existing system Partner Admin role as requiring MFA — reconciling installs that predate the rule — but
MFA_FORCE_FOR_PARTNER_ADMINnow defaults tofalse, because acting on it at upgrade time would lock existing Partner Admins into enrolment with no warning. Set it totrueto enforce now. A notification-period rollout — grace window, banner, deadline — ships next release, at which point enforcement returns to on by default. Separately, an MFA policy change that would lock out already-enrolled users is now refused outright with the number of users affected. - Maintenance windows suppress every script path. A device inside a window with Suppress scripts is now skipped by the AI assistant, automation Run script / Run command, fleet-fix remediation and edition auto-migration — not just a manual Run Script. Each is recorded as a skip, not a failure, so an automation run stays green and its trailing actions still run. A window that cannot be evaluated deliberately keeps the ordinary failure treatment, so a maintenance-config outage can never render as a fleet of green runs. See Maintenance Windows.
- Script cancellation kills the whole process tree. Cancel and timeout now terminate descendants on Windows and Unix. A script that intentionally detaches a child will now have that child killed too — worth a canary group if you rely on that pattern. See Stopping a running script.
- Configuration-policy inheritance changes what a “linked” policy delivers. A policy marked as inheriting could previously deliver nothing to its devices; every reader now resolves the real inherited settings. If you have such a policy, devices under it will start receiving configuration they were not receiving before. See Configuration Policies.
- Service Management is a partner-level module.
nativeis the default and existing partners are unchanged. Turning it off hides the Service Desk and Billing sections and refuses new ticket creation everywhere. See Service Management mode. - The unified device list is on by default.
PUBLIC_ENABLE_NETWORK_DEVICES_IN_LISTnow defaults totrue. It is a build-time variable baked into the web image, so the published image ships with the All / Agent / Network / Manual segments on and there is nothing to change in.envor Compose. Build the web image yourself and passfalseto keep the agent-only list. - Metric-anomaly detection looks back 15 minutes instead of 30, with a statement timeout, so overlapping runs stop piling up on the rollup tables. The trade-off: a skipped tick no longer self-heals and a gap needs a manual backfill.
- Cross-organization device moves may now drop custom-field values that are not visible in the target organization. Previously they were kept silently; now they are dropped and logged.
- Still off by default: AI agents and the AI tasks preview, reboot deferral (per policy), and the removed-device purge retention policy.
v0.110.0 — reboot deferral, device-set billing, QuickBooks payments, portal visibility
Section titled “v0.110.0 — reboot deferral, device-set billing, QuickBooks payments, portal visibility”No breaking changes and no new required environment variables. Everything new is either off by default or optional. A number of new optional variables were added, though — see New optional settings below and the full Environment Variables reference.
Pull the portal container too. The customer portal runs in its own container and gained several new pages in this release. A bare docker compose pull covers it; if you pull services by name, make sure portal is on the list alongside api and web. If you have opted into the worker split, include worker as well.
Database migrations
Section titled “Database migrations”54 migrations. Take a database backup first. All are idempotent and apply automatically on API startup (unless you have set AUTO_MIGRATE=false). Every index on a table that can be large is built concurrently, so writes are not blocked while they run — the trade-off is that an interrupted build leaves an invalid index behind. If that happens the next boot reports it loudly; recover with DROP INDEX CONCURRENTLY <name> and restart.
Three migrations clean up or stamp existing rows and record what they touched as a Postgres WARNING. Read these in the API log after the first boot:
| Log line | What to do if the count is above zero |
|---|---|
cleaned N contract_lines rows whose site belonged to another org |
Re-scope those contract lines in the contract editor before your next billing run. |
The site-name stamp on contract_lines |
This records how many existing site-scoped lines were protected. A line whose site was deleted before this release cannot be recovered and keeps billing organization-wide until a technician re-scopes it. |
rls-scoped replay |
Informational. Five earlier migrations wrote rows without the right database scope and are replayed correctly here; the counts tell you how many rows were fixed. |
New optional settings in v0.110.0
Section titled “New optional settings in v0.110.0”None of these are required and none of them fail boot when missing. Full descriptions are in Environment Variables.
| Variable | Why you might set it |
|---|---|
QBO_WEBHOOK_VERIFIER_TOKEN |
Makes recorded QuickBooks payments come back within seconds instead of on the 15-minute sweep. |
FIREBASE_SERVICE_ACCOUNT |
Enables push notifications to the Android app. |
AUDIT_CHAIN_VERIFY_MODE, AUDIT_CHAIN_VERIFY_RESCAN_SLICES |
Nightly audit-chain verification is now incremental by default rather than a full-table walk. AUDIT_CHAIN_VERIFY_ENABLED=false now also stops a sweep that is already running. |
TICKET_OUTBOX_RETENTION_DAYS, INTENT_OUTBOX_RETENTION_DAYS, METRIC_ANOMALY_INCIDENT_RETENTION_DAYS (and their batch knobs) |
Tune how long the new nightly retention sweeps keep delivery and incident history. Defaults to 14 days. |
SMTP_TIMEOUT_MS, MAILGUN_TIMEOUT_MS |
Bound how long a wedged mail host can hold an outbound send open. |
BREEZE_AUTHENTICATOR_ATTESTATION_ENFORCED |
Already on by default. Only set it if you need to accept an approver device’s unverified platform-bound claim. |
PARTNER_TRUST_MODE and friends |
Hosted service only — inert on a self-hosted install. |
Behaviour changes to know about
Section titled “Behaviour changes to know about”- End-user restart prompts ship off. Turn them on per policy on the Patch tab with Let users postpone the restart. The deadline is the guarantee; the postponement count is a courtesy budget. Linux endpoints need
zenityinstalled to show a dialog the user can postpone from — without it they get a plain notification and the restart proceeds on schedule. See Patch Management. - Unrated patches are never treated as Low and are excluded from auto-approval unless an update ring opts in. Expect a backlog of pending patches to appear that were previously auto-approved as Low. See Update Rings.
- Deleting a site used by a site-scoped contract line now fails invoice generation with a clear error instead of quietly billing every device in the organization. Re-scope or remove the line, then generate again.
- Audit-log retention now runs for every organization that has a policy. New organizations get a default policy automatically; existing organizations have no policy until an operator saves one, and nothing is deleted until then. See Audit Logs → Retention.
- New partners are created with inbound email-to-ticket turned off. Existing partners are unchanged.
- Windows 10 and Windows Server 2016 are the declared agent OS floor. Older Windows builds are refused by the installer rather than enrolling and failing later.
AI agent graduation and impact accounting
Section titled “AI agent graduation and impact accounting”Both features run under the flags you already have — BREEZE_AI_AGENTS_ENABLED for the nightly impact rollup, and BREEZE_AI_AGENTS_POLICY_DECIDE_ENABLED (still off, still not generally available) for promoting an operation to pre-authorized execution. Automatic demotion is not gated by anything and is always on.
Three new daily background jobs are registered. They run in the container that owns background work — the api container by default, or the worker container if you have enabled the worker split:
| Job | Runs daily at (UTC) | What it does |
|---|---|---|
| Graduation evaluation | 18:28 | Re-evaluates which agent operations have earned enough clean evidence to be promoted. Read-only with respect to what agents may do — it never grants or revokes anything. |
| Impact rollup | 18:33 | Rebuilds the last 7 complete UTC days of the AI Impact report per organization, or the full 90 days the first time it sees an organization. Skipped entirely while BREEZE_AI_AGENTS_ENABLED is off. |
| Evidence retention | 18:48 | Prunes agent outcome evidence older than 400 days. |
All three sit in the existing daily lane and are deliberately spaced apart from each other and from the retention sweeps, so they do not add a new nightly spike.
v0.109.0 — AI agents, ticket attachments and org archiving
Section titled “v0.109.0 — AI agents, ticket attachments and org archiving”Mostly additive. Nothing in this release requires a new setting before you upgrade, but note the following:
- Migrations. 53 idempotent migrations auto-apply on boot. Two touch tables that can be very large on a long-running self-hosted instance: one builds an index on remote-session history, and one adds a validated constraint to time entries. Both take a brief lock while they run, so expect a slightly longer boot than a routine upgrade — proportional to how much remote-session and time-entry history you hold. Take the database backup in step 1 above and upgrade during a quiet window.
- New AI agent capabilities are off by default.
BREEZE_AI_AGENTS_ENABLEDremainsfalse, and even with it on, each agent starts in Off — an agent only acts after you deliberately move it to Act and confirm with multi-factor. See AI Agents. - New partners start with inbound email-to-ticket turned off. Existing partners are unchanged. See Ticketing.
- Optional worker split. You can now move background jobs to their own container. Entirely opt-in and off unless you enable it — see Worker Split.
v0.95.0 — authentication & tenancy hardening
Section titled “v0.95.0 — authentication & tenancy hardening”This release resets the authentication surface. Plan for a short low-traffic window and expect the following the first time the new API boots:
- Everyone is signed out once. Existing web and mobile sessions are invalidated and everyone signs in again — there is no silent-refresh recovery and no kill switch. Confirm you and your admins have a working multi-factor device or recovery codes before upgrading, since signing in is the only way back in. Agents, the Helper, the portal, and installers are unaffected.
- Connected AI / automation apps must re-authorize. Legacy OAuth refresh tokens are removed; any MCP/OAuth client reconnects and re-consents once.
- Microsoft 365 ticket mailboxes need re-consent. Non-disabled mailboxes drop to a re-auth state; a Partner Admin re-approves each one. Mail arriving during the gap is picked up after re-consent, not lost.
- New required database credential. Production now runs request handlers as an unprivileged, RLS-enforced role and will not start unless one of
DATABASE_URL_APP,BREEZE_APP_DB_PASSWORD, orPOSTGRES_PASSWORDis set, and it refuses to run as aSUPERUSER/BYPASSRLSrole. See Environment Variables → Database. This check runs even whenAUTO_MIGRATE=false. - Behind Cloudflare? Set
TRUST_CF_CONNECTING_IP=true(see Environment Variables). - Migrations. 26 idempotent migrations auto-apply on boot. Most are metadata-only, but one backfills the
refresh_token_familiestable — on a large, long-running deployment, check that table’s size first and expect a slightly longer boot while it applies.
Agent Updates
Section titled “Agent Updates”Agents update themselves automatically. On each heartbeat (~60s), the API checks if a newer version is available and signals the agent to upgrade. The agent:
- Downloads the new binary and verifies its SHA-256 checksum
- Backs up the current binary
- Replaces the executable and restarts the service
- Rolls back automatically if the new binary fails to start
- Swaps the bundled
breeze-backuphelper to the matching version in the same upgrade; a periodic reconcile re-fetches it later if the swap was skipped or the helper is missing or stale
Since v0.105.0, release manifests can label each asset with an agent edition (self-host or hosted); the updater refuses an asset whose declared edition doesn’t match the running build, and accepts manifests without edition labels for backward compatibility. See Self-Host Agent Migration.
During an update, the device status changes to Updating in the dashboard so you can distinguish active updates from offline agents. If the update takes longer than 5 minutes, the device reverts to Offline. After a successful restart, the agent immediately reports its new version (bypassing the normal 0–60 second heartbeat jitter).
Linux Binary-In-Use Handling
Section titled “Linux Binary-In-Use Handling”On Linux, the updater handles the case where the agent binary is still in use (common with manual installs that don’t use a package manager). The updater removes the old binary before writing the new one to avoid ETXTBSY (“text file busy”) errors. If a file lock error still occurs, it is treated as transient and retried on the next heartbeat.
Watchdog Recovery
Section titled “Watchdog Recovery”The watchdog service automatically restarts the agent after a failed update or crash. If an update leaves the agent in a bad state, the watchdog detects the failure and restarts the previous (backed-up) binary.
The binary source depends on your BINARY_SOURCE setting:
| Mode | Agent downloads from |
|---|---|
github (default) |
GitHub Releases CDN |
local |
Your API server (or S3 if configured) |
See Binary Distribution for details.
Disabling Auto-Update on Specific Devices
Section titled “Disabling Auto-Update on Specific Devices”Some devices — production database servers, devices in a change-controlled window — should not self-update on the normal heartbeat cadence. Toggle auto-update per device without editing config on the machine:
This endpoint requires a signed-in user session with MFA satisfied, not an API key — $TOKEN below is a Breeze access token, not a partner API key.
# Disable auto-update for one devicecurl -X POST "https://breeze.example.com/api/v1/devices/<device-id>/auto-update" \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{"enabled": false}'
# Re-enable latercurl -X POST "https://breeze.example.com/api/v1/devices/<device-id>/auto-update" \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{"enabled": true}'The agent persists this setting across restarts. This is also the way to recover agents that were left with auto-update disabled by a manual or recovery update — see the set_auto_update command.
Controlled agent fleet rollout
Section titled “Controlled agent fleet rollout”By default (AGENT_AUTO_PROMOTE=true), syncing a new agent release immediately makes it the fleet’s upgrade target — every auto-updating device moves to it on its next heartbeat. Boot-time sync only ever registers the release matching your own BREEZE_VERSION (or BINARY_VERSION if set), so a newly published GitHub release does not move your fleet until you upgrade your server images — the fleet follows the server, not the public release feed. If you’d rather stage rollouts (canary first, then the fleet), set AGENT_AUTO_PROMOTE=false to decouple registering a release from promoting it.
-
Turn on controlled rollout. Set
AGENT_AUTO_PROMOTE=falsein.envand map it in theapiserviceenvironment:block of your compose file, then restart the API. (Compose only passes through variables you list there.) -
Publish or sync the release. New binaries register as downloadable but are not promoted — the fleet stays on the current version. Existing devices are unaffected.
-
Canary it. Update a few non-production devices to the new version and verify (you can target an individual device’s update directly).
-
Promote to the fleet. When you’re satisfied, promote the version. This is a platform-admin action and requires MFA:
Terminal window curl -X POST "https://breeze.example.com/api/v1/agent-versions/promote" \-H "Authorization: Bearer $TOKEN" \-H "Content-Type: application/json" \-d '{"version": "0.84.0"}'Auto-updating devices then move to the promoted version on their next heartbeat. To promote a single component (e.g. just the
helperorwatchdog) while holding the rest, add"component": "helper"to the body.
Pinning Agent and Watchdog Versions
Section titled “Pinning Agent and Watchdog Versions”Instead of always tracking the latest promoted release, you can pin the fleet — or a single customer — to a specific version. Settings → Partner Defaults and Settings → Org Defaults each expose an Update version targets card with independent Agent target and Watchdog target selectors. Each selector offers every registered version. At the partner level it also offers Latest promoted, which tracks the globally promoted release. This is the default behavior.
Pin precedence is inherit-with-override. This is deliberately different from the lock model used by the update policy and maintenance window below:
- A partner pin is the inherited default for all of that partner’s organizations.
- At the org level, Inherit partner default stores no org value for that component. The org follows the partner pin, including a hold or canary pin the partner sets later. With no partner pin, the org tracks the latest promoted release.
- Any org can override the partner pin with its own value. This can be a specific version, or Always latest promoted, ignore partner pin, which keeps that org on the promoted release while the rest of the fleet stays pinned. An org that has this override shows the caption Overrides partner default. Select Inherit partner default to go back to inheriting.
- Agent and watchdog pins resolve independently.
This is what lets a partner pilot a new version on one customer: pin the fleet to the known-good version at the partner level, then override a single org to the candidate version (or to Always latest promoted, ignore partner pin).
Pins gate alongside the update policy and maintenance window, not instead of them — a pinned update still waits for the maintenance window and respects the update policy.
Agent Update Scheduling
Section titled “Agent Update Scheduling”In addition to the per-device auto-update toggle and the partner-level controlled rollout, Breeze supports a structured maintenance window for agent updates. When a maintenance window is configured, agents only accept update signals from the server during the allowed window — outside of it, update prompts are deferred until the next eligible window.
Setting a maintenance window
Section titled “Setting a maintenance window”Agent update maintenance windows are set in Settings → Org Defaults (and optionally in Settings → Partner Defaults to apply fleet-wide). The window configuration includes:
| Field | Description |
|---|---|
| Day | A single day of the week the window applies to, or left unset to apply the window every day — you cannot select more than one specific day |
| Start time | Window start time in UTC |
| End time | Window end time in UTC |
The update policy and maintenance window follow the same partner-locks precedence that governs other policy settings: a field set at the Partner level wins and locks — child organizations cannot override it. The org value applies only where the partner has left that field unset, and each field is merged independently. The update gate that agents check on heartbeat honors this merged result.
When no window is configured
Section titled “When no window is configured”If no maintenance window is set, agents update on their normal heartbeat cadence (~60 seconds after a new version is promoted). Configure a window when you need updates to avoid business hours or to concentrate restarts into a known change window.
Migration Failure Recovery
Section titled “Migration Failure Recovery”If the API container fails to start after an upgrade due to a migration error, follow these steps:
-
Check the container logs to identify the failing migration.
Terminal window docker compose logs api --tail 100Look for lines starting with
[auto-migrate]. Common failure messages include:Migration checksum mismatch– a previously applied migration file was modified. This should never happen in normal operation.- SQL errors during a specific migration file (e.g., constraint violations, missing columns).
-
Do not manually edit migration files. Migrations are tracked by checksum. Modifying a previously applied migration will cause all future startups to fail.
-
Fix and restart. The most common causes and resolutions:
- Incompatible extension (e.g., TimescaleDB not installed): Install the required extension and restart.
- Permissions issue: Ensure the database user has sufficient privileges.
- Data conflict: Manually resolve the conflicting data in the database, then restart the API container.
Terminal window docker compose restart api -
If unrecoverable, restore your database from a pre-upgrade backup and re-attempt the upgrade after resolving the underlying issue.
Remote-access lease cutover
Section titled “Remote-access lease cutover”The first release that enables shared remote-session ownership is a barrier deployment. Do not use a rolling or blue-green handoff for that release: legacy API processes can mint credentials that the new pre-upgrade admission path must not accept.
-
Set
REMOTE_ACCESS_ADMISSION_MODE=closed,REMOTE_WS_AUTH_MODE=post_upgrade, andREMOTE_WS_REDIS_TOPOLOGY=standalone-single-primary. Recreate Caddy and verify every terminal, desktop, VNC, WebSocket-tunnel, and HTTP-tunnel issuer/consumer returns503withRetry-After. -
Stop the entire old API pool. Verify no old API process, WebSocket, or tunnel-HTTP consumer remains reachable. Record the verified UTC stop times in
REMOTE_WS_LEGACY_TICKET_WRITER_DRAINED_ATandREMOTE_WS_LEGACY_VIEWER_ISSUER_DRAINED_AT. -
Keep admission closed for the independent V0 credential drains: 60 seconds for legacy WebSocket tickets and 300 seconds for tunnel-HTTP tickets/cookies. The 60-second milestone does not permit reopen. At exactly 300 seconds, a uniform new pool may reopen in
post_upgrade. -
Deploy the new pool, verify every API instance uses the release digest, and run the Redis preflight (standalone primary, cluster disabled, AOF enabled,
maxmemory-policy=noeviction). Only then setREMOTE_ACCESS_ADMISSION_MODE=openand recreate Caddy. -
Independently wait 7,200 seconds plus a final 60 seconds for legacy viewer tokens and their last compatibility ticket. Only after that boundary may the complete pool switch to
REMOTE_WS_AUTH_MODE=pre_upgrade. Startup rejects this mode when either verified timestamp is missing, malformed, future-dated, or too recent.
Zero-Downtime Upgrades
Section titled “Zero-Downtime Upgrades”For production deployments where any downtime is unacceptable, you can perform a blue-green upgrade using two parallel Compose stacks:
-
Deploy the new version alongside the old one. Use a separate Compose project name or directory with the new
BREEZE_VERSIONand point it at the same database and Redis.Terminal window COMPOSE_PROJECT_NAME=breeze-new BREEZE_VERSION=0.12.0 \docker compose -f docker-compose.yml -f docker-compose.override.yml up -d -
Wait for migrations and health check. The new API container applies any pending migrations on startup. Once the health endpoint returns the expected version, the new stack is ready.
Terminal window curl -s http://localhost:NEW_PORT/health | jq .version -
Switch traffic. Update your reverse proxy (Caddy, nginx, Cloudflare tunnel) to route traffic to the new stack.
-
Tear down the old stack. Once traffic is fully migrated, stop the old containers.
Rolling Back
Section titled “Rolling Back”-
Revert the version
Terminal window # In .envBREEZE_VERSION=0.11.2 -
Pull and restart
Terminal window docker compose pulldocker compose up -d
Checking Versions
Section titled “Checking Versions”# API version (the running image's baked version)curl -s https://breeze.yourdomain.com/health | jq .version
# The version .env says is deployed; must match the line abovegrep '^BREEZE_VERSION=' .env
# Agent version (on the device)breeze-agent version
# Docker image versionsdocker compose imagesPre-Release Testing
Section titled “Pre-Release Testing”You can test a release candidate before making it available to users:
-
Tag a prerelease
Terminal window git tag v0.11.3-rc.1 && git push --tagsCI builds all images but does not tag them as
latest. -
Deploy the RC locally
Terminal window # In .envBREEZE_VERSION=0.11.3-rc.1docker compose pulldocker compose up -d -
Sync agents to the RC using the
sync-githubendpoint. This fetches the release assets from GitHub and registers them in the Breeze database so agents know a new version is available. It requires a signed-in admin session with MFA satisfied —$TOKENis a Breeze access token, not an API key.Terminal window curl -X POST "https://your-domain/api/v1/agent-versions/sync-github?version=v0.11.3-rc.1" \-H "Authorization: Bearer $TOKEN"The response includes the version that was synced and the list of platform/architecture targets that were registered:
{"version": "0.11.3-rc.1","synced": ["agent:linux/amd64", "agent:macos/arm64", "agent:windows/amd64", "helper:windows/amd64"]}Agents will pick up the new binary on their next heartbeat (~60 seconds). Omit the
?version=parameter to sync the latest stable release instead of a specific version. This endpoint requires system-level (admin) authentication. -
Test, then promote
Terminal window git tag v0.11.3 && git push --tagsThis pushes
latesttags — all users get the update.