Skip to content

Releases: conversejs/converse.js

Release 3.1.0 (2017-07-05)

05 Jul 10:09
v3.1.0
Compare
Choose a tag to compare

API changes

  • Deprecate the updateSettings method in favour of
    _converse.settings.update. [jcbrand]
  • Add a new API method _converse.promises.add for exposing promises to be
    used with _converse.waitUntil. [jcbrand]
  • The message event now returns a data object with stanza and
    chatbox attributes, instead of just the stanza. [jcbrand]

New Plugins

  • New non-core plugin converse-singleton which ensures that no more than
    one chat is visible at any given time. Used in the mobile build:
    converse-mobile.js and makes the unread messages counter possible there.
    [jcbrand]
  • New non-core plugin converse-roomslist, which shows a list of open rooms
    in the Rooms tab of the control box. [jcbrand]

New configuration settings

  • New setting for converse-bookmarks:
    hide_open_bookmarks
    It is meant to be set to true when using converse-roomslist so that open
    rooms aren't listed twice (in the rooms list and the bookmarks list).
    [jcbrand]

Github tickets resolved

  • #567 Unreaded message count reset on page load [novokrest]
  • #575 Logging out from converse.js doesn't clear the connection status from the
    sessionStorage [jcbrand]
  • #591 Unread message counter is reset when the chatbox is closed [novokrest]
  • #754 Show unread messages next to roster contacts. [jcbrand]
  • #864 Remove all inline CSS to comply with strict Content-Security-Policy headers [mathiasertl]
  • #873 Inconsistent unread messages count updating [novokrest]
  • #887 Make embedded images clickabe [jcbrand]
  • #890 Message carbons not sent out after reconnection [jcbrand]
  • #894 Room affiliation lost when connection jid and room presence jid are of different case [Rayzen]

Miscellaneous

  • Support for XMPP-0313 Message Archive Management
    has been upgraded to version 2. [jcbrand]
  • Show unread messages for minimized chats. [jcbrand]
  • Render nickname form when entering a room via invitation. [jcbrand]

Release 3.0.2 (2017-04-23)

23 Apr 17:27
v3.0.2
Compare
Choose a tag to compare

Dependency updates:
Jasmine 2.5.3
Phantomjs 2.1.14
moment 2.18.1
sinon 2.1.0
eslint 3.19.0

  • Don't rerender the text input when filtering contacts. [jcbrand]
  • Show the MUC server in a bookmarked room's info view (in the bookmarks list). [jcbrand]
  • Enable creation of dist/converse-muc-embedded.js build file for the embedded MUC room demo. [jcbrand]
  • Use noConflict to avoid polluting globale namespace with lodash and Backbone. [jcbrand]
  • Bugfix: MUC user's nickname wasn't being shown in HTML5 notification messages. [jcbrand]
  • Bugfix: OTR meta-messages were being shown in HTML5 notifications. [jcbrand]
  • CSS fix: Icon lock wasn't showing. [jcbrand]
  • #626 Open chat minimised [novokrest]
  • #842 Persistent muc room creation not working [jcbrand]
  • #848 OTR doesn't start when cache_otr_key is set to true. [jcbrand]
  • #849 TypeError: _converse.i18n.locale_data is undefined when reconnecting. [jcbrand]
  • #850 Roster not loading when group names are numbers. [jcbrand]

Release 3.0.1 (2017-04-04)

04 Apr 17:12
v3.0.1
Compare
Choose a tag to compare
  • Bugfix. Endless spinner when trying to log in after rendering the registration form. [jcbrand]
  • #585 Duplicate contact created due to JID case sensivity [saganshul]
  • #628 Fixes the bug in displaying chat status during private chat. [saganshul]
  • #628 Changes the message displayed while typing from a different resource of the same user. [smitbose]
  • #675 Time format made configurable. See time_format [smitbose]
  • #682 Add "Send" button to input box in chat dialog window. See show_send_button [saganshul]
  • #704 Automatic fetching of registration form when registration_domain is set. [smitbose]
  • #806 The _converse.listen API event listeners aren't triggered. [jcbrand]
  • #807 Error: Plugin "converse-dragresize" tried to override HeadlinesBoxView but it's not found. [jcbrand]
  • #811 jQuery wasn't being closured in builds. [jcbrand]
  • #814 Images from URLs with query strings aren't being rendered. [novokrest]
  • #820 Inconsistency in displaying room features. [jcbrand]

