v0.11.0
- 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 withIndexOptions
Breaking changes due to the MeiliSearch breaking upgrade (from v0.10.X
to v0.11.X
)
- in the
GET /stats
route, thefieldsFrequency
attribute is renamed intofieldsDistribution
. 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
anderrorLink
.
Themessage
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 thev0.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! 🎉