Skip to content

Bump meilisearch from 0.48.2 to 0.50.0 #610

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

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 1, 2025

Bumps meilisearch from 0.48.2 to 0.50.0.

Release notes

Sourced from meilisearch's releases.

v0.50.0 🦫

This release adds new features related to Meilisearch 1.14.

⚠️ Breaking changes

[!important] The Meilisearch class now accepts a requestInit parameter instead of requestConfig. Parameters of requestInit are the same, except it no longer accepts signal.

const client = new Meilisearch({
  host: 'https://edge.meilisearch.com',
  apiKey: 'your meilisearch API key',
  // `requestConfig` is removed, use `requestInit` instead
  requestInit: {
    headers: {
      "A-Http-Header": "The Value",
    },
  },
});

Migration guide: tasks promises now have a "waitTask" method

// Replace this 
const task = client.createIndex("test");
 await client.waitForTask(task.taskUid);
// By this
await client.createIndex("test").waitTask();

[!important]

  • TaskClient is no longer exported, use it through the Meilisearch class tasks property (e.g. client.tasks) or Index class (e.g. client.index('index').tasks)
  • Batch, EnqueuedTask, and Task are no longer classes (the types are still exported)
  • Date properties on Batch, EnqueuedTask, and Task are now string. They can be converted to date using i.e. new Date(string)
  • Renamed MeiliSearchTimeOutError to MeiliSearchRequestTimeOutError

🚀 Enhancements

... (truncated)

Commits
  • e11dfdb Update src/package-version.ts
  • e44b585 Update package.json
  • c4aeec2 Update code sample
  • 66f7923 Add mixed types filterable attribute test
  • 54b2cc9 Add comment about typing
  • 2e320db Update batch object
  • 1ad9bd3 Update getFilterableAttributes return type
  • 30be965 Use the new waitTask() function
  • fa8b93f Use local embedders to avoid using open ai
  • a5dc5cf Remove snapshot testing for batches because too flaky
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file skip-changelog labels May 1, 2025
Bumps [meilisearch](https://github.com/meilisearch/meilisearch-js) from 0.48.2 to 0.50.0.
- [Release notes](https://github.com/meilisearch/meilisearch-js/releases)
- [Commits](meilisearch/meilisearch-js@v0.48.2...v0.50.0)

---
updated-dependencies:
- dependency-name: meilisearch
  dependency-version: 0.50.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/meilisearch-0.50.0 branch from 2b6fd7e to dd00ce1 Compare May 21, 2025 06:59
@Strift
Copy link
Collaborator

Strift commented May 23, 2025

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github May 23, 2025

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant