Skip to content

Commit d39c0ef

Browse files
AlexgodorojaAlex Godoroja
andauthored
release: v1.11.2 — message of the day (#258)
Adds the message-of-the-day banner (merged via #253). See CHANGELOG for the full entry. Co-authored-by: Alex Godoroja <alex@vulturelabs.io>
1 parent e1a4f49 commit d39c0ef

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,29 @@ project uses [Semantic Versioning](https://semver.org/).
77
Detailed per-release notes are on the
88
[GitHub Releases page](https://github.com/TeoSlayer/pilotprotocol/releases).
99

10+
## [1.11.2] - 2026-06-15
11+
12+
### Added
13+
- **Message of the day — a network-wide banner on every `pilotctl` command.**
14+
The Pilot Protocol team can surface a short notice for a single UTC calendar
15+
day. When a message is active it is prepended to the output of every
16+
`pilotctl` command in text mode (`Message of the day: <text>`), carried as a
17+
top-level `important_update` field in the `--json` envelope (including error
18+
envelopes), and exposed as `motd` in `pilotctl info`. When no message is
19+
active for the current UTC day, output is unchanged. (motd)
20+
- **Lightweight poll-and-mirror design — fast CLI, no per-command calls.** The
21+
daemon is the only component that touches the network: a background loop
22+
(`motdPollLoop`) fetches a central feed every `--motd-interval` (default
23+
15m), selects the entry dated for the current UTC day, holds it in memory,
24+
and mirrors it to `~/.pilot/motd.json`. `pilotctl` reads only that local
25+
mirror — one file read, no network, no IPC — and re-validates the UTC day on
26+
read, so a stale mirror never shows a message past its day. No new binary
27+
ships; the poll is a goroutine inside `pilot-daemon`. A withdrawn message
28+
self-clears within one poll interval. (motd)
29+
- **New daemon configuration.** Flags `--motd-feed-url <url>` (empty disables
30+
polling entirely) and `--motd-interval <dur>`, plus the `PILOT_MOTD_URL`
31+
environment override. Surfaced in `pilotctl daemon start` help. (motd)
32+
1033
## [1.11.1] - 2026-06-15
1134

1235
### Added

0 commit comments

Comments
 (0)