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

Update dependency meilisearch to ^0.48.0 #133

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 28, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
meilisearch ^0.44.1 -> ^0.48.0 age adoption passing confidence

Release Notes

meilisearch/meilisearch-js (meilisearch)

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

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


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 force-pushed the renovate/meilisearch-0.x branch from 139e72c to 7b97cc8 Compare October 28, 2024 18:06
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch from 7b97cc8 to 80b8573 Compare November 8, 2024 13:05
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch from 80b8573 to 02c5f51 Compare November 8, 2024 18:45
@renovate renovate bot changed the title Update dependency meilisearch to ^0.45.0 Update dependency meilisearch to ^0.46.0 Dec 2, 2024
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch from 02c5f51 to cb94115 Compare December 2, 2024 10:10
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch from cb94115 to d318d26 Compare December 18, 2024 02:59
@renovate renovate bot changed the title Update dependency meilisearch to ^0.46.0 Update dependency meilisearch to ^0.47.0 Dec 23, 2024
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch from d318d26 to 4209c4f Compare December 23, 2024 13:27
@renovate renovate bot changed the title Update dependency meilisearch to ^0.47.0 Update dependency meilisearch to ^0.48.0 Jan 14, 2025
@renovate renovate bot force-pushed the renovate/meilisearch-0.x branch from 4209c4f to 9076e7f Compare January 14, 2025 16:25
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.

0 participants