Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@converse/headless

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@converse/headless - npm Package Versions

134

9.1.0

Diff

Changelog

Source

9.1.0 (2022-04-02)

  • Updated translations: af, ar, es, eu, fr, gl, he, lt

  • Increased stanza timeout from 10 to 20 seconds

  • Replace various font icons with SVG icons

  • Fix bug where MUC config wasn't persisted across page loads

  • Add support for calling the IndexedDB getAll method to speed up fetching models from storage.

  • #1761: Add a new dark theme based on the Dracula theme

  • #2557: Allow OMEMO encrypted messages to be edited

  • #2627: Spoiler toggles only after switching to another tab and back

  • #2733: Fix OMEMO race condition related to automatic reconnection and SMACKS

  • #2733: Wait for decrypted/parsed message before queuing to UI

  • #2751: Media not rendered when Converse runs in a browser extension

  • #2754: Navigation keys doesn't work anymore into chat input message

  • #2781: Flashing error when connecting to a room

  • #2786: Fix webpack configuration not working on Windows OS

  • #2788: TypeError when trying to use @converse/headless

  • #2789: Implement new hook parseMessageForCommands for plugins to add custom commands

  • #2814: Links are mangled on open/copy

  • #2822: Singleton doesn't work in overlayed view mode

  • New config option show_connection_url_input

jcbrand
published 9.0.0 •

Changelog

Source

9.0.0 (2021-11-26)

  • Compress new avatar images before uploading them

  • Add initial support for XEP-0421 occupant Ids.

  • Use more specific types for form fields based on XEP-0122

  • Fix trimming of chats in overlayed view mode

  • OMEMO bugfix: Always create device session based on real JID.

  • If auto_register_muc_nickname is set, make sure to register when the user changes current nick.

  • #1322: Display occupants’ avatars in the occupants list

  • #1419: Clicking on avatar should show bigger version

  • #1426: Don't fetch member list if not affiliated

  • #2423: Could not find dependency "converse-controlbox" for plugin "converse-muc"

  • #2640: Add beforeFetchLoginCredentials hook

  • #2647: Singleton mode doesn't work

  • #2650: Clicking on occupant in sidebar should add nickname to textarea

  • #2683: Show error messages that don't refer to specific chat messages

  • #2704: Send button doesn't work in a multi-user chat

  • #2715: Singleton + fullscreen mode styling issue

  • #2718: Message is not displayed if it contains an invalid URL

  • #2725: Send new presence status to all connected MUCs

  • #2728: Not sending headers with upload request

  • #2733: OMEMO Messages received while client closed not decrypted

  • Emit a change event when a configuration setting changes

  • 3 New configuration settings:

Three config settings have been obsoleted:

  • embed_audio
  • embed_video
  • show_images_inline
  • muc_show_ogp_unfurls

Breaking Changes

Configuration settings are no longer available on the _converse object. Instead, use api.settings.get and api.settings.set.

jcbrand
published 8.0.1 •

Changelog

Source

8.0.1 (2021-09-09)

  • #2326: 404 for asset /logo/conversejs-filled.svg
  • #2628: Open groupchats toggle emits an error
  • #2629: OMEMO button tooltip is wrong in private chat
  • #2633: Excessive logging of warning
  • #2634: Image previews not loading when not serving Converse locally
  • #2636: Don't fail when setting up a new XEP-0198 managed stream and _converse.session is undefined
  • Bugfix: Don't show minimized chats when logged out
jcbrand
published 8.0.0 •

Changelog

Source

8.0.0 (2021-09-03)

  • 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.

jcbrand
published 7.0.6 •

Changelog

Source

7.0.6 (2021-06-11)

  • #2500: Wrong assignment in OMEMO code
jcbrand
published 7.0.5 •

Changelog

Source

7.0.5 (2021-03-16)

  • #2377: The @converse/headless NPM package is missing the dist directory, causing import errors
  • #2396: @converse/headless wrongly depends on CustomElement from the view layer
  • #2381: Converse does not reflect the browser language
jcbrand
published 7.0.4 •

Changelog

Source

7.0.4 (2020-12-09)

Bugfix: Set protocol after discovering connection methods

Otherwise if an endpoint was passed in with converse.initialize, then that endpoint's protocol is (potentially wrongly) used.

jcbrand
published 7.0.3 •

Changelog

Source

7.0.3 (2020-12-02)

  • Bugfix: null inserted by emoji picker and can't switch between skintones
jcbrand
published 7.0.2 •

Changelog

Source

7.0.2 (2020-11-23)

  • Updated translations: de, nb, gl, tr
  • Still more necessary files not included in the 7.0.1 NPM package, causing Module not found errors.
  • #2337: Newly opened headline chat isn't hidden by default
jcbrand
published 7.0.1 •

Changelog

Source

7.0.1 (2020-11-19)

  • Updated translations: de, es, fi, fr, gl, hu, nb_NO, oc, pl, pt, pt_BR, ru, tr, uk, zh
  • #2328: Honor use_system_emojis in emoji-picker
  • Not all template/*.js files were included in the 7.0.0 NPM package, causing: Module not found: Error: Can't resolve 'templates/*.js'
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc