From 7b12ce8f0ad55bcb6ca736c95690aa5044f82576 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Tue, 11 Aug 2026 12:29:18 +0200 Subject: [PATCH] release v1.8.0 Co-Authored-By: Claude --- CHANGELOG.md | 10 ++++++++++ CLAUDE.md | 2 +- pyproject.toml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0562364..3f9c8ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +## [1.8.0] - 2026-08-11 + +### Fixed +- Deleting a task that has run returns 409 instead of a bare 500. It failed on a foreign key + against its own execution history, which the error never mentioned. + +### Added +- `DELETE /tasks/{name}?purge=true` removes a task together with its execution history, in one + transaction. The response reports `executions_purged`. + ## [1.7.0] - 2026-08-11 ### Added diff --git a/CLAUDE.md b/CLAUDE.md index c529a06..512acc4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -9,7 +9,7 @@ It is the homelab's cron. Recurring work belongs here rather than in a systemd t ## Live contract -`http://localhost:8090/openapi.json` — 10 paths, `version: 1.7.0` (verified 2026-08-11). Human +`http://localhost:8090/openapi.json` — 10 paths, `version: 1.8.0` (verified 2026-08-11). Human docs at `/docs`. Generated from running code, so read it instead of inferring routes. **Every route except `/health` requires `Authorization: Bearer $SCHEDULER_API_KEY`.** An diff --git a/pyproject.toml b/pyproject.toml index 64e1c7d..0711125 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "the-scheduler" -version = "1.7.0" +version = "1.8.0" description = "System-wide maintenance orchestration - backups, doc mirroring, cleanup, task automation" readme = "README.md" requires-python = ">=3.12"