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.39.0 to 0.40.0 #48

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

cnkang
Copy link
Owner

@cnkang cnkang commented Jun 5, 2024

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade meilisearch from 0.39.0 to 0.40.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 1 version ahead of your current version.

  • The recommended version was released on 21 days ago.

Release notes
Package name: meilisearch
  • 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! 🎉

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:

Snyk has created this PR to upgrade meilisearch from 0.39.0 to 0.40.0.

See this package in npm:
meilisearch

See this project in Snyk:
https://app.snyk.io/org/cnkang/project/6cbefc38-dc75-4bec-9769-882b1183ef43?utm_source=github&utm_medium=referral&page=upgrade-pr
@cnkang cnkang merged commit f04eb28 into main Jun 10, 2024
1 check passed
@cnkang cnkang deleted the snyk-upgrade-0b2100f4ee88786dad793148c63d6338 branch June 10, 2024 06:23
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