Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade meilisearch from 0.35.1 to 0.42.0 #3

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

KaliforniaShell
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade meilisearch from 0.35.1 to 0.42.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 8 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: meilisearch
  • 0.42.0 - 2024-08-26

    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,
          },
        ]
      })
    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] ! 🎉

  • 0.41.0 - 2024-07-01

    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! 🎉

  • 0.40.0 - 2024-05-15

    💥 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! 🎉

  • 0.39.0 - 2024-05-06

    🚀 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

    Thanks again to @ amit-ksh, @ brunoocasali, @ curquiza, @ flevi29, @ mdubus! 🎉

  • 0.38.0 - 2024-03-11

    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

  • 0.38.0-v1.7.0-pre-release.0 - 2024-02-19

    🧪 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

    🚀 Enhancements

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

  • 0.37.0 - 2024-01-15

    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] ! 🎉

  • 0.36.0 - 2023-11-20

    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
  • 0.35.1 - 2023-11-20

    🚀 Enhancements

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

from meilisearch GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

@KaliforniaShell KaliforniaShell merged commit 77db1ce into main Oct 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants