Davidson Gomes
6efa879081
chore: increase token length in Instance model across MySQL, PostgreSQL, and PSQL Bouncer schemas
Check Code Quality / check-lint-and-build (push) Has been cancelled
Build Docker image / Build and Deploy (push) Has been cancelled
Security Scan / CodeQL Analysis (javascript) (push) Has been cancelled
Security Scan / Dependency Review (push) Has been cancelled
2025-12-16 14:32:26 -03:00
Davidson Gomes
2534ec2307
Merge branch 'develop' of github.com:EvolutionAPI/evolution-api into develop
2025-12-16 14:31:24 -03:00
Davidson Gomes
933a28de26
feat(baileys): enhance logout process and connection handling
...
- Introduced a flag to prevent reconnection during instance deletion.
- Improved logging for connection updates and errors during logout.
- Added a delay before reconnection attempts to avoid rapid loops.
- Enhanced webhook headers for better tracking and debugging.
- Updated configuration to support manual Baileys version setting.
2025-12-16 14:18:05 -03:00
Davidson Gomes
b1b07b7e7f
Merge pull request #2321 from Vitordotpy/fix/remotejid-normalization-and-cache-race
...
fix: normalize remoteJid in message updates and handle race condition in contact cache
2025-12-16 12:49:58 -03:00
Vitordotpy
bb831d590f
refactor: optimize retry loop and robustify cache error handling
2025-12-16 12:38:47 -03:00
Vitordotpy
cb41e65e29
fix: enhance logging for missing original messages during updates
2025-12-16 11:32:53 -03:00
Vitordotpy
52a8d9ea71
fix: normalize remoteJid in message updates and handle race condition in contact cache
2025-12-16 11:00:11 -03:00
Davidson Gomes
c7b7a9992e
Merge pull request #2319 from Vitordotpy/fix/remotejid-wrong-format
...
Check Code Quality / check-lint-and-build (push) Waiting to run
Build Docker image / Build and Deploy (push) Waiting to run
Security Scan / CodeQL Analysis (javascript) (push) Waiting to run
Security Scan / Dependency Review (push) Waiting to run
fix(baileys): normalize remote JIDs for consistent database lookups
2025-12-15 23:17:53 -03:00
Vitordotpy
f46699ef3f
fix(baileys): cast messageRaw and its properties to any for type safety
2025-12-15 22:35:07 -03:00
Vitordotpy
72b0833ce2
fix(baileys): cast messageRaw and its properties to any for type safety
2025-12-15 22:26:52 -03:00
Vitordotpy
2e3c8184ef
fix(baileys): normalize remote JIDs for consistent database lookups
2025-12-15 21:38:45 -03:00
Davidson Gomes
6f2bef678c
fix(chat): clean up code formatting by removing unnecessary blank lines in chat controller
Check Code Quality / check-lint-and-build (push) Has been cancelled
Build Docker image / Build and Deploy (push) Has been cancelled
Security Scan / CodeQL Analysis (javascript) (push) Has been cancelled
Security Scan / Dependency Review (push) Has been cancelled
2025-12-12 17:57:44 -03:00
Davidson Gomes
3325044500
Merge pull request #2297 from oriondesign2015/develop
...
Feature: Endpoint para Descriptografar e Visualizar Votos de Enquetes
2025-12-12 17:55:28 -03:00
Davidson Gomes
6ede76f8cc
Merge branch 'develop' into develop
2025-12-12 17:51:51 -03:00
OrionDesign
2fee5053f3
fix(baileys): corrigir declaração de variável error em blocos catch
2025-12-11 17:11:58 -03:00
OrionDesign
67c4aa640b
refactor(baileys): atualizar serviço de mensagens e schemas de validação
2025-12-11 17:01:13 -03:00
Davidson Gomes
604c9f968b
Merge pull request #2296 from caiobleggi/main
...
Build Docker image / Build and Deploy (push) Has been cancelled
Check Code Quality / check-lint-and-build (push) Has been cancelled
Security Scan / CodeQL Analysis (javascript) (push) Has been cancelled
Security Scan / Dependency Review (push) Has been cancelled
feat(channel): add support for @newsletter in sendMessage and findChannels
2025-12-11 10:08:54 -03:00
OrionDesign
076449e5d6
Refactor DecryptPollVoteDto and schema structure
...
Updated DecryptPollVoteDto to use a nested message.key structure and moved remoteJid to the top level. Adjusted the controller and validation schema to match the new structure for consistency and clarity.
2025-12-09 17:03:15 -03:00
OrionDesign
5faf3d18d6
Add poll vote decryption endpoint and logic
...
Introduces a new API endpoint and supporting logic to decrypt WhatsApp poll votes. Adds DecryptPollVoteDto, validation schema, controller method, and service logic to process and aggregate poll vote results based on poll creation message key.
2025-12-09 16:56:46 -03:00
Caio Bleggi
52fa931140
feat(channel): add support for @newsletter in sendMessage and findChannels
2025-12-09 12:03:47 -03:00
Davidson Gomes
cd800f2976
Merge branch 'release/2.3.7'
Check Code Quality / check-lint-and-build (push) Has been cancelled
Build Docker image / Build and Deploy (push) Has been cancelled
Security Scan / CodeQL Analysis (javascript) (push) Has been cancelled
Security Scan / Dependency Review (push) Has been cancelled
2.3.7
2025-12-05 11:28:52 -03:00
Davidson Gomes
4f642e17a7
chore: changelog v2.3.7
Check Code Quality / check-lint-and-build (push) Has been cancelled
Build Docker image / Build and Deploy (push) Has been cancelled
Security Scan / CodeQL Analysis (javascript) (push) Has been cancelled
Security Scan / Dependency Review (push) Has been cancelled
2025-12-05 11:28:40 -03:00
Davidson Gomes
afa6d633c6
chore(changelog): update version 2.3.7 with latest features and fixes
2025-12-05 11:13:17 -03:00
Davidson Gomes
2e3e752719
style(whatsapp): fix indentation and remove unnecessary blank lines in BaileysStartupService
2025-12-05 11:03:52 -03:00
Davidson Gomes
de11e6f9ca
fix(websocket): improve host validation logic in WebsocketController
2025-12-05 11:03:52 -03:00
Davidson Gomes
26e7eefe51
Merge pull request #2259 from muriloleal13/fix/baileys-message-stub-placeholder
...
fix(baileys): prevent message loss from WhatsApp stub placeholders
2025-12-05 11:02:34 -03:00
Davidson Gomes
b55c9fcab7
Merge pull request #2250 from gabrielmouallem/fix/respect-database-save-data-contacts
...
fix: respect DATABASE_SAVE_DATA_CONTACTS in contact updates
2025-12-05 11:01:46 -03:00
Davidson Gomes
86b194af5f
Merge pull request #2260 from alexandrereyes/feat/add-islatest-progress-to-messages-set
...
feat(events): add isLatest and progress to messages.set event
2025-12-05 11:01:21 -03:00
Davidson Gomes
3c1573c400
Merge pull request #2238 from jamesjhonatan123/feature/quote-message-n8n
...
Feature/quote message n8n
2025-12-05 11:00:54 -03:00
Davidson Gomes
178386594c
Merge branch 'develop' into feature/quote-message-n8n
2025-12-05 11:00:40 -03:00
Davidson Gomes
cea1fa0979
Merge pull request #2247 from msantosjader/fix/postgres-chat-constraint
...
fix(prisma): add unique constraint to Chat model in Postgres
2025-12-05 10:59:22 -03:00
Davidson Gomes
38be0b49d9
Merge pull request #2280 from micaelmz/feature/wildcard-for-websocket-allowed-hosts
...
feat: add wildcard "*" to allow all hosts to connect via websocket
2025-12-05 10:59:03 -03:00
Alexandre Martins
04ac880fcc
style: fix lint formatting issues
2025-12-05 10:58:42 -03:00
Davidson Gomes
3864366e75
Merge pull request #2273 from kay0ramon/fix/minio-messagecontextinfo-upload-error
...
fix: handle messageContextInfo in media upload to prevent MinIO errors
2025-12-05 10:57:55 -03:00
Davidson Gomes
2756d7e61c
Merge pull request #2264 from lucascampuus/patch-1
...
Fix Typebot message routing for @lid JIDs
2025-12-05 10:57:31 -03:00
Davidson Gomes
bb36bfe424
Merge pull request #2249 from rodps/fix/fetch-messages-jid
...
fix: unify remoteJid filtering using OR with remoteJidAlt
2025-12-05 10:55:50 -03:00
Davidson Gomes
6277c5d084
Merge branch 'develop' into patch-1
2025-12-05 10:55:05 -03:00
Davidson Gomes
b1d77019f5
Merge pull request #2275 from Vitordotpy/fix/all-wrong-things-in-this-api
...
Fix: @lid problems, messages events and chatwoot integration errors
2025-12-05 10:51:49 -03:00
Davidson Gomes
8d5c7d875e
Merge pull request #2240 from JefersonRamos/bugfix/media-upload-failed-on-all-hosts
...
Bugfix/media upload failed on all hosts
2025-12-05 10:48:04 -03:00
micaelmz
abd0351f8f
feat: add wildcard "*" to allow all hosts to connect via websocket
2025-12-02 18:01:19 -03:00
Vitordotpy
c7a2aa51ee
fix: reorganize imports and improve message handling in BaileysStartupService
2025-11-30 19:56:03 -03:00
Vitor Manoel Santos Moura
bbf60e30b0
Refactor imports and clean up code structure
2025-11-30 18:51:34 -03:00
Vitor Manoel Santos Moura
2408384b0f
Refactor message handling and polling updates
...
Refactor message handling and polling updates, including decryption logic for poll votes and cache management for message updates. Improved event processing flow and added handling for various message types.
2025-11-30 00:25:17 -03:00
Vitordotpy
250ddd2e89
fix(chatwoot): improve jid normalization and type safety in chatwoot integration
...
Refactor to preserve LID identifiers and update parameter type for better type safety as per code review feedback.
2025-11-28 21:28:45 -03:00
Vitordotpy
bee309cd28
fix: streamline message handling logic and improve cache management in BaileysStartupService
2025-11-28 21:14:19 -03:00
Vitordotpy
92c2ace7bc
fix: enhance remoteJid processing to handle '@lid' cases
2025-11-28 19:03:24 -03:00
Vitordotpy
faed3f4574
fix: improve error handling for existing contacts and simplify remoteJid processing
2025-11-28 16:32:06 -03:00
Vitordotpy
baff4e8f5e
fix: update remoteJid handling to avoid unnecessary splitting for message number
2025-11-28 16:18:33 -03:00
Kayo Ramon Oliveira
1c3a7ab027
fix: handle messageContextInfo in media upload to prevent MinIO errors
2025-11-28 15:59:09 -03:00
Lucas Luiz Campos
338cc93cfc
Fix Typebot message routing for @lid JIDs
...
O Typebot não respondia mensagens vindas de JIDs que terminam com "@lid", apenas "@s.whatsapp.net".
O comportamento ocorria porque o número era sempre extraído via:
remoteJid.split('@')[0]
Com a atualização do WhatsApp Web, algumas mensagens de mídia chegam com JID "@lid", e nesses casos o JID completo precisa ser mantido.
Ajuste realizado:
ANTES:
number: remoteJid.split('@')[0]
DEPOIS:
number: remoteJid.includes('@lid') ? remoteJid : remoteJid.split('@')[0]
Com essa condição, mensagens vindas de ambos os formatos passam a ser tratadas corretamente pelo Typebot.
2025-11-27 09:31:40 -03:00