Skip to content

**3-Release SDK Breaking Changes**

Choose a tag to compare

@vberder01 vberder01 released this 13 Nov 20:59
· 1980 commits to master since this release
  • Warning: Starting 2019, the LTS active version of Node.js migrated to version 12.x. This version of SDK Node.js is only compliant with this LTS version up to 10.x.
    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

  • Fix FileStorageService::downloadFile for big files. So the returned Object.buffer is modified to an Array of data.

Others Changes

  • Fix in presenceEventHandler the offline presence of a contact in the roster.
  • Add FileServerService::getBlobFromUrlWithOptimizationObserver method to retrieve a file and store it in a path. An Observer is returned to follow the download progress.
  • Add FileStorageService::downloadFileInPath method to retrieve a file and store it in a path. An Observer is returned to follow the download progress.
  • Fix FileStorageService::downloadFile for big files. So the returned Object.buffer is modified to an Array of data.
  • Update the AlertsService documentation
  • Add autoLoadConversations option to activate the retrieve of conversations from the server. The default value is true.
  • Add autoLoadContacts option to activate the retrieve of contacts from roster from the server. The default value is true.
  • Update the XMPPService::markMessageAsReceived with a parameter conversationType to define the type of message marked as read.