v6.7.19

WhiskeySockets/Baileysv6.7.19Aug 31, 2025by github-actions[bot]

AI Summary

A major update introducing ESM support and extensive LID (Long ID) functionality alongside features like newsletters and custom profile picture dimensions.

Key Highlights

  • BREAKING: This version is now ESM based.
  • Added extensive LID support for contacts, messages, and group participants.
  • Introduced newsletter support and poll display on the sender device.
  • Added support for custom profile picture dimensions and link preview privacy.

Breaking Changes

  • This version is now ESM based

New Features

  • Newsletter support
  • Custom profile picture dimensions
  • Link preview privacy support
  • Poll display on sender device

Full Release Notes

## [6.7.19](https://github.com/WhiskeySockets/Baileys/compare/v6.7.18...v6.7.19) (2025-08-31)

WARNING: This version is now ESM based.

## What's Changed
* Fix eslint prettier editorconfig rules by @canove in https://github.com/WhiskeySockets/Baileys/pull/1389
* Feature: phoneNumber on groupParticipants with lid addressing mode and more group description details by @Nurutomo in https://github.com/WhiskeySockets/Baileys/pull/1374
* feat: add lid to message key by @canove in https://github.com/WhiskeySockets/Baileys/pull/1510
* Add lid to Contact - contact sync, history sync, group participants by @devlikepro in https://github.com/WhiskeySockets/Baileys/pull/1472
* fix: reading qr code with hosted connection by @w3nder in https://github.com/WhiskeySockets/Baileys/pull/1520
* Fix Removed Reactions Events: Emit a Socket Event in "messages.reaction" by @gusquadri in https://github.com/WhiskeySockets/Baileys/pull/1371
* chore: update whatsapp version, tokens and increment dict version by @jlucaso1 in https://github.com/WhiskeySockets/Baileys/pull/1366
* Use parseFile for audio file paths instead of converting to stream by @Borewit in https://github.com/WhiskeySockets/Baileys/pull/1529
* refactor: migrate WASignalGroup to TypeScript and remove deprecated files by @jlucaso1 in https://github.com/WhiskeySockets/Baileys/pull/1320
* fix: connection error when add @ at start of your name by @vinikjkkj in https://github.com/WhiskeySockets/Baileys/pull/1536
* fix disconnect error when using sendPresenceUpdate with LID by @w3nder in https://github.com/WhiskeySockets/Baileys/pull/1545
* Add PNPM install command to PR comment workflow by @AstroX11 in https://github.com/WhiskeySockets/Baileys/pull/1549
* Fix spelling error in README.md by @ganglike248 in https://github.com/WhiskeySockets/Baileys/pull/1541
* fix: handle string format for signing keys in SenderKeyState by @jlucaso1 in https://github.com/WhiskeySockets/Baileys/pull/1552
* Customize pairing code by @AstroX11 in https://github.com/WhiskeySockets/Baileys/pull/1550
* add participantPn in WAMessageKey by @AliAryanTech in https://github.com/WhiskeySockets/Baileys/pull/1540
* fix: handle potential null values when creating Buffers from signing keys by @jlucaso1 in https://github.com/WhiskeySockets/Baileys/pull/1558
* [READY FOR MERGE] fix: validate media URL before downloading content from message by @jlucaso1 in https://github.com/WhiskeySockets/Baileys/pull/1560
* [READY FOR MERGE] Add support for custom profile picture dimensions by @AstroX11 in https://github.com/WhiskeySockets/Baileys/pull/1563
* [READY FOR MERGE] Show poll on the sender device by @devlikepro in https://github.com/WhiskeySockets/Baileys/pull/1567
* [READY FOR MERGE] Implement newsletter by @jlucaso1 in https://github.com/WhiskeySockets/Baileys/pull/1532
* fix: add lid sutff to message.key type by @canove in https://github.com/WhiskeySockets/Baileys/pull/1586
* uSync error for disappearing_mode by @barkerpedro in https://github.com/WhiskeySockets/Baileys/pull/1589
* fix: preserve chat attributes in history sync processor by @fwidjaja94 in https://github.com/WhiskeySockets/Baileys/pull/1590
* fix: process crash due to socket closed while opening by @canove in https://github.com/WhiskeySockets/Baileys/pull/1576
* fix: Handle data: URIs in getStream to prevent server crash by @jlucaso1 in https://github.com/WhiskeySockets/Baileys/pull/1524
* Added message range to the clear chat action by @purpshell in https://github.com/WhiskeySockets/Baileys/pull/1534
* Bump Jimp && Sharp by @AstroX11 in https://github.com/WhiskeySockets/Baileys/pull/1575
* add owner country code attribute by @AstroX11 in https://github.com/WhiskeySockets/Baileys/pull/1565
* fix: remove static jimp import that causes error when jimp isn't installed by @vinikjkkj in https://github.com/WhiskeySockets/Baileys/pull/1592
* [feat]: add/edit/remove contacts by @vinikjkkj in https://github.com/WhiskeySockets/Baileys/pull/1172
* Update to music-metadata from version 7.12.3 to 11.3.0 by switching to Node.js-aware ES module resolution by @Borewit in https://github.com/WhiskeySockets/Baileys/pull/1355
* Update to music-metadata from version 11.3.0 to 11.7.0 by @Borewit in https://github.com/WhiskeySockets/Baileys/pull/1607
* Fix group size metadata by @suhwr in https://github.com/WhiskeySockets/Baileys/pull/1600
* fix: correcting if logic for contextInfo (#1628) by @Nurutomo in https://github.com/WhiskeySockets/Baileys/pull/1629
* Replace deprecated assert with import attributes syntax by @steflsd in https://github.com/WhiskeySockets/Baileys/pull/1619
* fix: build scripts for windows by @AstroX11 in https://github.com/WhiskeySockets/Baileys/pull/1616
* Fix regression import attribute by @jlucaso1 in https://github.com/WhiskeySockets/Baileys/pull/1642
* feat: community support by @joaosouz4dev in https://github.com/WhiskeySockets/Baileys/pull/1157
* fix: glob pattern for package.json `files` field by @fwidjaja94 in https://github.com/WhiskeySockets/Baileys/pull/1660
* fix proto import by @4relial in https://github.com/WhiskeySockets/Baileys/pull/1653
* Refactor: Fix Event Buffer Deadlock with State Machine by @jlucaso1 in https://github.com/WhiskeySockets/Baileys/pull/1633
* Fix call offer from lid call by @renatoiub in https://github.com/WhiskeySockets/Baileys/pull/1670
* feat: add enable/disable link preview privacy by @vinikjkkj in https://github.com/WhiskeySockets/Baileys/pull/1675
* ci: build workflow by @vinikjkkj in https://github.com/WhiskeySockets/Baileys/pull/1681
* feat: event buffer should use logger.debug instead of logger.info by @azisaka in https://github.com/WhiskeySockets/Baileys/pull/1689
* readme: update the work here by @purpshell in https://github.com/WhiskeySockets/Baileys/pull/1699
* Fix: prevent zero padding in writeRandomPadMax16 causing message delivery failures by @gusquadri in https://github.com/WhiskeySockets/Baileys/pull/1706

## New Contributors
* @Borewit made their first contribution in https://github.com/WhiskeySockets/Baileys/pull/1529
* @AstroX11 made their first contribution in https://github.com/WhiskeySockets/Baileys/pull/1549
* @ganglike248 made their first contribution in https://github.com/WhiskeySockets/Baileys/pull/1541
* @barkerpedro made their first contribution in https://github.com/WhiskeySockets/Baileys/pull/1589
* @fwidjaja94 made their first contribution in https://github.com/WhiskeySockets/Baileys/pull/1590
* @suhwr made their first contribution in https://github.com/WhiskeySockets/Baileys/pull/1600
* @steflsd made their first contribution in https://github.com/WhiskeySockets/Baileys/pull/1619
* @joaosouz4dev made their first contribution in https://github.com/WhiskeySockets/Baileys/pull/1157
* @renatoiub made their first contribution in https://github.com/WhiskeySockets/Baileys/pull/1670
* @azisaka made their first contribution in https://github.com/WhiskeySockets/Baileys/pull/1689

**Full Changelog**: https://github.com/WhiskeySockets/Baileys/compare/v6.7.18...v6.7.19