Skip to content

Releases: kuzzleio/sdk-javascript

1.3.8

27 Jan 14:31
Compare
Choose a tag to compare

Removed the KuzzleDataCollection.putMapping method

1.3.7

27 Jan 10:54
Compare
Choose a tag to compare

Fixed a bug where subscriptions made while offline lost the filters argument.

1.3.6

26 Jan 17:04
Compare
Choose a tag to compare
  • Fixed login method

1.3.5

25 Jan 15:33
Compare
Choose a tag to compare

Fixed NPM deployment checksum

1.3.4

20 Jan 17:21
Compare
Choose a tag to compare
  • Kuzzle.login and Kuzzle.logout are now promisified
  • Made the expiresIn argument of the Kuzzle.login method optional
  • Bugfix: the loginExpiresIn property took only a number option. Now it also accepts a string one
  • Added unit tests
  • Made KuzzleDataCollection.documentFactory work according to the SDK documentation

1.3.2: Merge pull request #40 from kuzzleio/serverInfo

15 Jan 13:21
Compare
Choose a tag to compare
  • added the new Kuzzle.getServerInfo method. See geterverInfo
  • added the new Kuzzle.listIndexes method. See listIndexes
  • added a new optional index argument to the Kuzzle.listCollections method. If no index is specified, takes the defaultIndex property. If no default index is found, throws an error. See listCollections

1.3.1

15 Jan 10:54
Compare
Choose a tag to compare

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 index argument (see the kuzzle constructor documentation)

1.2.0

24 Dec 15:04
Compare
Choose a tag to compare
  • ⚠️ Moved index from the Kuzzle's constructor options to mandatory arguments
  • Updated unit tests accordingly
  • KuzzleDataMapping.refresh now check if a mapping was found before assigning the result to the internal storage
  • Bugfix: KuzzleDataMapping.refresh was looking for the mainindex index instead of Kuzzle.index

1.1.1: Merge pull request #36 from kuzzleio/bugfix

24 Dec 11:21
Compare
Choose a tag to compare

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

18 Dec 15:19
Compare
Choose a tag to compare

Added support for Kuzzle v0.7.1:

  • added multi-indexes support
  • implemented the new type argument for the kuzzle.listCollections method
  • ⚠️ breaking change: kuzzle.connect does not accept a callback argument anymore. When using the connect: manual option, either use the constructor callback (called by connect once a connection has been established), or add a listener to the connected event