Back to CromoForge

Changelog

v0.10.0

Official releases, new features, and fixes for CromoForge.

GitHub Releases

v0.10.0

2026-11-16
Changed
  • Signed commands required: CromoForge now rejects any command from the API that is unsigned or whose signature, expiry or nonce does not check out. Until now it only logged a warning. Uses sb-agent-core 0.5.0 (`SigningContext::require_signature`).

v0.9.0

2026-11-14
Added
  • Peers: `deploy_app` takes an optional `peers` list (IP or name, optional `host:port`) with the app's other servers. CromoForge passes them to CupraFlow 0.3.0 or newer in `route_set`, together with the app's `healthcheck_path`, so the server forwards visitors to a healthy peer while the local container is down. Without `peers` nothing changes; without CupraFlow they are ignored with a warning.
Changed
  • Healthcheck: when peers are actually used (`peers` given, the app has a domain and CupraFlow is installed), the deploy healthcheck needs a 2xx answer, since CupraFlow's active check counts nothing else as healthy, and the error says so. Otherwise it keeps accepting anything below 500.

v0.8.1

2026-11-14
Security
  • Dependencies: `sb-agent-core` 0.4.3, which moves `self_update` to 1.3 and `zip` to 9.x (GHSA-m665-v7pm-7grj, GHSA-q7v9-x93c-xqv3, GHSA-8hxf-qr8p-62x4), and `rustls` 0.23.46. Releases are still verified with zipsign before installing.

v0.8.0

2026-11-13
Changed
  • Proxy: When CupraFlow 0.2.0 or newer is installed on the server (its local socket `/run/sb-agent/cupraflow-local-cmd.sock` exists), app routes, `proxy_status` and `proxy_install` go through CupraFlow, which owns SecuryBlack's Caddy. CromoForge no longer touches Caddy on that server. If CupraFlow's socket is there but it does not answer, the route change fails instead of writing to Caddy directly. Without CupraFlow nothing changes.

v0.7.2

2026-11-08
Added
  • Deployments: `remove_sidecar` removes one sidecar of an app together with its volumes and data: `app_id`, `name` and the `volumes` it mounted. A sidecar that is only dropped from `deploy_app` keeps its volume, so a database added back later would start with the old data and password.
  • Standalone databases: `database_run` starts a PostgreSQL 17 or Redis 7 that belongs to no app, listening only on `127.0.0.1:<port>` of the server (reach it from outside through an SSH tunnel): `id`, `engine`, `port` and its password in `env.PASSWORD`. The container is `sbdb-<id>` and its data lives in the `sbdb-<id>-data` volume. PostgreSQL loads `pg_stat_statements` and Redis saves to disk and requires the password. Running it again starts the same database. `database_remove` removes the container and its volume.

v0.7.1

2026-10-23
Added
  • Signed commands (S4): Before running each order, the agent reports whether its signature checks out (`sig:ok` or the reason it does not) (sb-agent-core 0.4.2). Unsigned orders are still accepted: this only measures the fleet before signatures become mandatory.
Fixed
  • Logs: Old log files are deleted again; only the last 7 days are kept (sb-agent-core 0.4.1). Rotated files (`cromoforge.log.YYYY-MM-DD`) were never removed.
Security
  • Dependencies: rustls 0.23.46 (TLS 1.3 handshake messages were accepted across encryption level boundaries, RUSTSEC fixed in 0.23.45).

v0.7.0

2026-10-23
Added
  • Deployments: `deploy_app` takes `registry_image` instead of `source` or `image`: the image is pulled from its registry and nothing is built. This is what one-click templates use. With a moving tag (`:3`), the version it replaces is removed after a successful deploy.
  • Deployments: `sidecars` (up to 5) run next to the app, such as a template's database: `name`, `image`, `env`, `volumes` and `command`. They share a `sbapp-<app>` network with the app, which reaches each one by its `name`. A sidecar is only recreated when its spec or image changes, so the database keeps running across deploys. Its volumes are named `sbapp-<app>-<name>-<path>`. Cron apps cannot have sidecars.
  • Deployments: `remove_app` also removes the sidecars, their volumes and the network.

v0.6.0

2026-10-23
Added
  • Deployments: `deploy_app` takes `app.volumes`, up to 5 absolute paths inside the container that survive deploys. Each one is a named Docker volume, `sbapp-<app>-<path>` (`/var/lib/data` becomes `sbapp-<app>-var_lib_data`), labelled `sb.app=<app>`. Cron runs mount them too.
  • Deployments: An app with volumes stops its previous version before starting the new one, so two versions never write to the same data. If the new one fails to start, pass its healthcheck or get its route, the previous one is started again. Expect a few seconds of downtime on each deploy of these apps.
  • Deployments: `remove_app` also deletes the app's volumes and reports `volumes_removed`.

v0.5.1

2026-10-22
Fixed
  • Deployments: Two web apps deploying at the same time on one server could pick the same free host port; the second one failed with "port is already allocated". Picking the port and `docker run` now happen under one lock.

v0.5.0

