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

fix(deps): update dependency meilisearch to v0.47.0 #345

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 26, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
meilisearch 0.41.0 -> 0.47.0 age adoption passing confidence

Release Notes

meilisearch/meilisearch-js (meilisearch)

v0.47.0: 🌻

Compare Source

This version introduces features released on Meilisearch v1.12.0 🎉

Check out the Meilisearch v1.12.0 changelog for more information.

🚀 Enhancements

Introducing new methods to get one or several batches, respectively getBatch() and getBatches().

// fetch one batch using batch UID
const batch = await client.getBatch(123)

// fetch all batches
const batches = await client.getBatches()

The getTasks() methods now accept a reverse parameter to retrieve tasks in reverse chronological order.

const tasks = await client.getTasks({ reverse: true });

Index settings now allow disabling prefix search and facet search. They're both enabled by default. The SDK now comes with dedicated methods to configure these settings.

// disable prefix search
await client.index('myIndex').updatePrefixSearch('disabled')
// reset prefix search settings
await client.index('myIndex').resetPrefixSearch()

// disable facet search
await client.index('myIndex').updateFacetSearch(false)
// reset facet search settings
await client.index('myIndex').resetFacetSearch()

The _matchesPosition array now contains an indices array the text was matched in an array.

When searching for fantasy in a document that has a searchable genre field with the value genre: ["fantasy", "adventure"], the matches position will be as follow:

{
  genre: [{ start: 0, length: 7, indices: [0] }]
}

Which means:

  • There was a single match in the genre array (array length == 1)
  • The match started as position 0 (the first character, "f")
  • The match has a length of 7 (the entire "fantasy" word)
  • The match was in the first item of the array (indices == [0])

⚙️ Maintenance/misc

Thanks again to @​Barabasbalazs, @​irevoire, @​curquiza, and @​Strift. 🎉

v0.46.0: 🌻

Compare Source

⚠️ Breaking changes

Old:

import { MeiliSearch } from "meilisearch";

const client = new MeiliSearch({ host: "http://127.0.0.1:7700", apiKey: "masterKey" });
const token = await client.generateTenantToken("e489fe16-3381-431b-bee3-00430192915d");

// ...

New:

import { generateTenantToken } from "meilisearch/token";

const token = await generateTenantToken("e489fe16-3381-431b-bee3-00430192915d", [], { apiKey: "masterKey" });

// ...

🐛 Bug Fixes

🔒 Security

Thanks again to @​Barabasbalazs, @​flevi29, @​mdubus! 🎉

v0.45.0: 🌻

Compare Source

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: 🌻

Compare Source

🐛 Bug Fixes

Thanks again to @​flevi29 and @​knd775 for the report! 🎉

v0.44.0: 🌻

Compare Source

⚠️ 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: 🌻

Compare Source

⚠️ 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: 🌻

Compare Source

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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate label Aug 26, 2024
Copy link

changeset-bot bot commented Aug 26, 2024

⚠️ No Changeset found

Latest commit: 2d53bbd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch 3 times, most recently from 1553aa4 to 6f9a4e3 Compare September 8, 2024 07:34
@renovate renovate bot changed the title fix(deps): update dependency meilisearch to v0.42.0 fix(deps): update dependency meilisearch to v0.43.0 Oct 2, 2024
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch from 6f9a4e3 to 984d284 Compare October 2, 2024 17:14
@renovate renovate bot changed the title fix(deps): update dependency meilisearch to v0.43.0 fix(deps): update dependency meilisearch to v0.44.0 Oct 3, 2024
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch from 984d284 to 4a6e3fa Compare October 3, 2024 14:11
@renovate renovate bot changed the title fix(deps): update dependency meilisearch to v0.44.0 fix(deps): update dependency meilisearch to v0.44.1 Oct 4, 2024
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch from 4a6e3fa to b985d0c Compare October 4, 2024 12:58
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch from b985d0c to 916b5be Compare October 28, 2024 15:23
@renovate renovate bot changed the title fix(deps): update dependency meilisearch to v0.44.1 fix(deps): update dependency meilisearch to v0.45.0 Oct 28, 2024
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch from 916b5be to 040c4a9 Compare December 2, 2024 10:41
@renovate renovate bot changed the title fix(deps): update dependency meilisearch to v0.45.0 fix(deps): update dependency meilisearch to v0.46.0 Dec 2, 2024
@renovate renovate bot changed the title fix(deps): update dependency meilisearch to v0.46.0 fix(deps): update dependency meilisearch to v0.46.0 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/meilisearch-0.x branch December 8, 2024 18:29
@renovate renovate bot changed the title fix(deps): update dependency meilisearch to v0.46.0 - autoclosed fix(deps): update dependency meilisearch to v0.46.0 Dec 10, 2024
@renovate renovate bot reopened this Dec 10, 2024
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch 2 times, most recently from 040c4a9 to 450bbc8 Compare December 10, 2024 03:48
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch from 450bbc8 to 2d53bbd Compare December 23, 2024 13:00
@renovate renovate bot changed the title fix(deps): update dependency meilisearch to v0.46.0 fix(deps): update dependency meilisearch to v0.47.0 Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants