github meilisearch/meilisearch-go v0.15.0
v0.15.0 🐹

latest releases: v0.36.3, v0.36.2, v0.36.1...
5 years ago

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

Don't miss a new meilisearch-go release

NewReleases is sending notifications on new releases.