Skip to content

0.13.0 πŸ•Š

Compare
Choose a tag to compare
@meili-bot meili-bot released this 14 Feb 20:27
· 411 commits to main since this release
f66a420

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 and waitForTask is introduced as replacement
    • getStatusUpdate and getAllStatusUpdates are removed.
    • getTask and getTasks and waitForTask are introduced on Indexes and Client instances.
    • All routes returning an Update return now a Task
  • Update keys api (#252) @bidoubiwa

    • New Key structure
    • client.getkeys now returns a Results<Key> object see specification
    • client.getKey returns a Key object of a specific key
    • client.createKey returns a Key object created with a KeyParams object
    • client.updateKey returns a Key object with the updated key
    • client.deleteKey returns void as the chosen key has been deleted
  • 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 ! πŸŽ‰