Releases: meilisearch/meilisearch-js
v0.34.2-tokenizer-customization.0
This version introduces features released on Meilisearch prototype-tokenizer-customization-3 Docker image π
Check out the changelogs (1, 2) for more information on the changes.
π Enhancements
- Addition of new methods:
- Methods on the dictionary settings
- Methods on the separator tokens settings
- (type) Add
separatorTokens
,nonSeparatorTokens
,dictionary
in theSettings
type
Thanks again to @atoulmet π
v0.34.1 π»
π Bug Fixes
- fix(type): add canceled status to type TaskStatus (#1561) @nicolasvienot
Thanks again to @94noni, @CaroFG, @atoulmet, @bidoubiwa and @nicolasvienot! ππ
v0.34.0 π»
This version introduces features released on Meilisearch v1.3.0 π
Check out the changelog of Meilisearch v1.3.0 for more information on the changes.
β οΈ Breaking changes
- Change the build target to ES6 instead of ES3 (#1522) @bidoubiwa
π Enhancements
- Add a new method
searchForFacetValues
providing the possibility to search for facet values of a specific facet. #1513 - (type) Add
sortFacetValuesBy
as afaceting
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 ofgetTasks
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
π Bug Fixes
- fix(type): getTypoTolerance return value type (#1455) @riccox
- Fix Key type
updatedAt
typo. (#1524) @riccox
Thanks again to @bidoubiwa, @brunoocasali, @maryamsulemani97, @meili-bors[bot], and @riccox! π
v0.35.0-v1.3.0-pre-release.1
π Bug Fixes
- fix(type): make
vector
optional in search response.
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
searchForFacetValues
providing the possibility to search for facet values of a specific facet. #1513 - (type) Add
sortFacetValuesBy
as afaceting
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 ofgetTasks
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
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! π