deps: bump whatsmeow to 2026-11-02 (fix 405 client outdated)

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.
This commit is contained in:
MayconVM authored and Jorge Fernando dos Santos committed 2026-11-09 11:11:21 -03:00
1 parent 9337afc47e
commit 99b4d78f62
4 files changed
+47 -45

No files matched your search

+12 -12
View File
@@ -1,6 +1,6 @@
module github.com/evolution-foundation/evolution-go
go 1.25.0
go 1.26.0
require (
github.com/DATA-DOG/go-sqlmock v1.5.2
@@ -21,11 +21,11 @@ require (
github.com/swaggo/gin-swagger v1.6.0
github.com/swaggo/swag v1.16.3
github.com/vincent-petithory/dataurl v1.0.0
go.mau.fi/whatsmeow v0.0.0-20260630180629-b572e5bcb92b
golang.org/x/exp v0.0.0-20260611194520-c48552f49976
go.mau.fi/whatsmeow v0.0.0-20261102152715-54038813c47f
golang.org/x/exp v0.0.0-20261014143641-f0251eb4aa3e
golang.org/x/image v0.0.0-20211028202545-6944b10bf410
golang.org/x/net v0.56.0
google.golang.org/protobuf v1.36.11
golang.org/x/net v0.61.0
google.golang.org/protobuf v1.36.12
gopkg.in/natefinch/lumberjack.v2 v2.2.1
gorm.io/driver/postgres v1.5.9
gorm.io/gorm v1.25.10
@@ -75,7 +75,7 @@ require (
github.com/nats-io/nuid v1.0.1 // indirect
github.com/ncruces/go-strftime v0.1.9 // indirect
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
github.com/petermattis/goid v0.0.0-20260330135022-df67b199bc81 // indirect
github.com/petermattis/goid v0.0.0-20260918085751-abfca077860b // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
github.com/rs/xid v1.6.0 // indirect
@@ -84,13 +84,13 @@ require (
github.com/ugorji/go/codec v1.2.12 // indirect
github.com/vektah/gqlparser/v2 v2.5.27 // indirect
go.mau.fi/libsignal v0.2.2 // indirect
go.mau.fi/util v0.9.10 // indirect
go.mau.fi/util v0.11.0 // indirect
golang.org/x/arch v0.10.0 // indirect
golang.org/x/crypto v0.53.0 // indirect
golang.org/x/sync v0.21.0 // indirect
golang.org/x/sys v0.46.0 // indirect
golang.org/x/text v0.38.0 // indirect
golang.org/x/tools v0.46.0 // indirect
golang.org/x/crypto v0.58.0 // indirect
golang.org/x/sync v0.24.0 // indirect
golang.org/x/sys v0.49.0 // indirect
golang.org/x/text v0.43.0 // indirect
golang.org/x/tools v0.52.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 // indirect
modernc.org/libc v1.55.3 // indirect