Candy v1.6.0 Release Notes

Release Date: 2014-01-20 // over 10 years ago
  • This new major release brings various bugfixes and new features, tested with 3 betas in the last 2 weeks. It's a combined effort of a lot of Candy users and contributors. Thank you all.

    ๐ŸŒ Please note that are some new translation strings. English and German are always up to date but there are untranslated strings in other languages. Please submit pull requests in order to add them. In the future, we think about improving this process (as part of #207).

    โฌ†๏ธ When upgrading please make sure that you upgrade all the plugins as well.

    ๐Ÿ†• New features

    ๐Ÿ‘ Nickname change support

    • Changing nicknames is now possible, as well as receiving nickname changes (#2)
    • ๐Ÿ”Œ Using the nickchange plugin, you can enable your users with a friendly toolbar icon to change their nicknames
    • Server-side nick assignments are now also possible, thanks to @PaulSD (#208)

    ๐Ÿ‘ Websocket support

    • โฌ†๏ธ With the upgrade to Strophe version 1.1.1, it's possible to connect to a websocket endpoint
    • In order to use websockets, just supply a ws:// or wss:// URL as the first parameter of Candy.init()

    ๐Ÿ›  Bugfixes & Tweaks

    Escaping

    Throughout Candy it should be now possible to use rooms and nicknames with non-ASCII chars.

    Other

    • ๐Ÿ‘Œ Support specifying resource as a config param (#209 / #199, thanks @PaulSD)
    • ๐Ÿ†• New event candy:view.connection.status-<STROPHE-STATUS> is triggered when strophe status changes happen. This enables users to e.g. reload the page when a disconnection happens (#202, thanks @lkraav)
    • โšก๏ธ Update example with more helpful hints (fixes #203 & #211, thanks @lkraav & @michael-dev)
    • ๐Ÿ›  Fix nickname conflict label
    • ๐Ÿ‘Œ Support jQuery >= 1.9
    • Display error message if autojoin config param is empty
    • โž• Add ARIA label to text field (fixes #182, thanks @jrbl)
    • ๐Ÿ”— Linkify subject by default (fixes #196)
    • ๐Ÿ†• New Brazilian portuguese translation (fixes #143, thanks @renato)
    • ๐Ÿ›  Fix privacy list error dection for Prosody (fixes #200)
    • ๐Ÿ†• New event trigger before connecting which enables Plugins to reliably create stanza handlers
    • โœ‚ Remove deprecated event system
    • ๐Ÿ†• New CONTRIBUTING.md file to help new contributors
    • โž• Add sourcemap support for candy.bundle.js
    • ๐Ÿ›  Fix Candy.Core.log to be able to display the original line number instead of the line number of the log function

    Various

    ๐Ÿ— Build tool change

    ๐Ÿ We replaced the existing build tool with Grunt. This should make contributing much easier (especially also for windows users). In order to contribute to Candy, please read CONTRIBUTING.md. If you're already familiar with grunt, these are the commands available:

    • ๐Ÿ— grunt watch watches the filesystem for changes, runs jshint on the changed files and if no errors are there, runs concat and uglify to build candy.bundle.js and candy.min.js.
    • grunt jshint runs jshint with our defined rules
    • grunt concat concats source files and library files to candy.bundle.js and libs.bundle.js
    • grunt uglify minifies bundles to candy.min.js and libs.min.js
    • ๐Ÿ“š grunt docs regenerates documentation

    ๐Ÿ‘ All grunt tasks should notify you (if supported by the OS you're on) if the task is finished.

    As usual, if you discover bugs, open an issue and if you have questions, ask in our mailinglist (no gmail address required to subscribe).