Releases: meilisearch/meilisearch-js
v0.41.0 🌻
This version introduces features released on Meilisearch v1.9.0 🎉
Check out the changelog of Meilisearch v1.9.0 for more information on the changes.
🚀 Enhancements
- Add frequency matching strategy (#1670) @the-sinner
client.index('movies').search('interstellar', { matchingStrategy: MatchingStrategies.FREQUENCY });
- Add
rankingScoreThreshold
insearch
(#1669) @the-sinner and insearchGet
(#1673) @mdubus
client.index('movies').search('badman', { rankingScoreThreshold: 0.2 });
client.index('movies').searchGet('badman', { rankingScoreThreshold: 0.2 });
client.index('movies').search('', { distinct: 'genre' });
client.index('movies').searchSimilarDocuments({ id: 'target-document-id' });
client.index('movies').getDocuments({ retrieveVectors: true });
🔒 Security
- build(deps): bump ws from 5.2.3 to 5.2.4 in /playgrounds/javascript (#1672)
⚙️ Maintenance/misc
- Remove unneeded comments from config files (#1657) @flevi29
- Fix release version check script (#1681) @curquiza
Thanks again to @brunoocasali, @curquiza, @flevi29, @mdubus, and @the-sinner! 🎉
v0.40.0 🌻
💥 Breaking Changes
- Fix the issue introduced in the v0.39 that affected vite apps #1652 @brunoocasali
- Now to use the
generateTenantToken
you should use it withawait
:
before:after:const token = client.generateTenantToken(apiKeyUid, searchRules, { apiKey: apiKey, expiresAt: expiresAt, })
const token = await client.generateTenantToken(apiKeyUid, searchRules, { apiKey: apiKey, expiresAt: expiresAt, })
⚙️ Maintenance/misc
Thanks again to @brunoocasali, @mdubus! 🎉
v0.39.0 🌻
🚀 Enhancements
- feat: hybrid search improvements for v1.8.x (#1647) @mdubus
- Add
null
to Embedder type (#1646) @amit-ksh - Add searchCutoffMs index setting (#1643, #1645) @amit-ksh
client.index('movies').getSearchCutoffMs() client.index('movies').updateSearchCutoffMs(150) client.index('movies').resetSearchCutoffMs()
export default defineConfig({
plugins: [vue()],
build: {
rollupOptions: {
external: ['crypto'], // this is the important part
},
},
})
Otherwise, you'll face errors like Module "crypto" has been externalized for browser compatibility
.
⚙️ Maintenance/misc
- Update ESLint, Prettier, TypeScript and fix/improve their configuration files (#1616) @flevi29
- Fix code style after configuration changes (#1638) @brunoocasali
Thanks again to @amit-ksh, @brunoocasali, @curquiza, @flevi29, @mdubus! 🎉
v0.38.0 🌻
This version introduces features released on Meilisearch v1.7.0 🎉
Check out the changelog of Meilisearch v1.7.0 for more information on the changes.
⚠️ Breaking changes
- Update Node.js versions that are used in tests (#1620) @flevi29
scoreDetails
feature is not experimental anymore. You can directly useshowRankingScoreDetails
during a search without activating the experimental feature 🎉
🚀 Enhancements
dimensions
field is available to the OpenAi model (#1631) @nicolasvienot- Enable limit and offset according to documentation. (#1630) @reijovosu
v0.38.0-v1.7.0-pre-release.0 🧪
🧪 This is a beta version, preparing for Meilisearch v1.7.0, based on v1.7.0-rc.1
This version introduces features released on Meilisearch v1.7.0-rc.1 🎉
Check out the changelog of Meilisearch v1.7.0-rc.1 for more information on the changes.
⚠️ Breaking changes
🚀 Enhancements
- Add support for the new field:
dimensions
for OpenAI embedders (meilisearch/meilisearch#4394) @nicolasvienot - Stabilize
scoreDetails
experimental feature (meilisearch/meilisearch#4359) @nicolasvienot - Enable limit and offset according to documentation. (#1630) @reijovosu
Thanks again to @curquiza, @flevi29, @reijovosu and @nicolasvienot! 🎉
v0.37.0 🌻
This version introduces features released on Meilisearch v1.6.0 🎉
Check out the changelog of Meilisearch v1.6.0 for more information on the changes.
🚀 Enhancements
- Add support for the new setting:
proximityPrecision
(#1619) mdubus
client.index('books').getProximityPrecision()
client.index('books').updateProximityPrecision('byAttribute')
client.index('books').resetProximityPrecision()
- Update error inheritance to extend
MeiliSearchError
(#1607) amit-ksh
🧪 Experimental enhancement - Hybrid and vector search
vectorStore
experimental feature to use it
- Add support for the
embedders
settings (#1623) mdubus
client.index('books').getEmbedders()
client.index('books').updateEmbedders({ default: { source: 'userProvided', dimensions: 1 }})
client.index('books').resetEmbedders()
- Add support for the
hybrid
parameter during search (#1623) mdubus
⚙️ Maintenance/misc
Thanks again to @amit-ksh, @curquiza, @flevi29, @mdubus, @meili-bors[bot] ! 🎉
v0.36.0 🌻
This version introduces features released on Meilisearch v1.5.0 🎉
Check out the changelog of Meilisearch v1.5.0 for more information on the changes.
🚀 Enhancements
- Needs Meilisearch v1.5.0 -> Add new method
createSnapshot()
to trigger snapshot creation. Similar to the already existingcreateDump()
for dumps (#1603) @brunoocasali
v0.35.1 🌻
v0.35.0 🌻
This version introduces features released on Meilisearch v1.4.0 🎉
Check out the changelog of Meilisearch v1.4.0 for more information on the changes.
🚀 Enhancements
client.index('books').getDictionary()
client.index('books').updateDictionary(['W.E.B'])
client.index('books').resetDictionary()
client.index('books').getSeparatorTokens()
client.index('books').updateSeparatorTokens(['@'])
client.index('books').resetSeparatorTokens()
client.index('books').getNonSeparatorTokens()
client.index('books').updateNonSeparatorTokens(['.', ','])
client.index('books').resetNonSeparatorTokens()
⚠️ Warning usage with v1.4.0
A bug fix in Meilisearch v1.4.0 introduces a breaking change in the filter usage. It only concerns users using the filter
search parameter with \
.
Explanation and change to apply are detailed in the Meilisearch v1.4.0
Thanks to @atoulmet and @bidoubiwa! 🎉
v0.34.2 🌻
🚀 Enhancements
- meilisearch-js #1569 Fixed Typo in exported type: RakingScoreDetails… (#1571) @tonyghouse
🐛 Bug Fixes
- fix: add
dumpCreation
in typeTaskTypes
(#1568) @nicolasvienot
Thanks again to @amit-ksh, @bidoubiwa, @brunoocasali, @mdubus, @meili-bors[bot], @nicolasvienot and @tonyghouse! 🎉