Releases: meilisearch/meilisearch-js
v0.35.0-v1.3.0-pre-release.0
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.
🚀 Enhancements
- Add a new method
searchForFacetValuesproviding the possibility to search for facet values of a specific facet. #1513 - (type) Add
sortFacetValuesByas afacetingsetting parameters. Which lets you order your facet values by alpha or count. #1536 - (type) Add
attributesToSearchOnas a search parameter to limit in which fields to search. #1538 - (type) Add
totalin the return object ofgetTasksto know how many tasks were found. #1539 - (type) Add
showRankingScoreas a search parameter to receive the ranking score of the hits in the_rankingScorehit field. #1537 - [EXPERIMENTAL] (type) Add
vectoras a search parameter to enable vector search. - [EXPERIMENTAL] (type) Add
showRankingScoreDetailsas a search parameter to receive the details of the ranking score of the hits in_rankingScoreDetailshit field. #1537
v0.33.0-prototype-search-for-facet-values.1
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.searchForFacetvalueis now namedindex.searchForFacetvalues#1513
Thanks again to @bidoubiwa! 🎉
v0.33.0-prototype-search-for-facet-values.0
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 🌻
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.
🚀 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 afilterfield. Thefilterfield works precisely like thefilterfield used on thesearchmethod (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 newfilterfield to filter the documents you'd like to fetch. Thefilterfield works precisely like thefilterfield used on thesearchmethod (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 🌻
🐛 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 🌻
🚀 Enhancements
- Add conditional loading for cross-fetch/polyfill - favour native fetch (#1488) @icyJoseph
Thanks again to @bidoubiwa, @icyJoseph, and @smultar! 🎉
v0.32.3 🌻
v0.32.2 🌻
🚀 Enhancements
- Add method to add/update documents from a string (#1474) @bidoubiwa
Thanks again to @bidoubiwa! 🎉
v0.32.1 🌻
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
facetStatsprovidesminandmaxvalue 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 🌻
⚠️ Breaking changes
- Make
SearchResponsetypes more strict regarding to pagination (#1435) @fehnomenal - feat: added support for custom request config (#1461) @amgadserry
Thanks again to @amgadserry, @bidoubiwa, @brunoocasali, @fehnomenal, @meili-bors[bot], and Amgad Serry! 🎉