Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs: credit the version resolver author, correct a stale note

Yudhi Armyndharis7d8a2ee7da7c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 096fc2919..55e714fed 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
-- The Baileys engine resolves its WhatsApp Web version through a fallback chain instead of one call: an operator pin (`BAILEYS_WA_VERSION`), the two library endpoints, a disk cache of the last known-good version, then a built-in default. Each remote tier is bounded and rides the session proxy, and a stale answer is neither cached nor used.
+- The Baileys engine resolves its WhatsApp Web version through a fallback chain instead of one call: an operator pin (`BAILEYS_WA_VERSION`), the two library endpoints, a disk cache of the last known-good version, then a built-in default. Each remote tier is bounded and rides the session proxy, and a stale answer is neither cached nor used. Thanks @giovanni-orciuolo.
- The Go and Java SDKs can @mention on an audio send. `SendAudioRequest` was flattened off the shared media type and lost the field, so the typed path could not set it while every other client could.
- Three routes declare the `409` they can answer: a duplicate template name on create or rename, and an integration instance id that already exists. Clients generated from the contract modelled those calls as unable to conflict.
- `DOMAIN` is dropped from `.env.example`. Nothing read it, so an operator setting it to their real hostname changed nothing.
diff --git a/src/engine/adapters/baileys-lifecycle.ts b/src/engine/adapters/baileys-lifecycle.ts
index a2c7d67cc..150f488d0 100644
--- a/src/engine/adapters/baileys-lifecycle.ts
+++ b/src/engine/adapters/baileys-lifecycle.ts
@@ -537,8 +537,8 @@ export class BaileysLifecycle {
return; // stopped while waiting — abort
}
void this.connect().catch(err => {
- // A failed attempt (e.g. fetchLatestBaileysVersion offline mid-outage) is NOT terminal —
- // the outage may outlast any fixed attempt budget, so schedule the following attempt.
+ // A failed attempt is NOT terminal: the outage may outlast any fixed attempt budget, so
+ // schedule the following attempt.
this.host.logger.warn('Baileys reconnect attempt failed; will retry', {
attempt: this.reconnectAttempts,
error: err instanceof Error ? err.message : String(err),