### SDK for Node.JS 1.55 - April 2019
3-Release SDK Breaking Changes
- Warning: Starting January 2019, the LTS active version of Node.js migrated to version 10. This version of SDK Node.js is only compliant with this LTS active version.
Consequently, you need to update your Node.js version to 10.x in order to use this release of the SDK Node.js.
API Breaking Changes
- none
API Changes
- Update ImsService::sendMessageToJidAnswer and XMPPService::sendChatMessage with a new parameter answeredMsg to allow to send a reply to a message
- Update ImsService::sendMessageToBubbleJidAnswer and XMPPService::sendChatMessageToBubble with a new parameter answeredMsg to allow to send a reply to a message
- Update conversationEventHandler to handle the conversation Events from server (create/update)
- Add ConversationsService::getConversationByDbId method to retrieve a conversation from the dbid identifier.
- fix ContactsService::getRosters to return the list of contacts
- Refactor ChannelsService to return the real Channel type in API/Events
- Refactor ChannelsService to use the return types
- Add
ChannelsService::fetchChannelsByFilter
method retrieve a channel by filter - Add ContactsService::getConnectedUser method to get the connected user information
- Add ChannelsService::updateChannelVisibility method to update a channel visibility (closed or company)
- Add ChannelsService::updateChannelVisibilityToPublic method to update a channel visibility to company (visible for users in that company)
- Add ChannelsService::updateChannelVisibilityToClosed method to update a channel visibility to closed (not visible by users)
- Add ChannelsService::updateChannelTopic method to update the description of the channel to update (max-length=255)
- Update AdminService::createUserInCompany to add the roles parameter when creating a user.
- Rename the method
ChannelsService::createPrivateChannel()
toChannelsService::CreateClosedChannel
- Rename the method
ChannelsService::deleteMessageFromChannel()
toChannelsService::deleteItemFromChannel
- Rename the method
ChannelsService::getMessagesFromChannel()
toChannelsService::fetchChannelItems
- Rename the method
ChannelsService::removeUsersFromChannel1()
toChannelsService::deleteUsersFromChannel
- Rename the method
ChannelsService::removeAllUsersFromChannel()
toChannelsService::deleteAllUsersFromChannel
- Rename the method
ChannelsService::getUsersFromChannel()
toChannelsService::fetchChannelUsers
- Rename the method
ChannelsService::getChannelById()
toChannelsService::fetchChannel
- Rename the method
ChannelsService::publishMessageToChannel()
toChannelsService::createItem
- Fix wrong
INCOMMING
spelling toINCOMING
,incomming
toincoming
,Incomming
toIncoming
- Rename the method
ChannelsService::getAllOwnedChannel()
toChannelsService::getAllOwnedChannels
- Rename the method
ChannelsService::getAllSubscribedChannel()
toChannelsService::getAllSubscribedChannels
Others Changes
- Update comments limitations => limits
- Explain isTyping in the "Chatting with Rainbow users" guide
- Reduce log for the XMPP ping.