Converse.js v8.0.0 Release Notes

Release Date: 2021-09-03 // over 2 years ago
    • Requires Node 12 or above

    Issues and features

    • ๐Ÿ‘ #1083: Add support for XEP-0393 Message Styling
    • ๐Ÿ‘ #1182: Add support for XEP-0454 OMEMO Media sharing
    • #1823: New config options mam_request_all_pages
    • #2275: Allow punctuation to immediately precede a mention
    • #2348: auto_join_room not showing the room in fullscreen view_mode.
    • ๐Ÿ›  #2400: Fixes infinite loop bug when appending .png to allowed image urls
    • #2409: Integrate App Badging API for unread messages
    • #2464: New configuration setting allow_url_history_change
    • ๐Ÿ›  #2497: Bugfix /nick command is not working
    • โž• Add a Description Of A Project (DOAP) file
    • Add ability to deregister nickname when closing a MUC by setting auto_register_muc_nickname to 'unregister'.
    • โž• Add support for XEP-0437 Room Activity Indicators see muc-subscribe-to-rai
    • Add support for rendering unfurls via mod_ogp
    • ๐Ÿ›  Bugfix: Connection protocol not updated based on XEP-0156 connection methods
    • ๐Ÿ›  Bugfix: Use real JID in XEP-0372 references only when the MUC is non-anonymous
    • ๐Ÿ›  Bugfix: null inserted by emoji picker and can't switch between skintones
    • ๐Ÿ”Œ File structure reordering: All plugins are now in ./plugins folders.
    • ๐Ÿ‘‰ Show a gap placeholder when there are gaps in the chat history. The user can click these to fill the gaps.
    • ๐Ÿ‘‰ Use the MUC stanza id when sending XEP-0333 markers
    • โž• Add support for pausing Gif images
    • โž• Add limited support for XEP-0316 MUC notifications

    ๐Ÿ†• New configuration setings

    ๐Ÿ†• New hooks and events

    ๐Ÿ’ฅ Breaking Changes

    ๐Ÿ”ง The default persistent store, set via the persistent_store, is now IndexedDB. This main advantage of using IndexedDB is that it doesn't ๐Ÿ›  have a fixed size limit. We don't provide a tool to migrate data from localStorage to IndexedDB. For almost all data this is not a problem since the data can be fetched again from the XMPP server. However, decrypted OMEMO messages cannot be fetched again from the server, since the double ratchet makes it impossible to again decrypt them. This means your decrypted OMEMO history will be lost in the transition.

    ๐Ÿ“„ The afterMessageBodyTransformed and beforeMessageBodyTransformed events now has a different signatures. When leaving a MUC, the message history is deleted. This means that decrypted OMEMO messages are gone and cannot be recovered on that device. See muc_clear_messages_on_leave.

    โœ‚ Removed events:

    • bookmarkViewsInitialized
    • chatBoxInsertedIntoDOM
    • contactStatusMessageChanged
    • messageSend (use sendMessage instead)
    • rosterGroupsFetched

    The chatBoxClosed, chatBoxMaximized and chatBoxMinimized events now have the model as ๐Ÿ›ฐ payload and not the view.

    The api.chatviews and api.roomviews API groupings and methods have been โœ‚ removed. The original "views" don't really exist anymore, the UI is now composed web โšก๏ธ components which should update reactively based on changes made on the models.