Skip to content

Latest commit

 

History

History
1929 lines (871 loc) · 101 KB

CHANGELOG.md

File metadata and controls

1929 lines (871 loc) · 101 KB

3.7.0 (2024-07-18)

Bug Fixes

  • BREAKING-CHANGE: Change function sendOrderMessage to sendChargeMessage (cf3dca0)
  • downgrade husky@^9.0.11 (e2bedb9)

Features

  • Added WPP.cart.add function (f2087d7)
  • Added WPP.cart.clear function (670474d)
  • Added WPP.cart.get function (5f205d0)
  • Added WPP.cart.remove function (ec01aac)
  • Added WPP.cart.submit function (08ac283)
  • Added WPP.cart.update function (011fcdc)
  • Exported function addProductToCart (83983af)
  • Exported function createOrder (ba553d0)
  • Exported function updateCart (245e7d9)

3.6.0 (2024-07-16)

Bug Fixes

  • Fixed get text status function (close #2115) (b165a1c)
  • Improovment check versions for >= 2.3000.x (4119ef2)

Features

3.5.0 (2024-07-12)

Bug Fixes

Features

3.4.2 (2024-07-08)

Bug Fixes

3.4.1 (2024-06-24)

Bug Fixes

  • Improovment WPP.order.get function (9ad2dd2)

Features

  • Added queryOrder function (9bae53b)

3.4.0 (2024-06-21)

Bug Fixes

  • Fixed functions for Whatsaspp >=2.3000.1014314644 (e22a7f5)
  • Fixed join group via invite (close #2029) (610884d)

Features

  • Added WPP.chat.sendPixKeyMessage (b3526f2)

3.3.2 (2024-06-18)

Bug Fixes

Features

Reverts

  • feat: Added call.outgoing_call event (c2f470a)

3.3.1 (2024-06-09)

Bug Fixes

  • Fixed delete messages for me (5cdf157)

3.3.0 (2024-06-06)

Bug Fixes

Features

3.2.6 (2024-05-10)

Bug Fixes

  • Fixed functions for whatsapp >= 2.3000.1013409128 (a2f9053)

3.2.5 (2024-05-10)

Bug Fixes

  • Fixed functions for whatsapp >= 2.3000.1013251637 (#1894) (3f7488a)
  • Fixed functions for whatsapp >= 2.3000.1013384762 (#1917) (46a6c28)
  • Fixed servers for link previews (5e6d2f8)
  • Improovment link preview to prioritize the native function (ffa4eaa)
  • Improovment on Linkpreview cache (05a78d2)
  • Update GTAG for Analytics (2586f3c)

3.2.3 (2024-05-02)

Bug Fixes

  • Fixed check nine digit in Brazil in queryExists (close #1888) (8bc5f9e)
  • Fixed getNumChatsPinned function (b91ec15)
  • Fixed queryGroupInviteCode function (close #1890) (b4ec6a8)
  • Fixed sendExitGroup function (b4b046c)

3.2.2 (2024-04-29)

Bug Fixes

3.2.1 (2024-04-27)

Bug Fixes

3.2.0 (2024-04-25)

Bug Fixes

  • Fixed functions in whatsapp >=2.3000.1013010908 (0481ce8)
  • Fixed injecting, error undefined VERSION (close #1851) (8ccbf06)
  • Fixed send newsletter text message (close #1808) (a041474)
  • Fixed week days in spanish (close #1829) (a75cc32)
  • Improovment newsletter to send poll (ca4382f)
  • Improovment on remove participant group (close #1814) (7fc192e)

Features

3.1.1 (2024-04-10)

Bug Fixes

Features

  • Improovment WPP.chat.list for list Newsletters (6d3efed)

3.1.0 (2024-03-28)

Bug Fixes

Features

  • Added WPP.chat.pinMsg function (a7078f8)
  • Added WPP.whatsapp.PinInChatStore (e81a362)
  • Exported WPP.whatsapp.sendPinInChatMsg function (c7a5606)

Reverts

  • Added template to changelog (9ebf70b)

3.0.1 (2024-03-25)

Bug Fixes

3.0.0 (2024-03-09)

Bug Fixes

  • Fixed getHistorySyncProgress function compatibility with WhatsApp >= 2.2402.2 (8ad2cec)
  • Fixed send message for groups (e0d5932)

Features

2.28.1 (2023-12-20)

Bug Fixes

Features

2.28.0 (2023-10-29)

Bug Fixes

  • Added trick to send list message (WPP.chat.sendListMessage) (752329b)
  • Avoid emit events for 'chat.new_reaction' while is syncing (61bdffc)
  • Avoid emit events for 'chat.poll_response' while is syncing (f5b4cb9)

Features

  • Added WPP.conn.genLinkDeviceCodeForPhoneNumber function (close #1400) (7e5d363)
  • Added WPP.contact.getCommonGroups function (close #1273) (a7766fb)

2.27.0 (2023-10-08)

Bug Fixes

Features

2.26.1 (2023-09-13)

Bug Fixes

  • Fixed exported getDisplayNameOrPnForLid function for WhatsApp >= 2.2337.7 (f6b463d)
  • Fixed return value for the isNewMsg attribute (close #1333) (37b8354)
  • Fixed script injection (close #1322) (c412158)

2.26.0 (2023-09-01)

Bug Fixes

Features

  • Added order.payment_status event (8165a2a)
  • Added support for send PTV message (f973d9d)
  • Added util.generateOrderUniqueId function (53aa925)
  • Added WPP.chat.sendOrderMessage function (close #1328) (75047b1)
  • Added WPP.order.get function (7a0dce9)
  • Exported function currencyForCountryShortcode (d3caf97)
  • Exported function getCountryShortcodeByPhone (17671d7)
  • Exported function getOrderInfo (20e88c4)
  • Exported processRawAudioVideo function (e1b1db6)
  • Exported processRawMedia function (45a353e)

2.25.0 (2023-08-28)

Bug Fixes

Features

  • Added cache for link preview result (close #1316) (e19d4a6)

2.24.8 (2023-08-16)

Bug Fixes

  • Fixed call compatibility with WhatsApp >= 2.2333.11 (fix #1269) (57b1a1e)
  • Fixed WhatsApp WEB loading error (fix #1249) (433f939)
  • Fixed WPP.blocklist.isBlocked (fix #1231) (353a3c2)
  • Fixed WPP.chat.list for communities (74ea985)
  • server link-preview (2763a4f)
  • webpack loading improvement attempt (ac4a818)

2.24.7 (2023-07-11)

Bug Fixes

  • Fixed compatibility for WhatsApp >= 2.2329.7 (bf34304)

Features

  • Added option onlyCommunities for WPP.chat.list function (590c9ce)
  • Added option to create a subgroup for community (445bc79)

2.24.6 (2023-07-07)

Bug Fixes

  • Fixed chat.new_message event for status reply (fix #1211) (a898151)
  • Fixed WPP.blocklist.blockContact function for WhatsApp >= 2.2323.4 (fix #1210) (5e8c31e)

2.24.5 (2023-07-02)

Bug Fixes

  • Fixed compatibility of ContactModel for WhatsApp >= 2.2327.4 (fix #1208) (b960710)

2.24.4 (2023-06-17)

Bug Fixes

  • Fixed set ephemeral value for group (#1185) (84c627d)
  • Fixed WPP.chat.sendLocationMessage function (fix #1187) (4b07663)

2.24.3 (2023-06-13)

Bug Fixes

  • Fixed compatibility with WhatsApp >= 2.2325.3 (5339618)

2.24.2 (2023-05-23)

Bug Fixes

  • Fixed WPP.group.addParticipants function for WhatsApp >= 2.2320.4 (fix #1114) (fb7f4c6)
  • Small improvement for webpack inject (#1061) (84e7309)

Features

  • Exported getCurrentLid function (92176a0)

2.24.1 (2023-05-19)

Bug Fixes

2.24.0 (2023-05-03)

Bug Fixes

  • Fixed ephemeral setting for sending messages (fix #1014); (a7d840d)
  • Fixed sending status with image/video (fix #1035); (cb7a32d)
  • Fixed sent status that was not show up after refresh (fix #1017) (dadb00d)
  • Improved chat.new_message event (5355a0e)
  • Improved files loading from WA-JS (fix #1061) (f94f695)

Features

2.23.5 (2023-04-29)

Bug Fixes

Features

2.23.4 (2023-04-28)

Bug Fixes

  • Fixed exported getHistorySyncProgress function (8ba04e8)
  • Fixed WPP.chat.editMessage function for WhatsApp >= 2.2318.7 (7a46aa0)

2.23.3 (2023-04-15)

Bug Fixes

  • Fixed deprecated attributes for MsgModel (ff65494)

2.23.2 (2023-04-13)

Bug Fixes

  • Fixed attributes MsgModel (4ac516f)

Features

2.23.1 (2023-04-03)

Bug Fixes

2.23.0 (2023-04-01)

Bug Fixes

  • Avoid permanent cache for WPP.contact.queryExists (wppconnect-team/wppconnect#1604) (556a97f)
  • Fixed buttons/list from normal accounts (based on adiwajshing/Baileys#2674) (6ec2d93)
  • Fixed getMessage return for serialization (fix #957) (f5a3bb9)
  • Renamed all call functions (f54cc87)

Features

  • Added option to disable all status sync (config.syncAllStatus) (845bcf6)
  • Added WPP.call.accept function (d379e50)
  • Added WPP.call.end function (ec7364d)
  • Added WPP.call.offer function (aa53282)

2.22.2 (2023-03-15)

Bug Fixes

  • Fixed WPP.chat.getVotes function (#969) (f303f33)
  • Fixed WPP.chat.sendFileMessage function for WhatsApp >= 2.2312.5 (fix #976) (261be97)

2.22.1 (2023-03-13)

Bug Fixes

  • Fixed compatibility with WhatsApp >= 2.2312.5 (7571f2f)
  • Fixed webpack events error (2b1da73)

2.22.0 (2023-03-09)

Features

  • Added support to string, blob and file formats to WPP.chat.sendFileMessage (8a6626a)
  • Added support to waveform for ptt audio messages (290ebfe)

2.21.0 (2023-03-04)

Bug Fixes

  • Update UserPrefs namespace (68db5fa)

Features

  • Added WPP.group.removeIcon function (close #923) (1abd12e)
  • Added WPP.profile.removeMyProfilePicture function (#923) (307e567)
  • Added WPP.profile.setMyProfileName function (close #941) (e8916e3)
  • Exported requestDeletePicture function (1f26500)
  • Exported setPushname function (40eb9bf)

2.20.2 (2023-02-28)

Bug Fixes

  • Fixed link-preview function (2fc38b1)

2.20.1 (2023-02-28)

Bug Fixes

  • Fixed isUnreadTypeMsg function for WhatsApp >= 2.2310.4 (0d1340d)
  • Removed offline link-preview server (475bc4b)

2.20.0 (2023-02-21)

Bug Fixes

  • Fixed isUnreadTypeMsg function for WhatsApp >= 2.2308.6 (759bd64)
  • Removed fallback for WhatsApp WEB < 2.2307.10 (57f901a)

Features

  • Added sendStatusToDevice option to avoid app crashing (d762d3a)
  • Added WPP.status.updateParticipants function (1cc99a3)

2.19.1 (2023-02-07)

Bug Fixes

  • add image to product edit (#902) (426c5e9)
  • Fixed WPP.contact.queryExists function for WhatsApp >= 2.2306.7 (3b76afc)

2.19.0 (2023-01-31)

Bug Fixes

  • Bugs fix (855926d)
  • Typos fix for community (1486b10)
  • Updated the minimal version of WhatsApp WEB to >=2.2245.8-beta (2ea71a2)

Features

  • Added chat.active_chat event (close #868) (4ca7a39)
  • Added WPP.chat.getActiveChat function (close #868) (bc0b7be)
  • Added WPP.community.demoteParticipants (d9a84ac)
  • Added WPP.community.promoteParticipants (943a67c)
  • Added WPP.group.getGroupSizeLimit function (close #691) (77a91fe)
  • Created community functions (d52137b)

2.18.4 (2023-01-23)

Bug Fixes

  • Fixed WPP.conn.getAuthCode function for WhatsApp >= 2.2301.5 (357b62b)

2.18.3 (2023-01-20)

Features

  • Added support to reject call for WhatsApp >= 2.2301.5 (2aaf02c)
  • Extracted WapNode and wap functions (3b5a323)

2.18.2 (2023-01-13)

Bug Fixes

  • Fixed hsm/template message is not flagging chat as unread (3b9a84b)
  • Fixed server for link-preview (#861) (7294dcb)
  • Fixed WPP.chat.mute function (close #849) (#860) (55db3c3)

Features

  • Added WPP.group.getAllGroups function (#859) (75fb318)

2.18.1 (2023-01-12)

Bug Fixes

  • Disabled WPP.call.rejectCall function for WhatsApp >= 2.2301.5 (3398baa)
  • Dropped support for live location events for WhatsApp >= 2.2301.5 (d87367b)
  • Fixed group functions for WhatsApp >= 2.2301.5 (69e5db5)
  • Fixed WPP.chat.getMessages function for WhatsApp >= 2.2301.5 (dee775a)
  • Fixed WPP.group.create function for WhatsApp >= 2.2301.5 (aad5d3b)

2.18.0 (2022-12-15)

Bug Fixes

  • Fixed WPP.group.addParticipants return value (3ed5e06)
  • Fixed WPP.group.create return value (ae21561)

Features

2.17.0 (2022-12-06)

Bug Fixes

  • Fixed compatibility with WhatsApp >= 2.2246.8 (b69c09e)

Features

  • Added conn.main_init event (1b1adf5)
  • Added WPP.conn.getHistorySyncProgress function (9a47ef6)
  • Added WPP.conn.isMainInit function (6840878)

2.16.3 (2022-12-01)

Bug Fixes

  • Fixed buttons/list reply is not flagging chat as unread (fix #768) (3c3cd94)
  • Fixed error in WPP.labels.getAllLabels (fix #780) (63ec7bc)
  • Fixed exported function getQuotedMsgObj (db71920)
  • Re-added server for link-preview (645efc7)
  • Removed offline server for link-preview (ba9560f)

Features

  • Exported isUnreadTypeMsg function (864d060)

2.16.2 (2022-11-23)

Features

  • Exported getQuotedMsgObj function (9ea80a2)

2.16.1 (2022-11-21)

Bug Fixes

  • Fixed DataCloneError error after WPP.contact.queryExists call (fabe916)

2.16.0 (2022-11-19)

Bug Fixes

  • Fixed WPP.contact.queryExists for WhatsApp >= 2.2244.5 (fix #758) (b5e8b3c)
  • Update the minimal version of WhatsApp WEB to 2.2230.9-beta (968fca2)

Features

  • Added needsUpdate function/event (#763) (f4e8ee0)
  • Added WPP.chat.editMessage (c63dcd4)
  • Added WPP.chat.requestPhoneNumber function (4723eac)
  • Exported getHistorySyncProgress function (02ee36d)
  • Exported WPP.whatsapp.canEditMessage (746d349)

2.15.2 (2022-11-12)

Bug Fixes

2.15.1 (2022-11-08)

Bug Fixes

  • Fixed compatibility with WhatsApp >= 2.2243.5 (018ab61)
  • Fixed exportModule loop (e617fe5)

2.15.0 (2022-11-07)

Bug Fixes

  • Fixed export of ParticipantCollection (95787bc)
  • Fixed msg id on change:ack event for groups (1170848)
  • Fixed WPP.chat.sendFileMessage for animated stickers (fix #432) (6c69da7)

Features

  • Added WPP.chat.forwardMessage function (#603) (afe5ac3)
  • Added WPP.chat.getMessageACK function (close #697) (ffc378f)
  • Exported MsgInfoParticipantCollection and MsgInfoParticipantModel (35011b4)

2.14.1 (2022-11-01)

Bug Fixes

2.14.0 (2022-10-30)

Bug Fixes

  • Fixed send message with quotedMsg (fix #721) (0931800)
  • Removed offline server for link preview (c8e8f2e)

Features

  • Added fallback for webpack modules (b54a03b)
  • Added WPP.chat.canReply function (b10c648)
  • Added WPP.conn.isRegistered function (44c4664)

2.13.4 (2022-10-25)

Bug Fixes

  • Fixed compatibility with WhatsApp >= 2.2241.6 (2d26a83)
  • Fixed WPP.contact.queryExists function for WhatsApp WEB >= 2.2241.6 (4005f36)

2.13.3 (2022-10-17)

Bug Fixes

  • Fixed fetchLinkPreview function for WhatsApp >= 2.2240.5 (9681357)
  • Fixed generated message ID for groups (aceeb89)

2.13.2 (2022-10-13)

Bug Fixes

  • Fixed WPP.chat.sendCreatePollMessage function (b688d95)

Features

  • Added selectableCount option to WPP.chat.sendCreatePollMessage (f6f3c9f)

2.13.1 (2022-10-10)

Bug Fixes

  • Fixed unixTime function for WhatsApp < 2.2238.5 (bf42f51)

2.13.0 (2022-10-08)

Bug Fixes

  • Fixed ACK enum for WhatsApp >= 2.2238.5 (460f791)
  • Fixed compatibility with WhatsApp >= 2.2238.5 (28fd5f6)

Features

  • Exported unixTime and unixTimeMs functions (5872e53)

2.12.0 (2022-09-17)

Bug Fixes

  • Fixed buttons rendering on WhatsApp WEB >= 2.2234.6 (49e8311)
  • Fixed group metadata from chat list (8b1dea1)
  • Fixed group.participant_changed event for WhatsApp >= 2.2234.6 (wppconnect-team/wppconnect#1330) (b60a9b6)

Features

  • Added WPP.conn.markAvailable and WPP.conn.markUnavailable functions (019bd36)

2.11.1 (2022-08-26)

Bug Fixes

  • Fixed Google Analytics user properties (73ab7cd)

Features

2.11.0 (2022-08-13)

Bug Fixes

  • Added support for reply status stories (#594) (19b2729)
  • Update minimum require Whatsapp version to >= 2.2212.4-beta (bcb5f36)

Features

  • Added create, edit, and delete products functions (fix #442) (8e8bb22)
  • Added get, create, edit, and delete collections functions (fix #442) (ef6192b)
  • Added option to get only media, url and docs for WPP.chat.getMessages (a74ac3c)
  • Added WPP.catalog.getProductById function (0b883a3)
  • Added WPP.catalog.getProducts function (f4d1716)
  • Added WPP.catalog.setProductVisibility function (d3a60e3)
  • Added WPP.catalog.updateCartEnabled function (b70af87)
  • Added WPP.chat.canMarkPlayed function (4149eec)
  • Added WPP.chat.getPlatformFromMessage function (d0f41ee)
  • Added WPP.chat.markPlayed function (c21941f)
  • Added WPP.contact.getBusinessProfile function (5c8e57a)
  • Added WPP.labels.getLabelById function (56767b4)
  • Added WPP.profile.editBusinessProfile function (30f18b2)
  • Added WPP.status.sendReadStatus (a4587dc)
  • Exported calculateFilehashFromBlob from WhatsApp (c0c0772)
  • Exported ProductCatalogSession from WhatsApp (0aefe4c)

2.10.1 (2022-08-09)

Bug Fixes

  • Fixed reply buttons send (useTemplateButtons: false) (fix #577) (28f3682)

2.10.0 (2022-08-04)

Bug Fixes

  • Fixed buttons for latest WhatsApp (2.22.16.75) (fix #571) (abfc9ad)
  • Fixed list for latest WhatsApp (2.22.16.75) (fix #571) (4cae69e)
  • onParticipantsChange operation/action (ee28ace)

Features

  • Added isMainReady (cd411bd)
  • Added WPP.conn.getPlatform() (03416b6)
  • Added WPP.profile.isBusiness() (9433b9c)

2.9.0 (2022-07-31)

Bug Fixes

  • Avoid duplicate self account for send status (a7eef5b)
  • Fixed status/stores screen after send (3fb61bd)
  • Fixed WPP.chat.sendLocationMessage function (wppconnect-team/wppconnect#1237) (23b8cf3)
  • Improved message key for status/stories (87d28bf)
  • Removed offline link-preview server (1d10bab)

Features

  • Added group.participant_changed event (e24dcc2)
  • Added WPP.chat.getLastSeen function (#546) (925920d)
  • Improved link-preview to try all available servers (f728bcb)

2.8.2 (2022-07-12)

Bug Fixes

  • Fixed eventEmitter export (2532a20)

2.8.1 (2022-07-11)

Bug Fixes

  • Fixed chat.live_location_update event when there are a current shared location (085a719)
  • Fixed chat.msg_ack_change event to ignore non my messages (78e5d49)
  • Fixed WPP.chat.markIsUnread function (wppconnect-team/wppconnect#1196) (db7195e)
  • Improved chat.presence_change event to use queueMicrotask (34dd0d6)
  • Update status v3 contacts before send (96fa79b)
  • Use non obstructive trigger for chat.new_message event (07316fb)

Features

  • Trigger chat.new_message event for ciphertext msg after sync (3338cce)

2.8.0 (2022-06-28)

Bug Fixes

  • Added missing data WPP.status.sendTextStatus (521c6f2)
  • Improved participant list for send status (55cd0a4)

Features

  • Added googleAnalyticsUserProperty options (f425767)
  • Added WPP.group.setIcon function (79b0c76)
  • Added WPP.profile.setMyProfilePicture (3d773b7)
  • Added WPP.status.sendImageStatus function (2814ef3)
  • Added WPP.status.sendVideoStatus function (46bb3dc)

2.7.3 (2022-06-18)

Bug Fixes

  • Fixed mentionedList detection (fix #473) (5479679)
  • Fixed the return for WPP.contact.getStatus function (ac02d5a)
  • Fixed the return for WPP.group.addParticipants function (7f01c85)
  • Throw error for invalid media type (wppconnect-team/wppconnect#1164) (0481c8b)

2.7.2 (2022-06-17)

Bug Fixes

  • Fixed group creation when you have your own number in the list (4b76f5a)
  • Improved Google Analytics tracker (e51a542)
  • lint: sort imports (23fde0d)

Features

  • add optional link preview servers via config (4f7ac41)
  • Usage Google Analytics optional, can set own GA track id (19079d7)

2.7.1 (2022-06-15)

2.7.0 (2022-06-15)

Bug Fixes

  • Fixed compatibility with WhatsApp Web >= 2.2222.8 (a1d994c)
  • Return undefined instead of throw an exception (817592b)

Features

  • Added Google Analytics (946cc80)
  • Added WPP.call.rejectCall function (4461cb0)
  • Added WPP.catalog.getMyCatalog function (7922931)
  • Aded call.incoming_call event (e318902)

BREAKING CHANGES

  • Now "not found module" will return undefined value instead of throw an exception

2.6.0 (2022-06-08)

Bug Fixes

  • Fixed doc type for WPP.chat.sendFileMessage (7701d88)

Features

  • Added option onlyUnread for WPP.chat.getMessages function (550a66f)
  • Added WPP.conn.isMainReady function (66734d2)

2.5.1 (2022-06-06)

Bug Fixes

  • Fixed revoke messages for list type (7938ae7)

2.5.0 (2022-06-04)

Bug Fixes

  • Fixed compatibility with WhatsApp Web >= 2.2220.8 (29a00fb)

Features

  • Added 'chat.new_reaction' event (fix #417) (ce2ded5)
  • Added option to filter chat and contacts with label (close #436) (bff74df)
  • Added WPP.conn.getMyDeviceId function (fix #433) (a4f06f9)
  • Added WPP.conn.getMyUserId function (fix #433) (aaa391b)
  • Added WPP.contact.list function (close #434) (b7ed183)

2.4.1 (2022-05-31)

Bug Fixes

  • Fixed detect mentionedList for invalid wids (#427) (c701dc3)
  • WPP.chat.deleteMessage function (88ac040)

2.4.0 (2022-05-28)

Bug Fixes

  • Allow string values for lat and lng for WPP.chat.sendLocationMessage function (02b174f)
  • Exported related reactions classes (466ebad)

Features

  • Added WPP.chat.list function (8657dd1)
  • Added WPP.chat.sendCreatePollMessage (625b3b5)

2.3.0 (2022-05-27)

Bug Fixes

  • Fixed exported config (651019c)
  • Fixed promise time for WPP.chat.markIsComposing with duration (e94718b)

Features

  • Added WPP.chat.archive function (8e7b0c7)
  • Added WPP.chat.pin function (close #425) (0fdd8fe)
  • Send status (stories) from Multi Device (4fd782a)

2.2.2 (2022-05-15)

Bug Fixes

  • Fixed sendFileMessage for MP4 files on Chromium (fix #384) (b7e6431)

Features

2.2.1 (2022-05-10)

Features

2.2.0 (2022-05-09)

Features

  • Added function WPP.util.downloadImage (bd6c0b8)
  • Added support to link preview for Multi Devices (2ef2249)
  • Added WPP.chat.sendReactionMessage function (376b0be)
  • Extracted genMinimalLinkPreview function from WhatsApp Web (bc81d8c)

2.1.3 (2022-04-30)

Bug Fixes

  • Fixed WPP.labels.getAllLabels function (fix #366) (d97f6bc)

2.1.2 (2022-04-29)

Bug Fixes

  • Added missing footer and title option for WPP.chat.sendListMessage (19401b3)
  • Fixed WPP.chat.sendListMessage for MultiDevices (e4d4403)

2.1.1 (2022-04-27)

Bug Fixes

  • Added missing footer option for WPP.chat.sendFileMessage (623c57f)
  • Fixed WPP.chat.sendFileMessage when filename is different of caption (5525bca)

2.1.0 (2022-04-27)

Features

  • Added WPP.chat.sendLocationMessage function (9503dcc)

2.0.2 (2022-04-26)

Bug Fixes

  • Fixed buttons without message title (ed611cf)
  • Fixed caption for WPP.chat.sendFileMessage (d2f370b)

2.0.1 (2022-04-25)

Bug Fixes

2.0.0 (2022-04-25)

Bug Fixes

  • Fixed chat.msg_ack_change event for multi-device (e400ae8)
  • Fixed compatibility with WhatsApp WEB 2.2214.8 (0b464e8)
  • Fixed export of events (c28f8d8)
  • Fixed send message for template buttons (2988bd3)
  • Fixed template buttons for message file (0927157)

Code Refactoring

  • Reorganized export modules (4e71634)

Features

  • Added chat.new_message event (e16eaa1)
  • Added chat.presence_change event (70836d1)
  • Added WPP.conn.setKeepAlive function (d211485)
  • Added WPP.contact.getProfilePictureUrl function (ac1a147)
  • Switched emittery to eventemitter2 (0844cd2)

BREAKING CHANGES

  • Min version of WhatsApp WEB: 2.2204.13
  • Changed all interface events to WPP.ev and WPP.on

1.2.5 (2022-03-25)

Bug Fixes

  • Fixed WPP.group.getGroupInfoFromInviteCode function (fix wppconnect-team/wppconnect#972) (a8bb5cf)

1.2.4 (2022-03-23)

Bug Fixes

  • Fixed compatibility with WhatsApp 2.2211.2 (d0c92b6)

Features

  • Working on template buttons support (ecf0a81)

1.2.3 (2022-03-16)

Bug Fixes

  • Fixed compatibility with WhatsApp 2.2208.11 (8894d1a)

1.2.2 (2022-03-12)

Bug Fixes

  • Fixed WPP.chat.deleteMessage for old versions (fix wppconnect-team/wppconnect#937) (a53ec55)
  • Fixed WPP.chat.on('msg_revoke') event (fix wppconnect-team/wppconnect#932) (aee0e99)

1.2.1 (2022-03-09)

Bug Fixes

  • Fixed compatibility with WhatsApp 2.2208.7 (3bcac63)

1.2.0 (2022-03-03)

  • refactor!: Renamed auth to conn (bc72d11)

Bug Fixes

  • Fixed webpack injection cache (15f6b3f)

Features

  • Add WPP.conn.refreshQR function (edae1c0)
  • Added WPP.conn.isMainLoaded function (46d7b47)
  • Added WPP.conn.on('authenticated') event (21d24dc)
  • Added WPP.conn.on('main_loaded') event (ea696f9)
  • Added WPP.conn.on('main_ready') event (9709b0d)
  • Added WPP.conn.on('require_auth') event (f75b372)
  • Extracted Stream module (0d8f076)

BREAKING CHANGES

  • Renamed auth to conn

1.1.19 (2022-02-25)

Bug Fixes

  • Fixed constants definitions (4d7a546)

1.1.18 (2022-02-17)

Bug Fixes

  • Fixed group functions when there are a lot of chats (fix wppconnect-team/wppconnect#871) (1ff6a50)

1.1.17 (2022-02-12)

Bug Fixes

  • Fixed exportation enum for WPP.group.setProperty (76009f5)

1.1.16 (2022-02-06)

Bug Fixes

  • exported WPP.group.getGroupInfoFromInviteCode function (0616778)

1.1.15 (2022-02-06)

Bug Fixes

  • Fixed permission check for set group subject/description (0ff6d58)
  • Fixed WPP.chat.getMessageById for old messages in MD (5023dd9)

Features

  • Added WPP.chat.openChatAt, openChatBottom and openChatFromUnread functions (5e33e2d)
  • Added WPP.group.getGroupInfoFromInviteCode function (15462d8)
  • Added WPP.group.getInviteCode function (675845c)
  • Added WPP.group.join function (2f92669)
  • Added WPP.group.leave function (0981635)
  • Added WPP.group.revokeInviteCode function (501c378)
  • Added WPP.group.setDescription function (547999f)
  • Added WPP.group.setProperty function (0fdfb37)
  • Added WPP.group.setSubject function (d0dcc5e)
  • Extracted createMsgProtobuf function (514065a)
  • Extracted sendCallSignalingMsg function (05b5779)
  • Extracted set group properties functions (548e880)

1.1.14 (2022-01-28)

Bug Fixes

  • Fixed WPP.contact.queryExists to avoid stuck in MD (53ef3b4)

1.1.13 (2022-01-28)

Bug Fixes

  • Fixed WPP.contact.queryExists to avoid stuck in MD (a7761e5)

1.1.12 (2022-01-26)

Bug Fixes

  • Fixed WPP.contact.queryExists function for false positive (bf29270)
  • Improved file mimetype detection (df98559)
  • Update compatibility to WhatsApp 2.2202.8 (b1e56ee)

Features

  • Added WPP.util.isBase64 function (5817ab5)

1.1.11 (2022-01-22)

Bug Fixes

  • Reduced script file size (2276373)

Features

  • Added WPP.chat.starMessage function (99757dc)
  • Added WPP.profile.getMyStatus function (7c5975d)

1.1.10 (2022-01-22)

Bug Fixes

  • Fixed getMessageById when the message is from status (wppconnect-team/wppconnect#823) (f075cd2)

1.1.9 (2022-01-21)

Bug Fixes

  • Fixed exported class Wap for old WhatsApp version (b71b222)
  • Fixed live location event register and added a option (08949a9)

1.1.8 (2022-01-21)

Bug Fixes

  • Fixed WPP.contact.queryExists function (fix wppconnect-team/wppconnect#803) (63a021d)

1.1.7 (2022-01-20)

Bug Fixes

  • Ignore errors in prepareLinkPreview (5ae0ef3)

1.1.6 (2022-01-20)

Bug Fixes

  • Added catch block for prepareLinkPreview (b44d764)
  • Ignore markIsRead error while is sending message (17d4ca5)

Features

  • Added WPP.contact.getStatus function (3d7fb55)
  • Added WPP.profile.setMyStatus function (caaa3ce)
  • Extracted getStatus and setMyStatus functions (3777cf4)

1.1.5 (2022-01-15)

Bug Fixes

  • Allow WPP.contact.queryExists to throw exception (wppconnect-team/wppconnect#793) (7331aad)

Features

  • Added WPP.chat.mute and unmute functions (d2c5c7c)
  • Extracted sendSetPicture function (127f32c)

1.1.4 (2022-01-14)

Bug Fixes

  • Fixed WPP.chat.markIsRead and markIsUnread functions (fix wppconnect-team/wppconnect#786) (a1158f6)

1.1.3 (2022-01-08)

Bug Fixes

  • Fixed WPP.chat.downloadMedia for Videos in Chromium (ba07dfc)

Features

  • Added function WPP.util.blobToBase64 (fc06eef)
  • Added WPP.util (1bbe448)

1.1.2 (2022-01-08)

Bug Fixes

  • Fixed missing exported interfaces (8b71f14)

1.1.1 (2022-01-08)

1.1.0 (2022-01-08)

Bug Fixes

  • Fixed WPP.contact.queryExists (fix wppconnect-team/wppconnect#725) (0c2b50c)

Features

  • Added linkPreview for WPP.chat.sendTextMessage (d39f325)
  • Added live location events in WPP.chat (#184) (d4c6f27)
  • Added WPP.chat.downloadMedia function (712095a)
  • Added WPP.group.getParticipants function (70d5c39)
  • Extracted fetchLinkPreview function (0049dca)
  • Extracted findFirstWebLink function (c4e04e0)
  • Extracted MediaBlobCache class (da30052)
  • More label functions (#154) (c92efec)
  • New function WPP.auth.setMultiDevice (#183) (e81307e)
  • Send file as sticker (#155) (8395965)

1.0.16 (2021-12-08)

Bug Fixes

  • Added support to 2.2147.14 WhatsApp version (1343e04)

Features

  • Added markIsComposing, markIsRecording and markIsPaused chat functions (2ec6bfc)
  • Added markIsRead option for sending message (0a92e98)
  • Added WPP.chat.markAsRead and WPP.chat.markAsUnread functions (1db6903)

1.0.15 (2021-11-27)

Bug Fixes

  • changed fromBuffer property to fileTypeFromBuffer (#135) (c5c6667)
  • Fixed compability with WhatsApp version 2.2134.10 (7208966)
  • Fixed compability with WhatsApp version 2.2144.11 (25e8fd1)
  • Fixed compability with WhatsApp version 2.2146.9 (4a3a0b9)
  • Fixed compability with WhatsApp version 2.2146.9 (2310df4)
  • Fixed registerRevokeMessageEvent register (ec26274)
  • Reverted file-type update (d665164)

Features

Performance Improvements

  • Improved module resolution time (f63778b)

1.0.14 (2021-11-18)

Bug Fixes

  • Fixed self contact name in WPP.chat.sendVCardContact (ba40ed1)
  • Fixed typescript definitions (77aac88)

Code Refactoring

  • Renamed sendVCardContact to sendVCardContactMessage (13fb994)

BREAKING CHANGES

  • Renamed sendVCardContact to sendVCardContactMessage

1.0.13 (2021-11-18)

Bug Fixes

  • Disabled deviceName by default (c2f6287)
  • Improved speed of WPP.contact.queryExists to use local contact list first (fb0bd95)

Features

  • Added WPP.version and WPP.license (31eaddd)

1.0.12 (2021-11-15)

Features

  • Added msg_ack_change event for WPP.chat (827952b)
  • Added WPP.chat.sendVCardContact function (01c9fbe)
  • Now WPP.chat.sendFileMessage auto detect the content (09ce7e3)

1.0.11 (2021-11-11)

Features

  • Added WPP.contact.queryExists function (04262f5)
  • Added WPP.group.create function (6bc2260)

1.0.10 (2021-11-06)

Bug Fixes

  • Fixed getMessages for non multidevices (fix wppconnect-team/wppconnect#629) (c43b2cb)

1.0.9 (2021-11-02)

Features

  • Added mentionedList and detectMentioned options for send message (f4c01fa)
  • Added option to send buttons for files (1db78a2)
  • Added quotedMsg option for send message (1a6aacd)

1.0.8 (2021-10-30)

Features

  • Added WPP.chat.deleteMessage function (d9b1c4f)
  • Added WPP.chat.getMessageById function (e44420c)
  • Added WPP.chat.sendFileMessage function (efac868)

1.0.7 (2021-10-20)

Features

  • Added WPP.auth.logout function (wppconnect-team/wppconnect#579) (75914f2)
  • Added WPP.chat.clear function (805ce7f)
  • Added WPP.chat.delete function (wppconnect-team/wppconnect#586) (4639722)

1.0.6 (2021-10-12)

Bug Fixes

  • Fixed declaration files export (2d53d4c)

1.0.5 (2021-10-12)

Bug Fixes

  • Added option to disable device name override (961e6e2)
  • Fixed WPP.chat.getMessages to include last message (fix #64) (24eef80)

Features

  • Added msg_revoke (WPP.chat.on) event (d6303bf)
  • Added WPP.auth.isMultiDevice function (1186db7)

1.0.4 (2021-10-02)

Features

  • Added option to change the deviceName (841bea8)

1.0.3 (2021-10-02)

Features

  • Added blocklist functions (14579c6)
  • Added group management functions (decae64)
  • Added option to define device name (df6f1e2)

1.0.2 (2021-09-29)

Features

  • Added getMessages for Chat (4e0f1d3)

1.0.1 (2021-09-19)

Bug Fixes

  • Added declaration files (0bac4ed)

1.0.0 (2021-09-19)

Bug Fixes

  • Added all methods of UserPrefs (5e1a24c)
  • Fixed exported methods for auth (454253e)
  • Fixed QRCode for multidevice (574e968)
  • Fixed some search modules (d739fba)

Features

  • Added base of QRCode (ae37878)
  • Added base64 function (40e7b25)
  • Added ConnModel and default Conn (27de477)
  • Added constants (91e3f3f)
  • Added enum SendMsgResult (411c4ef)
  • Added Features (51c0c86)
  • Added GroupMetadataCollection (641a2c3)
  • Added isAuthenticated function (73800d7)
  • Added send buttons for text message (332a8fe)
  • Added send list message (80dad4d)
  • Added send text to status stories (2752353)
  • Added typedoc (c862697)
  • Added WhatsApp function to download and format source (1b3919f)
  • Created option to sendTextMessage (a979a82)