Releases: kuzzleio/sdk-javascript
Releases · kuzzleio/sdk-javascript
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
type
argument for thekuzzle.listCollections
method ⚠️ breaking change:kuzzle.connect
does not accept a callback argument anymore. When using theconnect: manual
option, either use the constructor callback (called byconnect
once a connection has been established), or add a listener to theconnected
event
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:
subscribed
andunsubscribed
- Added the following events to the event handler:
connected
anderror
- 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
v1.0.2: Merge pull request #23 from kuzzleio/refactor
- Added the new
connect
option and method, allowing to manually connect to Kuzzle instead of doing it automatically - Renamed
KuzzleDataCollection.publish
intoKuzzleDataCollection.publishMessage
- Added the possibility to force a document ID with
KuzzleDataCollection.createDocument
1.0.1: Merge pull request #22 from kuzzleio/unitTests
Init offline mode