Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 05:58
· 4 commits to main since this release

Logs reorganized

On Windows and macOS each service now has two logs: service.log with only the service's own output, and spm.log with spm's timestamped records of starts, exit codes, restarts, scheduled runs and supervisor upgrades. Both rotate at 10 MiB with five backups, including the output of long-running services.

  • spm logs --spm NAME shows spm's records (on Linux, systemd's messages about the unit); spm logs --scheduler shows the scheduler's own log. The MCP spm_get_logs tool takes a matching source.
  • macOS now runs every service through spm-supervisor, which the release archive and install.sh include. Supervisor upgrades switch running services over in place without restarting them.

Upgrading: recreate existing services

This release is not compatible with services created by earlier versions. After installing it, delete and recreate them, for example spm delete NAME --yes followed by spm start ... (or spm apply spm.toml). This matters most on macOS, where the launchd plists changed.

Full Changelog: v0.3.11...v0.4.0