Skip to content

Releases: meilisearch/meilisearch-js

v0.45.0 ๐ŸŒป

28 Oct 13:58
e224f5c
Compare
Choose a tag to compare

This version introduces features released on Meilisearch v1.11.0 ๐ŸŽ‰
Check out the changelog of Meilisearch v1.11.0 for more information on the changes.

โš ๏ธ Breaking changes (experimental feature only)

๐Ÿš€ Enhancements

โš™๏ธ Maintenance/misc

Thanks again to @Barabasbalazs, @brunoocasali, @curquiza, @mdubus! ๐ŸŽ‰

v0.44.1 ๐ŸŒป

04 Oct 10:25
bc97969
Compare
Choose a tag to compare

๐Ÿ› Bug Fixes

Thanks again to @flevi29 and @knd775 for the report! ๐ŸŽ‰

v0.44.0 ๐ŸŒป

03 Oct 12:42
6990387
Compare
Choose a tag to compare

โš ๏ธ Breaking changes

  • Add package.json "exports" field (#1611) @flevi29
    Could be a breaking change for anyone who was importing anything other than what we have in the "exports" package.json field.

โš™๏ธ Maintenance/misc

Thanks again to @flevi29, @meili-bors[bot] ! ๐ŸŽ‰

v0.43.0 ๐ŸŒป

02 Oct 14:45
3b7e7e4
Compare
Choose a tag to compare

โš ๏ธ Breaking changes

๐Ÿ”’ Security

  • build(deps): bump elliptic from 6.5.4 to 6.5.7 in /playgrounds/javascript (#1699)
  • build(deps): bump serve-static from 1.14.1 to 1.16.2 in /playgrounds/javascript (#1700)

โš™๏ธ Maintenance/misc

Thanks again to @brunoocasali, @curquiza, @flevi29, @meili-bors[bot] ! ๐ŸŽ‰

v0.42.0 ๐ŸŒป

26 Aug 13:45
bb4f53e
Compare
Choose a tag to compare

This version introduces features released on Meilisearch v1.10.0 ๐ŸŽ‰
Check out the changelog of Meilisearch v1.10.0 for more information on the changes.

โš ๏ธ Breaking changes

  • Improve errors (#1656) @/flevi29
    More details here
  • Changes related to Hybrid search (experimental) for the REST embedder (#1692) @mdubus
    • Removed parameters: query, inputField, inputType, pathToEmbeddings and embeddingObject.
    • Replaced by request and response
    • New parameter: headers

๐Ÿš€ Enhancements

  • Hybrid search improvements (#1692) @mdubus

    • Add url parameter to the OpenAI embedder
    • dimensions is now available as an optional parameter for ollama embedders.
  • Add federated search parameters (#1689) @flevi29

client.multiSearch({
    federation: {},
    queries: [
      {
        indexUid: 'movies',
        q: 'batman',
        limit: 5,
      },
      {
        indexUid: 'comics',
        q: 'batman',
        limit: 5,
      },
    ]
  })
  • Add capabilities to update documents by function (#1691) @flevi29
index.updateDocumentsByFunction({
    context: { ctx: 'Harry' },
    filter: 'id = 4',
    function: 'doc.comment = `Yer a wizard, ${context.ctx}!`',
  })
)
  • Add language settings (#1693) @/flevi29
client.index('INDEX_NAME').updateLocalizedAttributes([
    { attributePatterns: ['jpn'], locales: ['*_ja'] },
];)
client.index('INDEX_NAME').search('้€ฒๆ’ƒใฎๅทจไบบ', { locales: ['jpn'] })

โš™๏ธ Maintenance/misc

Thanks again to @amit-ksh, @brunoocasali, @curquiza, @flevi29, @mdubus, @meili-bors[bot] ! ๐ŸŽ‰

v0.41.0 ๐ŸŒป

01 Jul 16:11
01f51b4
Compare
Choose a tag to compare

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

client.index('movies').search('interstellar', { matchingStrategy: MatchingStrategies.FREQUENCY });
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

Thanks again to @brunoocasali, @curquiza, @flevi29, @mdubus, and @the-sinner! ๐ŸŽ‰

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

๐Ÿงช 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! ๐ŸŽ‰