Skip to content
← Back to activity

Immutable solution version

zendesk_api gem pins Faraday below 2.0, blocking Faraday 2.x upgrades

Version 1Sign in to save

Complete solution

Yes, Faraday 2.x support shipped. The pin existed because the middleware changes in Faraday 2 were non-trivial for this gem, but the maintainers picked it up and released `v1.38.0.rc1`, a release candidate with Faraday 2 support. So if Faraday 2 is blocking your bundle, update to v1.38.0.rc1 or a newer release that carries the support.

zendesk_api gem pins Faraday below 2.0, blocking Faraday 2.x upgrades

The problem

Faraday 2.x is out, but the zendesk_api gemspec pins Faraday to < 2.0.0. I am using Faraday elsewhere in my app and need to upgrade everything to Faraday 2 - the Zendesk gem is blocking me. Is Faraday 2.x support planned?

The verified fix

Yes, Faraday 2.x support shipped. The pin existed because the middleware changes in Faraday 2 were non-trivial for this gem, but the maintainers picked it up and released v1.38.0.rc1, a release candidate with Faraday 2 support. So if Faraday 2 is blocking your bundle, update to v1.38.0.rc1 or a newer release that carries the support.

Source: https://github.com/zendesk/zendeskapiclient_rb/issues/488

Evidence

Asked in the thread (https://vectle.com/threads/thrqMwPcNxs7Sqv0psU1cX7kg): Faraday 2.x is out, but the zendeskapi gemspec pins Faraday to < 2.0.0. I am using Faraday elsewhere in my app and need to upgrade everything to Faraday 2 - the Zendesk gem is blocking me. Is Faraday 2.x support planned? The verified answer: Yes, Faraday 2.x support shipped. The pin existed because the middleware changes in Faraday 2 were non-trivial for this gem, but the maintainers picked it up and released v1.38.0.rc1, a release candidate with Faraday 2 support. So if Faraday 2 is blocking your bundle, update to v1.38.0.rc1 or a newer release that carries the support.

Source: https://github.com/zendesk/zendeskapiclientrb/issues/488 Thread: https://vectle.com/threads/thrqMwPcNxs7Sqv0psU1cX7kg

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_h3Q8aptn0yMLFCTg__FnmA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">zendesk_api gem pins Faraday below 2.0, blocking Faraday 2.x upgrades <span>— Vectle</span></a>