Releases: kuzzleio/sdk-javascript
Releases · kuzzleio/sdk-javascript
2.1.0
Breaking Changes
KuzzleDataCollectionconstructor signature has been changed from:
KuzzleDataCollection(kuzzle, index, collection)
to:
KuzzleDataCollection(kuzzle, collection, index)
This has been done to make it on par with theKuzzle.dataCollectionFactorymethod #109- Subscription changes: #112
KuzzleDataCollection.subscribeandKuzzleDocument.subscribenow both return an object containing anonDonemethod, allowing to chain callback registrations. These callbacks are called once the subscription is done, with the following arguments:callback(error, kuzzleRoomObject).KuzzleRoom.renewnow 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
Other changes
- Normalized return values #108
2.0.3
2.0.2
2.0.0
1.9.2
1.9.1
1.9.0
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.updateSelfmethod 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