Skip to content

Commit

Permalink
Update faraday requirement from >= 2.2, < 2.11 to >= 2.2, < 2.12 (#86)
Browse files Browse the repository at this point in the history
Updates the requirements on
[faraday](https://github.com/lostisland/faraday) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/lostisland/faraday/releases">faraday's
releases</a>.</em></p>
<blockquote>
<h2>v2.11.0</h2>
<h2>What's Changed</h2>
<p>This release adds support for the <code>ciphers</code> SSL option
(currently supported by the <code>net_http</code> adapter in v3.3+), as
well as taking advantage of the support of chained certificates
introduced in the <code>net_http</code> adapter in v3.2.
Also, it adds a new <code>ParallelManager#execute</code> interface that
improves on the existing one and makes it easier for adapters to support
parallel requests. This is currently used by the <code>async-http</code>
adapter.</p>
<h3>New features ✨</h3>
<ul>
<li>Add support for a new <code>ParallelManager#execute</code> method.
by <a href="https://github.com/iMacTia"><code>@​iMacTia</code></a> in <a
href="https://redirect.github.com/lostisland/faraday/pull/1584">lostisland/faraday#1584</a></li>
<li>Add ciphers attribute to SSLOptions by <a
href="https://github.com/womblep"><code>@​womblep</code></a> in <a
href="https://redirect.github.com/lostisland/faraday/pull/1582">lostisland/faraday#1582</a></li>
</ul>
<h3>Misc/Docs 📄</h3>
<ul>
<li>Opt-in for MFA requirement explicitly by <a
href="https://github.com/tagliala"><code>@​tagliala</code></a> in <a
href="https://redirect.github.com/lostisland/faraday/pull/1580">lostisland/faraday#1580</a></li>
<li>Fix typos by <a
href="https://github.com/tagliala"><code>@​tagliala</code></a> in <a
href="https://redirect.github.com/lostisland/faraday/pull/1585">lostisland/faraday#1585</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/tagliala"><code>@​tagliala</code></a>
made their first contribution in <a
href="https://redirect.github.com/lostisland/faraday/pull/1580">lostisland/faraday#1580</a></li>
<li><a href="https://github.com/womblep"><code>@​womblep</code></a> made
their first contribution in <a
href="https://redirect.github.com/lostisland/faraday/pull/1582">lostisland/faraday#1582</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/lostisland/faraday/compare/v2.10.1...v2.11.0">https://github.com/lostisland/faraday/compare/v2.10.1...v2.11.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/lostisland/faraday/blob/main/CHANGELOG.md">faraday's
changelog</a>.</em></p>
<blockquote>
<h1>Faraday Changelog</h1>
<h2>The changelog has moved!</h2>
<p>This file is not being updated anymore. Instead, please check the <a
href="https://github.com/lostisland/faraday/releases">Releases</a>
page.</p>
<h2><a
href="https://github.com/lostisland/faraday/compare/v2.1.0...v2.2.0">2.2.0</a>
(2022-02-03)</h2>
<ul>
<li>Reintroduce the possibility to register middleware with symbols,
strings or procs in <a
href="https://redirect.github.com/lostisland/faraday/pull/1391">#1391</a></li>
</ul>
<h2><a
href="https://github.com/lostisland/faraday/compare/v2.0.1...v2.1.0">2.1.0</a>
(2022-01-15)</h2>
<ul>
<li>Fix test adapter thread safety by <a
href="https://github.com/iMacTia"><code>@​iMacTia</code></a> in <a
href="https://redirect.github.com/lostisland/faraday/pull/1380">#1380</a></li>
<li>Add default adapter options by <a
href="https://github.com/hirasawayuki"><code>@​hirasawayuki</code></a>
in <a
href="https://redirect.github.com/lostisland/faraday/pull/1382">#1382</a></li>
<li>CI: Add Ruby 3.1 to matrix by <a
href="https://github.com/petergoldstein"><code>@​petergoldstein</code></a>
in <a
href="https://redirect.github.com/lostisland/faraday/pull/1374">#1374</a></li>
<li>docs: fix regex pattern in logger.md examples by <a
href="https://github.com/hirasawayuki"><code>@​hirasawayuki</code></a>
in <a
href="https://redirect.github.com/lostisland/faraday/pull/1378">#1378</a></li>
</ul>
<h2><a
href="https://github.com/lostisland/faraday/compare/v2.0.0...v2.0.1">2.0.1</a>
(2022-01-05)</h2>
<ul>
<li>Re-add <code>faraday-net_http</code> as default adapter by <a
href="https://github.com/iMacTia"><code>@​iMacTia</code></a> in <a
href="https://redirect.github.com/lostisland/faraday/pull/1366">#1366</a></li>
<li>Updated sample format in UPGRADING.md by <a
href="https://github.com/vimutter"><code>@​vimutter</code></a> in <a
href="https://redirect.github.com/lostisland/faraday/pull/1361">#1361</a></li>
<li>docs: Make UPGRADING examples more copyable by <a
href="https://github.com/olleolleolle"><code>@​olleolleolle</code></a>
in <a
href="https://redirect.github.com/lostisland/faraday/pull/1363">#1363</a></li>
</ul>
<h2><a
href="https://github.com/lostisland/faraday/compare/v1.8.0...v2.0.0">2.0.0</a>
(2022-01-04)</h2>
<p>The next major release is here, and it comes almost 2 years after the
release of v1.0!</p>
<p>This release changes the way you use Faraday and embraces a new
paradigm of Faraday as an ecosystem, rather than a library.</p>
<p>What does that mean? It means that Faraday is less of a bundled tool
and more of a framework for the community to build on top of.</p>
<p>As a result, all adapters and some middleware have moved out and are
now shipped as standalone gems 🙌!</p>
<p>But this doesn't mean that upgrading from Faraday 1.x to Faraday 2.0
should be hard, in fact we've listed everything you need to do in the <a
href="https://github.com/lostisland/faraday/blob/main/UPGRADING.md">UPGRADING.md</a>
doc.</p>
<p>Moreover, we've setup a new <a
href="https://github.com/lostisland/awesome-faraday">awesome-faraday</a>
repository that will showcase a curated list of adapters and middleware
😎.</p>
<p>This release was the result of the efforts of the core team and all
the contributors, new and old, that have helped achieve this milestone
👏.</p>
<h2>What's Changed</h2>
<ul>
<li>Autoloading, dependency loading and middleware registry cleanup by
<a href="https://github.com/iMacTia"><code>@​iMacTia</code></a> in <a
href="https://redirect.github.com/lostisland/faraday/pull/1301">#1301</a></li>
<li>Move JSON middleware (request and response) from faraday_middleware
by <a href="https://github.com/iMacTia"><code>@​iMacTia</code></a> in <a
href="https://redirect.github.com/lostisland/faraday/pull/1300">#1300</a></li>
<li>Remove deprecated <code>Faraday::Request#method</code> by <a
href="https://github.com/olleolleolle"><code>@​olleolleolle</code></a>
in <a
href="https://redirect.github.com/lostisland/faraday/pull/1303">#1303</a></li>
<li>Remove deprecated <code>Faraday::UploadIO</code> by <a
href="https://github.com/iMacTia"><code>@​iMacTia</code></a> in <a
href="https://redirect.github.com/lostisland/faraday/pull/1307">#1307</a></li>
<li>[1.x] Deprecate Authorization helpers in
<code>Faraday::Connection</code> by <a
href="https://github.com/iMacTia"><code>@​iMacTia</code></a> in <a
href="https://redirect.github.com/lostisland/faraday/pull/1306">#1306</a></li>
<li>Drop deprecated auth helpers from Connection and refactor auth
middleware by <a
href="https://github.com/iMacTia"><code>@​iMacTia</code></a> in <a
href="https://redirect.github.com/lostisland/faraday/pull/1308">#1308</a></li>
<li>Add Faraday 1.x examples in authentication.md docs by <a
href="https://github.com/iMacTia"><code>@​iMacTia</code></a> in <a
href="https://redirect.github.com/lostisland/faraday/pull/1320">#1320</a></li>
<li>Fix passing a URL with embedded basic auth by <a
href="https://github.com/iMacTia"><code>@​iMacTia</code></a> in <a
href="https://redirect.github.com/lostisland/faraday/pull/1324">#1324</a></li>
<li>Register JSON middleware by <a
href="https://github.com/mollerhoj"><code>@​mollerhoj</code></a> in <a
href="https://redirect.github.com/lostisland/faraday/pull/1331">#1331</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/lostisland/faraday/commit/3170e7df6fe40b49a2f406c0aad503a6d9e2aa12"><code>3170e7d</code></a>
Version bump to 2.11.0</li>
<li><a
href="https://github.com/lostisland/faraday/commit/f208ffcc9a9f850534f9d10902db4a48b7bb7f12"><code>f208ffc</code></a>
Allow <code>faraday-net_http</code> 3.3.x</li>
<li><a
href="https://github.com/lostisland/faraday/commit/9056eccea61f1e08ff8e99024c292aeee621aff6"><code>9056ecc</code></a>
Add ciphers attribute to SSLOptions (<a
href="https://redirect.github.com/lostisland/faraday/issues/1582">#1582</a>)</li>
<li><a
href="https://github.com/lostisland/faraday/commit/99228e474316bfa73e6ed5eaca5aec9522e7de12"><code>99228e4</code></a>
Fix typos (<a
href="https://redirect.github.com/lostisland/faraday/issues/1585">#1585</a>)</li>
<li><a
href="https://github.com/lostisland/faraday/commit/9cdc025759278963080570c88e3db1a7771ab2b6"><code>9cdc025</code></a>
Opt-in for MFA requirement explicitly (<a
href="https://redirect.github.com/lostisland/faraday/issues/1580">#1580</a>)</li>
<li><a
href="https://github.com/lostisland/faraday/commit/3835b48d80a2e5d607782e24167073afd5c85a11"><code>3835b48</code></a>
Add support for a new <code>ParallelManager#execute</code> method. (<a
href="https://redirect.github.com/lostisland/faraday/issues/1584">#1584</a>)</li>
<li><a
href="https://github.com/lostisland/faraday/commit/3efc0a89825da053e7beb85b9b264f424df0e893"><code>3efc0a8</code></a>
Update faraday-net_http requirement from &gt;= 2.0, &lt; 3.2 to &gt;=
2.0, &lt; 3.3 (<a
href="https://redirect.github.com/lostisland/faraday/issues/1579">#1579</a>)</li>
<li><a
href="https://github.com/lostisland/faraday/commit/f27f7ab801abb653a19ccb363a02f08ac4f5c869"><code>f27f7ab</code></a>
v2.10.1</li>
<li><a
href="https://github.com/lostisland/faraday/commit/051a635f4bcaa094abdee4fe61a432ad2097df9f"><code>051a635</code></a>
fix: Avoid lazy-initialized lock (<a
href="https://redirect.github.com/lostisland/faraday/issues/1577">#1577</a>)</li>
<li><a
href="https://github.com/lostisland/faraday/commit/4860f75372bdfac5612c76d76bd713e72b3f45b3"><code>4860f75</code></a>
Update JS deps</li>
<li>Additional commits viewable in <a
href="https://github.com/lostisland/faraday/compare/v2.2.0...v2.11.0">compare
view</a></li>
</ul>
</details>
<br />


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>
  • Loading branch information
sophiedeziel authored Sep 5, 2024
2 parents fe2085a + ed050b5 commit 3240d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octoprint.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

spec.add_dependency "activesupport"
spec.add_dependency "faraday", ">= 2.2", "< 2.11"
spec.add_dependency "faraday", ">= 2.2", "< 2.12"
spec.add_dependency "faraday-multipart", "~> 1.0.3"
spec.add_dependency "sorbet-runtime", "~> 0.5.10908"
spec.add_dependency "zeitwerk", "~> 2.6"
Expand Down

0 comments on commit 3240d39

Please sign in to comment.