Skip to content

Update version for the next release (v0.50.0) #1920

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

Merged
merged 2 commits into from
Apr 15, 2025
Merged

Conversation

meili-bot
Copy link
Contributor

@meili-bot meili-bot commented Apr 11, 2025

This PR is auto-generated.

The automated script updates the version of meilisearch-js to a new version: "v0.50.0"

👇 CHANGELOG BELOW

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",
    },
  },
});

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

🐛 Bug Fixes

⚙️ Maintenance/misc

Thanks again to @Barabasbalazs, @Strift, @consoleLogIt, and @flevi29! 🎉

@meili-bot meili-bot added the skip-changelog The PR will not appear in the release changelogs label Apr 11, 2025
Copy link

codecov bot commented Apr 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.02%. Comparing base (c4aeec2) to head (7513d13).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1920   +/-   ##
=======================================
  Coverage   99.02%   99.02%           
=======================================
  Files          18       18           
  Lines        1435     1435           
  Branches      303      303           
=======================================
  Hits         1421     1421           
  Misses         14       14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Strift Strift self-assigned this Apr 11, 2025
@Strift Strift enabled auto-merge April 15, 2025 00:31
@Strift Strift disabled auto-merge April 15, 2025 00:31
@Strift Strift added this pull request to the merge queue Apr 15, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 15, 2025
@Strift Strift force-pushed the meili-bot/bump-version branch from 92ddda6 to 7513d13 Compare April 15, 2025 01:38
@Strift Strift enabled auto-merge April 15, 2025 01:39
@Strift Strift added this pull request to the merge queue Apr 15, 2025
Merged via the queue into main with commit e11dfdb Apr 15, 2025
7 checks passed
@Strift Strift deleted the meili-bot/bump-version branch April 15, 2025 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog The PR will not appear in the release changelogs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants