Skip to content

Releases: meilisearch/meilisearch-dotnet

v0.14.1

03 Apr 13:35
34ead74
Compare
Choose a tag to compare

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

Thanks again to @ahmednfwela, @alallema, @bidoubiwa, ! 🎉

v0.14.0

16 Mar 11:05
0fa324e
Compare
Choose a tag to compare

⚠️ Breaking changes

Thanks again to @alallema, @brunoocasali! 🎉

v0.13.1

06 Feb 17:07
d27e1d2
Compare
Choose a tag to compare

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 been JsonIgnore
    • updatedAt has been JsonIgnore
    • key has been JsonIgnore

Thanks again to @alallema, @brunoocasali and @juchom ! 🎉

v0.13.0

05 Dec 18:00
419d9bb
Compare
Choose a tag to compare

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

🚀 Enhancements

  • Add MeilisearchClient.CancelTasksAsync(CancelTasksQuery query) (#367) @brunoocasali

    • CancelTasksQuery:
      • 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) @brunoocasali

    • DeleteTasksQuery:
      • 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

08 Nov 07:22
61a59af
Compare
Choose a tag to compare

🚀 Enhancements

🐛 Bug Fixes

  • Mark Enabled as a nullable boolean value. (#354) @juchom

Thanks again to @Adrianfss, @Smartmind12, @alallema, @alrz1999, @juchom, @sander1095 and @tjakubo! 🎉

v0.12.0

03 Oct 17:53
76500b9
Compare
Choose a tag to compare

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 to indexes.create, indexes.get,indexes.delete, indexes.delete, and indexes.update. (#317) @brunoocasali

⚠️ Breaking Changes

  • Move magic strings for KeyAction, TaskInfoStatus and TaskInfoType (#321) @juchom

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.

Thanks again to @alallema, @brunoocasali, @juchom ! 🎉

v0.11.0

01 Aug 06:53
c14d1c2
Compare
Choose a tag to compare

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 methods AddDefaultUserAgent AddApiKeyToHeader, PutJsonCustomAsync, PostJsonCustomAsync went from public to internal (#275) @juchom
  • Update TaskInfo definition by adding more precise enum for Status and Type response (#277) @juchom
  • MeilisearchClient#GetKeysAsync now returns a ResourceResults<Key>. (#291) @alallema
  • MeilisearchClient#GetAllIndexesAsync now returns a ResourceResults<Index> (#289) @alallema
  • MeilisearchClient#GetAllRawIndexesAsync now returns a json object. (#289) @alallema
  • MeilisearchClient#CreateDumpAsync now responds with a TaskInfo object. (#292) @alallema
  • MeilisearchClient#GetDumpStatusAsync was removed. Use the MeilisearchClient#GetTasksAsync or MeilisearchClient#GetTaskAsync instead. (#288) @alallema
  • DumpStatus type was removed (#292) @alallema.
  • SearchQuery changes (#282) @curqui
    • Renamed FacetsDistribution field to Facets.
    • Renamed Matches field to ShowMatchesPosition.
  • SearchResult changes (#282) @curqui
    • Renamed NbHits field to EstimatedTotalHits.
    • Removed ExhaustiveFacetsCount field.
    • Removed ExhaustiveNbHits field.
  • Index#GetDocumentsAsync<T> now returns an object ResourceResults<IEnumerable<T>> (#290) @alallema
  • MeilisearchClient#GetTasksAsync and Index#GetTasksAsync now returns an object TasksResults<IEnumerable<TaskResource>> (#290) @alallema
  • AddDocumentsAsync<T>, CreateDumpAsync, UpdateSettingsAsync and other methods that "creates" a new task, now responds with a TaskInfo and therefore they have a TaskUid instead of Uid (#288), (#341) @alallema
  • MeilisearchClient#GenerateTenantToken now requires a api 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 pagination IndexesQuery. (#289) @alallema
  • MeilisearchClient#GetDocumentsAsync<T> now accepts an object with pagination DocumentsQuery. (#290) @alallema
  • MeilisearchClient#GetDocumentAsync<T> now accepts a param called fields which takes an array of strings to remap the response. (#290) @alallema
  • MeilisearchClient#CreateKeyAsync and MeilisearchClient#DeleteKeyAsync accepts both api key or api key uid. (#291) @alallema
  • MeilisearchClient#CreateKeyAsync can optionally specify a uid: to generate deterministic API keys. (#291) @alallema

🐛 Bug Fixes

Thanks again to @alallema, @brunoocasali, @curquiza and @juchom ! 🎉

v0.10.2 #️⃣

18 May 12:21
20d56e3
Compare
Choose a tag to compare

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 and cropMarker (#258) @brunoocasali

Thanks again to @brunoocasali! 🎉

v0.10.1 🪟

14 Mar 15:38
a8302bb
Compare
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. (#248) @brunoocasali

Thanks again to @brunoocasali! 🎉

v0.10.0

16 Feb 20:55
d285921
Compare
Choose a tag to compare

⚠️ Breaking changes

  • Use DateTime when the property is related to date (#226) @AK0785

🚀 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.

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! 🎉