Skip to content

v0.11.0

Compare
Choose a tag to compare
@curquiza curquiza released this 16 Jun 13:22
009fad7
  • Faceting (#421)
  • Improve tests with v11 (#422)
  • Improve code examples (#434)
  • Add getOrCreateIndex method to meilisearch client #436
  • Refacto error handler (#436)
  • BREAKING: Usage of createIndex changed createIndex(uid: string, options: IndexOptions) (#436)
  • BREAKING: Error Handler improved by adding a new MeiliSearchCommunicationError (#436)
  • Update dependencies
  • BREAKING (Typescript): Changes in types
  • MeiliSearchApiErrorInterface changes
  • Remove UpdateIndexRequest and replaced it with IndexOptions

Breaking changes due to the MeiliSearch breaking upgrade (from v0.10.X to v0.11.X)

  • in the GET /stats route, the fieldsFrequency attribute is renamed into fieldsDistribution. The value of this attribute does not change.
  • MeiliSearch is currently doing a better error handler. Now, the following attributes are present in the body answer when raising an error: errorCode, errorType and errorLink.
    The message attribute still exists but the value of this field might change for some errors.
    We do not recommend using the content of these fields immediately (wait for the v0.12.0): MeiliSearch is indeed still working on this error handler and the content of these fields will probably change.

Thanks to @bidoubiwa and @curquiza! 🎉