Release 3.0.0 - 2017-03-05

05 Mar 10:46
v3.0.0
Compare
Choose a tag to compare
  • Breaking changes:

    • Plugins must now be whitelisted. See the whitelisted_plugins setting.
    • Callbacks for converse.on now no longer receive an event object as first parameter.
    • The API has been split into public and private parts.
      The private API methods are now only available to plugins.
      For more info, read developer API and the plugin_development documentation.
    • To prevent confusion the private, closured object, only
      available to plugins, has been renamed from converse to _converse.
      The public API is accessible via a global converse object.
    • The keepalive and roster_groups options are now set to true by default.
    • Templates are no longer stored as attributes on the _converse object. If you need a particular template, use require to load it.
  • Bugfix. After bookmarking a room for which a nickname is required, return to the nickname form. [jcbrand]

  • Show the chat states of room occupants. [jcbrand]

  • The no-jQuery build has been renamed from converse.nojquery.js to converse-no-jquery.js to fit the convention used for other build names. [jcbrand]

  • 50 is the new default archived_messages_page_size [jcbrand]

  • Better support for delayed delivery of presence stanzas (XEP-0203). [jcbrand]

  • The chat room description is now shown in the heading, not the subject. [jcbrand]

  • Chat room features are shown in the sidebar. [jcbrand]

  • Hide the chat room invite widget if the room is not open or if the room is members-only and the user is not the owner. [jcbrand]

  • Created a new non-core plugin converse-muc-embedded which embeds a single chat room into a page. An example can be found at https://conversejs.org/demo/embedded.html [jcbrand]

  • Use lodash instead of underscore.js [jcbrand]

  • Case insensitive matching of moderation commands. [jcbrand]

  • Add /subject as alias to /topic [jcbrand]

  • message_carbons, play_sounds and allow_chat_pending_contacts now default to true [jcbrand]

  • Improved roster filter UX. [jcbrand]

  • Render the login form again upon authfail. [jcbrand]

  • New promises API: waitUntil [jcbrand]

  • New configuration setting: show_chatstate_notifications [jcbrand]

  • New configuration setting: whitelisted_plugins [jcbrand]

  • New configuration setting: blacklisted_plugins [jcbrand]

  • The API now no longer returns wrapped chatboxes (or rooms) but instead a Backbone.View object. This means the API of the returned object has changed. You're still able to do everything from before but now also much more. [jcbrand]

  • Allow JIDs not on the roster to be invited to a chat room. [jcbrand]

  • Bugfix. TypeError: this.sendConfiguration(...).then is not a function when
    an instant room is created. [jcbrand]

  • Ensure consistent behavior from show_controlbox_by_default [jcbrand]

  • #365 Show join/leave messages for chat rooms.
    New configuration setting: muc_show_join_leave

  • #366 Show the chat room occupant's JID in the tooltip (if you're allowed to see it). [jcbrand]

  • #610, #785 Add presence priority handling [w3host, jcbrand]

  • #620 auto_away shouldn't change the user's status if it's set to dnd. [jcbrand]

  • #694 The notification_option wasn't being used consistently. [jcbrand]

  • #745 New config option priority [jcbrand]

  • #770 Allow setting contact attrs on chats.open [Ape]

  • #790 MAM retrieval broken [jcbrand]

Version 2.0.6 - 2017-02-13

13 Feb 15:59
v2.0.6
Compare
Choose a tag to compare
  • Escape user-generated input to prevent JS-injection attacks. (Thanks to SamWhited) [jcbrand]
  • #486 Honor existing mam user configuration [throwaway42]
  • #749 /me will show your contact's name in the sent field [jcbrand]
  • #774 Browser language (fr-fr or fr) is not detected by default [jcbrand]
  • #775 Anonymous login form is a text field instead of a push button [jcbrand]

