Skip to content

Releases: meilisearch/meilisearch-go

v0.19.1 🐹

09 May 11:24
5ebf404
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

  • Feature/Analytics (#279) @brunoocasali
  • Add new methods for the new typo tolerance settings #294 @alallema
    Index.GetTypoTolerance()
    Index.UpdateTypoTolerance(params)
    Index.ResetTypoTolerance()
  • Ensure nested field support #290 @alallema
  • Add new search parameters highlightPreTag, highlightPostTag and cropMarker #291 @alallema

v0.19.0 🐹

14 Mar 15:50
4f14edd
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. (#269)

⚠️ Breaking changes

  • Rename type waitParams to WaitParams for making it exported (#272) @stormyyd

🚀 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. (#275) @alallema

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

v0.18.0 🐹

08 Feb 17:17
80c1b3e
Compare
Choose a tag to compare

This package version is compatible with MeiliSearch v0.25.0 (#247)

⚠️ 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 (#254) @alallema
    • MeiliSearch v0.25.0 has a new API regarding the updates that have been renamed into tasks. More details in the following points
  • Remove GetOrCreateIndex method (#255) @alallema
  • Remove DeleteIfExists method (#256) @alallema
  • Remove DeleteIndexIfExists method (#257) @alallema
  • Redesign update API to task API (#262) @alallema
    • All the actions on indexes are now asynchronous check out the task API references and the asynchronous tasks guide
      • CreateIndex(), UpdateIndex(), DeleteIndex() are now asynchrone and return a task response instead of an Index.
      • WaitForPendingUpdate() is renamed into WaitForTask and is accessible from index and from client.
      • the current index.WaitForTask() method call /tasks/:uid
      • index.GetUpdateStatus is renamed index.GetTask
      • index.GetAllUpdateStatus is renamed index.GetTasks
      • new method client.WaitForTask() call /tasks/:uid
      • new method client.WaitForTask()
      • new method client.GetTasks that calls /tasks
      • new method client.GetTask that calls /tasks/:uid
        Notes: The only two methods that now return an Index are client.Index() and client.GetIndex()
  • Change client.GetKeys does not return an object of keys, but a ResultKey with an array of keys inside. Check out keys API references.
  • Change MeilisearchApiMessage to MeilisearchApiError (#248) @mmachatschek
  • Changes related to the next MeiliSearch release (v0.25.0) (#247)

🚀 Enhancements

  • Add methods for new document formats (#235) @theag3nt
  • Addition related to API keys (#264) @alallema
    • Granular management of API keys is now added to MeiliSearch. New methods have been created to manage this:
      • client.GetKey get information about a specific API key.
      • client.CreateKey create a new API key.
      • client.DeleteKey delete an API key.
      • client.UpdateKey update an API key.
    • Check out the documentation guide.

🐛 Bug Fixes

Thanks again to @alallema, @dichotommy, @mmachatschek, @roelofjan-elsinga and @theag3nt! 🎉

v0.17.0 🐹

23 Nov 13:52
5af8950
Compare
Choose a tag to compare

This package version is compatible with MeiliSearch v0.24.0

⚠️ Breaking changes

🚀 Enhancements

Thanks again to @Hard-Coder05, @Joel-Nickson, @Thearas, @alallema, @b4sen, @curquiza, @penthaapatel, @roelofjan-elsinga and @theag3nt! 🎉

v0.16.2 🐹

12 Oct 12:12
08be49c
Compare
Choose a tag to compare

This package version is compatible with MeiliSearch v0.23.0

Changes

Thanks again to @PaulKovalov, @alallema, @curquiza, @kashifsoofi, @rizalgowandy and @zinovik! 🎉

v0.16.1 🐹

13 Sep 15:51
8eaaf75
Compare
Choose a tag to compare

This package version is compatible with MeiliSearch v0.22.0 🎉

Changes

  • Add sort feature compatibility (#192) @alallema. More about sorting.
    • Add sortable attributes methods: get_sortable_attributes, set_sortable_attributes, reset_sortable_attributes.
    • Add sort parameter during search.

Thanks again to @alallema, @gillesfabio, and @mmachatschek! 🎉

v0.16.0 🐹

24 Aug 14:00
9957497
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 ⚠️

Thanks again to @alallema, @bh90210, @bidoubiwa, and @sirodoht! 🎉

v0.15.0 🐹

30 Jun 09:48
f14742c
Compare
Choose a tag to compare

Changes

  • Rename APIKey by MasterKey then by APIKey (roll back in the same release) (#162)(#163) @alallema

Breaking changes ⚠️

  • Rewriting of the Client class. All methods related to the client are now accessible by the Client object. Intermediate interfaces have been removed. See your Getting Started or the PR for the list of the methods impacted (#150) @alallema

  • Rewriting of the Index class. All methods related to the index are now accessible by the Index like all document-related methods and searches. Intermediate interfaces have been removed. See your Getting Started or the PR for the list of the methods impacted (#150) @alallema

  • 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 be sure to use this SDK the most optimized way.

  • 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. (#158) @alallema

Bug

  • Wrong accepted status code on /health

Thanks again to @alallema, @curquiza ! 🎉

v0.14.1 🐹

24 Feb 19:48
6ee52f8
Compare
Choose a tag to compare

Changes

Thanks again to @claudiunicolaa Claudiu Nicola! 🎉

v0.14.0 🐹

09 Feb 18:45
5ff6b8a
Compare
Choose a tag to compare

Changes

  • Update dependencies

Breaking changes ⚠️

Thanks again to @bidoubiwa, @curquiza, and @eskombro ! 🎉