- Fixed a crash related to the keep-alive ping. (Pull req. #33 by Josh Goodwin)
- Added
mention_name
to each entry returned byBot.getRoster
. (Pull req. #25 by Garret Heaton) - Added
mention_name
toBot
to obtain the mention name of the bot. (Pull req. #25 by Garret Heaton) - Added
historyStanzas
argument toBot.join
to specify the max amount history entries to request. (Pull req. #23 by Garret Heaton)
- Changed the
Bot.onError
arguments. They are nowcondition, text, stanza
. (Pull req. #22 by Garret Heaton)
- Added
Bot.onInvite
which is triggered whenever the bot is invited to a room. (Pull req. #21 by Garret Heaton)
- Added
Bot.getRooms
to obtain list of available rooms. (Pull req. #17 by Garret Heaton) - No longer need to specify the
name
of the bot inwobot.Bot
. (Pull req. #18 by Garret Heaton) - Upon connecting, the bot will send the version it is running (or
caps_ver
) to the server. (Pull req. #16 by Garret Heaton) - The behavior of a bot disconnecting when an error occurs can now be overwritten when
bot.on('error')
.
- Added
Bot.getRoster
to obtain the bot's buddy list. (Pull Req. #15 by Garret Heaton) - Added
Bot.sendIq
to send an IQ stanza. (Pull Req. #15 by Garret Heaton) - XMPP
host
can now be explicitly set inwobot.Bot
. (Pull Req. #14 by Garret Heaton)
- Updated
package.json
for Node 0.6.0 support.
- New events API with RegExp support.
Bot.pm
has been replaced withBot.message
.Bot.unloadPlugin
has been removed.- Updated
node-xmpp
to 0.2.7 for Node 0.4.8 support.
- Added a new
error
event to capture XMPP errors - XMPP errors now trigger the
disconnect
event message
event will no longer be triggered when message is from self- Removed keepalive interval on disconnect
- Passing reference to bot in plugin onload
- Delayed messages will now be ignored
- Initial release