hansputera / whatsapp-bot

WhatsApp Bot designed same with DiscordBot Handler (djs)
Apache License 2.0
15 stars 2 forks source link

Bump whatsapp-web.js from 1.8.2 to 1.11.0 #18

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps whatsapp-web.js from 1.8.2 to 1.11.0.

Release notes

Sourced from whatsapp-web.js's releases.

v1.10.0 - Send media fix, modify group settings, pin chats

Important update

This release fixes an issue introduced in WhatsApp Web v2.2043.8 that prevented media messages from being sent reliably. Updating to this version is required to continue sending media messages.

New features

Modify group settings

It is now possible change group settings so that only admins can send messages or only admins can update group info (description, title, image). Note that you need to have the proper permissions for these changes to take effect.

group.setInfoAdminsOnly(true); // Only admins can edit group info
group.setInfoAdminsOnly(false); // Everyone can edit group info

group.setMessagesAdminsOnly(true); // Only admins can send messages group.setMessagesAdminsOnly(false); // Everyone can send messages

Pin Chats

You can now pin/unpin chats to the top of the list through the library:

chat.pin(); // pins the chat
chat.unpin(); // unpins the chat

chat.pinned; // indicates if the chat is pinned or not

Changelog

3d06bab - chore: mark version v1.10.0 f4a2c44 - chore: bump supported WhatsApp Web version to v2.2043.8 604656c - fix: change OpaqueData module lookup function (#391) aedf41b - feat: Pin and unpin Chats (#166) bf2775d - feat: update group settings (messages and set info admins only) (#374)

v1.9.0 - message_ack fix, chat mute timestamps

This release fixes an issue processing message_ack events due to a change in WhatsApp Web v2.2041.6. It also introduces a couple properties on Chats for handling muted chats: .isMuted and .muteExpiration.

Change log

0b11200 - chore: mark version v1.9.0 336fb9b - chore: update supported WhatsApp Web version to v2.2041.6 ba6ec7f - fix: apply message serialization fix everywhere 51a1028 - fix: remove pendingAckUpdate from serialization on changed message ack 1c31139 - fix(types): add missing type defs for chat.muteExpiration ee21e14 - feat: indicate if chat is currently muted cbf8fb7 - feat: chat mute expiration timestamp (#351)

Commits
  • edbf413 chore: mark version v1.11.0 (again)
  • 709c43c feat: add received vcards to the message (#400)
  • 054ef4a add typings
  • c9bc0a1 Merge branch 'master' into bugfix-multi_vcard
  • 6b3c846 chore: mark version v1.11.0
  • 43aa6b3 chore: add blocking functionality to readme
  • 7738f79 fix linting issues
  • fc7a1a9 fix: address removal of Conn.me
  • b0465ce fix: expose GroupMetadata
  • 2abe4a1 Merge branch 'master' into bugfix-multi_vcard
  • Additional commits viewable in compare view


Dependabot compatibility score

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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)