> ## Documentation Index
> Fetch the complete documentation index at: https://www.meilisearch.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Meilisearch v1.48 release notes

> Released June 22, 2026

## 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:

```bash theme={null}
PATCH /experimental-features
```

```json theme={null}
{
  "renderRoute": true
}
```

The route accepts a template and optional input, and returns both the unrendered template and the rendered result:

```http theme={null}
POST /render-template
```

```json theme={null}
{
  "template": {
    "kind": "documentTemplate",
    "indexUid": "movies",
    "embedder": "myMoviesEmbedder"
  },
  "input": {
    "kind": "indexDocument",
    "indexUid": "movies",
    "id": "2"
  }
}
```

Response:

```json theme={null}
{
  "template": "A movie titled {{doc.title}} whose description starts with {{doc.overview|truncatewords:10}}",
  "rendered": "A movie titled Ariel whose description starts with Taisto Kasurinen is a Finnish coal miner whose father has..."
}
```

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](https://github.com/meilisearch/meilisearch/releases/tag/v1.48.0)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.