Candy v1.7.0 Release Notes

Release Date: 2014-06-27 // almost 10 years ago
  • 🛠 This new major release brings various bugfixes and new features which are outlined below. Special thanks go to @melissanoelle, @benlangfeld & @joshuah for their contributions. Also thanks go to people for opening bug reports & helping with testing.

    🆕 New features

    👍 XHTML support

    🔌 Behind the view flag enableXHTML is a feature which allows Candy to parse & send XHTML annotated messages. There's a new Colors plugin which makes use of this and explains how to enable this feature. (#204)

    XMPP Protocol improvements

    • All XMPP stanzas sent out have now a generated ID with it

    Events

    • before and after event triggered use now the same evtData object in order to be able to modify it from begin to the end of a certain event flow (#215)
    • 🔌 candy:view.room.before-add, candy:view.private-room.before-open, candy:view.message.before-send and candy:view.message.before-show can now be cancelled within a plugin. Just return false. (#214)
    • 🆕 New event candy:core:chat:message:other for events received without a type attribute (#236, by @joshuah)
    • 🆕 New event candy:core.message.chatstate for chat state notifications (typing notifications) (#252 by @melissanoelle)
    • 🆕 New event candy:core:chat:invite for room invites (#260 by @melissanoelle)

    🛠 Bugfixes

    • 💻 Role/Affiliation changes should now be correctly reflected in the UI (#233)
    • Prevent errors in some cases where an event returned false (#214)
    • 🛠 Console.log in debug mode fixed for IE8 (#218)
    • Candy doesn't act on non-room disco replies anymore (#219)

    Other changes

    • 🍱 The view setting resources has been deprecated. Instead you should use now assets for the path to the CSS etc. files. This has been done to avoid confusion with the core.resource setting which allows you to specify the client's resource name. (#216)
    • ⚡️ Strophe.js and strophejs-plugins have been updated

    🔌 Plugins

    🔌 In addition to these changes, many contributors created awesome plugins for Candy. Check them out!