Releases: WhiskeySockets/Baileys
6.7.21
v7.0.0-rc.6
Version 7.0.0-RC6:
The last release candidate is here. Any future work will be segmented into PRs (whether by @jlucaso1 or I) and then tested heavily, then merged into master and then 7.0.0 will release. I don't have an ETA, but you can use this version now.
Rc6 issues and things to tackle before main release:
- Performance issues resulting from a lot of the LID migration commits and the transaction rewrite
- App State Sync (many errors)
- Up to 30x increase in binary reads (still benchmarking this my discovery is insane)
- History sync
- 1:1 parity with WA Web when it comes to a lot of things to decrease bans
Changes that have been made since rc5:
- increased socket reliability
- Full Meta Coexistence support (pairing with coex, sending messages to someone with it, receiving messages from them, and also being in a group with someone who has it are all handled)
- fetchWAWebVersion works again
- less and less vectors for automation detection, should show reduced bans
- Increased reliability and less crashes
- patched fromMe in some scenarios
- Increased signal reliability as well
v7.0.0-rc.5
v7.0.0-rc.4
7.0.0-rc.4 (2025-09-26)
Bug Fixes
v7.0.0-rc.3
7.0.0-rc.3 (2025-09-14)
What's Changed
- fix: handle invalid signatureKeyPublic types in sender-key-state AND fix handling chain key objects for skmsg group message decryption by @astrox11 in #1760
- refactor(types): Strengthen Type Safety in Signal Handling & Core Utilities by @jlucaso1 in #1764
- fix: fallback addressing_mode detection by sender suffix by @4relial in #1776
- Correct group participant phoneNumber attribute name by @suhwr in #1775
- Async + Multi Cache by @MartinSchere in #1741
- fix: optimize LID migration performance and introduce cache by @gusquadri in #1782
New Contributors
- @MartinSchere made their first contribution in #1741
Full Changelog: v7.0.0-rc.2...v7.0.0-rc.3
v7.0.0-rc.2
7.0.0-rc.2 (2025-09-08)
v7.0.0-rc.1
VERSION 7.0.0-rc.1 - 7.0.0 RELEASE CANDIDATE 1
What's Changed
- feat(WAProto): Optimize protobuf generation for 80%+ bundle size reduction by @jlucaso1 in #1665
- feat: eventMessage sending / call link creation by @vinikjkkj in #1677
- feat(business): change profile/cover photo and manage quick replies by @vinikjkkj in #1724
- Feat: Allow creating, linking, and unlinking groups from a community by @lucas-fochesatto in #1729
- Update decode-wa-message.ts (peer_recipient_pn) by @samuelrac in #1654
- fix: message retries loop by @Santosl2 in #1641
- Fix/signal group sender message keys init by @jlucaso1 in #1731
- new testing proposal by @jlucaso1 in #1547
- fix(socket): Prevent crashes from timeouts and fix memory leak by @jlucaso1 in #1627
- fix: sync pre-keys on socket start and add specific pre-key error approach by @gusquadri in #1663
- Add: LID support with lid-map and migrations of sessions by @gusquadri in #1694
- Session recreation and improved message retry by @pvictorlv in #1735
- Add mutex-based transaction safety to Signal key store (re-reworked) by @pvictorlv in #1697
- lid: Support LIDs in Baileys by @purpshell in #1747
In addition, some changes on top of the PRs were made by me to fix them.
The outcome: LIDs should work well, and message retry should be robust. Less issues with Meta Coexistence (not fully supported yet). Also, some speed up should be noticed, and less enc/dec errors overall.
This is a significant release and as such is receiving a MAJOR tag (breaking). To learn more about breaking changes, before asking any questions, please head to https://whiskey.so/migrate-latest
The release "7.0.0" will be made (full release) in around 2 days to insure stability.
v6.7.19
6.7.19 (2025-08-31)
WARNING: This version is now ESM based.
What's Changed
- Fix eslint prettier editorconfig rules by @canove in #1389
- Feature: phoneNumber on groupParticipants with lid addressing mode and more group description details by @Nurutomo in #1374
- feat: add lid to message key by @canove in #1510
- Add lid to Contact - contact sync, history sync, group participants by @devlikepro in #1472
- fix: reading qr code with hosted connection by @w3nder in #1520
- Fix Removed Reactions Events: Emit a Socket Event in "messages.reaction" by @gusquadri in #1371
- chore: update whatsapp version, tokens and increment dict version by @jlucaso1 in #1366
- Use parseFile for audio file paths instead of converting to stream by @Borewit in #1529
- refactor: migrate WASignalGroup to TypeScript and remove deprecated files by @jlucaso1 in #1320
- fix: connection error when add @ at start of your name by @vinikjkkj in #1536
- fix disconnect error when using sendPresenceUpdate with LID by @w3nder in #1545
- Add PNPM install command to PR comment workflow by @astrox11 in #1549
- Fix spelling error in README.md by @ganglike248 in #1541
- fix: handle string format for signing keys in SenderKeyState by @jlucaso1 in #1552
- Customize pairing code by @astrox11 in #1550
- add participantPn in WAMessageKey by @AliAryanTech in #1540
- fix: handle potential null values when creating Buffers from signing keys by @jlucaso1 in #1558
- [READY FOR MERGE] fix: validate media URL before downloading content from message by @jlucaso1 in #1560
- [READY FOR MERGE] Add support for custom profile picture dimensions by @astrox11 in #1563
- [READY FOR MERGE] Show poll on the sender device by @devlikepro in #1567
- [READY FOR MERGE] Implement newsletter by @jlucaso1 in #1532
- fix: add lid sutff to message.key type by @canove in #1586
- uSync error for disappearing_mode by @barkerpedro in #1589
- fix: preserve chat attributes in history sync processor by @fwidjaja94 in #1590
- fix: process crash due to socket closed while opening by @canove in #1576
- fix: Handle data: URIs in getStream to prevent server crash by @jlucaso1 in #1524
- Added message range to the clear chat action by @purpshell in #1534
- Bump Jimp && Sharp by @astrox11 in #1575
- add owner country code attribute by @astrox11 in #1565
- fix: remove static jimp import that causes error when jimp isn't installed by @vinikjkkj in #1592
- [feat]: add/edit/remove contacts by @vinikjkkj in #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 #1355
- Update to music-metadata from version 11.3.0 to 11.7.0 by @Borewit in #1607
- Fix group size metadata by @suhwr in #1600
- fix: correcting if logic for contextInfo (#1628) by @Nurutomo in #1629
- Replace deprecated assert with import attributes syntax by @steflsd in #1619
- fix: build scripts for windows by @astrox11 in #1616
- Fix regression import attribute by @jlucaso1 in #1642
- feat: community support by @joaosouz4dev in #1157
- fix: glob pattern for package.json
filesfield by @fwidjaja94 in #1660 - fix proto import by @4relial in #1653
- Refactor: Fix Event Buffer Deadlock with State Machine by @jlucaso1 in #1633
- Fix call offer from lid call by @renatoiub in #1670
- feat: add enable/disable link preview privacy by @vinikjkkj in #1675
- ci: build workflow by @vinikjkkj in #1681
- feat: event buffer should use logger.debug instead of logger.info by @azisaka in #1689
- readme: update the work here by @purpshell in #1699
- Fix: prevent zero padding in writeRandomPadMax16 causing message delivery failures by @gusquadri in #1706
New Contributors
- @Borewit made their first contribution in #1529
- @astrox11 made their first contribution in #1549
- @ganglike248 made their first contribution in #1541
- @barkerpedro made their first contribution in #1589
- @fwidjaja94 made their first contribution in #1590
- @suhwr made their first contribution in #1600
- @steflsd made their first contribution in #1619
- @joaosouz4dev made their first contribution in #1157
- @renatoiub made their first contribution in #1670
- @azisaka made their first contribution in #1689
Full Changelog: v6.7.18...v6.7.19
Nightly Release
6.7.19-alpha.0 (2025-07-09)
Bug Fixes
- add lid sutff to message.key type (#1586) (9b5afc8)
- Connection error when add @ at start of your name (#1536) (8b6ea34)
- correct spelling errors in README.md (#1541) (89b51e4)
- do not throw error on socket closed while opening (#1576) (4ccec1f)
- Handle data: URIs in getStream to prevent server crash (#1524) (92b4c68)
- handle potential null values when creating Buffers from signing keys (#1558) (210338c)
- handle string format for signing keys in SenderKeyState (#1552) (38b4ada)
- reading qr code with hosted connection (#1520) (e2ce275)
- remove chat attribute deletions in history.ts (#1590) (34188a3)
- remove static jimp import (#1592) (31cb8d7)
- validate media URL before downloading content from message (#1560) (591c98f)