Skip to content

Commit

Permalink
Merge #570
Browse files Browse the repository at this point in the history
570: Bump meilisearch from 0.44.1 to 0.47.0 r=Strift a=dependabot[bot]

Bumps [meilisearch](https://github.com/meilisearch/meilisearch-js) from 0.44.1 to 0.47.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/meilisearch/meilisearch-js/releases">meilisearch's releases</a>.</em></p>
<blockquote>
<h2>v0.47.0 🌻</h2>
<p>This version introduces features released on Meilisearch v1.12.0 🎉</p>
<p>Check out the <a href="https://github.com/meilisearch/meilisearch/releases/tag/v1.12.0">Meilisearch v1.12.0 changelog</a> for more information.</p>
<h2>🚀 Enhancements</h2>
<ul>
<li><strong>Addition:</strong> <a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1775">#1775</a></li>
</ul>
<p>Introducing new methods to get one or several batches, respectively <code>getBatch()</code> and <code>getBatches()</code>.</p>
<pre lang="ts"><code>// fetch one batch using batch UID
const batch = await client.getBatch(123)
<p>// fetch all batches
const batches = await client.getBatches()
</code></pre></p>
<ul>
<li><strong>Addition:</strong> <a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1774">#1774</a></li>
</ul>
<p>The <code>getTasks()</code> methods now accept a <code>reverse</code> parameter to retrieve tasks in reverse chronological order.</p>
<pre lang="ts"><code>const tasks = await client.getTasks({ reverse: true });
</code></pre>
<ul>
<li><strong>Addition:</strong> <a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1790">#1790</a></li>
</ul>
<p>Index settings now allow disabling <strong>prefix search</strong> and <strong>facet search</strong>. They're both enabled by default. The SDK now comes with dedicated methods to configure these settings.</p>
<pre lang="ts"><code>// disable prefix search
await client.index('myIndex').updatePrefixSearch('disabled')
// reset prefix search settings
await client.index('myIndex').resetPrefixSearch()
<p>// disable facet search
await client.index('myIndex').updateFacetSearch(false)
// reset facet search settings
await client.index('myIndex').resetFacetSearch()
</code></pre></p>
<ul>
<li><strong>Update:</strong> <a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1773">#1773</a></li>
</ul>
<p>The <code>_matchesPosition</code> array now contains an <code>indices</code> array the text was matched in an array.</p>
<p>When searching for <code>fantasy</code> in a document that has a searchable <code>genre</code> field with the value <code>genre: [&quot;fantasy&quot;, &quot;adventure&quot;]</code>, the matches position will be as follow:</p>
<pre lang="ts"><code>&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/eb60101461718b20569230c3983a2ccf817a2ebc"><code>eb60101</code></a> Merge <a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1797">#1797</a></li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/d3593cdfdf838f7be39b8d2bfea8dcf23df259ff"><code>d3593cd</code></a> Merge <a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1768">#1768</a></li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/966d534f0b8f4cf07cb9b81b098180e26942f469"><code>966d534</code></a> Update .code-samples.meilisearch.yaml</li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/205caa8b258ddba97cb7264e1ab5a99996ceca0e"><code>205caa8</code></a> Add 1.12 code samples (<a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1801">#1801</a>)</li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/d142107ce9f9a3d9b0eb6b65ab24a594c0dfd590"><code>d142107</code></a> Merge branch 'main' into bump-meilisearch-v0.12.0</li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/912465a88fdaf04c258714295b47994e8bf11861"><code>912465a</code></a> Merge pull request <a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1799">#1799</a> from meilisearch/dependabot/npm_and_yarn/nanoid-3.3.8</li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/6b6f3a1676bef77047b2961211b90fa0d18ce20f"><code>6b6f3a1</code></a> Merge pull request <a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1800">#1800</a> from meilisearch/feat/add-batch-progress</li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/1880c4d4860a8db53dd527784d55a33e12421954"><code>1880c4d</code></a> Run prettier</li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/c279a1cc9928e0865706c0b087e344314f4fde6b"><code>c279a1c</code></a> Update batch object and tests</li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/d1ba8337a50f473259a63ccec49d5a83c310ce26"><code>d1ba833</code></a> build(deps): bump nanoid from 3.3.7 to 3.3.8</li>
<li>Additional commits viewable in <a href="https://github.com/meilisearch/meilisearch-js/compare/v0.44.1...v0.47.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=meilisearch&package-manager=npm_and_yarn&previous-version=0.44.1&new-version=0.47.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
meili-bors[bot] and dependabot[bot] authored Jan 8, 2025
2 parents a3bb6c6 + edbcad7 commit cda1f53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"babel-loader": "9.1.3",
"color": "^4.2.3",
"eslint-plugin-import": "^2.29.1",
"meilisearch": "^0.44.1",
"meilisearch": "^0.47.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9226,10 +9226,10 @@ meilisearch@^0.36.0:
dependencies:
cross-fetch "^3.1.6"

meilisearch@^0.44.1:
version "0.44.1"
resolved "https://registry.yarnpkg.com/meilisearch/-/meilisearch-0.44.1.tgz#1e997b8020b8c0d03d500bcab53f494b51edec90"
integrity sha512-ZTZYBmomtRwjaWbvU8U8ct04g/YnrNOlvchogJOPgHcQIQBfjdbAvMJ8mLhuZEzpioYXIT6Cv+FcE150pc2+nw==
meilisearch@^0.47.0:
version "0.47.0"
resolved "https://registry.yarnpkg.com/meilisearch/-/meilisearch-0.47.0.tgz#376bda5d65f7dd7b80e1ad317912664c4a02b05f"
integrity sha512-Qq+hatuDJ0z5c+szVb0O/uI7Z2jfMUjj8eNB6xPyKp9Og7GVnrOZJRVoDPqGoVY484Iwh+F61y2UreIetda00w==

memfs@^3.1.2:
version "3.2.2"
Expand Down

0 comments on commit cda1f53

Please sign in to comment.