Skip to content

Commit 4609205

Browse files
committed
chore: release 1.0.9
1 parent ffec372 commit 4609205

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## [v1.0.9] - 2026-01-21
4+
### Adicionado
5+
- **Resolução inteligente de JIDs brasileiros**: os endpoints de envio de mensagens agora aceitam números "crus". O service consulta `IsOnWhatsApp` para decidir automaticamente se precisa inserir ou remover o nono dígito em números `+55`, reduzindo rejeições por formato incorreto (@internal/service/message/service.go#390-446, @internal/api/handler/message_handler.go#87-176).
6+
7+
### Corrigido
8+
- **Envios presos em "Aguardando"**: o envio só prossegue depois que a sincronização `critical_block` sinaliza que as chaves E2E estão prontas; caso exceda 10s retornamos erro orientando o reenvio, evitando mensagens que nunca saem (@internal/service/message/service.go#128-171).
9+
10+
### Ajustado
11+
- **Dashboard**: spinners dos botões foram padronizados para manter o feedback visual consistente em todas as telas (@internal/dashboard/templates/layout.tmpl, @internal/dashboard/templates/login.tmpl, @internal/dashboard/templates/users.tmpl).
12+
313
## [v1.0.8] - 2026-01-19
414
### Corrigido
515
- **Botões expandir/recolher na documentação**: corrigido erro `SyntaxError: Unexpected token ')'` que impedia o funcionamento dos botões +/- nos cards de exemplo da página de documentação. O problema era causado por um `if` duplicado e variável `group` usada fora do escopo.

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/mattn/go-sqlite3 v1.14.33
1414
github.com/redis/go-redis/v9 v9.17.2
1515
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
16-
go.mau.fi/whatsmeow v0.0.0-20260116142645-06f473759141
16+
go.mau.fi/whatsmeow v0.0.0-20260121154033-fdf085cd321d
1717
go.uber.org/zap v1.27.1
1818
golang.org/x/crypto v0.47.0
1919
google.golang.org/protobuf v1.36.11
@@ -64,6 +64,8 @@ require (
6464
gopkg.in/yaml.v3 v3.0.1 // indirect
6565
)
6666

67+
replace go.mau.fi/whatsmeow => ./whatsmeow
68+
6769
// Exclude versões problemáticas que removem pacotes internos
6870
// A partir da v1.11.9, o sonic removeu pacotes internos necessários
6971
exclude (

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ go.mau.fi/libsignal v0.2.1 h1:vRZG4EzTn70XY6Oh/pVKrQGuMHBkAWlGRC22/85m9L0=
138138
go.mau.fi/libsignal v0.2.1/go.mod h1:iVvjrHyfQqWajOUaMEsIfo3IqgVMrhWcPiiEzk7NgoU=
139139
go.mau.fi/util v0.9.5 h1:7AoWPCIZJGv4jvtFEuCe3GhAbI7uF9ckIooaXvwlIR4=
140140
go.mau.fi/util v0.9.5/go.mod h1:g1uvZ03VQhtTt2BgaRGVytS/Zj67NV0YNIECch0sQCQ=
141-
go.mau.fi/whatsmeow v0.0.0-20260116142645-06f473759141 h1:pa4WhVPKTubDgPnsza/UOKWP4eC1d8kLxNw69O/Npk8=
142-
go.mau.fi/whatsmeow v0.0.0-20260116142645-06f473759141/go.mod h1:jDLOQLLiYXcm4vMB6vtPcBLU387sRY+P3vOElxX8srA=
143141
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
144142
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
145143
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=

0 commit comments

Comments
 (0)