Commit 4fd03fa
authored
Build(deps): Bump ruby-openai from 7.4.0 to 8.0.0 (#804)
Bumps [ruby-openai](https://github.com/alexrudall/ruby-openai) from
7.4.0 to 8.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/alexrudall/ruby-openai/releases">ruby-openai's
releases</a>.</em></p>
<blockquote>
<h2>v8.0.0</h2>
<h2>[8.0.0] - 2025-03-14</h2>
<h3>Added</h3>
<ul>
<li>Add Responses endpoints - thanks to my excellent colleague <a
href="https://github.com/simonx1"><code>@simonx1</code></a> for your
work on this!</li>
<li>Add docs for the Deepseek chat API.</li>
<li>Add Models#delete - thanks to <a
href="https://github.com/bennysghost">bennysghost</a>.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[BREAKING] Try to JSON parse everything. If it fails, fall back
gracefully to returning the raw response. Thank you to <a
href="https://github.com/gregszero"><code>@gregszero</code></a> and the
many others who raised this issue.</li>
<li>[BREAKING] An unknown file type will no longer prevent file upload,
but instead raise a warning.</li>
<li>[BREAKING] ruby-openai longer requires "faraday/multipart"
for Faraday 1 users (Faraday 1 already includes it and it was causing a
warning). Thanks to <a
href="https://github.com/ajGingrich">ajGingrich</a> for raising
this!</li>
<li>Add <code>user_data</code> and <code>evals</code> as options for
known File types - thank you to <a
href="https://github.com/jontec">jontec</a> for this fix!</li>
<li>Fix a syntax ambiguity in Client.rb - thank you to <a
href="https://github.com/viralpraxis">viralpraxis</a>.</li>
</ul>
<h3>Removed</h3>
<ul>
<li>[BREAKING] Backwards compatibility for <code>require
"ruby/openai"</code> is removed - from v8 on you MUST use
<code>require "openai"</code>. This fixes a deprecation
warning with Ruby 3.4. Thanks to <a
href="https://github.com/ndemianc"><code>@ndemianc</code></a> for this
PR.</li>
<li>[BREAKING] Removed support for Ruby 2.6. ruby-openai may still work
with this version but it's no longer supported.</li>
<li>Removed the 'OpenAI-Beta' header from Batches API requests.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/alexrudall/ruby-openai/blob/main/CHANGELOG.md">ruby-openai's
changelog</a>.</em></p>
<blockquote>
<h2>[8.0.0] - 2025-03-14</h2>
<h3>Added</h3>
<ul>
<li>Add Responses endpoints - thanks to my excellent colleague <a
href="https://github.com/simonx1"><code>@simonx1</code></a> for your
work on this!</li>
<li>Add docs for the Deepseek chat API.</li>
<li>Add Models#delete - thanks to <a
href="https://github.com/bennysghost">bennysghost</a>.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[BREAKING] Try to JSON parse everything. If it fails, fall back
gracefully to returning the raw response. Thank you to <a
href="https://github.com/gregszero"><code>@gregszero</code></a> and the
many others who raised this issue.</li>
<li>[BREAKING] An unknown file type will no longer prevent file upload,
but instead raise a warning.</li>
<li>[BREAKING] ruby-openai longer requires "faraday/multipart"
for Faraday 1 users (Faraday 1 already includes it and it was causing a
warning). Thanks to <a
href="https://github.com/ajGingrich">ajGingrich</a> for raising
this!</li>
<li>Add <code>user_data</code> and <code>evals</code> as options for
known File types - thank you to <a
href="https://github.com/jontec">jontec</a> for this fix!</li>
<li>Fix a syntax ambiguity in Client.rb - thank you to <a
href="https://github.com/viralpraxis">viralpraxis</a>.</li>
</ul>
<h3>Removed</h3>
<ul>
<li>[BREAKING] Backwards compatibility for <code>require
"ruby/openai"</code> is removed - from v8 on you MUST use
<code>require "openai"</code>. This fixes a deprecation
warning with Ruby 3.4. Thanks to <a
href="https://github.com/ndemianc"><code>@ndemianc</code></a> for this
PR.</li>
<li>[BREAKING] Removed support for Ruby 2.6. ruby-openai may still work
with this version but it's no longer supported.</li>
<li>Removed the 'OpenAI-Beta' header from Batches API requests.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/alexrudall/ruby-openai/commit/3d44aef0e61c8556affd2f0a63a3591bdd07741c"><code>3d44aef</code></a>
Merge pull request <a
href="https://redirect.github.com/alexrudall/ruby-openai/issues/569">#569</a>
from alexrudall/8.0.0</li>
<li><a
href="https://github.com/alexrudall/ruby-openai/commit/2e87c2eb75a34bc714b350726fe8a53a422d7dae"><code>2e87c2e</code></a>
Add back example that does work</li>
<li><a
href="https://github.com/alexrudall/ruby-openai/commit/72cfa6c79cb2890e935a2f50e2ad688471957d28"><code>72cfa6c</code></a>
Tweak CHANGELOG</li>
<li><a
href="https://github.com/alexrudall/ruby-openai/commit/c9d486f19a446fe70d5d4448e2a7049c79ef4e09"><code>c9d486f</code></a>
Update spec</li>
<li><a
href="https://github.com/alexrudall/ruby-openai/commit/6551bad53ff45ec9945a8e11b66c3b5ee7d863e8"><code>6551bad</code></a>
Remove failing spec</li>
<li><a
href="https://github.com/alexrudall/ruby-openai/commit/8b33a2346ce2c54e418af11f626efb951e4a531c"><code>8b33a23</code></a>
Add spec & docs for Model#delete</li>
<li><a
href="https://github.com/alexrudall/ruby-openai/commit/239a82028e785e1abc614e359589a7d361cd6965"><code>239a820</code></a>
Add Models#delete to the changelog</li>
<li><a
href="https://github.com/alexrudall/ruby-openai/commit/68c6e142840133f258fc436dd694604e02239950"><code>68c6e14</code></a>
Add syntax ambiguity to changelog</li>
<li><a
href="https://github.com/alexrudall/ruby-openai/commit/e638eb4f01e929cbf93db453514a233fed2a2b7e"><code>e638eb4</code></a>
Add BREAKING tag</li>
<li><a
href="https://github.com/alexrudall/ruby-openai/commit/bd223b71141d1efc7951dfff1f9bc9f3bcaea592"><code>bd223b7</code></a>
Add Faraday 1 fix</li>
<li>Additional commits viewable in <a
href="https://github.com/alexrudall/ruby-openai/compare/v7.4.0...v8.0.0">compare
view</a></li>
</ul>
</details>
<br />
[](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>1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | | - | |
| 628 | + | |
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
| |||
0 commit comments