Repository navigation
Releases
v1.1.3
StableBail 1.1.3
- New: buttons and lists are built into the library - sendMessage accepts
buttons(reply, url, call, copy, reminder, cancel-reminder, address, location, single-select lists, raw native-flow passthrough),carouselcards andlegacyButtons - Interactive messages automatically carry the biz native_flow node, like WhatsApp Web - no helper files or extra packages needed
Powered by Team Qadeer
v1.1.2
StableBail 1.1.2
- Removed the channel admin query functions added in 1.1.0 (newsletterFollowers, newsletterInsights, newsletterPendingAdminInvites) and their binary decoders
- The library is back to the clean, proven feature set — channel metadata decoding and the view-once fix stay
Powered by Team Qadeer
v1.1.1
StableBail 1.1.1
Fixes:
- Channel followers list and pending admin invites now decode the compact binary answers WhatsApp sends to Android sessions (they failed with 'Failed to parse WMex response' before)
- Removed resolveUsername
Powered by Team Qadeer
v1.1.0
StableBail 1.1.0
New:
- newsletterFollowers - detailed channel followers list
- newsletterInsights - channel admin insights
- newsletterPendingAdminInvites - pending admin invites list
- resolveUsername - resolve a WhatsApp username to jid/lid
- README: browser identity setups (Ubuntu / Android / dynamic) and the view-once fix, explained with bot code
Powered by Team Qadeer
v1.0.15
stablebail 1.0.15
- Newsletter metadata (MEX) reader hardened: binary server payloads no longer crash channel lookups; the channel id is recovered when the metadata answer arrives in binary form.
Powered by Team Qadeer
v1.0.14
Linked-device identity fix: every non-Android browser tuple now identifies as a Mac (platform MACOS) instead of Platform.WEB, which WhatsApp no longer accepts for pairing. The Android identity is unchanged.
v1.0.13 — Status fix
WhatsApp now delivers statuses as dedicated stanzas. Previous versions only acknowledged these stanzas and dropped their content, so bots never received live statuses and auto status view/react could not work. Status stanzas are now processed through the normal message pipeline (decrypted, emitted via messages.upsert). Live-verified: status view and status react register again.
v1.0.12
1.0.12
- New:
checkStatusWA(number)— checks whether a WhatsApp number is
active, banned (with appeal-token detection), blocked or rate
limited, via the public registration endpoint. - View-once: companions now register with an Android phone identity
by default (Browsers.androidPhone), so view-once media is
delivered instead of an empty stub. Includes the companion
web-client-type resolution fix (Android tuples no longer report
OTHER_WEB_CLIENT, which made WhatsApp reject pairing codes), the
Android device payload (generic OS version kept on purpose — real
versions fail the handshake), pairing display-name order, and a
fix that sends the pairing IQ only after the Noise handshake
completes. - View-once receive path:
view_once_unavailable_fanoutstubs are
recognised, surfaced to the app with aview_once_unavailable
marker, and answered with a retry request to the sender's device
instead of a placeholder resend that can never restore them. - New: encrypted message edits (MESSAGE_EDIT add-ons) are decrypted
using the original message's secret, and spoofed self-only
protocol messages from other users are dropped. - New: optional in-memory store (
makeInMemoryStore) with chats,
contacts and bounded per-chat message history, JSON snapshots,
andloadMessagefor retry/decryption flows. - Media: placeholder-host fix — media whose URL sits on
a.whatsapp.netnow downloads via its directPath (upstream
issue #2900). - LID: mapping writes return only new/changed pairs and session
refresh runs only for newly mapped LIDs; new socket helpers
getLIDForPN/getPNForLID. - Performance: batched auth-cache reads/writes, offline node
processor no longer wedges after an error, WebSocket deflate
off + TCP no-delay, longer signal/user-device caches, shorter
connect/query timeouts. - Newsletter: full channel URLs accepted wherever an invite code
is, hardened metadata parsing, corrected Mex query names. - Defaults: WhatsApp Web version pin updated to
2.3000.1054670094;fetchLatestBaileysVersionreads the live
revision from web.whatsapp.com.syncFullHistorynow defaults
to false and history sync is limited to recent/push-name. - Tests: 35 suites / 437 tests, all passing.
v1.0.11
1.0.11
- Licence: the whole package is now under the single MIT License. The previous dual licence (upstream MIT + Team Qadeer terms) is replaced; the LICENSE file carries both copyright lines (WhiskeySockets and Team Qadeer),
package.jsonnow declares"license": "MIT", and the NOTICE file is a credit request rather than a licence condition. - Build: the shipped library is a full build from the TypeScript source in
src/, and the package now includes the source maps (.js.map) for the compiled files. The compiled JavaScript is unchanged from 1.0.10; the type declarations are refreshed from source (the newsletter declarations are now complete, matching the shipped methods). - Dependencies:
@qadeer-xtech/libsignaland@qadeer-xtech/whatsapp-rust-bridgeupdated to 1.0.1 (repository metadata only; their code remains byte-identical to upstream). - No library code changes in this release.
- Published from GitHub Actions with SLSA provenance. Test suite: 28 suites / 407 tests passing.
v1.0.10
Test-infrastructure and documentation release. No library code changes.
- The repository now ships the jest configuration for the included unit test suite:
npm testruns 28 suites / 407 tests, all passing — identical to the pristine upstream baseline — and CI runs the unit tests on every push. - README: the source-verification claim now states precisely what is byte-identical (the compiled JavaScript); switching example pin updated.
- Published from the GitHub Actions workflow (trusted publishing) with SLSA provenance attestation.