Skip to content

Commit 90b3e75

Browse files
committed
update CHANGELOG
1 parent 709e910 commit 90b3e75

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
11
*__note:__ the # at the end of lines are the pull request numbers on GitHub*
22

3-
# Current
3+
# 2.1.3
4+
5+
* https://github.com/kuzzleio/sdk-javascript/releases/tag/2.1.3
6+
7+
# 2.1.2
8+
9+
* https://github.com/kuzzleio/sdk-javascript/releases/tag/2.1.2
10+
11+
# 2.1.0
12+
13+
* Full changes list: https://github.com/kuzzleio/sdk-javascript/releases/tag/2.1.0
414

515
## Breaking Changes
616

717
* `KuzzleDataCollection` constructor signature has been changed from:
818
`KuzzleDataCollection(kuzzle, index, collection)`
919
to:
1020
`KuzzleDataCollection(kuzzle, collection, index)`
11-
This has been done to make it on par with the `Kuzzle.dataCollectionFactory` method
21+
This has been done to make it on par with the `Kuzzle.dataCollectionFactory` method #109
22+
* Subscription changes: #112
23+
* `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)`.
24+
* `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)
25+
1226

1327
# 2.0.3
1428

0 commit comments

Comments
 (0)