Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs: note the empty SQLite database name and the redrive scope
Yudhi Armyndharisf24abfb91941
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 06628a675..23606f9d8 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -229,7 +229,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- Fix creating a channel with a null description answering a null description on whatsapp-web.js.- Fix a group add or create charging a bare number and its `@c.us` form as two new contacts against the daily cold allowance.- Keep the SQLite database file path when the Infrastructure page saves SQLite.-- Write `data/.env.generated` through a staged file and a rename, so a failed save keeps the previous configuration; where a rename cannot replace the file, such as a single-file mount, it is written in place, and a symlink is written through to its target.+- Write `data/.env.generated` through a staged file and a rename, so a failed save keeps the previous configuration; where a rename cannot replace the file, or the directory refuses the staged file, such as on a single-file mount or in a directory the app cannot write, it is written in place, and a symlink is written through to its target.- Refuse a configuration save that the next boot would reject, with the boot validation message, instead of persisting it.- Reset `REDIS_TLS` and clear `REDIS_USERNAME` when the Infrastructure page selects the built-in Redis.- Stop a bundled container on restart once its datastore is switched off, even when a pinned host still names it.@@ -361,6 +361,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- A boot with `DATABASE_SSL=true` beside the built-in PostgreSQL (`POSTGRES_BUILTIN=true` with the bundled host) is refused; set `DATABASE_SSL=false`, or use an external PostgreSQL.- `GET /api/sessions/{sessionId}/contacts/profile-pictures` leaves out an id it skipped after another lookup timed out, where an id without a picture or with a failed lookup stays `null`; a client that indexes the answer by every requested id must handle a missing key.- A plugin catalog with an entry whose `id`, `name`, `version` or text field is not text is refused with `400`, naming the entry; the default catalog is unaffected, and a private `PLUGIN_CATALOG_URL` catalog must correct the entry.+- `POST /api/integration/instances/{pluginId}/{instanceId}/redrive` replays and counts only the dead letters written under the instance's current session binding; rows of an earlier binding stay in the dead-letter table.### Securitydiff --git a/docs/06-api-specification.md b/docs/06-api-specification.mdindex 2d3a2aa9f..26868118b 100644--- a/docs/06-api-specification.md+++ b/docs/06-api-specification.md@@ -5637,7 +5637,7 @@ release number until the next release bumps it.#### GET /api/infra/config-Read the effective infrastructure config used to hydrate the dashboard form. Each field resolves with the boot precedence: a value pinned by the host environment (e.g. Compose `environment:`) or the project `.env` wins over `data/.env.generated`, while a key that only ever lived in the saved file reports the freshly-saved value even before a restart applies it ("saved, pending restart"). **Secrets are never returned** — only `*Set`/`*CredentialsSet` booleans indicate that a secret is stored.+Read the effective infrastructure config used to hydrate the dashboard form. Each field resolves with the boot precedence: a value pinned by the host environment (e.g. Compose `environment:`) or the project `.env` wins over `data/.env.generated`, while a key that only ever lived in the saved file reports the freshly-saved value even before a restart applies it ("saved, pending restart"). **Secrets are never returned** — only `*Set`/`*CredentialsSet` booleans indicate that a secret is stored. `database.database` is an empty string while the effective database type is `sqlite`, where the stored key holds a file path.**Auth:** API key (ADMIN)diff --git a/openapi.json b/openapi.jsonindex 637064cef..35affc03f 100644--- a/openapi.json+++ b/openapi.json@@ -22305,7 +22305,7 @@},"database": {"type": "string",- "description": "Database name, or the SQLite file path.",+ "description": "Database name under PostgreSQL; empty under SQLite.","example": "openwa"},"schema": {