github meilisearch/meilisearch v0.24.0

latest releases: prototype-embeddings-opti-0, v1.8.0-rc.1, v1.8.0-rc.0...
2 years ago

Breaking changes

  • Improve error handler (#1848) @ManyTheFish

    • errorCode,errorType and errorLink renamed to code, type and link
    • New error types: invalid_request, auth and internal
    • Failed updates now return an error object containing the following fields: message, code, type, and link. Failed responses no longer include message, errorCode, errorType, and errorLink
    • New errors: dump_not_found, unretrievable_document, dump_already_processing, no_space_left_on_device, invalid_store_file, index_primary_key_already_exists, database_size_limit_reached,primary_key_inference_failed, document_fields_limit_reached, invalid_api_key
    • Removed and renamed errors: primary_key_already_present, missing_primary_key, max_fields_limit_exceeded, dump_already_in_progress, max_database_size_limit_reached, invalid_token
    • You can find an exhaustive list of new errors as well as updated error codes and messages in the API spec
  • attributesToHighlight now works on both numerical and string values (#1813) @Jhnbrn90
    The _formatted object in the search response does not contain any numerical value anymore but only strings (and array/object of strings). The numerical values of the original document are converted into strings and returned in the _formatted object. The original document (containing the numerical values) is still available at the root of the search response.

  • Using the docker image, in the container, MeiliSearch runs using the meili user and not root anymore. This involves the path where the data.ms is stored in the container is not /data.ms anymore but /home/meili/data.ms.

Improvements

Fixes

Misc


❤️ Thanks again to our external contributors:

Don't miss a new meilisearch release

NewReleases is sending notifications on new releases.