From ae7bd3d464dd6c6e7b133ed3f58ba50e744bde7d Mon Sep 17 00:00:00 2001 From: Ryan Morash Date: Tue, 15 Sep 2026 20:55:20 -0400 Subject: [PATCH] chore: bump version to 0.3.1 A patch bump. The only change since v0.3.0 is the alert-email fix (#68), which stops the daemon mailing RESOLVED after every successful reconcile and names the undelivered notification in send-failure logs. Patch rather than minor because nothing an operator configures or scripts against moves: no new or renamed config keys, no relocated paths, no new exit codes, and the alert flag file behaves exactly as before. What changes is email volume, and only in the direction of the bug being fixed -- RESOLVED now arrives once per recovery instead of once per cycle. ALERT is untouched and still fires on every failed sync. Updated in every place the project version appears: pyproject.toml project.version uv.lock regenerated by uv lock docs/conf.py release deploy/rpi-image-gen/config/door-sync-ab.yaml artefact.version plus the copy-pasteable command lines in the packaging and image READMEs, and VERSION in the docs/usage.rst install snippet. The three remaining 0.2.0 references stay put, for the reasons given in the 0.3.0 bump: two are historical partition measurements that would become false if bumped, and X-Env-Layer-Version versions the layer definition rather than the payload it carries. Co-Authored-By: Claude Opus 5 (1M context) --- deploy/rpi-image-gen/README.md | 2 +- deploy/rpi-image-gen/config/door-sync-ab.yaml | 4 ++-- docs/conf.py | 2 +- docs/usage.rst | 2 +- packaging/deb/README.md | 2 +- pyproject.toml | 2 +- uv.lock | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/deploy/rpi-image-gen/README.md b/deploy/rpi-image-gen/README.md index 95ed81b..55d2767 100644 --- a/deploy/rpi-image-gen/README.md +++ b/deploy/rpi-image-gen/README.md @@ -76,7 +76,7 @@ supported upstream. ```sh packaging/deb/build-deb.sh --output dist # or download a release asset rpi-image-gen build -S ./deploy/rpi-image-gen/ -c door-sync-ab.yaml -- \ - IGconf_doorsync_deb=$PWD/dist/door-sync_0.3.0_all.deb + IGconf_doorsync_deb=$PWD/dist/door-sync_0.3.1_all.deb ``` `-S` sets the source directory, so `config/` and `layer/` are found beneath it; diff --git a/deploy/rpi-image-gen/config/door-sync-ab.yaml b/deploy/rpi-image-gen/config/door-sync-ab.yaml index a7b3c2e..9fc8785 100644 --- a/deploy/rpi-image-gen/config/door-sync-ab.yaml +++ b/deploy/rpi-image-gen/config/door-sync-ab.yaml @@ -3,7 +3,7 @@ # Build (arm64 Debian host -- see README): # packaging/deb/build-deb.sh --output dist # or fetch a release asset # rpi-image-gen build -S ./deploy/rpi-image-gen/ -c door-sync-ab.yaml -- \ -# IGconf_doorsync_deb=$PWD/dist/door-sync_0.3.0_all.deb +# IGconf_doorsync_deb=$PWD/dist/door-sync_0.3.1_all.deb # # Produces door-sync-ab.update.tar.zst in the deploy dir alongside the disk # image -- that bundle is what Raspberry Pi Connect pushes to the device. @@ -25,7 +25,7 @@ artefact: # Bump for every image you cut. This is the version an operator sees when # deciding whether to deploy or roll back, so keep it in step with the # door-sync release it carries. - version: 0.3.0 + version: 0.3.1 image: name: door-sync-ab diff --git a/docs/conf.py b/docs/conf.py index 45ee9a8..e31813b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -5,7 +5,7 @@ project = "door-sync" author = "Ryan Morash" -release = "0.3.0" +release = "0.3.1" extensions = [ "sphinx.ext.autodoc", diff --git a/docs/usage.rst b/docs/usage.rst index 0cffd13..1a7e679 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -83,7 +83,7 @@ Install from a release asset. The package is ``Architecture: all``, so one .. code-block:: bash - VERSION=0.3.0 + VERSION=0.3.1 curl -fsSLO "https://github.com/TechValleyCenterOfGravity/door-sync/releases/download/v${VERSION}/door-sync_${VERSION}_all.deb" sudo apt install "./door-sync_${VERSION}_all.deb" diff --git a/packaging/deb/README.md b/packaging/deb/README.md index ccc87d2..a7c390a 100644 --- a/packaging/deb/README.md +++ b/packaging/deb/README.md @@ -5,7 +5,7 @@ packages**, not a bundled virtualenv. ```sh packaging/deb/build-deb.sh # version from pyproject.toml -packaging/deb/build-deb.sh --version 0.3.0 # must match pyproject +packaging/deb/build-deb.sh --version 0.3.1 # must match pyproject ``` Requires `dpkg-deb`, `python3` and `uv`, so it runs on a Debian-ish host or in diff --git a/pyproject.toml b/pyproject.toml index df95f6e..cb7a3f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "door-sync" -version = "0.3.0" +version = "0.3.1" description = "CiviCRM-to-UniFi sync service for door access control" readme = "README.md" authors = [ diff --git a/uv.lock b/uv.lock index 589d2c1..9ee7a5d 100644 --- a/uv.lock +++ b/uv.lock @@ -266,7 +266,7 @@ wheels = [ [[package]] name = "door-sync" -version = "0.3.0" +version = "0.3.1" source = { editable = "." } dependencies = [ { name = "flask" },