Kuzzle blog

Kuzzle Spring Release 2020

Written by Alicia Thermos | June 15, 2020

 

Good morning, everyone!

This period has been particularly complicated all over the world and also for us of course.

Nevertheless between COVID and our IoT projects, we had time to make progress on our products ;-)

Lire l'article en français

Kuzzle v2.2

In spite of these difficult times, we were able to make a number of improvements to Kuzzle.

New API method

The method bulk:deleteByQuery allows to delete documents based on an Elasticsearch request.

 

Unlike its counterpart document:deleteByQuery, it is not limited in the number of deleted documents, but it does not trigger real-time notifications.

New MQTT broker

We have decided to change our broker MQTT to use Aedes, which is much better than our previous broker.

 

Nothing changes for the users, except extra performance of course ;-)

Loose coupling

Although invisible to users, this internal change allows us to improve the interactions between the core modules.

 

This is a necessary step to integrate the cluster plugin into the Kuzzle and it is also the first milestone of a future architecture composed of interchangeable services.

Others changes

Inter-plugin communication is now made possible using the trigger method and the pipe system.

 

Kuzzle now forces the re-indexing of fields after a modification of mappings that was not handled by Elasticsearch in some cases.

 

Kourou

In the Winter Release 2020, we presented the first official version of Kourou. Since then we have released 10 versions and Kourou with a total of 34 commands.

Send a query

The sdk:query command allows you to execute any query to the Kuzzle API.

 

It is possible to provide a body in JSON or JS format, to automatically open your text editor before sending the request or to impersonate a user.

 

At Kuzzle we use it every day because it's so practical ;-)

Execute a script

Similar to sdk:query, sdk:execute allows you to execute a script via Kourou taking advantage of connection, authentication and error handling.

 

If you had little scripts everywhere with SDK instantiation, login and authentication then you'll love this command to replace them all!

 

You can provide the script directly as an argument or from a file.

It is even possible to pass variables in the command line, they will be directly integrated into your script.

Import & export

It is possible to export and import your indexes, collections, users, roles and profiles with Kourou.

The import command even allows you to recursively import all the contents of a folder.

 

Java SDK

The new version of the Java SDK is finally available to be used in your Android projects but also every JvM based language! (Scala, Kotlin, etc.)

 

Follow our Getting Started to develop your first Java application with Kuzzle: https://next-docs.kuzzle.io/sdk/java/3/getting-started/

 

Dart SDK

We were aware that the Dart community and especially Flutter were very much in need of an official SDK.

 

An open source project created and maintained by one of our contributors, has been included in the list of products officially supported by Kuzzle.

 

We would like to take this opportunity to thank the original contributors of this SDK: Prijindal, Stafyniaksacha and Manuelbaun! Many thanks to them!

 

The documentation and functional tests are in progress and we hope to be able to release version 1 officially this summer.

 

Javascript SDK

We have released a new minor version (7.2.0) as well as many patches for the SDK to support the latest features of Kuzzle.

 

We have also changed the way we distribute the SDK, now using it in a Node.js project installs 650 KB of dependencies instead of 84 MB!

 

Admin Console

Work on the next version of Admin Console is still in progress. This new version brings a complete overhaul of the interface and user experience.

 

We have also decided to transparently support all versions of Kuzzle so even Kuzzle v1 users will be able to use this new version ;-)

 

Stay tuned for updates on the upcoming beta release!

 

Join us on Discord

As some of you may have noticed, we have decided to create a Discord server for the community.

 

Discord is much more convenient than Gitter to exchange and discuss between Kuzzle users. You can read our dedicated article on the blog

 

We are now more than a hundred users on the server so don't hesitate to join us on http://join.discord.kuzzle.io/ !