From ef2a983c6cbaaa623d025487346e3777f3492bec Mon Sep 17 00:00:00 2001 From: Paul Fremantle Date: Thu, 28 May 2026 16:51:31 +0000 Subject: [PATCH] Release v0.2.2 --- CHANGELOG.md | 7 +++++++ bridge/Cargo.toml | 2 +- changes/daemon-pid-file.bugfix | 1 - pyproject.toml | 2 +- uv.lock | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 changes/daemon-pid-file.bugfix diff --git a/CHANGELOG.md b/CHANGELOG.md index e4d3dc5..c8031bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 0.2.2 — 2026-05-28 + +### Bugfixes + +- ``_kill_local_daemon`` now records the daemon PID via ``_start_daemon`` writing a PID file (``$XDG_RUNTIME_DIR/boocloud-bridge.pid`` or a per-user temp file) and reads it back to target the exact process. This removes the hard dependency on ``pgrep``, which is missing from slim container images like ``python:3.12-slim``. The ``pgrep`` lookup is still used as a fallback when no PID file exists, so daemons started outside ``_start_daemon`` (e.g., the ``boocloud daemon`` CLI on a host with ``procps`` installed) are still covered. ([#daemon-pid-file](https://github.com/estampo/boo-cloud/pull/daemon-pid-file)) + + ## 0.2.1 — 2026-05-28 ### Bugfixes diff --git a/bridge/Cargo.toml b/bridge/Cargo.toml index d174436..47d4f0a 100644 --- a/bridge/Cargo.toml +++ b/bridge/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "boocloud-bridge" -version = "0.2.1" +version = "0.2.2" edition = "2021" description = "Rust bridge daemon for Bambu Lab printers via libbambu_networking.so" license = "MIT" diff --git a/changes/daemon-pid-file.bugfix b/changes/daemon-pid-file.bugfix deleted file mode 100644 index fb64dfe..0000000 --- a/changes/daemon-pid-file.bugfix +++ /dev/null @@ -1 +0,0 @@ -``_kill_local_daemon`` now records the daemon PID via ``_start_daemon`` writing a PID file (``$XDG_RUNTIME_DIR/boocloud-bridge.pid`` or a per-user temp file) and reads it back to target the exact process. This removes the hard dependency on ``pgrep``, which is missing from slim container images like ``python:3.12-slim``. The ``pgrep`` lookup is still used as a fallback when no PID file exists, so daemons started outside ``_start_daemon`` (e.g., the ``boocloud daemon`` CLI on a host with ``procps`` installed) are still covered. diff --git a/pyproject.toml b/pyproject.toml index 2924c07..9906a30 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ packages = ["src/boocloud"] [project] name = "boo-cloud" -version = "0.2.1" +version = "0.2.2" description = "Cloud printing for Bambu Lab printers via boocloud-bridge" readme = "README.md" license = "MIT" diff --git a/uv.lock b/uv.lock index b9881f6..2c948a2 100644 --- a/uv.lock +++ b/uv.lock @@ -61,7 +61,7 @@ wheels = [ [[package]] name = "boo-cloud" -version = "0.2.1" +version = "0.2.2" source = { editable = "." } dependencies = [ { name = "requests" },