Skip to content

Releases: meilisearch/meilisearch-js

v0.35.0-v1.3.0-pre-release.0

13 Jul 09:10

Choose a tag to compare

Pre-release

This version introduces features released on Meilisearch v1.3.0.rc.1 🎉
Check out the changelog of Meilisearch v1.3.0 for more information on the changes.
⚠️ If you want to adopt new features of this release, update the Meilisearch server to the according version.

🚀 Enhancements

  • Add a new method searchForFacetValues providing the possibility to search for facet values of a specific facet. #1513
  • (type) Add sortFacetValuesBy as a faceting setting parameters. Which lets you order your facet values by alpha or count. #1536
  • (type) Add attributesToSearchOn as a search parameter to limit in which fields to search. #1538
  • (type) Add total in the return object of getTasks to know how many tasks were found. #1539
  • (type) Add showRankingScore as a search parameter to receive the ranking score of the hits in the _rankingScore hit field. #1537
  • [EXPERIMENTAL] (type) Add vector as a search parameter to enable vector search.
  • [EXPERIMENTAL] (type) Add showRankingScoreDetails as a search parameter to receive the details of the ranking score of the hits in _rankingScoreDetails hit field. #1537

v0.33.0-prototype-search-for-facet-values.1

08 Jun 12:43
60fbebc

Choose a tag to compare

This version is compatible with the prototype-search-for-facet-values branch of Meilisearch. To use it, either compile the branch or use the docker image.

🚀 Enhancements

  • New error codes #1513
  • New parameter in the search parameters to sort the facets distribution

⚠️ Breaking changes

  • method index.searchForFacetvalue is now named index.searchForFacetvalues #1513

Thanks again to @bidoubiwa! 🎉

v0.33.0-prototype-search-for-facet-values.0

06 Jun 13:54
e4341e7

Choose a tag to compare

This version is compatible with the prototype-search-for-facet-values branch of Meilisearch. To use it, either compile the branch or use the docker image.

🚀 Enhancements

  • new method index.searchForFacetvalue #1513

Thanks again to @bidoubiwa! 🎉

v0.33.0 🌻

05 Jun 12:10
d85d9b8

Choose a tag to compare

This version introduces features released on Meilisearch v1.2.0 🎉
Check out the changelog of Meilisearch v1.2.0 for more information on the changes.
⚠️ If you want to adopt new features of this release, update the Meilisearch server to the according version.

🚀 Enhancements

  • The first parameter of the method deleteDocuments(params) now supports two different types. Either an array of document ID's or an object containing a filter field. The filter field works precisely like the filter field used on the search method (see the docs on how to use filters) and lets you determine which documents should be deleted. ⚠️ Still, even being supported, the ability to receive an array of document ID's is deprecated and should be changed to an object containing the filter field. #1492 @bidoubiwa

  • getDocuments(parameters: DocumentsQuery), now accepts a new filter field to filter the documents you'd like to fetch. The filter field works precisely like the filter field used on the search method (see the docs on how to use filters). #1493 @bidoubiwa

These feature requires a Meilisearch server version greater than v1.2.

🐛 Bug Fixes

  • Fixes the expiresAt UNIX timestamp used for tenant token generation from miliseconds to seconds (#1502) @roy9495
  • Feat/native fetch with nitro support (#1503) @icyJoseph

Thanks again to @amit-ksh, @bidoubiwa, @brunoocasali, @icyJoseph, @meili-bors[bot], and @roy9495! 🎉

v0.32.5 🌻

29 May 15:45
e9038f9

Choose a tag to compare

🐛 Bug Fixes

  • Remove conditional loading for fetch polyfill, which resolved in built fails in some environments (#1499) @bidoubiwa

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

v0.32.4 🌻

23 May 10:34
f2ef0d2

Choose a tag to compare

🚀 Enhancements

  • Add conditional loading for cross-fetch/polyfill - favour native fetch (#1488) @icyJoseph

Thanks again to @bidoubiwa, @icyJoseph, and @smultar! 🎉

v0.32.3 🌻

08 Apr 15:59
d9a0560

Choose a tag to compare

🐛 Bug Fixes

  • Fix multiSearch to allow using host config with path (#1479) @bb

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

v0.32.2 🌻

04 Apr 13:44
870f0f5

Choose a tag to compare

🚀 Enhancements

Thanks again to @bidoubiwa! 🎉

v0.32.1 🌻

03 Apr 10:01
4f60551

Choose a tag to compare

This version introduces features released on Meilisearch v1.1.0 🎉
Check out the changelog of Meilisearch v1.1.0 for more information on the changes.
If you want to adopt new features of this release, update the Meilisearch server to the according version.

🚀 Enhancements

  • New search response field facetStats provides min and max value for facets with numeric attributes #1459
  • New method client.multiSearch() provides the possibility to make multiple request at once #1458

Example:

client.multiSearch({ queries: [
    {
      indexUid: 'movies',
      q: 'pooh'
    },
    {
      indexUid: 'movies',
      q: 'nemo'
    },
    {
      indexUid: 'movie_ratings',
      q: 'us'
    },
  ]}
)

Thanks again to @bidoubiwa! 🎉

v0.32.0 🌻

27 Mar 11:19
e488af7

Choose a tag to compare

⚠️ Breaking changes

Thanks again to @amgadserry, @bidoubiwa, @brunoocasali, @fehnomenal, @meili-bors[bot], and Amgad Serry! 🎉