Skip to main content

New Features

Render template route (experimental) A new POST /render-template route lets you test document templates and fragments before and after configuring an embedder. This is useful for validating template syntax and seeing how your documents will be rendered. Before using this route, enable the renderRoute experimental feature:
The route accepts a template and optional input, and returns both the unrendered template and the rendered result:
Response:
You can render templates from embedders, chat settings, or inline templates. You can also provide input from index documents, inline documents, or search queries. If input is null, the route returns just the template without rendering it.

Other

Foreign filters restricted to retrieval routes Foreign filters are now only supported on retrieval routes (search, get document, etc.). They are no longer accepted on routes that write or modify documents. The following routes no longer support foreign filters:
  • Edit documents by function: POST /indexes/{index_uid}/documents/edit
  • Delete documents by filter: POST /indexes/{index_uid}/documents/delete
  • Export to a remote Meilisearch: POST /export
Documents fetch queue feature inverted The queueDocumentsFetch experimental feature has been replaced with disableDocumentsFetchQueue. This changes the behavior from opt-in to opt-out. The documents fetch queue is now enabled by default and you must explicitly disable it if needed. Bug fixes
  • Remote federated search no longer returns duplicate documents from different instances.
  • S3 snapshot uploads no longer fail due to a race condition in internal buffer recycling.
Find more information on GitHub