The Archive case asserts postMap["data"] to map[string]interface{}, but at that
point it still holds the raw *events.Archive. The assertion panics on every
archive event:
Event handler panicked while handling a *events.Archive:
interface conversion: interface {} is *events.Archive,
not map[string]interface {}
whatsmeow recovers the panic and logs it, so nothing crashes — the event simply
never reaches the webhook, silently.
Every other case in this switch marshals and unmarshals postMap["data"] into a
map before asserting. Archive was the only one missing that step. Six call sites
do the assertion; the other five are already guarded.
(cherry picked from commit 16c4be6e9a0ae8a0bbc41f8b2790a362a7a4e2e2)
The old pattern 'grep -om1 "v[0-9].*"' matched the first vN.N.N anywhere in
the file, so any mention of a module pseudo-version above the release heading
silently corrupted the build version (e.g. it produced
"v0.0.0-20261102152715-54038813c47f`." as main.version). Anchor it to the
## vX.Y.Z heading instead.
whatsmeow was pinned to 2026-06-30 (v0.0.0-20260630180629-b572e5bcb92b),
which predates WhatsApp's minimum client version bump and causes
405 client-outdated connect failures.
- go.mau.fi/whatsmeow -> v0.0.0-20261102152715-54038813c47f
- go.mau.fi/util 0.9.10 -> 0.11.0, x/{crypto,net,sync,sys,text,tools} bumped
- go directive 1.25.0 -> 1.26.0 (upstream minimum), Dockerfile builder
golang:1.25.0-alpine -> golang:1.26.10-alpine
API adaptations:
- UpdateBlocklist/GetBlocklist now take a dhash argument
- SetStatusMessage takes types.SetStatusInput (text behind mex query)
Store schema upgrades to v16 (companion_meta_nonce, wasa_root_secret_id)
run automatically on container open; verified against a v14 sqlite auth DB.