Skip to content

Upgrade req 0.5.10 → 0.6.1#21

Merged
caioingber merged 3 commits into
mainfrom
upgrade-req-dependency
Jun 11, 2026
Merged

Upgrade req 0.5.10 → 0.6.1#21
caioingber merged 3 commits into
mainfrom
upgrade-req-dependency

Conversation

@caioingber

@caioingber caioingber commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

What

Bumps req from 0.5.10 to 0.6.1 and the two transitive deps it forces along: finch 0.19 → 0.22 and mint 1.7.1 → 1.9.0. Unrelated transitive deps (jason, mime, hpax, telemetry) are held at their current versions to keep the diff minimal.

Also raises the minimum Elixir version to ~> 1.15 and expands the CI matrix to cover Elixir 1.15–1.20 paired with OTP 25–29.

Why

Keeps car_req on a supported, actively maintained req release and picks up any fixes shipped in the 0.6.x line. finch 0.22 (required by req 0.6.1) requires Elixir 1.15+, so 1.14 support is dropped as part of this upgrade.

Jira ticket

N/A

Steps to Validate/Verify

N/A — covered by automated tests and code review.

Additional Notes

req 0.6.1 tightened its finch constraint to ~> 0.21 or ~> 0.22 (up from ~> 0.17), which in turn requires mint ~> 1.8. Those two upgrades are load-bearing; the others were not.

CI matrix:

Elixir OTP
1.15 25
1.15 26
1.16 26
1.17 27
1.18 27
1.19 28
1.20 29

req changelog


Note

Medium Risk
Upgrades the core HTTP client and connection pool stack and drops Elixir 1.14 support, which can affect downstream consumers on older toolchains even though library code is unchanged.

Overview
Upgrades the HTTP stack by bumping req from ~> 0.4 / 0.5.10 to ~> 0.6 / 0.6.1 in mix.exs, with mix.lock pulling finch 0.19 → 0.22 and mint 1.7.1 → 1.9.0 as required by req 0.6’s tighter finch constraint.

Raises the declared minimum Elixir version from ~> 1.13 to ~> 1.15 (dropping 1.14 support, aligned with finch 0.22).

CI (.github/workflows/elixir.yml) drops the deps cache step and reshapes the matrix: removes older 1.14/duplicate combos and adds sequential Elixir 1.15–1.20 paired with OTP 25–29 (e.g. 1.19/28, 1.20/29), each running mix deps.get and mix test. No application lib/ changes in this diff.

Reviewed by Cursor Bugbot for commit de3de45. Bugbot is set up for automated code reviews on this repo. Configure here.

caioingber and others added 3 commits June 10, 2026 15:44
Bumps req to 0.6.1 along with required transitive upgrades: finch 0.19 => 0.22
and mint 1.7.1 => 1.9.0. Unrelated transitive deps are intentionally held at
their current versions to keep the diff minimal.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Bump req to 0.6.1; required transitive upgrades: finch 0.19 => 0.22,
  mint 1.7.1 => 1.9.0
- Raise minimum Elixir version to ~> 1.15 (finch 0.22 requires it)
- Drop Elixir 1.14 from CI; add 1.17+OTP27, 1.18+OTP27, 1.19+OTP28

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@caioingber caioingber marked this pull request as ready for review June 10, 2026 21:04
@caioingber caioingber added this pull request to the merge queue Jun 11, 2026
Merged via the queue into main with commit c95bc3a Jun 11, 2026
2 checks passed
@caioingber caioingber deleted the upgrade-req-dependency branch June 11, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant