Skip to content

Correções da revisão do #490: WPPConnect 2.10.55, carrinho, protocolo whatsapp: - #491

Merged
gabrielhhaber merged 3 commits into
fixes-and-features-oct-2026from
claude/project-thread-8cj25p
Oct 14, 2026
Merged

gabrielhhaber merged 3 commits into
fixes-and-features-oct-2026from
claude/project-thread-8cj25p

Conversation

@gabrielhhaber

Copy link
Copy Markdown
Owner

Requested by Gabriel · project thread

Before: o #490 trazia o WPPConnect 2.10.52, o botão Enviar do carrinho voltava a ficar ativo após um envio não confirmado e o registro do protocolo whatsapp: não enxergava um handler instalado para todos os usuários (HKLM).

After: o mínimo passa a ser 2.10.55 com os patches portados, um envio de carrinho não confirmado continua bloqueado e é confirmado lendo o carrinho de volta, e o handler de máquina nunca é sobrescrito.

How:

  • client/api_patches: return antes das respostas de guarda em messageController, sessionController e statusController; statusConnection responde 502 quando a consulta do número falha (em vez de "o número não existe") e consulta cada destinatário uma vez. instrumentation.ts e contactToArray não foram portados, com o motivo em docs/traps/wppconnect-upgrade.md.
  • client/wpp_minimum_version.txt = 2.10.55.
  • cart_dialog.py: _unconfirmed mantém _sent após atualizar; carrinho vazio na releitura confirma o envio.
  • whatsapp_link_association.py: consulta HKEY_CLASSES_ROOT antes de gravar a chave do esquema.
  • Changelog nos 7 idiomas (WPPConnect 2.10.55 e logout de sessão abandonada).

Limitação: tsc/jest do Node não foram executados nesta sessão (a instalação do upstream falhou aqui); a validação fica com o CI.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KoBWYaQGDmdXiH1Cqh1tV8


Generated by Claude Code

… HKLM handler check

- api_patches: return-after-respond guards in the message, session and status controllers; statusConnection answers 502 when a number lookup throws and looks each recipient up once.
- wpp_minimum_version.txt 2.10.55, upgrade audit written in docs/traps/wppconnect-upgrade.md.
- Cart: an unconfirmed send keeps Send blocked across a refresh, and reads the cart back once: empty means the order went out.
- whatsapp: link association checks the merged HKCR view so a machine-wide handler is not overridden.
- Changelog entries (all locales) for WPPConnect 2.10.55 and the abandoned-session logout.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KoBWYaQGDmdXiH1Cqh1tV8
@gabrielhhaber gabrielhhaber self-assigned this Oct 14, 2026
- macOS keymap: sections are Alt+1..8 (Alt+8 is Communities), so it no longer collides with Alt+Shift+8.
- tests: contact-message stub gets _can_view_order; group join test follows _go_to_group.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KoBWYaQGDmdXiH1Cqh1tV8
send_failure_is_ambiguous() drops any >= 500 as possibly sent; nothing was sent here, and 408 is in the retryable set. Docs and changelogs follow.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KoBWYaQGDmdXiH1Cqh1tV8
@gabrielhhaber
gabrielhhaber marked this pull request as ready for review October 14, 2026 14:31
@gabrielhhaber
gabrielhhaber merged commit a4400dc into fixes-and-features-oct-2026 Oct 14, 2026
@gabrielhhaber
gabrielhhaber deleted the claude/project-thread-8cj25p branch October 14, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants