Skip to content

Drop unused MbedTLS dependency (0.2.10) - #127

Merged
tanmaykm merged 2 commits into
release-0.2from
drop-mbedtls-0.2
Sep 23, 2026
Merged

tanmaykm merged 2 commits into
release-0.2from
drop-mbedtls-0.2

Conversation

@krynju

@krynju krynju commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

src/client.jl has using MbedTLS but nothing in the package references it. This removes the import, the [deps] entry and its [compat] bound, and bumps the version to 0.2.10 for a patch release from release-0.2.

The 1.x line on main already has no MbedTLS dependency; this brings the 0.2.x line in line so downstream users stop pulling MbedTLS.jl (and MbedTLS_jll) into their manifests.

Also fixes a test that broke with HTTP.jl 2.7: HTTP.Response(status, body::String) now keeps the body as a String, so test_http_resp's copy(resp.body) threw a MethodError. The test now only copies when the body is a byte vector. This was failing on release-0.2 independently of the MbedTLS change (last green run resolved HTTP.jl 2.6.6).

Testing

Pkg.test() on Julia 1.12 with HTTP.jl 2.7.1 passes, and MbedTLS is no longer in the resolved manifest.

🤖 Generated with Claude Code

`src/client.jl` imported MbedTLS but never used it. Remove the import,
the `[deps]` entry and its compat bound, and bump to 0.2.10.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@krynju
krynju marked this pull request as ready for review September 23, 2026 11:14
@krynju
krynju requested a review from tanmaykm September 23, 2026 11:14
HTTP.jl 2.7 keeps a `String` body as-is in `HTTP.Response(status, body)`,
so `copy(resp.body)` throws a MethodError. Only copy when the body is a
byte vector.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@tanmaykm
tanmaykm merged commit 0a2211c into release-0.2 Sep 23, 2026
7 checks passed
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.

2 participants