Skip to content

Releases: QuickBlox/quickblox-javascript-sdk

2.8.0 - NativeScript support

04 Jan 15:01
bc05f71
Compare
Choose a tag to compare

Improvements:

  • Added fetch API instead $.ajax() and request() (REST API support for NativeScript);
  • Chat adapted for NativeScript enviroments;
  • The MessageProxy and the DialogProxy were remove from qbChat.js to separate modules;

Add:

  • Add stream management test cases;
  • Add link on API ref. in Readme.md.

Fixed:

  • Fix TypeError: Cannot read property 'statusCode' of undefined for Node env;

2.7.0

09 Nov 13:44
Compare
Choose a tag to compare

Added:

QB.chat.getLastUserActivity(userId) - to send query;
QB.chat.onLastUserActivityListener(userId, seconds) - get last user activity;
  • Support WebRTC in Safari 11 (experimental);

Updated:

  • API Reference:
    • QB.addressbook,
    • QB.content,
    • QB.data,
    • QB.pushnotifications,
    • QB.user;
  • possibilty to get user by phone number;

Removed:

  • QB.chat.privacyList.setAsActive();
  • QB.content.taggetForCurrentUser();

Samples:

  • WebRTC sample - Hide record button if MediaRecorder is unavailable.

2.6.2

11 Oct 09:28
Compare
Choose a tag to compare

Added:

  • Added ignores for npm (.npmignore file);

Imporvements:

  • Data sample improvements;

Fixed:

  • Fixed XML stanza for send message with attachments in nodejs environment;
  • Fixed file's size for response from QB.content.createAndUpload(file, callback);

Removed:

  • Remove some samples (content, custom object);

2.6.1

26 Jul 16:08
Compare
Choose a tag to compare

Deprecated:

  • QB.chat.privacylist.setAsActive() is deprecated;

Fixed:

Improvement:

  • Add work with media in Data sample;

2.6.0

12 Jun 15:06
Compare
Choose a tag to compare

New:

  • new callback onKickOccupant(dialogId, initiatorUserId) to handle a case where User2 joined chat dialog and User1 removed him from occupants;

  • new callbacks onJoinOccupant(dialogId, userId) and onLeaveOccupant(dialogId, userId) to handle group dialog changes;

  • new task npm run buildNotMinified;

  • Karma/Istanbul code coverage tools. To start use the following comand: node node_modules/.bin/karma start karma.conf.js. To see a report look at subdirectory coverage in the default location.
    Warning! Before run you need to rebuild sdk with buildNotMinified task;

Updated:

  • refactored API logs format;

Fixed:

  • ability to use multiple QB instances;
  • onMessageErrorListener does not work under (Node.js);
  • QB.chat.privacylist.delete method does not work (Node.js);
  • an issue with recursion when do QB.chat.disconnect inside QB.chat.connect's callback (Node.js);
  • QB.users.resetPassword always returns an error;
  • QB.chat.privacylist.update method does not work properly when change deny-> allow;
  • methods to decline the use of active/privacy lists (QB.chat.privacylist.setAsDefault('', callback) and QB.chat.privacylist.setAsActive('', callback)) does not work properly. Also, now you can pass null instead of empty string '' to decline;
  • QB.chat.privacylist.getNames method does not return anything if a user does not have any active/default lists;
  • QB.chat.privacylist.getNames returns all names except active/default at names key under Node.js. Made it similar to browser env behaviour;
  • QB.chat.muc.listOnlineUsers method not returns an array of integers instead of array of strings.
  • Event handlers to be registered with Strophe multiple times ( thanks @ruffin-- );

2.5.5

12 Jun 15:06
Compare
Choose a tag to compare

New:

  • new callback onKickOccupant(dialogId, initiatorUserId) to handle a case where User2 joined chat dialog and User1 removed him from occupants;

  • new callbacks onJoinOccupant(dialogId, userId) and onLeaveOccupant(dialogId, userId) to handle group dialog changes;

  • new task npm run buildNotMinified;

  • Karma/Istanbul code coverage tools. To start use the following comand: node node_modules/.bin/karma start karma.conf.js. To see a report look at subdirectory coverage in the default location.
    Warning! Before run you need to rebuild sdk with buildNotMinified task;

Updated:

  • refactored API logs format;

Fixed:

  • ability to use multiple QB instances;
  • onMessageErrorListener does not work under (Node.js);
  • QB.chat.privacylist.delete method does not work (Node.js);
  • an issue with recursion when do QB.chat.disconnect inside QB.chat.connect's callback (Node.js);
  • QB.users.resetPassword always returns an error;
  • QB.chat.privacylist.update method does not work properly when change deny-> allow;
  • methods to decline the use of active/privacy lists (QB.chat.privacylist.setAsDefault('', callback) and QB.chat.privacylist.setAsActive('', callback)) does not work properly. Also, now you can pass null instead of empty string '' to decline;
  • QB.chat.privacylist.getNames method does not return anything if a user does not have any active/default lists;
  • QB.chat.privacylist.getNames returns all names except active/default at names key under Node.js. Made it similar to browser env behaviour;
  • QB.chat.muc.listOnlineUsers method not returns an array of integers instead of array of strings.
  • Event handlers to be registered with Strophe multiple times ( thanks @ruffin-- );

2.5.4

22 May 09:11
Compare
Choose a tag to compare

Remove:

  • qbLocation Module (Use Custom Object);

New:

  • chat sample;

Fixed:

  • can't login into sample video chat (test and dev) with 1 login name;
  • can't reconnect after voluntary disconnect before;
  • QB.chat.onContactListListener doesn't fire;

2.5.3

18 Apr 08:20
Compare
Choose a tag to compare

Patch with minified quickblox.min.js;
Nothing changed;

2.5.2

22 Mar 12:58
Compare
Choose a tag to compare

New:

  • Added a webrtc-adapter as dependency;
  • Added new property to params for QB.chat.connect();
    If you don't want to get list of users (roster) pass connectWithoutGettingRoster to QB.chat.connect();
  // @example
  QB.chat.connect({
    userId: user.id, 
    password: user.pass,
    connectWithoutGettingRoster: true
  }, function(err) {});

Fixed:

  • Broken any chat functionality after lost a connection;

Samples:

  • Rewrite a sample of chat. Old version doesn't support and will be removed in next release;

2.5.1

10 Jan 12:46
Compare
Choose a tag to compare

New:

  • Added a button 'Audio call' to webrtc sample (separeted audio / video call );
  • Added a codeclimate service (see a badge in README.md);

Update:

  • Stream management isn't supported by BOSH protocol. Added an exception;

Remove / Deprecated:

  • qbLocation is deprecated;
  • QB.chat.addListener is deprecated;
  • webrtcSession.filter/webrtcSession.snapshot is removed;

Fixed:

  • WebRTC sample (Sometimes user doesn't get incoming call, initiator doesn't get incoming calls when caller clicked 'End call' button when outgoing call is started once, doesn't get any incoming call from any caller if callee rejected incoming group call before).