v0.18.0 π
This package version is compatible with MeiliSearch v0.25.0 π
β οΈ Breaking changes
- This package is only compatible with MeiliSearch v0.25.0 and later, but not with v0.24.0 and older. Be sure you are using at least MeiliSearch v0.25.0 or newer before doing the upgrade.
Why isn't it compatible?- MeiliSearch v0.25.0 uses
Authorizationheader instead ofX-Meili-API-Key(#275) - MeiliSearch v0.25.0 has a new API regarding the updates that have been renamed into tasks. More details in the following points
- MeiliSearch v0.25.0 uses
- Changes related to the new task API (#276) @curquiza Check out the task API references and the asynchronous tasks guide
create_index,update_indexanddelete_indexare now asynchrone regarding MeiliSearch and do not return aIndexinstance anymore, but a task object. Please useindex()method instead.- Rename
index.get_all_update_statusintoindex.tasks - Rename
index.get_update_statusintoindex.task wait_for_pending_updateis renamed intowait_for_taskand is accessible fromindexand fromclient
- Remove
get_or_create_indexmethod (#277) @curquiza - Remove
delete_index_if_existsmethod (#278) @curquiza client.keysdoes not return an object of keys, but an array of keys. Check out keys API references.
π Enhancements
- Add API keys methods (#279) @curquiza
client.create_keyclient.update_keyclient.delete_keyclient.key
Check out the documentation guide.
- Add new method
create_index!that creates an index synchronously regarding MeiliSearch. Be careful using it, this can block your code in production. - Add new methods
client.tasksandclient.task
Thanks again to @curquiza, and @brunoocasali ! π