Skip to content

Releases: meilisearch/meilisearch-js

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

08 Jun 12:43
60fbebc
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

🚀 Enhancements

Thanks again to @bidoubiwa! 🎉

v0.32.1 🌻

03 Apr 10:01
4f60551
Compare
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
Compare
Choose a tag to compare

⚠️ Breaking changes

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

v0.32.0-v1.1.0-pre-release.2

27 Mar 16:33
Compare
Choose a tag to compare
Pre-release

This version makes this package compatible with Meilisearch v1.1.0.rc.1 🎉
Check out the changelog of Meilisearch v1.1.0.rc.1 for more information on the changes.

🚀 Enhancements

  • Add MultiSearchQuery and MultiSearchResult types #1470
  • Remove min max being optional in facetStats results #1464