Skip to content

Releases: meilisearch/meilisearch-dart

v0.5.2 🎯

14 Mar 15:44
e78223b

Choose a tag to compare

This version makes this package compatible with MeiliSearch v0.25 up to v0.26.0 🎉
Check out the changelog of MeiliSearch v0.26.0 for more information about the ⚠️ breaking changes about the flag and dump new behavior.

🚀 Enhancements

  • Added new method generateTenantToken() as a result of the addition of the multi-tenant functionality.
    This method creates a JWT tenant token that will allow the user to have multi-tenant indexes and thus restrict access to documents based on the end-user making the search request. (#139) @brunoocasali

Thanks again to @brunoocasali! 🎉

v0.5.1 🎯

20 Jan 19:49
1c8bb4f

Choose a tag to compare

🚀 Enhancements

Analytics is enabled by default in the server, but you can disable them by following this guide
Also, of course, every analytics data we collect are ANONYMOUS read the guide for more information.

Thanks again to @brunoocasali! 🎉

v0.5.0

19 Jan 18:08
35586f5

Choose a tag to compare

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 Authorization header instead of X-Meili-API-Key (#121) @brunoocasali
    • MeiliSearch v0.25.0 has a new API regarding the updates that have been renamed into tasks.
  • Rename PendingUpdate to TaskInfo (#123) @brunoocasali
  • Changes related to the new task API (#125, #120, #127) @brunoocasali. Check out the task API references and the asynchronous tasks guide
  • Multiple naming changes regarding the v0.25.0 upgrade (#119, #120, #125, #127) @brunoocasali:
    • client.getUpdateStatus to client.getTask
    • client.getAllUpdateStatus to client.getTasks
    • client.getKeys responds with a Future<List<Key>> not Future<Map<String, String>>
    • index.getAllUpdateStatus to index.getTasks
    • index.getUpdateStatus to index.getTask
    • index.update, index.delete, client.createIndex, client.deleteIndex and client.updateIndex now responds with Future<TaskInfo>

🚀 Enhancements

  • Remove getOrCreate from MeiliSearchClient (#119) @brunoocasali
  • Add a new method who responds with raw information from API (#124) @brunoocasali
  • Add PATCH method support (#121) @brunoocasali
  • Add support to keys (according to v0.25.0 spec) more (#121) @brunoocasali
    • Create a new resource class Key to represent keys
    • Create methods to support keys:
      • client.getKeys
      • client.getKey
      • client.createKey
      • client.updateKey
      • client.deleteKey
  • Updates regarding code samples:

Check out the documentation guide.

Thanks again to @alallema and @brunoocasali! 🎉

v0.4.0

18 Nov 15:17
4674587

Choose a tag to compare

This package is compatible with MeiliSearch v0.24.0 🎉

⚠️ Breaking changes

  • Rename errorCode, errorType and errorLink into code, type and link in the error handler (#110) @curquiza

Thanks again to @curquiza, @edinapap and @reginaalyssa! 🎉

v0.3.2

13 Oct 15:36
649c12f

Choose a tag to compare

This package is compatible with MeiliSearch v0.23.1

Changes

  • Add json content type by default as header to make it compatible with MeiliSearch v0.23.0 (#89) @curquiza

v0.3.1

13 Sep 14:54
ca14ddf

Choose a tag to compare

This package version is compatible with MeiliSearch v0.22.0 🎉

Changes

  • Fixed cropLength type (#79) @sanders41
  • Fix distinctAttribute in settings (#77) @sanders41
  • Changes related to the next MeiliSearch release (v0.22.0) (#82). More about sorting.
    • Add sortable attributes: getSortableAttributes, updateSortableAttributes, resetSortableAttributes (#83) @sanders41
    • Add sort parameter (#84) @curquiza

Thanks again to @curquiza, and @sanders41! 🎉

v0.3.0

25 Aug 08:16
fb31e8b

Choose a tag to compare

Changes

Breaking changes ⚠️

  • Rename attributes_for_faceting into filterable_attributes (#61) @alallema
  • Rename Filters into Filter (#63) @alallema
  • Rename attributes for faceting into filterable attributes (#71) @curquiza
  • Changes related to the next MeiliSearch release (v0.21.0) (#40)

Thanks again to @alallema, @curquiza, and @sanders41! 🎉

v0.2.1

21 Jun 11:52
d358f53

Choose a tag to compare

Changes

  • Changes due to the implicit index creation (#48) @alallema
    New methods are:
    • client.index(string uid) -> we recommend using it instead of getIndex() because no HTTP call are done in index(). Useful to avoid double HTTP call in client.getIndex(uid).addDocuments. Now with client.index(uid).addDocuments the index is created if it does not exist when pushing documents.
    • index.fetchPrimaryKey()
    • index.fetchInfo()
    • client.deleteIndex()
    • client.updateIndex()

Thanks again to @alallema ! 🎉

v0.2.0

06 May 18:46
b8c34bb

Choose a tag to compare

Changes

Breaking changes ⚠️

Thanks again to @themisir, @alallema, @curquiza ! 🎉

v0.1.3

06 Mar 19:23
a14b384

Choose a tag to compare

Changes

Not many improvements, for test purpose mainly