0.13.0 π
This package version is compatible with MeiliSearch v0.25.0 π
β οΈ Breaking changes
-
Update api to task api (#248) @bidoubiwa
- Task structure introduced
- all actions on Indexes except
get
now return a Task :updateIndex
createIndex
deleteIndex
waitForPendingUpdate
is removed andwaitForTask
is introduced as replacementgetStatusUpdate
andgetAllStatusUpdates
are removed.getTask
andgetTasks
andwaitForTask
are introduced onIndexes
andClient
instances.- All routes returning an
Update
return now aTask
-
Update keys api (#252) @bidoubiwa
- New
Key
structure client.getkeys
now returns aResults<Key>
object see specificationclient.getKey
returns aKey
object of a specific keyclient.createKey
returns aKey
object created with aKeyParams
objectclient.updateKey
returns aKey
object with the updated keyclient.deleteKey
returns void as the chosen key has been deleted
- New
-
Remove GetOrCreateIndex and DeleteIfExistsIndex (#256) @bidoubiwa
getOrCreateIndex
no longer exists.deleteIfExistsIndex
no longer exists. Because deleting an index is now an asynchronous task it will either delete the index or the task will fail. But it will not block any other action.
Thanks again to @alallema, @aronbudinszky, @bidoubiwa, @brunoocasali, @curquiza, @dichotommy, @fatihyildizhan ! π