Release python-dmon v0.4.0.
Added
- Add
dmon stack upfor supervised stacks with dependency ordering, readiness probes, attached foreground logs, runtime degradation reporting, optional fail-fast behavior, and automatic cleanup. - Add HTTP, TCP, and command readiness probes.
- Add detached stack supervision with
dmon stack up -d, detailed status and listing, anddmon stack down. - Add detached stack restart with
dmon stack restart. - Add read-only stack log snapshots and following with
dmon stack logsanddmon stack logs -f. - Make foreground stacks discoverable through
dmon stack statusanddmon stack list, and safely stoppable from another terminal withdmon stack down. - Add a silent, structured Python API through
from dmon import Dmonfor task lifecycle and task/stack inspection. - Add
--format jsonto finite task and stack status/list commands. - Add
dmon waitandDmon.wait()for configured task readiness, plus direct
HTTP, TCP, and command waits with finite JSON results. - Add config-relative
env_fileloading with ordered layering, dotenv
expansion, explicit precedence, and support across task, stack, wait, and
Python API workflows.
Fixed
- Publish start reservations only after their JSON is complete, so concurrent starts never observe a partially written metadata file.
- Retry transient Windows permission errors while atomically replacing metadata
that another process is reading. - Keep configured environment values and environment-file paths out of process
metadata and structured inspection output.