2026-10-22
Added
  • Deployments: `deploy_app` takes `app.builder`: `railpack` (default, as before), `dockerfile` (built with BuildKit's `dockerfile.v0` inside `sb-buildkit`, same limits and cache) or `auto` (the Dockerfile if there is one, otherwise Railpack). `app.dockerfile_path` defaults to `Dockerfile`.
  • Deployments: `app.root_dir` builds from a folder of the repo (monorepos). Paths are checked to stay inside the repo.
  • Deployments: `app.install_command`, `app.build_command` and `app.start_command` override what Railpack detects; `start_command` also works with a Dockerfile.
  • Install: `install.sh` installs Docker when it is missing (`--no-docker` skips it).
Fixed
  • Deployments: App and cron containers no longer grow their logs forever. With Docker's default `json-file` driver they are capped at 3 files of 10 MB; other drivers are left as configured. Applies to containers started from now on (next deploy).

v0.4.0

2026-10-22
Added
  • Containers: `docker_get_logs` with `structured: true` returns `lines` (time, `stdout`/`stderr`, container) and `last_ts`. With `since` it drops the lines at that exact time, so the panel can ask only for what is new.
  • Containers: `docker_get_logs` accepts `container_ids` (up to 20) and merges their logs by time, for a whole Compose project or app.
  • Containers: `docker_container_stats` command — a `docker stats` snapshot of the running containers (CPU, memory, network, disk I/O, PIDs).
  • Containers: `docker_list_containers` adds `compose_project`, `compose_service` and `sb_app` from the container labels.
Fixed
  • Containers: `docker_get_logs` without timestamps put all stderr after all stdout; lines are now always ordered by time. Sub-second times are compared numerically (Docker trims trailing zeros).

v0.3.0

2026-10-20
Added
  • Proxy: Extra domains per app (`app.aliases` in `deploy_app`). Every domain gets its own certificate; aliases with `redirect` answer a 308 to the primary domain keeping path and query (`www` ↔ apex), the rest serve the app too. Still one Caddy route per app (`sbapp-<app>`).
Fixed
  • Proxy: Deploying a web app without a domain now removes its Caddy route, which used to keep pointing at the stopped container.

v0.2.0

2026-10-16
Added
  • Deployments: `deploy_app` command — fetches a GitHub commit tarball, builds it with Railpack against a resource-capped BuildKit container (`sb-buildkit`), starts it as `sbapp-<app>-<deployment>`, healthchecks it (HTTP for `web`, 30 s stability for `worker`), switches the Caddy route and keeps the newest `keep_images` images. Streams `build_log` lines and stage heartbeats; rollbacks reuse an existing `sbapp/<app>` image. One deployment at a time per app.
  • Deployments: `remove_app` command — removes an app's containers, images and Caddy route.
  • Proxy: `proxy_status` and `proxy_install` commands — SB-managed Caddy (`sb-caddy`, host network, admin API on `127.0.0.1:2019`) with automatic HTTPS.
  • Deployments: `cron` apps — the schedule (5 fields, UTC) lives in `/var/lib/cromoforge/cron/<app>.json`; each run starts `sbapp-<app>-run` and a run is skipped while the previous one is still going.
  • Deployments: App secrets reach the container through a 0600 `--env-file` that is deleted right after `docker run`, never through argv.
  • Deployments: BuildKit cache is pruned after each build to a size that depends on the disk, and its state lives in the named volume `sb-buildkit-state`.
  • Install: `install.sh` installs Railpack.
Security
  • Commands: Verify S4 signed commands (ed25519 signature, expiry, replay protection) via `sb-agent-core` 0.4 `command_intake`. During the transition any verification failure (unsigned, invalid or expired) is accepted with a warning.
Fixed
  • Deployments: `remove_app` untags only the app's own images, so an image shared with another app no longer makes it fail and leave the Caddy route behind.

v0.1.5

2026-10-14
Security
  • Auto-update: Only installs ed25519-signed releases (`sb-agent-core` 0.3).

v0.1.4

2026-09-17
Fixed
  • Postgres: Allow hyphens and special characters in SQL object identifiers.
  • Performance: Exclude internal streaming `COPY` commands from slow queries telemetry collection.

v0.1.3

2026-09-17
Added
  • Postgres: Implement `postgres_action` command dispatch (canceling queries, terminating backends, running concurrent reindex and vacuum).
  • Postgres: Enrich telemetry collection with active queries, installed extensions, and unused index metrics.

v0.1.2

2026-09-17
Added
  • Postgres: Implement internal zero-port PostgreSQL connection testing and telemetry collection.

v0.1.1

2026-09-16
Added
  • Docker: Implement active container lifecycle commands (`start`, `stop`, `restart`).
  • Logs: Implement live container log extraction and tailing with interleaved stdout/stderr.

v0.1.0

2026-09-13
Added
  • Initial Release: Container management and deployment agent for SecuryBlack.
  • Commands: Unix domain socket command intake and `docker_list_containers` handler.
  • Core: Built on top of `sb-agent-core` with structured logging and CLI.