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.31.1 to 0.42.0 #34

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

WontonSam
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade meilisearch from 0.31.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 28 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] ! 🎉

  • 0.35.0 - 2023-09-25
  • 0.35.0-v1.3.0-pre-release.1 - 2023-07-18
  • 0.35.0-v1.3.0-pre-release.0 - 2023-07-13
  • 0.34.2 - 2023-09-06
  • 0.34.2-tokenizer-customization.0 - 2023-08-16
  • 0.34.1 - 2023-08-07
  • 0.34.0 - 2023-07-31
  • 0.33.0 - 2023-06-05
  • 0.33.0-prototype-search-for-facet-values.1 - 2023-06-08
  • 0.33.0-prototype-search-for-facet-values.0 - 2023-06-06
  • 0.32.5 - 2023-05-29
  • 0.32.4 - 2023-05-23
  • 0.32.3 - 2023-04-08
  • 0.32.2 - 2023-04-04
  • 0.32.1 - 2023-04-03
  • 0.32.0 - 2023-03-27
  • 0.32.0-v1.1.0-pre-release.2 - 2023-03-27
  • 0.32.0-v1.1.0-pre-release.1 - 2023-03-27
  • 0.32.0-v1.1.0-pre-release.0 - 2023-03-15
  • 0.31.1 - 2023-02-06
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.31.1 to 0.42.0.

See this package in npm:
meilisearch

See this project in Snyk:
https://app.snyk.io/org/cachiman-inc/project/0ef9dc26-bbe1-4638-8f91-47d744105b51?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

google-cla bot commented Sep 25, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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