v0.7.3
Docker: evoapicloud/evolution-go:0.7.3
🐛 Bug Fixes
Client outdated (405)on every connect. Since 2026-11-02 WhatsApp
rejects the client version sent by 0.7.2 (2.3000.1042386815), so every
instance dropped and could not reconnect. whatsmeow moves to54038813c47f,
which sends2.3000.1052556849. Paired sessions reconnect without a new QR
code.- Postgres connection leak on every connect and reconnect.
StartClient
calledsqlstore.Newon each run, so every connect, reconnect and client
restart opened a new connection pool that was never closed: one more
connection toPOSTGRES_AUTH_DBper call. It now uses a single auth container
per process, built withsqlstore.NewWithDBon the poolmain.goalready
opens and caps (25 open / 5 idle). Against a real Postgres, 40StartClient
calls grew the backend connections by 40 on 0.7.2 and by 1 on 0.7.3. - Auth store upgrade bounded by a deadline. The container upgrade runs
under a mutex; it now gives up after 60s instead of stalling every
StartClientbehind a database that accepts TCP but never answers. A failed
creation is retried on the next call instead of being cached. postgresdriver registered explicitly inpkg/config, with a test, so
sql.Open("postgres")cannot start failing at boot after an import cleanup.
⚠️ Breaking Changes
- Blocklist responses changed shape. The
datareturned by
POST /user/block,POST /user/unblockandGET /user/blocklistfollows
the new whatsmeow blocklist:JIDsis replaced byItems, a list of
{LID, PN, Active}, andAddressingModeis added.DHashstays. Blocking a
number that has no LID on WhatsApp now returns an error.
⬆️ Upgrade notes
- No configuration change. With SQLite (no
POSTGRES_AUTH_DB), all instances
now share one auth database connection. - Building from source requires Go 1.26. The Docker image builds with
golang:1.26.10-alpine. - The whatsmeow store gets two new columns on startup (schema v16). The
migration is backwards compatible, so going back to the 0.7.2 image keeps
working. - A
CONNECTION LIMITset on the database role to contain the leak can stay;
this service now keeps its connections within its own pool.