Skip to content

Releases: kuzzleio/sdk-javascript

2.1.0

19 Sep 15:22
Compare
Choose a tag to compare

Breaking Changes

  • KuzzleDataCollection constructor signature has been changed from:
    KuzzleDataCollection(kuzzle, index, collection)
    to:
    KuzzleDataCollection(kuzzle, collection, index)
    This has been done to make it on par with the Kuzzle.dataCollectionFactory method #109
  • Subscription changes: #112
    • KuzzleDataCollection.subscribe and KuzzleDocument.subscribe now both return an object containing an onDone method, allowing to chain callback registrations. These callbacks are called once the subscription is done, with the following arguments: callback(error, kuzzleRoomObject).
    • KuzzleRoom.renew now accepts an optional callback as its last argument. This callback is invoked with the subscription result (the first callback argument is still only invoked whenever a notification is received)

Bugfixes

  • Handles WebSocket disconnection error code (#110) #111

Other changes

  • Normalized return values #108

2.0.3

07 Sep 11:45
Compare
Choose a tag to compare
  • Added secure connection

2.0.2

01 Sep 15:49
Compare
Choose a tag to compare
  • Remove grunt from build.sh #106
  • Replaced profilesIds to profileIds #104

2.0.0

05 Aug 10:48
Compare
Choose a tag to compare
  • WebSocket support #100
  • Repositories refactor #99
  • Add callback to KuzzleDataCollection.publishMessage #97
  • Add callback to kuzzledatacollection.publishmessage #98

1.9.2

07 Jul 09:47
Compare
Choose a tag to compare
  • Reinforce unit tests on the security.getProfile method #94
  • Remove jshint as it overlapped with eslint #93
  • Fix #95: handle empty mappings #96

1.9.1

15 Jun 17:08
Compare
Choose a tag to compare
  • Fix issue #91

1.9.0

08 Jun 10:05
Compare
Choose a tag to compare

1.9.0

Features

  • Implement new roles functionalities (KuzzleSecurity.isActionAllowed, KuzzleSecurity.getMyRights, KuzzleSecurity.getUserRights)
  • Implement the elasticsearch autorefresh features (Kuzzle.refreshIndex, Kuzzle.getAutoRefresh, Kuzzle.setAutoRefresh)
  • Implement the Kuzzle.updateSelf method that allow to update current user
  • Fix issues #81, #82, #73 & #76

List of merged PR

  • Merge pull request #88 from kuzzleio/KUZ-574-getRights-methods - Sébastien Cottinet
  • Merge pull request #90 from kuzzleio/rename-policies - Kévin Blondel
  • Merge pull request #85 from kuzzleio/fix-rc-83-update-and-delete-consistency - Sébastien Cottinet
  • Merge pull request #87 from kuzzleio/KUZ-480-isActionAllowed - Sébastien Cottinet
  • Merge pull request #86 from kuzzleio/fix-rc-81-refactor-factory-signature - Kévin Blondel
  • Merge pull request #84 from kuzzleio/fix-rc-73-paginate-fetchAll - Sébastien Cottinet
  • Merge pull request #83 from kuzzleio/fix-rc-76-secure-dataCollectionFactory - Kévin Blondel
  • Merge pull request #80 from kuzzleio/kuz-463-es-autorefresh - Sébastien Cottinet

1.8.0

04 May 16:22
Compare
Choose a tag to compare
  • Remove deleteCollection #75
  • Memory storage implementation #77
  • Bugfix on KuzzleRoom where it would not add action to queue when kuzzle isn't connected #78
  • New action updateSelf #79

1.7.3

01 Mar 17:22
Compare
Choose a tag to compare

#67 : Login credentials now optional

1.7.2

26 Feb 15:25
Compare
Choose a tag to compare
  • Added a getter for KuzzleProfile associated roles
  • Added a getter for KuzzleUser associated profiles
  • Now supports 2-steps authentication