Releases: kuzzleio/sdk-javascript
Releases · kuzzleio/sdk-javascript
1.3.1
Kuzzle 0.9 compatibility
- Added support for user authentication (see the documentation about the login and logout methods)
- Updated the SDK to match the new Kuzzle 0.9 API responses format
- Changed the way the SDK handles the
indexargument (see the kuzzle constructor documentation)
1.2.0
⚠️ Movedindexfrom the Kuzzle's constructor options to mandatory arguments- Updated unit tests accordingly
KuzzleDataMapping.refreshnow check if a mapping was found before assigning the result to the internal storage- Bugfix:
KuzzleDataMapping.refreshwas looking for themainindexindex instead ofKuzzle.index
1.1.1: Merge pull request #36 from kuzzleio/bugfix
Fixed argument handling in KuzzleDataCollection.createDocument: arguments weren't interpreted correctly when id was explicitly set to null
Added unit tests to prevent this bug to occur again
1.1.0
Added support for Kuzzle v0.7.1:
- added multi-indexes support
- implemented the new
typeargument for thekuzzle.listCollectionsmethod ⚠️ breaking change:kuzzle.connectdoes not accept a callback argument anymore. When using theconnect: manualoption, either use the constructor callback (called byconnectonce a connection has been established), or add a listener to theconnectedevent
1.0.9: Merge pull request #32 from kuzzleio/bugfix
KuzzleDocument.publish now complies to Kuzzle 0.6
1.0.8
The subscribeToSelf constructor option for the KuzzleRoom object is now defaulted to true.
This is to avoid confusion when subscriptions seem to not receive certain messages, leading to suspect a bug, when the SDK simply filtered these messages by default.
1.0.7
1.0.6
The following changes are the result of modifications on Kuzzle v0.6.0:
- Removed the following events from the event handler:
subscribedandunsubscribed - Added the following events to the event handler:
connectedanderror - Refactored the KuzzleRoom constructor arguments to support multi-channel rooms
1.0.4: Merge pull request #25 from kuzzleio/bugfix
Bugfixes:
- listeners added on the global event handlers weren't called correctly
- state management made resubscription go in pending state forever when recovering from a connection loss
1.0.3: Merge pull request #24 from kuzzleio/unitTests
Reached 100% code coverage + added codecov support