Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
chore(release): v0.7.20
Yudhi Armyndharis7c602898dcd8
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex e077b547a..147fdbf62 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0## [Unreleased]+## [0.7.20] - 2026-07-02+### Fixed- **Sends to a LID-migrated contact no longer intermittently fail with HTTP 500 on the whatsapp-web.js engine.** The v0.7.19 fix resolves such a contact's phone id to its `@lid` before sending, but that resolution is a WhatsApp Web round-trip that occasionally throws an internal error — in which case the send fell back to the phone id and hit `No LID for user` again, so the message tester (and the API) still returned a 500 now and then. The engine now caches each contact's confirmed resolution for the session (both a migrated `@lid` and a confirmed non-migrated `@c.us`), so a later flaky resolution reuses the known-good id and ordinary contacts are not re-probed on every send. If a send still fails with `No LID for user` — e.g. a contact that migrates mid-session — the engine drops the stale mapping, re-resolves once, and retries. (#580) Thanks @lexcorp.diff --git a/dashboard/package-lock.json b/dashboard/package-lock.jsonindex dca77f465..a4221b682 100644--- a/dashboard/package-lock.json+++ b/dashboard/package-lock.json@@ -1,12 +1,12 @@{"name": "dashboard",- "version": "0.7.19",+ "version": "0.7.20","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "dashboard",- "version": "0.7.19",+ "version": "0.7.20","dependencies": {"@tanstack/react-query": "^5.101.2","@tanstack/react-table": "^8.21.3",diff --git a/dashboard/package.json b/dashboard/package.jsonindex f50e0dfe0..03059fb12 100644--- a/dashboard/package.json+++ b/dashboard/package.json@@ -1,7 +1,7 @@{"name": "dashboard","private": true,- "version": "0.7.19",+ "version": "0.7.20","type": "module","scripts": {"dev": "vite",diff --git a/package-lock.json b/package-lock.jsonindex 17f083b7e..eedb17eda 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "openwa",- "version": "0.7.19",+ "version": "0.7.20","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "openwa",- "version": "0.7.19",+ "version": "0.7.20","hasInstallScript": true,"license": "MIT","dependencies": {diff --git a/package.json b/package.jsonindex 5bcc61ee7..68a2432a6 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "openwa",- "version": "0.7.19",+ "version": "0.7.20","description": "Open Source WhatsApp API Gateway - Free, Self-Hosted HTTP API for WhatsApp","author": "Yudhi Armyndharis & OpenWA Contributors","private": true,