Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
chore(release): v0.18.0
Yudhi Armyndharis19ad3f3a7cd9
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 7f49f1994..584eab646 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.18.0] - 2026-08-13+### Added- ⚠️ **Breaking (config).** `NODE_ENV` is checked at boot, so a value outside `production`, `development` and `test` fails startup with a named error instead of silently selecting the permissive branch of every production hardening — CORS, Swagger, DTO error detail, the default-secret guard and the `ALLOW_DEV_API_KEY` rejection that stops the public `dev-admin-key` being seeded as an ADMIN credential. The value is compared verbatim, so one padded with surrounding whitespace is rejected too rather than accepted and then treated as non-production: the hardening readers compare the raw variable. (The default-secret guard is the exception, and in the safe direction — it runs before boot validation and trims, so a padded `production` is enforced as production there and then refused by the check below either way.) Action required: a deployment running `NODE_ENV=staging` (or any other value) now refuses to boot where it previously started with development-grade security. Set `production`, or leave the variable unset. Unset remains legal and unchanged. A blank `NODE_ENV=` counts as unset for the default-secret guard too, so both halves of the rule agree about the same string.diff --git a/SECURITY.md b/SECURITY.mdindex 724589671..575572068 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.17.x). Older minor+Security fixes land on the latest minor release (currently 0.18.x). Older minorlines receive no backports — please upgrade older deployments.| Version | Supported || ------- | ------------------ |-| 0.17.x | :white_check_mark: |-| < 0.17 | :x: |+| 0.18.x | :white_check_mark: |+| < 0.18 | :x: |## Reporting a vulnerabilitydiff --git a/charts/openwa/Chart.yaml b/charts/openwa/Chart.yamlindex 8c6488e28..405d3b740 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.11-appVersion: "0.17.0"+version: 0.1.12+appVersion: "0.18.0"keywords:- openwadiff --git a/openapi.json b/openapi.jsonindex 63547b690..cd1573d47 100644--- a/openapi.json+++ b/openapi.json@@ -9219,7 +9219,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.17.0",+ "version": "0.18.0","contact": {"name": "OpenWA","url": "https://github.com/rmyndharis/OpenWA",diff --git a/package-lock.json b/package-lock.jsonindex 363e93da0..f4c50c2d1 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "openwa",- "version": "0.17.0",+ "version": "0.18.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "openwa",- "version": "0.17.0",+ "version": "0.18.0","hasInstallScript": true,"license": "MIT","dependencies": {diff --git a/package.json b/package.jsonindex fdeb62c93..f523329d3 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "openwa",- "version": "0.17.0",+ "version": "0.18.0","description": "Open Source WhatsApp API Gateway - Free, Self-Hosted HTTP API for WhatsApp","author": "Yudhi Armyndharis & OpenWA Contributors","private": true,