Skip to content

Releases: meilisearch/meilisearch-js

v0.40.0 🌻

15 May 11:19
cd61a8c
Compare
Choose a tag to compare

💥 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 with await:
    before:
    const token = client.generateTenantToken(apiKeyUid, searchRules, {
        apiKey: apiKey,
        expiresAt: expiresAt,
      })
    after:
    const token = await client.generateTenantToken(apiKeyUid, searchRules, {
        apiKey: apiKey,
        expiresAt: expiresAt,
      })

⚙️ Maintenance/misc

Thanks again to @brunoocasali, @mdubus! 🎉

v0.39.0 🌻

06 May 13:20
4475864
Compare
Choose a tag to compare

🚀 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()

⚠️ if you're using vite to build your front-end app, you must add this to your configuration (see more info here #1649)

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 🌻

11 Mar 12:39
d891f15
Compare
Choose a tag to compare

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.

⚠️ If you want to adopt new features of this release, update the Meilisearch server to the appropriate version.

⚠️ Breaking changes

  • Update Node.js versions that are used in tests (#1620) @flevi29
  • scoreDetails feature is not experimental anymore. You can directly use showRankingScoreDetails during a search without activating the experimental feature 🎉

🚀 Enhancements

v0.38.0-v1.7.0-pre-release.0 🧪

19 Feb 15:38
Compare
Choose a tag to compare
Pre-release

🧪 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.

⚠️ If you want to adopt new features of this release, update the Meilisearch server to the appropriate version.

⚠️ Breaking changes

  • Update Node.js versions that are used in tests (#1620) @flevi29

🚀 Enhancements

Thanks again to @curquiza, @flevi29, @reijovosu and @nicolasvienot! 🎉

v0.37.0 🌻

15 Jan 16:38
a8b5e4b
Compare
Choose a tag to compare

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.

⚠️ If you want to adopt new features of this release, update the Meilisearch server to the according version.

🚀 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

⚠️ This is about an experimental feature of Meilisearch. Activate the 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

  • Fix test name in error.test.ts (#1609) amit-ksh
  • Update Jest (#1622) flevi29

Thanks again to @amit-ksh, @curquiza, @flevi29, @mdubus, @meili-bors[bot] ! 🎉

v0.36.0 🌻

20 Nov 15:30
802c3c3
Compare
Choose a tag to compare

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.

⚠️ If you want to adopt new features of this release, update the Meilisearch server to the appropriate version.

🚀 Enhancements

  • Needs Meilisearch v1.5.0 -> Add new method createSnapshot() to trigger snapshot creation. Similar to the already existing createDump() for dumps (#1603) @brunoocasali

v0.35.1 🌻

20 Nov 14:55
f5b0f1f
Compare
Choose a tag to compare

🚀 Enhancements

Thanks again to @Dhoni77, @amit-ksh, @curquiza, @jonespen, @meili-bors[bot] ! 🎉

v0.35.0 🌻

25 Sep 11:51
646d728
Compare
Choose a tag to compare

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.

⚠️ If you want to adopt new features of this release, update the Meilisearch server to the according version.

🚀 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()
  • Add support for the new setting: non-separator-tokens (#1563) @atoulmet
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 🌻

06 Sep 12:29
20b3084
Compare
Choose a tag to compare

🚀 Enhancements

🐛 Bug Fixes

Thanks again to @amit-ksh, @bidoubiwa, @brunoocasali, @mdubus, @meili-bors[bot], @nicolasvienot and @tonyghouse! 🎉

v0.34.2-tokenizer-customization.0

16 Aug 13:40
Compare
Choose a tag to compare
Pre-release

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.
⚠️ If you want to adopt new features of this release, update the Meilisearch server to the according version.

🚀 Enhancements

Thanks again to @atoulmet 🎉