chore(version): bump to 2.4.0 for F-071..F-074; add version-bump rule to README

Today's MQTT reliability/latency work and the infinite-mode fix were
committed without a version bump. 2.4.0 (minor: adds mqtt.status, changes
QoS and reconnect timing). docs/README.md gains rule 6: every change bumps
FW_VERSION (patch = fixes, minor = features/behaviour, major = discuss with
owner first) in the same commit, with the history comment and catalog
"Since" column updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-15 22:25:22 +03:00
co-authored by Claude Opus 5.5
parent 71ced6bf0e
commit b121560b1f
3 changed files with 18 additions and 6 deletions
+9 -1
View File
@@ -82,7 +82,15 @@ Before writing any new code, surface any dirty working tree and deal with it fir
- Log message tweaks
- Doc-only commits
**6. Console API Reference is mandatory.**
**6. Every change bumps the firmware version.**
`FW_VERSION` in `src/Version.hpp` is `MAJOR.MINOR.PATCH` and is what devices report and what OTA compares, so two different builds must never share a number.
- **PATCH** (`2.4.0 → 2.4.1`) — bug fixes, internal changes, log/latency tweaks with no new API or behaviour contract.
- **MINOR** (`2.4.x → 2.5.0`) — new commands, fields, topics or features, or a change to observable behaviour (timings, QoS, defaults).
- **MAJOR** (`2.x → 3.0.0`) — breaking changes for apps/backend. **Discuss with the owner before bumping major.**
The bump goes in the same commit as the change (or one commit covering a batch that ships together): update `FW_VERSION`, add a line to the `VERSION HISTORY` comment above it, and set the feature catalog's "Since" column to the new version. Doc-only commits don't bump.
**7. Console API Reference is mandatory.**
Any new command/API endpoint, or a change to an existing one's contents/response/errors, must be reflected in the console's live API Reference page — not just in `docs/reference/api-reference.md`. The two are separate files in separate repos and neither auto-syncs from the other; both must be updated by hand in the same change.
### Console API Reference location
+4 -4
View File
@@ -83,10 +83,10 @@ Check `git log -- src/Version.hpp` for the real bump history before tagging a ne
| F-068 | `loading` playback state while a melody downloads (MQTT `status/playback`), cancellable by `playback.stop`; `playback_failed` event on `control/reports` when an ACKed play never starts | v2.3.0 | Stable |
| F-069 | RF remote disabled on Vesper Standard builds (`HAS_RF=0`) — no fielded unit has a receiver; `rf.*` now only on agnus | v2.3.0 | Stable |
| F-070 | Richer crash reports — coredump backtrace + ELF SHA, abort() reason string, and last pre-crash heap/uptime snapshot in `boot_report` and the SD boot log | v2.3.0 | Stable |
| F-071 | MQTT self-recovery — single supervisor task replaces timer/task chain, wedge detection (stuck connect, missing heartbeat PUBACK), LWT payload fix, `mqtt.status` diagnostics | v2.3.0 | Stable |
| F-072 | Lower status/reply latency — QoS 0 for non-critical MQTT topics; WiFi modem sleep disabled | v2.3.0 | Stable |
| F-073 | Confirmed delivery for `status/playback` + `control/reports` (QoS 1, PUBACK tracked, reset + republish/resend); AsyncMqttClient vendored + patched; all dependencies pinned | v2.3.0 | Stable |
| F-074 | Fix: `mode: "infinite"` no longer flips status playing/paused every ~0.5 s | v2.3.0 | Stable |
| F-071 | MQTT self-recovery — single supervisor task replaces timer/task chain, wedge detection (stuck connect, missing heartbeat PUBACK), LWT payload fix, `mqtt.status` diagnostics | v2.4.0 | Stable |
| F-072 | Lower status/reply latency — QoS 0 for non-critical MQTT topics; WiFi modem sleep disabled | v2.4.0 | Stable |
| F-073 | Confirmed delivery for `status/playback` + `control/reports` (QoS 1, PUBACK tracked, reset + republish/resend); AsyncMqttClient vendored + patched; all dependencies pinned | v2.4.0 | Stable |
| F-074 | Fix: `mode: "infinite"` no longer flips status playing/paused every ~0.5 s | v2.4.0 | Stable |
---
+5 -1
View File
@@ -24,8 +24,12 @@
// v2.3.0 - Remote-app playback support: richer status/playback (pid/speed/duration/
// started_at/source/ts), republish on MQTT connect, specific playback
// errors, "loading" state + playback_failed report for downloads
// v2.4.0 - MQTT reliability + latency: self-recovering supervisor, LWT fix,
// mqtt.status, confirmed QoS 1 for playback/reports (QoS 0 elsewhere),
// WiFi modem sleep off, vendored/patched AsyncMqttClient, pinned deps,
// WiFi/NTP task-retry, infinite-mode status flicker fix (F-071..F-074)
// ═══════════════════════════════════════════════════════════════════════
#define FW_VERSION "2.3.0"
#define FW_VERSION "2.4.0"
// ═══════════════════════════════════════════════════════════════════════
// SemVer — lightweight 3-part version struct