Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
Merge branch 'main' into feat/chat-archived-state
Yudhi Armyndharis2a2b66cb71f5
diff --cc CHANGELOG.mdindex 5e6b07454,be0be5d87..781400c9c--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -13,13 -35,22 +35,29 @@@ and this project adheres to [Semantic Vengine, for large accounts whose reads fail with `Runtime.callFunctionOn timed out`. Unset keepsPuppeteer's own budget, so nothing changes for a deployment that does not set it. The gatewayrefuses to boot on `0` or on a value above 2147483647; see docs/12 for when to reach for it.+ Thanks @JuanGalzerano.+ - `GET` and `PATCH /api/sessions/{sessionId}/proxy` read and update a session's egress proxy;+ credentials are never returned, and changes apply on the next session start+ ([#1474](https://github.com/rmyndharis/OpenWA/issues/1474)). Thanks @vitusan.+ - Sessions dashboard: set a proxy when creating a session, and view, change or clear it afterwards.+ Thanks @vitusan.+ - The dashboard chat room loads older history as you scroll up. It used to show one fixed window —+ the newest 100 persisted rows plus up to 100 rows of engine history merged in, so roughly 200+ messages — with no way to reach anything older. Pages are requested by the number of DB rows+ already fetched, not by the length of the rendered thread, which also carries engine-history+ items, so no row is skipped between pages; and the reading position is held when a page is+ prepended rather than jumping. Thanks @JuanGalzerano.+ - Webhook smart filters and automation rules can match on chat `kind` (`individual`, `group`,+ `channel`, `status`, `broadcast`, `unknown`), so a subscription can exclude channel (newsletter)+ traffic that the `isGroup` boolean could not separate from a 1:1 chat+ ([#1500](https://github.com/rmyndharis/OpenWA/issues/1500)).+- `GET /sessions/{sessionId}/chats` reports each chat's `archived`, `pinned` and `muted` state.+ The matching actions (`POST /sessions/{sessionId}/chats/archive`, `/pin`, `/mute`) already+ existed; the chat list never reported the resulting state back, so a consumer had no way to+ filter archived chats out of its own view, order pinned chats first, or honour a mute — and+ whatsapp-web.js's `chat_archived` event is deliberately not wired, so there was no event+ fallback either. `GET /sessions/{sessionId}/labels/{labelId}/chats` returns the same chat+ summary, so it reports the three fields as well.### Changed