Version 2.0.5 - 2017-02-01

01 Feb 11:10
v2.0.5
Compare
Choose a tag to compare
  • #743, #751, #753 Update to Strophe 1.2.12. SASL-EXTERNAL now has reduced priority, so it won't
    be prioritized above other auth mechanisms. [jcbrand]
  • #755: create composer.json to add this project in packagist.org [fabiomontefuscolo]
  • #758: Bugfix. Render all resize drag handles for ChatRoomView. [LeoYReyes]
  • #762 Allow chatting with users not in your roster. [Ape, jcbrand]
  • Bugfix. Cancel button shown while registration form is being fetched wasn't working
    properly. [jcbrand]
  • Bugfix. Login form wasn't rendered after logging out (when auto_reconnect is true). [jcbrand]
  • Bugfix. Properly disconnect upon "host-unknown" error. [jcbrand]
  • Bugfix. Minimized chats weren't removed when logging out. [jcbrand]
  • Prevent message forging via carbons. (Thanks to ge0rg) [jcbrand]

Version 1.0.7 - 2017-02-01

01 Feb 12:52
v1.0.7
Compare
Choose a tag to compare

Please note: this is a bugfix release on the 1.0.x branch. The 2.0.x branch is newer.

  • Prevent message forging via carbons. (Thanks to ge0rg) [jcbrand]

Version 2.0.4 - 2016-12-13

13 Dec 19:50
v2.0.4
Compare
Choose a tag to compare
  • #737: Bugfix. Translations weren't being applied. [jcbrand]
  • Fetch room info and store it on the room model.
    For context, see: http://xmpp.org/extensions/xep-0045.html#disco-roominfo [jcbrand]
  • Bugfix. Switching from bookmarks form to config form shows only the spinner. [jcbrand]
  • Bugfix. Other room occupants sometimes not shown when reloading the page. [jcbrand]
  • Bugfix. Due to changes in converse-core the controlbox wasn't aware anymore of
    disconnection or reconnection events. [jcbrand]
  • Optimize fetching of MAM messages (in some cases happened on each page load). [jcbrand]
  • Fix empty controlbox toggle after disconnect. [jcbrand]
  • When inviting someone to a members-only room, first add them to the member
    list. [jcbrand]
  • New configuration setting muc_disable_moderator_commands [jcbrand]

Version 2.0.3 - 2016-11-30

13 Dec 19:51
v2.0.3
Compare
Choose a tag to compare
  • #735 Room configuration button not visible. [jcbrand]
  • CSS fix for fadeIn animation. [jcbrand]

Version 2.0.2 - 2016-11-30

30 Nov 16:40
v2.0.2
Compare
Choose a tag to compare
  • #721 keepalive not working with anonymous authentication [jcbrand]
  • #723 Bugfix: Arrays in configuration settings were ignored. [jcbrand]
  • #734 Bugfix. converse.rooms.open ignored the muc_nickname_from_jid setting. [jcbrand]
  • Enable new rooms to be configured automatically, with a default config, via rooms.open.
    For details, refer to the relevant documentation [jcbrand]
  • Bugfix: Chatboxes aren't closed when logging out. [jcbrand]
  • Bugfix: Trying to save data on the ControlBox model before ChatBoxes
    collection has its browserStorage configured.
    Causes Error: A "url" property or function must be specified. [jcbrand]
  • Don't open the controlbox on contact requests. [jcbrand]
  • Bugfix: Reconnection fails when original connection was never established. [jcbrand]
  • If a credentials_url is provided, then keep on attempting to reconnect when connection is down. [jcbrand]
  • Remove (undocumented) callback config parameter for converse.initialize.
    Instead, converse.initialize returns a promise which will resolve once
    initialization is complete. [jcbrand]
  • New event 'reconnecting' [jcbrand]
  • New configuration setting allow_bookmarks [jcbrand]
  • The rooms.open API method will no longer maximize rooms that are minimized (unless maximize: true is passed in). [jcbrand]