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:
+9
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user