Container level updates2mqtt.version_policy label, or UPD2MQTT_VERSION_POLICY env var, now takes effect whatever its case, e.g. Digest as documented, where previously only an exact uppercase value worked and others were silently ignored
The official ubuntu image keeps its own version, rather than it being suppressed by the check that stops an Ubuntu base image’s version leaking into images built on it, such as greptime/greptimedb
Update entity titles now lead with the container name, e.g. frigate Docker Image on nuc rather than Docker Image for frigate on nuc, so they read and sort better in Home Assistant
Registry authentication now follows each registry’s own challenge, rather than a built in list of token services, so registries not specially known also work
Content fetched by digest is checked against it
Multi-platform images now match the platform variant, e.g. arm/v7 rather than arm/v6
Image digest now worked out from the content where a registry doesn’t send it
Local registries on localhost are reached over plain http, as Docker does
One long-lived, cached connection to registries, rather than a new one for each request
u2m-cli adds referrers=<image> to list signatures, SBOMs and other artifacts attached to an image
Registry API stats count the expected first 401 challenge from each registry as an auth challenge, not an error
Updates now run in parallel, rather than one at a time, up to max_concurrent_updates (default 3, or U2M_MAX_CONCURRENT_UPDATES env var)
Further updates show as in progress in Home Assistant while waiting for a free slot
Compose restarts and builds, and Portainer redeploys, are still one at a time within the same project or stack
docker pull, git pull, docker compose build/up and Portainer redeploys no longer block the service while they run, so heartbeats, scans and other commands carry on
Container scans, and topic cleaning after a scan, also no longer block the service
docker compose and git are now run directly rather than through a shell
When Updates2MQTT updates its own container, a short-lived helper container now runs the docker compose up, so the recreation completes even though the old container is stopped part way through
Other updates in progress finish first, and new update requests are ignored until the restart
The new container logs the helper’s result and removes it
Falls back to the previous in-container recreate if the helper can’t be started
online to updates2mqtt/<node>/availability when it connects
offline when it shuts down,
sets offline as its MQTT last will, so the broker publishes it if the service crashes or is killed.
Every discovery config includes this as its availability_topic
Behaviour change: while Updates2MQTT is down, including while it is updating its own container, its update entities in Home Assistant show as unavailable rather than keeping their last state. They come back when it reconnects
Wait for the stack deployment to complete, using the stack’s deployment status, rather than treating Portainer accepting the redeploy request as success.
Portainer 2.41+ now deploys in the background, so a failed deployment was previously reported as a successful update. Failures now log Portainer’s error message, and a redeploy requested while another deployment of the stack is in progress waits for that to finish first
Added dind test framework to automate integration testing for compose and portainer
A default config.yaml is no longer auto-generated when MQTT_USER and MQTT_PASS are set as env vars, since the env vars already fully describe the config. Set U2M_AUTOGEN_CONFIG=1 to generate it anyway
After an update, Home Assistant could keep showing the old installed version until the next scan or a restart of Updates2MQTT, most likely when updating via Portainer, where the redeploy can return before the container is recreated. The post-update rescan now waits (up to 60s) for the container to be running the newly pulled image before republishing its state
When PORTAINER_API_KEY or PORTAINER_URL were set, an auto-generated config file copied their values into config.yaml, rather than referencing the env vars as for MQTT settings
Automated testing on every build extended to Py3.15, and backwards to Py3.14
Omegaconf restricted to <2.4.0 as new release broke many tests. Reviewing use of pydantic instead for config before embarking on upgrade for omegaconf (project has been moribund since 2022)
Compose project name now passed with -p when restarting or building, so projects whose name differs from their directory are recreated in place rather than duplicated
can_restart now only reported when the compose working directory is actually visible inside the Updates2MQTT container
New compose_path_found and compose_project attributes in MQTT installation_detail, and a warning logged when the compose directory can’t be seen
Debug CLI script renamed from cli to u2m-cli, so it can be installed with uv tool install updates2mqtt
CLI with no arguments now shows help instead of trying to look up a frigate container, and a Docker connection failure gives a one line error rather than a stack trace
New mqtt=check CLI command to show MQTT settings (without secrets) and test the broker connection
Translations for Dutch, French, German, Hindi, Italian, Japanese, Polish, Portuguese, Simplified Chinese and Spanish
Vertalingen voor Nederlands, Traductions en français, Übersetzungen auf Deutsch, हिंदी में अनुवाद, Traduzioni in italiano, 日本語の翻訳, Tłumaczenia po polsku, Traduções em português, 简体中文翻译 en traducciones al español
If the component tag doesn’t match the release tag (e.g. 1.7.3 vs v1.7.3), an alt lookup will be made on latest github released, and used if the tag name on that release matches the expected tag, with a common v,V,r or R prefix
A GitHub personal access token can now be added in the github: config section, which will increase number of API calls that can be made for release info before being throttled
Release notes can be better guessed, subject to URL validation, for Gitlab and GitHub
Where an annotation points to a source URL and hash, this can be used to derive a diff_url, a direct link to the actual release notes, and a release summary pulled from the Github source repo releases and passed onto Home Assistant
A token can be provided, e.g. a Personal Access Token, at container level using UPD2MQTT_REGISTRY_TOKEN
Common packages now have a source_repo_url and don’t need a release notes URL too if on GitHub
Better handling of tags with a pinned digest, e.g. ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:41eacbe83eca995561fe43814fd4891e16e39632806253848efaf04d3c8a8b84
Docker provider shuffles the list of containers it scans so if there is aggressive throttling there isn’t the same set of containers always getting scanned before the rate limit hits