Releases: meilisearch/meilisearch-dotnet
Releases · meilisearch/meilisearch-dotnet
v0.9.0
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? - Changes related to the new task API (#215) @curquiza Check out the task API references and the asynchronous tasks guide
CreateIndex
,UpdateIndex
andDeleteIndex
are now asynchrone regarding MeiliSearch and do not return aIndex
instance anymore, but a task object. Please useindex()
method instead.- Rename
index.GetAllUpdateStatus
intoindex.GetTasks
- Rename
index.GetUpdateStatus
intoindex.GetTask
WaitForPendingUpdate
is renamed intoWaitForTask
and is accessible fromindex
and fromclient
- 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()
andclient.GetTask()
🚀 Enhancements
🐛 Bug Fixes
Thanks again to @curquiza, @islamath, and mostly to @juchom who is really involved in every PR and discussion! 🎉 ❤️
v0.8.0
This version is compatible with MeiliSearch v0.24.0 🎉
⚠️ Breaking changes
- Add UpdateIndex method and changed UpdateIndex to Update (#180) @JaspervdGraaf
- Rename
ErrorCode
,ErrorType
andErrorLink
intoCode
,Type
andLink
in the error handler (#189) @curquiza
🚀 Enhancements
- Add sub-settings methods (to get, update and reset) (#171) @tjakubo2
- Add methods to automatically add/update documents in batches (#166) @alejandrocq
- Add method to get the raw index information (#173) @alejandrocq
- Add updated at and created at to index (#170) @sander1095
- Add method to fetch list of raw indexes (#178) @Vivek-abstract
Thanks again to @JaspervdGraaf, @Vivek-abstract, @alejandrocq, @curquiza, @l4u, @sander1095 and @tjakubo2! 🎉
v0.7.2
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
This package version is compatible with MeiliSearch v0.22.0 🎉
Changes
v0.7.0
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
v0.6.0
v0.5.0
Changes
- Introduction of a new method
Index(string uid)
that replacesGetIndex(string uid)
who is still available but does HTTP call before returning theIndex
. 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 thePrimaryKey
of anIndex
(#118) @alallema - Changing behavior method of
AddDocument(documents, string primaryKey = default)
by adding the possibility to set thePrimaryKey
as an argument. ThePrimaryKey
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 thePrimaryKey
as an argument. ThePrimaryKey
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 aMeiliSearchApiError
:errorCode
,errorType
anderrorLink
. (#117) @alallema