Repository navigation
Releases
v0.1.8
First SMS import
- Start the first SMS import as soon as you confirm the LTE device.
- Show when the import is queued or running, and refresh the inbox automatically when it finishes.
- Show an empty inbox after a successful scan with no messages, or a connection error if the modem could not be read.
UniFi SMS 0.1.7
UniFi SMS 0.1.7
Version 0.1.7 updates security and SSH dependencies, improves release-check reliability, and includes the simplified Synology installation guide. Keep the same data volume when upgrading to preserve your administrator account, settings, keys, and SMS archive.
Changes
- Update Django 5.2 LTS to 5.2.19 with upstream security fixes.
- Update dnspython to 2.9.2 to fix CVE-2026-128089.
- Update Paramiko to 5.1.0, asgiref to 3.13.0, pycparser to 3.12, and Ruff to 0.17.3. Runtime packages remain installed from a wheel-only hash lock.
- Update the pinned Python setup, artifact download, and registry login actions.
- Verify portable image config digests across Docker image stores, with an export/load regression before publication.
- Retry bounded secret-scanner downloads and temporary connection failures while the isolated test registry starts.
- Include Synology installation through DSM Task Scheduler, a ready-to-use Compose file, and port 8098. Installation guides use
latestby default.
Python 3.14 and Django 5.2 LTS remain the supported runtime. REST API, MCP, email forwarding, and webhooks retain their existing settings. This release does not change the database schema.
Install or upgrade
Follow the Synology guide, UGREEN guide, or Docker Compose guide.
Images are public in both registries:
ghcr.io/akinfold/unifi-sms:0.1.7docker.io/akinfold/unifi-sms:0.1.7
latest points to this stable release. Both images support Linux AMD64 and ARM64.
Before upgrading, back up the complete data volume. Keep your existing Compose project, volume, and configuration, then run:
docker compose pull
docker compose up -dIf your Compose file pins a version, change its image tag to 0.1.7 first. Do not remove the data volume. See maintenance and backups.
Checks before image publication
Native AMD64 and ARM64 validation and a Git-history secret scan must pass before either registry receives images. Validation includes dependency audits, security regressions, Compose validation, and container checks. Container checks cover fresh administrator setup, SMS import and durable storage before device slot cleanup, email delivery, REST API and MCP authentication and CRUD, webhook retries, delivery statuses and timestamps, and hiding disabled forwarding statuses.
The upgrade gate starts from 0.1.6, preserves the administrator, sessions, settings, credentials, trust files, and existing SMS, and repeats the complete integration cycle after the upgrade. Tests use synthetic data and simulated devices and receivers. The publication job promotes the exact tested images without rebuilding and verifies matching registry digests.
UniFi SMS 0.1.6
UniFi SMS 0.1.6
Version 0.1.6 fixes security issues in authentication, credential storage, network operations, and image publication. Existing administrator accounts, device and forwarding settings, API keys, and SMS archives are preserved when you keep the same data volume.
Security fixes
- Encrypt saved SMTP passwords at rest, including existing passwords during the automatic database migration. The persistent application secret remains in the data volume; protect the complete volume and its backups as secrets.
- Limit failed administrator logins and invalid integration-key attempts. New REST API and MCP keys use constant-time keyed verification; existing keys continue to work and migrate after successful authentication.
- Trust forwarded client addresses and HTTPS headers only from explicitly configured proxy addresses.
- Apply total deadlines to SSH commands and webhook requests, including stalled connections, DNS resolution, and slow responses.
- Reject malformed JSON, non-finite numbers, oversized integers, and invalid Unicode with bounded error responses.
- Pin the Python base image by digest and install runtime dependencies from a wheel hash lock.
REST API, MCP, email forwarding, and webhooks retain their existing configuration and remain optional.
Checks before publication
Both native Linux AMD64 and ARM64 jobs must pass before publication to GHCR or Docker Hub. They run security regressions, dependency and secret checks, and container tests for:
- Fresh installation and administrator creation.
- Upgrade preservation of the administrator account, settings, credentials, trusted device keys, sessions, and SMS.
- SMS import, database storage, device slot cleanup, and email delivery using simulated LTE Pro and SMTP servers.
- Email statuses, sending times, and hiding statuses when forwarding is disabled.
- REST API and MCP key authentication, rotation, revocation, and SMS CRUD.
- Webhook delivery, retries, secret headers, duplicate handling, and delivery statuses in Chromium.
The workflow publishes the images that passed these tests without rebuilding them, verifies their digests in both registries, and updates latest to the same release. Tests use disposable volumes and synthetic data.
Upgrade from 0.1.5
Back up the entire data volume first. Keep the same Compose project and volume; do not run docker compose down -v.
For the published-image Compose file, set IMAGE_TAG=0.1.6 in the .env file beside compose.yaml, then run:
docker compose pull
docker compose up -dIf your Compose file uses a fixed image tag, change it to ghcr.io/akinfold/unifi-sms:0.1.6 or docker.io/akinfold/unifi-sms:0.1.6 before running those commands. Database migrations run automatically at startup. Existing API keys do not need to be regenerated.
HTTPS reverse proxy users: TRUST_PROXY=1 now also requires TRUSTED_PROXY_CIDRS to list the immediate proxy addresses as seen by the container. Add this environment variable to older Compose files; the current release Compose file already passes it through. See HTTPS configuration before upgrading. Direct HTTP access does not need these settings.
Older backups may contain plaintext SMTP passwords. Encrypt and restrict access to them. See backup and restore.
v0.1.5: REST API, MCP, and webhook integrations
UniFi SMS 0.1.5
Version 0.1.5 adds REST API, MCP, and webhook integrations. All three are disabled by default and can be configured in the web interface. Existing device connections, email forwarding, administrator accounts, and SMS archives continue to use the same data volume.
New integrations
- REST API: list, search, read, create, update, and delete SMS archive records at
/api/v1/messages/. - MCP: connect a client that supports Streamable HTTP and a custom Bearer header at
/mcp/. The tools arelist_sms,get_sms,create_sms,update_sms, anddelete_sms. - Access keys: generate or enter separate keys for REST API and MCP in Settings → API and MCP. Only key hashes are stored. Rotate or revoke keys from the same page; the administrator's browser session does not authorize API requests.
- Webhook forwarding: send new, complete imported SMS as JSON POST requests. Configure the destination and an optional secret header in Settings → Webhooks. Secrets are encrypted at rest using the persistent application secret.
- Delivery status: show webhook pending, error, or sent status in the inbox and message reader, with sending times for successful deliveries. Disabling forwarding hides its statuses and pauses pending deliveries.
Creating an archive record through REST API or MCP does not send a cellular SMS or trigger forwarding. Each key grants read and write access to the entire archive. Webhooks retry failed deliveries using a stable event ID and Idempotency-Key; receivers should deduplicate events.
See the integration guide for configuration, request examples, payloads, and retry behavior.
Release checks
Before images can be published to either GHCR or Docker Hub, the release workflow must pass checks for:
- Fresh installation and administrator creation.
- Upgrade preservation of accounts, settings, encrypted credentials, trusted host keys, sessions, and SMS.
- The full SMS import, archive, device cleanup, and email delivery cycle using simulated servers.
- Email statuses, sending times, and hiding statuses when forwarding is disabled.
- REST API and MCP authentication, key rotation and revocation, and SMS CRUD, including an official MCP SDK client.
- Webhook delivery, retries, secret headers, duplicate handling, and browser display of delivery statuses and times.
These checks use disposable containers and synthetic data. They do not access a live LTE Pro or send email to real recipients.
Upgrade from 0.1.4
Back up the entire data volume first. It contains the database, credentials, trusted host keys, and application secret. Keep the same Compose project and volume; do not run docker compose down -v.
For the published-image Compose file, set IMAGE_TAG=0.1.5 in the .env file beside compose.yaml, then run:
docker compose pull
docker compose up -dIf your Compose file uses a fixed image tag, change it to ghcr.io/akinfold/unifi-sms:0.1.5 or docker.io/akinfold/unifi-sms:0.1.5 before running those commands.
Database migrations run automatically at startup and add the integration settings and webhook delivery tables. The new integrations remain disabled until you enable them. No new environment variables are required.
See backup and restore for backup instructions.
v0.1.4
Show email forwarding status for each SMS in the inbox and message reader.
- Display pending, error, and sent states, with the sending time for sent messages.
- Show these indicators only when forwarding is configured and enabled. Messages without a forwarding job are labeled as not queued.
- Keep the open message status current when search, unread filters, or pagination exclude it from the list. Ignore stale refresh responses.
- Add API and frontend regression tests and update installation examples to 0.1.4.
No database migration or configuration changes are required. Keep the existing /data volume when upgrading.
Images for Linux AMD64 and ARM64 are published after release validation succeeds:
ghcr.io/akinfold/unifi-sms:0.1.4docker.io/akinfold/unifi-sms:0.1.4
Release validation checks fresh installation and administrator creation, the simulated SMS import/storage/slot-cleanup/email cycle, and an upgrade from 0.1.3 preserving settings, the administrator account, and SMS.
v0.1.3: Scrolling layout fix and full SMS cycle validation
Changes
- Keep the application header aligned with the navigation while scrolling, removing the empty gap above the sidebar.
- Add a container smoke test for the full SMS cycle with simulated LTE Pro and SMTP servers: import, committed SQLite storage before slot deletion, email forwarding, retry after a temporary SMTP failure, and duplicate prevention.
- Require fresh-installation, previous-release upgrade, and SMS-cycle checks to pass before publishing either registry image. The upgrade check verifies that administrator access, settings, credentials, host trust, and SMS survive the update.
- Update installation examples and NAS guides to version
0.1.3.
Docker images
ghcr.io/akinfold/unifi-sms:0.1.3docker.io/akinfold/unifi-sms:0.1.3
The release workflow builds images for linux/amd64 and linux/arm64 and verifies both registries before promoting latest.
Keep the existing data volume when updating. See the installation and upgrade instructions.
v0.1.2: Runtime updates and verified release builds
This maintenance release updates the runtime and security dependencies, and adds automated validation before images are published to GHCR and Docker Hub.
- Update Python to 3.14, Django to 5.2.18 LTS, dnspython to 2.9.0, and Gunicorn to 26.2.0.
- Keep CI on the same Python version as the container.
- Test fresh installation, administrator creation, login, and persistence before each release publication.
- Publish Linux AMD64 and ARM64 images to both registries, verify their digests and README metadata, and update
latestfor the current stable release. - Update the quick start and NAS installation examples to use 0.1.2. Sync Docker Hub's full description when README changes.
Install
Choose either public registry; no login is required:
docker pull ghcr.io/akinfold/unifi-sms:0.1.2
# Alternative:
docker pull docker.io/akinfold/unifi-sms:0.1.2For a new installation, follow the quick start.
Upgrade
Back up the existing /data volume, then run these commands from the directory containing your deployment Compose file:
IMAGE_TAG=0.1.2 docker compose pull
IMAGE_TAG=0.1.2 docker compose up -dThese commands apply to the release Compose file, which reads IMAGE_TAG. If your NAS configuration pins the image directly, change its image tag to 0.1.2 and redeploy. Keep the existing data volume.
SSH compatibility is unchanged from 0.1.1: Paramiko 5 rejects legacy SHA-1 SSH algorithms. See the security policy.
v0.1.1: Verify SSH host keys before authentication
The device connection wizard now verifies the SSH host key before sending credentials. Subsequent authentication and device reads use the confirmed key; unexpected keys are rejected.
- Upgrade Paramiko to 5.0.0.
- Publish the source under the MIT license.
- Add CI checks for tests, dependencies, secret scanning, and Docker builds.
- Update the quick start and Synology/UGREEN installation guides for this release.
The public image supports Linux AMD64 and ARM64. No GitHub login is required:
docker pull ghcr.io/akinfold/unifi-sms:0.1.1For an existing installation using compose.ghcr.yaml:
IMAGE_TAG=0.1.1 docker compose -f compose.ghcr.yaml pull
IMAGE_TAG=0.1.1 docker compose -f compose.ghcr.yaml up -dKeep the existing /data volume. Back it up before upgrading.
SSH compatibility: Paramiko 5 rejects legacy SHA-1 SSH signatures and key exchanges. Update device firmware or SSH configuration if the device only offers those algorithms.
Validation includes 139 Python tests, 6 JavaScript tests, dependency and Git-history secret scans, Docker builds for both architectures, and anonymous image pulls. Device protocol tests use simulated hardware; they do not establish compatibility with every LTE Pro firmware version.