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/bulk-csv-upload
Yudhi Armyndharis9df4c1d41cfa
diff --cc CHANGELOG.mdindex b737fdfbd,3b452c36a..24e844d89--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -9,8 -9,25 +9,28 @@@ and this project adheres to [Semantic V### Added- - The dashboard's Message Tester gains an Upload CSV/TXT action to populate bulk recipients, localized across all thirteen locales.-++- The dashboard's Message Tester can load bulk recipients from a `.txt` or `.csv` file, appending the++ file's lines to whatever the Recipients box already holds. One entry per line, which is what the++ box itself expects. Thanks @harry0x.+ - `GET /sessions/{sessionId}/messages` accepts `inlineMedia=false`, which omits every inline media+ payload and leaves each row's `{ omitted, sizeBytes }` marker plus the media endpoint. The budget+ bounds one response, so a paged walk pulls up to 8 MiB of base64 per page; a client reading many+ pages can now ask for the rows without the bytes+ ([#1516](https://github.com/rmyndharis/OpenWA/issues/1516)).+ - `GET /sessions/{sessionId}/messages` accepts `after`, a keyset cursor holding the `id` of the last+ message of the previous page. It anchors the window to a row instead of a count, so a message+ arriving mid-walk can no longer shift it and make a page repeat or skip rows. `offset` keeps+ working unchanged; an `after` that names no row in the session gives `400`+ ([#1479](https://github.com/rmyndharis/OpenWA/issues/1479)).+ - Each engine now names the install-time patches its library is missing as it starts, rather than+ only the message-id backport. A source install applies them with `--best-effort`, so a patch that+ could not apply left one line in the `npm install` transcript and nothing afterwards; the+ capability it repairs then failed with an error that named no cause. Diagnostic only, startup+ continues. See docs/12 for the procedure.+ - The dashboard's API Keys page can limit an operator or viewer key to chosen sessions, on creation+ and on a key that already exists. Leaving the picker empty keeps access to every session, including+ ones created later, and the keys table shows each key's scope. `allowedSessions` was already+ accepted by the REST API; this is the UI for it. Thanks @sebathi.- `PUPPETEER_PROTOCOL_TIMEOUT_MS` raises the per-browser-command budget on the whatsapp-web.jsengine, 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 gateway