Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
chore(release): v0.20.0
Yudhi Armyndharis5aa676b5434c
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 1840f19a0..79a5e7ec1 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.20.0] - 2026-08-16+### Fixed- The OpenAPI contract now describes the webhook `filters` shape on all three DTOs — `conditions` with its 1..20 bounds — instead of a bare object schema. Runtime validation is unchanged.@@ -16,9 +18,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- Status media is served as an inert download: `image/svg+xml` in any form becomes `application/octet-stream` with `Content-Disposition: attachment`, matching the chat-media route.- Session credential directories (engine profiles, Baileys auth state) are created `0o700` and re-tightened on every start.-- Webhook HMAC secrets require 16+ characters when set; ingress event payloads persist credential and signature headers redacted; delivery-failure errors redact host:port; the ingress reflections answer `text/plain`.-- The SSRF opt-out no longer follows redirects silently (`WEBHOOK_SSRF_REDIRECTS=true` opts in), and `SSRF_ALLOWED_HOSTS` entries are pinned to their resolved addresses.-- Plugin installs from a URL require a `#sha256=` pin in production (`PLUGIN_INSTALL_REQUIRE_PIN`); SECURITY.md now documents the plugin trust model.+- Webhook HMAC secrets require 16+ characters when set (existing secrets keep working; re-saving a short one fails); ingress event payloads persist credential and signature headers redacted; delivery-failure errors redact host:port; the ingress reflections answer `text/plain`.+- ⚠️ **Breaking (config).** With `WEBHOOK_SSRF_PROTECT=false`, deliveries no longer follow redirects — set `WEBHOOK_SSRF_REDIRECTS=true` for a receiver behind a 3xx; `SSRF_ALLOWED_HOSTS` entries are now pinned to their resolved addresses (and must resolve at registration time).+- ⚠️ **Breaking (config).** Plugin installs from a URL require a `#sha256=<64 hex>` pin when `NODE_ENV=production` (the compose default). Action required: catalog installs without a pin fragment now fail — pin the URL or set `PLUGIN_INSTALL_REQUIRE_PIN=false`; SECURITY.md documents the plugin trust model.### Addeddiff --git a/SECURITY.md b/SECURITY.mdindex 2005e9273..3ae154555 100644--- a/SECURITY.md+++ b/SECURITY.md@@ -6,13 +6,13 @@ socket. Security matters here, and we appreciate responsible disclosure.## Supported versions-Security fixes land on the latest minor release (currently 0.19.x). Older minor+Security fixes land on the latest minor release (currently 0.20.x). Older minorlines receive no backports — please upgrade older deployments.| Version | Supported || ------- | ------------------ |-| 0.19.x | :white_check_mark: |-| < 0.19 | :x: |+| 0.20.x | :white_check_mark: |+| < 0.20 | :x: |## Reporting a vulnerabilitydiff --git a/charts/openwa/Chart.yaml b/charts/openwa/Chart.yamlindex 5028e95d0..0a4e8891a 100644--- a/charts/openwa/Chart.yaml+++ b/charts/openwa/Chart.yaml@@ -2,8 +2,8 @@ apiVersion: v2name: openwadescription: OpenWA — WhatsApp API. Single-instance StatefulSet (see values.yaml replicaCount warning).type: application-version: 0.1.13-appVersion: "0.19.0"+version: 0.1.14+appVersion: '0.20.0'keywords:- openwadiff --git a/openapi.json b/openapi.jsonindex 6ad2bedb8..6f53cdfe5 100644--- a/openapi.json+++ b/openapi.json@@ -9425,7 +9425,7 @@"info": {"title": "OpenWA API","description": "Open Source WhatsApp API Gateway - Free, Self-Hosted HTTP API\n\n**Gateway-wide responses.** Two statuses are returned by middleware before routing, so any operation can emit them:\n\n- `415 Unsupported Media Type` — the request body carries a `Content-Encoding` other than `identity`. The aggregate in-flight body cap counts wire bytes, so a compressed body would be admitted on its compressed size and then inflated past the memory it is meant to bound. Send the body uncompressed.\n- `503 Service Unavailable` with `Retry-After` — the gateway already has too much request body data in flight. The body is not read; retry after the given delay.",- "version": "0.19.0",+ "version": "0.20.0","contact": {"name": "OpenWA","url": "https://github.com/rmyndharis/OpenWA",diff --git a/package-lock.json b/package-lock.jsonindex cff788f1f..41f0cd5e3 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "openwa",- "version": "0.19.0",+ "version": "0.20.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "openwa",- "version": "0.19.0",+ "version": "0.20.0","hasInstallScript": true,"license": "MIT","dependencies": {@@ -5942,7 +5942,7 @@"version": "2.2.3","resolved": "https://registry.npmjs.org/audio-decode/-/audio-decode-2.2.3.tgz","integrity": "sha512-Z0lHvMayR/Pad9+O9ddzaBJE0DrhZkQlStrC1RwcAHF3AhQAsdwKHeLGK8fYKyp2DDU6xHxzGb4CLMui12yVrg==",- "deprecated": "Renamed to @audio/decode — same API; this name remains a thin alias. npm i @audio/decode",+ "deprecated": "Renamed to @audio/decode \u2014 same API; this name remains a thin alias. npm i @audio/decode","license": "MIT","dependencies": {"@wasm-audio-decoders/flac": "^0.2.4",diff --git a/package.json b/package.jsonindex 97c2206d7..0dc309c9a 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "openwa",- "version": "0.19.0",+ "version": "0.20.0","description": "Open Source WhatsApp API Gateway - Free, Self-Hosted HTTP API for WhatsApp","author": "Yudhi Armyndharis & OpenWA Contributors","private": true,