From 4f609d7bb90418e80c3767b2c151c09f07ef81bf Mon Sep 17 00:00:00 2001 From: Joshua Date: Fri, 25 Sep 2026 07:39:18 -0400 Subject: [PATCH 1/2] release: advance version to 0.8.0 and add the 0.8.0 release notes --- RELEASE_NOTES.md | 35 +++++++++++++++++++++++ custom_components/nestquest/manifest.json | 2 +- pyproject.toml | 2 +- uv.lock | 2 +- 4 files changed, 38 insertions(+), 3 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 74861ea..c831ad2 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,5 +1,40 @@ # NestQuest Release Notes +## Version 0.8.0 — 2026-09-25 + +### Scope + +Minor release carrying the multi-pattern presence model (schema 9), the +Sunday-first calendar week, and two admin fixes onto `main`. + +- **Multiple presence patterns per child (schema 9):** a child now has zero or + more presence patterns instead of at most one. Each pattern has a name, a kind + (`home` or `away`), its own cycle length (1–4 weeks), its own anchor date and a + per-week weekday set. Evaluation is first-match-wins — overrides, then away, + then home, then absent when the child has at least one home pattern, else + present. Migration 9 copies each existing schedule into a `home` pattern named + "Home schedule" and drops the old `presence_schedules` table. (PRs #231, #232.) +- **Sunday-first calendar week:** the admin Schedule month grid and the + Definitions weekday picker now render weeks Sunday-first; the stored/API + weekday numbering is unchanged (Monday=0..Sunday=6). (PR #230.) +- **Fix — newly created tasks materialize immediately:** creating a quest + definition now regenerates its future instances over the rolling horizon, so a + new task reaches the panel without waiting for an unrelated write. (PRs #235, + #236.) +- **Definition start date:** the definition edit sheet gains a Start date field + so a task can be scheduled to begin on a future date. (PRs #237, #238.) +- **Docs:** the multi-pattern decision (D-016), the migration-9 rollback step in + the runbook, and the ADMIN-SPEC Schedule section. (PRs #233, #234.) + +### Upgrade note + +This release runs schema version **9**. Version 0.7.1 refuses a version-9 +database, so take a copy of the SQLite file (or note the Litestream generation) +before the first start on 0.8.0 if you need a rollback path. + +### Requirements + + ## Version 0.7.1 — 2026-09-24 ### Scope diff --git a/custom_components/nestquest/manifest.json b/custom_components/nestquest/manifest.json index d8a94a4..d9157c9 100644 --- a/custom_components/nestquest/manifest.json +++ b/custom_components/nestquest/manifest.json @@ -15,5 +15,5 @@ "iot_class": "local_polling", "issue_tracker": "https://github.com/Maniacs-Mansion/NestQuest/issues", "requirements": [], - "version": "0.7.1" + "version": "0.8.0" } diff --git a/pyproject.toml b/pyproject.toml index 11e27f9..e68ac12 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nestquest" -version = "0.7.1" +version = "0.8.0" description = "NestQuest Home Assistant Integration" readme = "README.md" requires-python = ">=3.11" diff --git a/uv.lock b/uv.lock index 1f99994..ff0653f 100644 --- a/uv.lock +++ b/uv.lock @@ -373,7 +373,7 @@ wheels = [ [[package]] name = "nestquest" -version = "0.7.1" +version = "0.8.0" source = { virtual = "." } [package.dev-dependencies] From 2906da7ed11b8a068c5925cbada15d62303af8f6 Mon Sep 17 00:00:00 2001 From: Joshua Date: Fri, 25 Sep 2026 07:42:04 -0400 Subject: [PATCH 2/2] release: clarify the 0.8.0 scope wording --- RELEASE_NOTES.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index c831ad2..2fdcea9 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -5,7 +5,8 @@ ### Scope Minor release carrying the multi-pattern presence model (schema 9), the -Sunday-first calendar week, and two admin fixes onto `main`. +Sunday-first calendar week, and the create-materializes fix, plus the +definition start-date field, onto `main`. - **Multiple presence patterns per child (schema 9):** a child now has zero or more presence patterns instead of at most one. Each pattern has a name, a kind