v1.14.0
Summary
- Node v12 support has been restored
- You can now get info about incoming calls
- Build
MessageMedia
from a url (MessageMedia.fromUrl()
, docs) - Connect to a remote browser with
browserWSEndpoint
option
...and more!
New Message.links
usage
For the most part you should be able to update without any issues, though there is a notable change in how message links are returned. More specifically, Message.links
now returns an array of objects instead of an array of strings.
Example:
[
{link: "https://google.com", isSuspicious: false},
{link: "https://ẉhatsapp.com/free-tickets", isSuspicious: true}
]
Changelog
be018e6 - update .npmignore
64189d2 - chore: mark version v1.14.0
38e31a0 - Update package.json and readme for node 12 support
40cec51 - fix: node v12 support
d9ccb6f - fix: correctly resolve media that hasn't been downloaded (#763)
628b6e4 - Update supported WhatsApp Web version to v2.2126.14 (#806)
cd774be - feat: Add MessageMedia.fromUrl method (#769)
9c2592e - chore: temporarily stop update action from auto running
ae6d61b - fix: correctly serialize messages with replyButtons
98acd23 - delete gh branch automatically when closing update PR
62c7c15 - chore: update links
e12c53f - chore: specify minimum required node version
1b5e9d2 - chore(deps-dev): bump mocha from 8.4.0 to 9.0.2 (#776)
3398501 - Update supported WhatsApp Web version to v2.2126.11 (#766)
3398501 - Update supported WhatsApp Web version to v2.2126.11 (#766)
cdede83 - Include Calls (#720)
a03cc41 - Add tests and detect WhatsApp Web updates (#686)
04d2308 - Update node-webpmux 2.x syntax to 3.x (support upstream breaking change) (#762)
dc9b7e5 - Update minimum moduleRaid version to 5.0.2
cc7a729 - chore(deps): bump puppeteer from 5.5.0 to 10.1.0 (#750)
2ec46f6 - chore(deps): bump sharp from 0.26.3 to 0.28.3 (#751)
22993fc - chore(deps): bump node-webpmux from 2.0.3 to 3.0.0 (#749)
cd52075 - Add the option to use "browserWSEndpoint" (#727)
54a07fa - feat: Add support to suspicious links (#642)
efa6cf9 - fix: location class type (#718)
9d71573 - feat: message forwarding score (#716)