Skip to content

@meilisearch/[email protected]

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Dec 14:27
· 261 commits to main since this release
cf7b710

Minor Changes

  • 5b6be19 & ed8b6a3: Added ability to override a selection of Meilisearch search parameters.

    ⚠️ The returned value of the core instantMeiliSearch function has changed!

    This change was necessary for the aforementioned ability to be implemented and
    applied in a clean manner.
    The necessary migration should be of minimal impact.

    Migration

    Change the following

    // 1.
    const client = instantMeiliSearch(/*...*/);
    // 2.
    const searchClient = instantMeiliSearch(/*...*/);
    // 3.
    instantsearch({
      indexName: "movies",
      searchClient: instantMeiliSearch(/*...*/),
    });

    to the following

    // 1.
    const { searchClient: client } = instantMeiliSearch(/*...*/);
    // 2.
    const { searchClient } = instantMeiliSearch(/*...*/);
    // 3.
    instantsearch({
      indexName: "movies",
      searchClient: instantMeiliSearch(/*...*/).searchClient,
    });

Patch Changes

  • 06377ef: Fixes issue where backslashes ("\") and quotes (") are not escaped in filters.