Skip to content

v0.8.0 🚀

Compare
Choose a tag to compare
@meili-bot meili-bot released this 12 Oct 14:02
· 312 commits to refs/heads/main since this release
041e12b

⚠️ Breaking changes

Removal of populateEntryRule

The setting populateEntryRule in the plugin configuration is removed in favor of populate in entriesQuery (see next session).

Before:

{
  restaurant: { populateEntryRule: [] }
}

After:

{
  restaurant: { entriesQuery: { populate: [] }}
}

New plugin configuration: entriesQuery

It is possible with entriesQuery to define how your data will be fetched from your database. Here are the available options (plus locale from the internalization plugin).
See this readme section for further information.

Example

In plugin.js

module.exports = {
  meilisearch: {
    config: {
      restaurant: {
        entriesQuery: {
          limit: 1000, // batch size
          locale: 'all', // retrieve all languages
          ...
        }
      }
    }
  },
}

Thanks again to @bidoubiwa, and @meili-bors[bot]! 🎉