Added
- Session config key
linkPreview: the default for asend-textorsend-templatethat sets neitherlinkPreviewnorcustomLinkPreview; a value in the request wins (#2080). Thanks @arraisfilho. - List the
linkPreviewsession config key in the JavaScript, Python, Go and Java SDK types. - whatsapp-web.js: log the raw type of a message kept as an empty
unknown(wwebjs_keep_unmapped, atLOG_LEVEL=debug), so a kind the gateway does not map can be named. - Log how many linked sessions stay disconnected because
AUTO_START_SESSIONSis off, and how to start them: at boot, and when a session a vanished node left behind is marked disconnected (action=auto_start_disabled) (#2082). Thanks @arraisfilho.
Fixed
- A
message:sendingplugin that rewrites asend-textto carry bothlinkPreview: falseandcustomLinkPreviewnow gets the400the same request gets directly; Baileys sent it with the preview. - whatsapp-web.js: the header of an album no longer arrives as an empty
unknownmessage, live, in the chat history or as a chat's last message; its photos and videos arrive as their own messages, as on Baileys (#2076). - whatsapp-web.js: the chat history (REST, MCP and plugin reads) returns a message deleted for everyone under the id of its stored row when its delete notice names the chat, or in a group the author, in the other id form (phone number or lid) and the gateway knows the two to be one person (#2076).
- Dashboard: a message deleted for everyone is shown once when its history entry and its stored row name the chat or the author in different id forms, phone number and lid (#2076).
PATCH /sessions/{sessionId}/configno longer writes the characters of a string or the items of an array back as keys when the stored config is JSON but not an object, as a restored backup can hold.