Skip to content

v3.7.0

Release Date: 2026-04-11

The v3.7.0 release represents the single most significant architectural jump in the history of the WhatsApp Bridge Service. We have transformed the core from a monolithic script into a high-performance, modular enterprise engine.


🏗️ Architectural Modularization

We have finalized the migration to the Modular Router Pattern. The core service is now partitioned into independent logic domains, ensuring that failures in one module do not compromise the stability of the entire bridge.

  • src/routes/auth.js: Centralized authentication and WhatsApp Native MFA logic.
  • src/routes/session.js: Dedicated session lifecycle management (Link/Unlink/Status).
  • src/routes/message.js: The high-performance dispatch hub supporting both modern /send and legacy /dispatch protocols.
  • src/routes/admin.js: Telemetry, hardware vitals, and administrative data management.

📊 Premium Analytics 2.0 (The Pulse)

The administrative dashboard now features a state-of-the-art telemetry system designed for executive-level monitoring.

  • Dynamic Range Scaling: Instant toggling between 7D, 30D, and 90D historical views.
  • Lush Area Visuals: Smoothed delivery curves with semi-transparent success/failure color gradients.
  • Floating Glass Tooltips: Custom Tailwind-based tooltips that track the cursor for real-time data inspection.
  • Silence Detection: A neutral gray baseline that provides clear visual feedback for periods of zero-dispatch activity.

🛡️ Administrative Data Management

For the first time, administrators have granular control over the service's data footprint directly from the UI.

  • System Log Purging: Permanently delete file-based logs (info, warn, error, debug) to free up disk space.
  • Audit Record Shredding: Ability to destroy individual message audit records within any historical weekly database.
  • Recursive DB Scanning: The analytics engine now dynamically scans multiple weekly SQLite databases to fulfill 90-day requests.

🔄 Legacy Compatibility (v1.3 Bridge)

To ensure zero friction for existing enterprise users, v3.7.0 introduces the Legacy Protocol Alias:

  • Transparent Aliasing: Requests sent to POST /dispatch are now automatically and transparently routed to the internal /send hub.
  • Multipart Form-Data Support: Preserved full support for multipart payloads, ensuring that legacy integration scripts do NOT require modification.

🛠️ Tooling & DevOps

  • scripts/upgrade.sh: A hardened, idempotent upgrade script that handles backups, code synchronization (git pull), and dependency updates automatically.
  • JSONL Logging Standard: Finalized the transition to high-fidelity JSONL streams for machine-readable persistence.

👨‍💻 Contributors

  • Core Implementation: Ahtesham
  • Strategic Design: Antigravity AI