github rmyndharis/OpenWA v0.34.0

latest releases: sdk/go/v0.16.0, php-sdk-v0.16.0, java-sdk-v0.16.0...
56 minutes ago

Upgrade notes (behavior changes)

  • A source install that runs the Chrome Puppeteer downloads (no PUPPETEER_EXECUTABLE_PATH) moves from Chrome 157 to 158 with Puppeteer 25.19.0, so a rollback to 0.33.0 or earlier crosses a browser major and deletes the stored whatsapp-web.js logins unless sessions/ is restored from a backup taken before the first start on this release (see docs/11-operational-runbooks.md); this update does not change the browser in either image, and Baileys sessions are unaffected.

Added

  • Messages: send-album sends 2 to 30 photos as one WhatsApp album to a contact or group on Baileys, also over MCP (MessageSendAlbum) and as sendAlbum in the five SDKs (#2138). Thanks @rivenash for the report and the library investigation.
  • Messages: a Baileys photo or video that belongs to an album carries album.id in message.received, message.sent and metadata.album.
  • Messages: on Baileys, an HD copy of a photo or video carries hdCopyOf, the id of the message it copies, so a client can skip it.
  • Sessions: the liveness watchdog logs watchdog_probe_slow with durationMs when a live answer to its probe takes 5 s or more, so a slow stretch leaves a trace before any probe fails (#2174). Thanks @hamzaswed for the report.

Changed

  • Groups: later pages of one walk of GET /api/sessions/{sessionId}/groups or the GroupFindAll MCP tool reuse the list its first page read, for 5 s, as chat and contact lists do, instead of reading every group again; a group change or chat deletion made through the gateway drops it.

Fixed

  • Docs: the plugin guide no longer says a single send honours a chatId rewritten by a message:sending handler; since 0.32.0 the gate puts the caller's value back.
  • Tests: the session row park spec waits on time, not event loop turns, so a slow PostgreSQL runner no longer fails it.
  • Tests: the lid mapping schedule walk runs as three spec files, so jest can run its parts side by side.
  • Tests: each unit-test file releases the AsyncLocalStorage instances earlier files in its worker used, which had slowed the lid mapping walk past its timeout late in a run.
  • Dashboard tests: the search hit test for a chat that is still loading now releases the held history only once it has been requested, so a slow runner no longer fails it.

Dependencies

  • Update engine.io to 6.6.13, socket.io-adapter to 2.5.9 and ws to 8.23.1, closing high-severity advisories in Engine.IO (GHSA-v775-f652-7rv6) and ws (GHSA-37g9-w4hg-h9qr). All three ship in the runtime tree.
  • Update cross-spawn to 7.1.2 in the gateway and dashboard lockfiles, closing its Windows command and argument injection advisories (GHSA-ghv9-86vm-4v8m, GHSA-w3gc-668g-rf8f, GHSA-m6qr-m48x-3xhh).
  • Update puppeteer to 25.19.0 (see Upgrade notes), ioredis to 6.1.0, bullmq to 6.7.10, undici to 8.13.1, @bull-board/api, @bull-board/express and @bull-board/nestjs to 9.14.0, @aws-sdk/client-s3 to 3.1178.0, and @nestjs/common, @nestjs/core, @nestjs/platform-express, @nestjs/platform-socket.io, @nestjs/websockets and @nestjs/testing to 11.2.12 in the gateway.
  • Update i18next to 27.2.9, lucide-react to 1.82.0, @tanstack/react-query to 5.108.4, react-router-dom to 7.18.7 and recharts to 3.11.1 in the dashboard bundle.
  • Update vite to 8.4.0 in the dashboard, vitest to 5.1.2 in the JavaScript SDK, typescript-eslint to 8.74.0 in the gateway and the dashboard, and eslint-config-prettier to 10.1.9 in the gateway; these are build, lint and test tooling only.
  • Update guzzlehttp/guzzle to 8.6.0 in the PHP SDK lockfile; this touches development and test setups only.

Don't miss a new OpenWA release

NewReleases is sending notifications on new releases.