Skip to content

@meilisearch/[email protected]

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Dec 02:48
· 268 commits to main since this release
2bd6163

Patch Changes

  • 5b6be19: 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,
    });
  • Updated dependencies [5b6be19]

  • Updated dependencies [06377ef]