This release contains important fixes for proper compatibility with WhatsApp Web v2.2208.7
Change log
2e4890d - chore: mark version v1.16.4
0bd8eb9 - chore: mark version v1.16.4-alpha.0
2718c13 - fix compatibility issues with WhatsApp Web 2.2208.7 (#1311)
v1.16.3
Change log
24f8b46 - chore: mark version v1.16.3
9ab9c48 - fix(typings): LegacySessionAuth restartOnAuthFail
b966073 - getProfilePicture Fix => Evaluation failed: Error: Comms::sendIq called before startComms (#1264)
ea2cc81 - add feature request form template
56644f4 - add github ISSUE_TEMPLATE files (#1195)
v1.16.2
Change log
fcb78a1 - chore: mark version v1.16.2
f88bd27 - fix(LocalAuth): logout method (#1267)
c45fae5 - Fix get order. (#1274)
1b75d0d - fix(LocalAuth): only throw user-supplied userDataDir error if path is different
cc78e98 - add typings for LocalAuth attributes (#1262)
fc205ff - fix: Cannot destructure property 'session' of 'undefined' as it is undefined. (#1259)
v1.16.1
client.info.me should not have been removed in the previous release since it would constitute a breaking change. This adds it back.
Change log
6ab98a5 - chore: mark version v1.16.1
3c24df0 - add back deprecated info.me
v1.16.0 - Multi Device Support
This release brings support for multidevice-enabled accounts to whatsapp-web.js. Thank you to everyone that contributed to the multidevice branch for making this possible. This release also brings a new way of handling authentication / session restoring.
Auth Strategies
To bring support for multidevice, we had to rethink how the library handles authentication due to internal changes in WhatsApp Web for how tokens are handled on MD.
To make changing how authentication works easier going forward and allow for more extensibility, 1.16 introduces the concept of Authentication Strategies. For more information on the available auth strategies and how they work, please check out the Guide.
Because of this change, the old way of passing session as a client option is now deprecated. But don't worry, you can keep using it via the LegacySessionAuth strategy until WhatsApp eventually removes non-md support.
We recommend everyone move to the LocalAuth strategy if possible, since it supports both MD and Non-MD accounts. We are aware that this method of authentication is less flexible and more difficult to move around, but we are working on ways of making this easier in the future.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps whatsapp-web.js from 1.15.2 to 1.16.4.
Release notes
Sourced from whatsapp-web.js's releases.
... (truncated)
Commits
2e4890d
chore: mark version v1.16.40bd8eb9
chore: mark version v1.16.4-alpha.02718c13
fix compatibility issues with WhatsApp Web 2.2208.7 (#1311)24f8b46
chore: mark version v1.16.39ab9c48
fix(typings): LegacySessionAuth restartOnAuthFailb966073
getProfilePicture Fix => Evaluation failed: Error: Comms::sendIq called befor...ea2cc81
add feature request form template56644f4
add github ISSUE_TEMPLATE files (#1195)fcb78a1
chore: mark version v1.16.2f88bd27
fix(LocalAuth): logout method (#1267)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)