Skip to content

Releases: meilisearch/meilisearch-dotnet

v0.9.0

25 Jan 15:27
ab8f61f
Compare
Choose a tag to compare

This package version is compatible with MeiliSearch v0.25.0 🎉

⚠️ Breaking changes

  • Rename all async methods with an Async suffix (#207) @juchom
  • 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.24.0 or newer before doing the upgrade. (#202) @curquiza
    Why isn't it compatible?
    • MeiliSearch v0.25.0 uses Authorization header instead of X-Meili-API-Key (#211) @curquiza
    • MeiliSearch v0.25.0 has a new API regarding the updates that have been renamed into tasks. More details in the following points
  • Changes related to the new task API (#215) @curquiza Check out the task API references and the asynchronous tasks guide
    • CreateIndex, UpdateIndex and DeleteIndex are now asynchrone regarding MeiliSearch and do not return a Index instance anymore, but a task object. Please use index() method instead.
    • Rename index.GetAllUpdateStatus into index.GetTasks
    • Rename index.GetUpdateStatus into index.GetTask
    • WaitForPendingUpdate is renamed into WaitForTask and is accessible from index and from client
  • Remove getOrCreateIndex method (#208) @curquiza
  • Remove deleteIndexIfExists method (#209) @curquiza

🚀 Enhancements

  • Add API keys methods (#217) @curquiza
    • client.CreateKey()
    • client.DeleteKey()
    • client.GetKey()
    • client.GetKeys()

Check out the documentation guide.

  • Add new methods client.GetTasks() and client.GetTask()

🚀 Enhancements

  • Remove dependancy on Microsoft.AspNetCore.WebUtilities (#197) @juchom

🐛 Bug Fixes

Thanks again to @curquiza, @islamath, and mostly to @juchom who is really involved in every PR and discussion! 🎉 ❤️

v0.8.0

18 Nov 15:14
3137b00
Compare
Choose a tag to compare

This version is compatible with MeiliSearch v0.24.0 🎉

⚠️ Breaking changes

  • Add UpdateIndex method and changed UpdateIndex to Update (#180) @JaspervdGraaf
  • Rename ErrorCode, ErrorType and ErrorLink into Code, Type and Link in the error handler (#189) @curquiza

🚀 Enhancements

Thanks again to @JaspervdGraaf, @Vivek-abstract, @alejandrocq, @curquiza, @l4u, @sander1095 and @tjakubo2! 🎉

v0.7.2

13 Oct 15:44
5fc9bfc
Compare
Choose a tag to compare

This package is compatible with MeiliSearch v0.23.1

Changes

  • Add HttpRequest class to handle post and put requests and remove to the charset-utf8 content type. (#165) @curquiza
  • Added settings/displayed-attributes methods (to get, update and reset) (#164) @tjakubo2
  • Add method to delete an index without throwing any error (DeleteIfExist, DeleteIndexIfExist) (#160) @jdkramhoft

Thanks again to @cmaneu, @curquiza, @hvgithub, @jdkramhoft, @kashifsoofi, and @tjakubo2! 🎉

v0.7.1

13 Sep 14:35
a55396b
Compare
Choose a tag to compare

This package version is compatible with MeiliSearch v0.22.0 🎉

Changes

  • Add sort feature compatibility (#148) @curquiza. More about sorting.
    • add GetSortableAttributes(), UpdateSortableAttributes() and ResetSortableAttributes() methods
    • work with the sort parameter when using Search() method

v0.7.0

23 Aug 17:23
65ea5f2
Compare
Choose a tag to compare

This version makes this package compatible with MeiliSearch v0.21.0
🎉 Check out the changelog of MeiliSearch v0.21.0

Changes

Breaking changes ⚠️

  • Rename buildDate into commitDate (#134) @alallema
  • Rename attributes_for_faceting into filterable_attributes (#137) @alallema
  • Rename filters into filter (#138) @alallema
  • Rename FieldsDsitribution into FieldDistribution (#139) @alallema
  • Changes related to the next MeiliSearch release (v0.21.0) (#115)

Thanks again to @alallema ! 🎉

v0.6.1

11 Jun 10:40
d7b3769
Compare
Choose a tag to compare

Changes

Thanks again to @gethari! 🎉

v0.6.0

25 May 16:42
68a89f1
Compare
Choose a tag to compare

Breaking changes ⚠️

Thanks again to @alallema! 🎉

v0.5.0

24 May 10:29
5d4526c
Compare
Choose a tag to compare

Changes

  • Introduction of a new method Index(string uid) that replaces GetIndex(string uid) who is still available but does HTTP call before returning the Index. This method should be only used to fetch information from the MeiliSearch instance. See our Getting Started to be sure using this SDK the most optimized way (#118) @alallema
  • Introduction of a new method FetchPrimaryKey() who fetch the PrimaryKey of an Index (#118) @alallema
  • Changing behavior method of AddDocument(documents, string primaryKey = default) by adding the possibility to set the PrimaryKey as an argument. The PrimaryKey would be only taken into account in the addition of the first document (#118) @alallema
  • Changing behavior method of UpdateDocument(documents, string primaryKey = default) by adding the possibility to set the PrimaryKey as an argument. The PrimaryKey would be only taken into account in the addition of the first document (#118) @alallema

Breaking changes ⚠️

  • Standardize health method (#114) @alallema
  • Adding an error handler with custom error available: MeiliSearchApiError, MeiliSearchCommunicationError, MeiliSearchTimeoutError. The following attributes are present in the body answer when raising a MeiliSearchApiError: errorCode, errorType and errorLink. (#117) @alallema

Thanks again to @alallema, @curquiza! 🎉

v0.4.2

14 Apr 13:22
f3951b1
Compare
Choose a tag to compare

Changes

  • added NbHits and ExhaustiveNbHits to SearchResult object (#112) @bzatrok

Thanks again to @bzatrok! 🎉

v0.4.1

08 Dec 16:57
834fd46
Compare
Choose a tag to compare

Changes

  • Set SearchQuery.Filters type as string (#86) @XREvo

Thanks again to @XREvo and @curquiza! 🎉