Skip to content

Commit

Permalink
Merge #250
Browse files Browse the repository at this point in the history
250: Bump meilisearch from 0.36.0 to 0.40.0 r=curquiza a=dependabot[bot]

Bumps [meilisearch](https://github.com/meilisearch/meilisearch-js) from 0.36.0 to 0.40.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.40.0 🌻</h2>
<h2>💥 Breaking Changes</h2>
<ul>
<li>Fix the issue introduced in the v0.39 that affected vite apps <a href="https://redirect.github.com/meilisearch/meilisearch-js/pull/1652">meilisearch/meilisearch-js#1652</a> <a href="https://github.com/brunoocasali"><code>`@​brunoocasali</code></a></li>`
<li>Now to use the <code>generateTenantToken</code> you should use it with <code>await</code>:
before:
<pre lang="js"><code>const token = client.generateTenantToken(apiKeyUid, searchRules, {
    apiKey: apiKey,
    expiresAt: expiresAt,
  })
</code></pre>
after:
<pre lang="js"><code>const token = await client.generateTenantToken(apiKeyUid, searchRules, {
    apiKey: apiKey,
    expiresAt: expiresAt,
  })
</code></pre>
</li>
</ul>
<h2>⚙️ Maintenance/misc</h2>
<ul>
<li>Update readme links to the documentation (<a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1650">#1650</a>) <a href="https://github.com/mdubus"><code>`@​mdubus</code></a></li>`
</ul>
<p>Thanks again to <a href="https://github.com/brunoocasali"><code>`@​brunoocasali</code></a>,` <a href="https://github.com/mdubus"><code>`@​mdubus</code></a>!` 🎉</p>
<h2>v0.39.0 🌻</h2>
<h2>🚀 Enhancements</h2>
<ul>
<li>feat: hybrid search improvements for v1.8.x (<a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1647">#1647</a>) <a href="https://github.com/mdubus"><code>`@​mdubus</code></a></li>`
<li>Add <code>null</code> to Embedder type (<a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1646">#1646</a>) <a href="https://github.com/amit-ksh"><code>`@​amit-ksh</code></a></li>`
<li>Add searchCutoffMs index setting (<a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1643">#1643</a>, <a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1645">#1645</a>) <a href="https://github.com/amit-ksh"><code>`@​amit-ksh</code></a>`
<pre lang="js"><code>client.index('movies').getSearchCutoffMs()
client.index('movies').updateSearchCutoffMs(150)
client.index('movies').resetSearchCutoffMs()
</code></pre>
</li>
</ul>
<p>⚠️ if you're using vite to build your front-end app, you must add this to your configuration (see more info here <a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1649">meilisearch/meilisearch-js#1649</a>)</p>
<pre lang="js"><code>export default defineConfig({
  plugins: [vue()],
  build: {
    rollupOptions: {
      external: ['crypto'], // this is the important part
    },
  },
})
</code></pre>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/cd61a8c14e9897c975ef2176bf5e6c56d15621f3"><code>cd61a8c</code></a> Merge <a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1653">#1653</a></li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/9639f78533b12dc812756bd9d427f2d0bbc3e344"><code>9639f78</code></a> Merge <a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1652">#1652</a></li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/f53131f5b33470b423804065aee52625fa755c8f"><code>f53131f</code></a> Update src/package-version.ts</li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/45c5d96832b0d62ce0b68d7c0fa866ea96d4c5f6"><code>45c5d96</code></a> Update package.json</li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/e0b1e71fe352f25e0d9f2eaa147aada87a18af65"><code>e0b1e71</code></a> Update crypto statement to fix vite issue</li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/2f37b741e6f6af4291a56ea056ddde96f99681c5"><code>2f37b74</code></a> Merge <a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1650">#1650</a></li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/ba8e617a3cab491f709c4d73019d27a363de3ac2"><code>ba8e617</code></a> docs: update readme links to the documentation</li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/4475864a246c876daec1ed3b8d4a3a7e09afb65a"><code>4475864</code></a> Merge <a href="https://redirect.github.com/meilisearch/meilisearch-js/issues/1648">#1648</a></li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/a756c11c54ee06572831a875628c299e4ccac41f"><code>a756c11</code></a> Update src/package-version.ts</li>
<li><a href="https://github.com/meilisearch/meilisearch-js/commit/b208992107547ee240540650c39f5727836db2db"><code>b208992</code></a> Update package.json</li>
<li>Additional commits viewable in <a href="https://github.com/meilisearch/meilisearch-js/compare/v0.36.0...v0.40.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.36.0&new-version=0.40.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR 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 Jun 3, 2024
2 parents e44a359 + 9c0eac5 commit c585001
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 @@ -57,6 +57,6 @@
"wait-port": "^1.0.4"
},
"dependencies": {
"meilisearch": "^0.36.0"
"meilisearch": "^0.40.0"
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8733,10 +8733,10 @@ [email protected]:
resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"
integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=

meilisearch@^0.36.0:
version "0.36.0"
resolved "https://registry.yarnpkg.com/meilisearch/-/meilisearch-0.36.0.tgz#b2d1f6b342aabc89557832638a6ce2a6a7c6bf64"
integrity sha512-swcvEYrct0/zsGj3jlbPm1OYxbH14IURnlysKlXywNicIQ5EMkSYLYCLCwOuBKAaGcdISWdgdylH9TXVLegmOQ==
meilisearch@^0.40.0:
version "0.40.0"
resolved "https://registry.yarnpkg.com/meilisearch/-/meilisearch-0.40.0.tgz#b08b3dfddbdc781a6dc486ea9e098f5af78d691c"
integrity sha512-BoRhQMr2mBFLEeCfsvPluksGb01IaOiWvV3Deu3iEY+yYJ4jdGTu+IQi5FCjKlNQ7/TMWSN2XUToSgvH1tj0BQ==
dependencies:
cross-fetch "^3.1.6"

Expand Down

0 comments on commit c585001

Please sign in to comment.