Releases: meilisearch/meilisearch-js
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.searchForFacetvalue
is 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 afilter
field. Thefilter
field works precisely like thefilter
field used on thesearch
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 newfilter
field to filter the documents you'd like to fetch. Thefilter
field works precisely like thefilter
field used on thesearch
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 🌻
🐛 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
facetStats
providesmin
andmax
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 🌻
⚠️ Breaking changes
- Make
SearchResponse
types 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! 🎉
v0.32.0-v1.1.0-pre-release.2
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.