Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 7, 2025

This PR contains the following updates:

Package Change Age Confidence
meilisearch ^0.41.0^0.55.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

meilisearch/meilisearch-js (meilisearch)

v0.55.0: 🌻

Compare Source

⚠️ Experimental

🚀 Enhancements

⚙️ Maintenance/misc

Thanks again to @​Copilot, @​Ritinpaul, @​Strift, @​dependabot[bot], @​flevi29, and dependabot[bot]! 🎉

v0.54.0: 🌻

Compare Source

🚀 Enhancements
🐛 Bug Fixes
⚙️ Maintenance/misc

Thanks again to @​Strift, @​dependabot[bot], @​flevi29, @​jezzzm, and dependabot[bot]! 🎉

v0.53.0

Compare Source

🚀 Enhancements

⚙️ Maintenance/misc

Thanks again to @​Strift and @​flevi29! 🎉

v0.52.0

Compare Source

🚀 Enhancements
⚙️ Maintenance/misc

Thanks again to @​Strift, @​flevi29, and dependabot[bot]! 🎉

v0.51.0: 🦘

Compare Source

This version introduces features released in Meilisearch v1.15.0.

⚠️ Breaking changes
🚀 Enhancements
⚙️ Maintenance/misc

Thanks again to @​Strift, @​brunoocasali, @​curquiza, @​flevi29, @​nicolasvienot! 🎉

v0.50.0: 🦫

Compare Source

This release adds new features related to Meilisearch 1.14.

⚠️ Breaking changes
Refactored HTTP client (#​1741) @​flevi29

[!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",
    },
  },
});
Refactored tasks and batches usage (#​1825) @​flevi29

[!important]
TaskClient and BatchClient are no longer exported

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();

Migration guide: access TaskClient via the tasks property

// Replace this
client.getTask(1)
client.tasks.getTask(1)

// by this
client.getTasks()
client.tasks.getTasks()

[!note]
TaskClient is also accessible through the Index class, e.g., client.index('myindex').tasks

Migration guide: access BatchClient via the batches property

// Replace this
client.getBatch(1)
client.batches.getBatch(1)

// By this
client.getBatches()
client.batches.getBatches()

[!note]
BatchClient is also accessible through the Index class, e.g., client.index('myindex').batches

Updated exported types

[!important]

  • Removed Batch, EnqueuedTask, and Task classes. The types are still exported!
  • Date properties on Batch, EnqueuedTask, and Task are now string. They can be converted to a date using e.g. new Date(string)
  • Renamed MeiliSearchTimeOutError to MeiliSearchRequestTimeOutError
  • Renamed TasksQuery to TasksOrBatchesQuery
🚀 Enhancements
🐛 Bug Fixes
⚙️ Maintenance/misc

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

v0.49.0: 🕊️

Compare Source

This version introduces features released on Meilisearch v1.13.0 🎉

✨ New
🐛 Bug Fixes
⚙️ Maintenance/misc

Thanks again to @​flevi29 and @​Strift! 🎉

v0.48.2: 🌻

Compare Source

🐛 Bug Fixes

Thanks again to @​flevi29, @​meili-bors[bot] ! 🎉

v0.48.1: 🌻

Compare Source

🐛 Bug Fixes

Thanks again to @​flevi29, @​meili-bors[bot] ! 🎉

v0.48.0: 🌻

Compare Source

⚠️ Breaking changes

Migration

Replace:

await generateTenantToken("74c9c733-3368-4738-bbe5-1d18a5fecb37", [], {
	apiKey: "0a6e572506c52ab0bd6195921575d23092b7f0c284ab4ac86d12346c33057f99",
	expiresAt: new Date("December 17, 4000 03:24:00"),
});

By:

await generateTenantToken({
	apiKey: "0a6e572506c52ab0bd6195921575d23092b7f0c284ab4ac86d12346c33057f99",
	apiKeyUid: "74c9c733-3368-4738-bbe5-1d18a5fecb37",
	searches: [],
	expiresAt: new Date("December 17, 4000 03:24:00"),
});
⚙️ Maintenance

Thanks again to @​Strift, @​ellnix, and @​flevi29 🎉

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

  • Update CONTRIBUTING.md with minimal Node version (#​1788)

Thanks again to @​Barabasbalazs, @​mdubus, @​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 - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone America/New_York, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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 force-pushed the renovate/meilisearch-0.x branch from 44874f7 to ef4ae73 Compare April 7, 2025 05:45
@codecov
Copy link

codecov bot commented Apr 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.55%. Comparing base (6818542) to head (019a848).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1786   +/-   ##
=======================================
  Coverage   93.55%   93.55%           
=======================================
  Files        1136     1136           
  Lines       23245    23245           
  Branches     5013     5012    -1     
=======================================
  Hits        21746    21746           
- Misses       1423     1431    +8     
+ Partials       76       68    -8     

☔ 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.

@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch 14 times, most recently from dca682d to a6c9821 Compare April 14, 2025 00:25
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch 3 times, most recently from 019a848 to 8d609c0 Compare April 15, 2025 05:50
@renovate renovate bot changed the title fix(deps): update dependency meilisearch to ^0.49.0 fix(deps): update dependency meilisearch to ^0.50.0 Apr 15, 2025
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch 10 times, most recently from f6e20d0 to 77588a0 Compare April 17, 2025 15:03
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch 15 times, most recently from 490d427 to 97f2e4f Compare December 18, 2025 00:59
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch 6 times, most recently from 6223763 to 716e4ee Compare December 24, 2025 17:32
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch 5 times, most recently from da980c6 to 8bc298a Compare January 5, 2026 08:40
@renovate renovate bot changed the title fix(deps): update dependency meilisearch to ^0.54.0 fix(deps): update dependency meilisearch to ^0.55.0 Jan 5, 2026
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch from 8bc298a to 4347ea7 Compare January 6, 2026 13:17
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch from 4347ea7 to a5faab3 Compare January 7, 2026 17:53
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