Releases: meilisearch/meilisearch-dotnet
v0.14.1
This version introduces features released on Meilisearch v1.1.0 🎉
Check out the changelog of Meilisearch v1.1.0 for more information on the changes.
🚀 Enhancements
- use JsonContent instead of StringContent (#405) @ahmednfwela
- Add the ability to provide a specific
csvDelimiter
when adding and updating documents in CSV format (#410) @alallema - Add FacetStats field in SearchResponse (#409) @alallema
🐛 Bug Fixes
- remove nulls when updating documents (#404) @ahmednfwela
Thanks again to @ahmednfwela, @alallema, @bidoubiwa, ! 🎉
v0.14.0
⚠️ Breaking changes
- Remove
Total
fromPaginatedSearchResult
(#402) @brunoocasali - Add
TotalHits
andTotalPages
toPaginatedSearchResult
(#402) @brunoocasali
Thanks again to @alallema, @brunoocasali! 🎉
v0.13.1
This version makes this package compatible with Meilisearch v1.0.0 🎉
Check out the changelog of Meilisearch v1.0.0 for more information on the changes(#383).
🚀 Enhancements
- Key class has been changed; all the
Key
fields were available in the structure, but some of them aren't needed when creating a Key.createdAt
has beenJsonIgnore
updatedAt
has beenJsonIgnore
key
has beenJsonIgnore
Thanks again to @alallema, @brunoocasali and @juchom ! 🎉
v0.13.0
This version makes this package compatible with Meilisearch v0.30.0 🎉
Check out the changelog of Meilisearch v0.30.0 for more information on the changes.
⚠️ Breaking changes
- Rename
TaskQuery
fields (IndexUids
&Statuses
) (#365) @brunoocasali
🚀 Enhancements
-
Add
MeilisearchClient.CancelTasksAsync(CancelTasksQuery query)
(#367) @brunoocasaliCancelTasksQuery
:List<string> IndexUids
List<TaskInfoStatus> Statuses
List<TaskInfoType> Types
List<int> Uids
List<string> CanceledBy
DateTime? BeforeEnqueuedAt
DateTime? AfterEnqueuedAt
DateTime? BeforeStartedAt
DateTime? AfterStartedAt
DateTime? BeforeFinishedAt
DateTime? AfterFinishedAt
-
Add
MeilisearchClient.SwapIndexesAsync(List<IndexSwap> indexes)
(#373) @brunoocasali -
Add
MeilisearchClient.DeleteTasksAsync(DeleteTasksQuery query)
(#372) @brunoocasaliDeleteTasksQuery
:List<string> IndexUids
List<TaskInfoStatus> Statuses
List<TaskInfoType> Types
List<int> Uids
List<string> CanceledBy
DateTime? BeforeEnqueuedAt
DateTime? AfterEnqueuedAt
DateTime? BeforeStartedAt
DateTime? AfterStartedAt
DateTime? BeforeFinishedAt
DateTime? AfterFinishedAt
-
TasksQuery
new filters:List<int> Uids
List<string> CanceledBy
DateTime? BeforeEnqueuedAt
DateTime? AfterEnqueuedAt
DateTime? BeforeStartedAt
DateTime? AfterStartedAt
DateTime? BeforeFinishedAt
DateTime? AfterFinishedAt
New enum types:
-
TaskInfoType
:TaskDeletion
IndexSwap
TaskCancellation
SnapshotCreation
-
KeyAction
:TasksDelete
TasksCancel
-
TaskInfoStatus
:Failed
Canceled
Thanks again to @brunoocasali! 🎉
v0.12.1
🚀 Enhancements
- Remove JWT dependencies (#329) @juchom
- GetAllRawIndexes now support pagination with the IndexesQuery (#332) @sander1095
- Use dataset files instead of handwritten data for tests (#337) @alrz1999
- Add pagination settings (#338) @alrz1999
- Add faceting settings (#339) @alrz1999
- #340 Rename MEILISEARCH_HOST to MEILISEARCH_URL (#341) @Adrianfss
🐛 Bug Fixes
Thanks again to @Adrianfss, @Smartmind12, @alallema, @alrz1999, @juchom, @sander1095 and @tjakubo! 🎉
v0.12.0
This version makes this package compatible with Meilisearch v0.29.0 🎉
Check out the changelog of Meilisearch v0.29.0 for more information on the changes.
🚀 Enhancements
- Improve Docker configuration in the package (#278)
- Make Meilisearch's objects readonly and make sure json mapping works … (#314) @juchom
- Ensure support to the new search query parameter
matchingStrategy
(#316) @brunoocasali - Ensure support to keys with wildcarded actions.
actions
field during key creation now accepts wildcards on actions. For example,indexes.*
provides rights toindexes.create
,indexes.get
,indexes.delete
,indexes.delete
, andindexes.update
. (#317) @brunoocasali
⚠️ Breaking Changes
This breaking change may not affect you, but in any case, you should check your search queries if you want to keep the same behavior from v0.28
.
- The
NOT
filter keyword does not have an implicitlyEXIST
operator anymore. Check out for more information: meilisearch/meilisearch#2486
Thanks again to @alallema, @brunoocasali, @juchom ! 🎉
v0.11.0
This version makes this package compatible with Meilisearch v0.28.0 🎉
Check out the changelog of Meilisearch v0.28.0 for more information on the changes.
💥 Breaking Changes
- Reduce public
API
surface: Some methodsAddDefaultUserAgent
AddApiKeyToHeader
,PutJsonCustomAsync
,PostJsonCustomAsync
went from public to internal (#275) @juchom - Update
TaskInfo
definition by adding more precise enum forStatus
andType
response (#277) @juchom MeilisearchClient#GetKeysAsync
now returns aResourceResults<Key>
. (#291) @alallemaMeilisearchClient#GetAllIndexesAsync
now returns aResourceResults<Index>
(#289) @alallemaMeilisearchClient#GetAllRawIndexesAsync
now returns a json object. (#289) @alallemaMeilisearchClient#CreateDumpAsync
now responds with aTaskInfo
object. (#292) @alallemaMeilisearchClient#GetDumpStatusAsync
was removed. Use theMeilisearchClient#GetTasksAsync
orMeilisearchClient#GetTaskAsync
instead. (#288) @alallemaDumpStatus
type was removed (#292) @alallema.SearchQuery
changes (#282) @curqui- Renamed
FacetsDistribution
field toFacets
. - Renamed
Matches
field toShowMatchesPosition
.
- Renamed
SearchResult
changes (#282) @curqui- Renamed
NbHits
field toEstimatedTotalHits
. - Removed
ExhaustiveFacetsCount
field. - Removed
ExhaustiveNbHits
field.
- Renamed
Index#GetDocumentsAsync<T>
now returns an objectResourceResults<IEnumerable<T>>
(#290) @alallemaMeilisearchClient#GetTasksAsync
andIndex#GetTasksAsync
now returns an objectTasksResults<IEnumerable<TaskResource>>
(#290) @alallemaAddDocumentsAsync<T>
,CreateDumpAsync
,UpdateSettingsAsync
and other methods that "creates" a new task, now responds with aTaskInfo
and therefore they have aTaskUid
instead ofUid
(#288), (#341) @alallemaMeilisearchClient#GenerateTenantToken
now requires aapi key uid
to generate tenant tokens as the first positional attribute. (#298) @alallema
🐛 Enhancements
- Add support for
JSON
string (#269) @juchom - Add support for documents as
CSV
string (#272) @juchom - Add support for documents as
NDJSON
string (#274) @juchom - Make
SearchResult
an immutable object (#280) @juchom - Add support to
PATCH
requests (#286), (#293) @alallema - Add
MeilisearchClient#UpdateKeyAsync
method to update keys (#304) @brunoocasali MeilisearchClient#GetAllIndexesAsync
now accepts an object with paginationIndexesQuery
. (#289) @alallemaMeilisearchClient#GetDocumentsAsync<T>
now accepts an object with paginationDocumentsQuery
. (#290) @alallemaMeilisearchClient#GetDocumentAsync<T>
now accepts a param calledfields
which takes an array of strings to remap the response. (#290) @alallemaMeilisearchClient#CreateKeyAsync
andMeilisearchClient#DeleteKeyAsync
accepts bothapi key
orapi key uid
. (#291) @alallemaMeilisearchClient#CreateKeyAsync
can optionally specify auid:
to generate deterministic API keys. (#291) @alallema
🐛 Bug Fixes
Thanks again to @alallema, @brunoocasali, @curquiza and @juchom ! 🎉
v0.10.2 #️⃣
This version makes this package compatible with Meilisearch v0.27.0 🎉
Check out the changelog of Meilisearch v0.27.0 for more information about the changes.
🚀 Enhancements
- Add new methods for the new typo tolerance settings (#263) @brunoocasali
GetTypoToleranceAsync()
UpdateTypoToleranceAsync(TypoTolerance typoTolerance)
ResetTypoTolerance()
- Ensure nested field support (#260) @brunoocasali
- Add new search parameters
highlightPreTag
,highlightPostTag
andcropMarker
(#258) @brunoocasali
Thanks again to @brunoocasali! 🎉
v0.10.1 🪟
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
🚀 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. (#248) @brunoocasali
Thanks again to @brunoocasali! 🎉
v0.10.0
⚠️ Breaking changes
🚀 Enhancements
- Feature/Add a way to use package version programmatically (#233) @brunoocasali
- Feature/Analytics (#241) @brunoocasali
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.
Expand to see the full list of internal changes!
🐛 Bug Fixes
- Fix a bug regarding the usage of the Meilisearch .NET client from proxied environments (#237) @juchom
Thanks again to @AK0785, @brunoocasali, @juchom, and @Nextra! 🎉