Version 6.0.0 - 2020-01-10
-
enable_smacks is not set to
trueby default. -
Refactor some presence and status handling code from
converse-coreinto@converse/headless/converse-status. -
It's now possible to navigate the emoji-picker via the keyboard arrow keys.
-
Add support for notifications about affiliation change for users not in a room
-
Add support for XEP-0424 Message Retraction
-
Add support for XEP-0425 Message Moderation
-
New API _converse.api.headlines
-
New config option allow_message_retraction
-
New config option muc-show-logs-before-join
-
New config option muc_mention_autocomplete_filter
-
New config option muc_mention_autocomplete_show_avatar
-
New config option persistent_store
-
Initial support for sending custom emojis. Currently only between Converse
instances. Still working out a wire protocol for compatibility with other clients.
To add custom emojis, edit theemojis.jsonfile. -
#129: Add support for XEP-0156: Disovering Alternative XMPP Connection Methods. Only XML is supported for now.
-
#1105: Support for storing persistent data in IndexedDB
-
#1253: Show contacts with unread messages at the top of the roster
-
#1322 Display occupants’ avatars in the occupants list
-
#1640: Add the ability to resize the occupants sidebar in MUCs
-
#1666: Allow scrolling of the OMEMO fingerprints list
-
#1691: Fix
collection.chatbox is undefinederrors -
#1767:
credentials_urlis not called when logging out and then in again -
#1764: Incorrect URI encoding in "mention" references
-
#1772:
_converse.api.contact.add(jid, nick)fails, says not a function -
#1791:
auto_focusset tofalseis ignored when switching back to a MUC -
#1792: Fix: modals don't have scrollbars
-
#1796: Don't show "back" arrow navigation (on mobile) in the chat header when in
singletonmode -
#1821: Errors caused by malformed URLs are now handled
Breaking changes
-
The
debugconfiguration option has been replaced with loglevel. -
In contrast to sessionStorage and localStorage, IndexedDB is an asynchronous database.
A lot of code that relied on database access to be synchronous had to be
updated to work with asynchronous access via promises. -
In order to add support for XEP-0156, the XMPP connection needs to be created
only once we know the JID of the user that's logging in. This means that the
connectionInitialized
event now fires much later than before. Plugins that rely onconnectionInitialized
being triggered before the user's JID has been provided will need to be updated. -
The following API methods now return promises:
_converse.api.chats.get_converse.api.chats.create_converse.api.rooms.get_converse.api.rooms.create_converse.api.roomviews.close
-
Changes the events:
- The
chatBoxInitializedevent now triggers when a_converse.ChatBox(not the view) is opened. - Renamed the old
chatBoxInitializedtochatBoxViewInitializedand trigger only forChatBoxViewinstances. - Renamed
chatRoomOpenedevent tochatRoomViewInitialized - The order of certain events have now changed:
statusInitializedis now triggered afterinitializedandconnectedandreconnected.
- The
-
_converse.api.chats.get()now only returns one-on-one chats, not the control box or headline notifications. -
The
show_only_online_userssetting has been removed. -
_converse.api.alert.showis now_converse.api.showand instead of taking
an integer for thetype, "info", "warn" or "error" should be passed in. -
The
converse-headlineplugin has been split up intoconverse-headlinesandconverse-headlines-view.