Build(deps): Update HTTP requirement from 1.10 to 1.10, 2.4#42
Closed
dependabot[bot] wants to merge 1 commit into
Closed
Build(deps): Update HTTP requirement from 1.10 to 1.10, 2.4#42dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Updates the requirements on [HTTP](https://github.com/JuliaWeb/HTTP.jl) to permit the latest version. - [Release notes](https://github.com/JuliaWeb/HTTP.jl/releases) - [Changelog](https://github.com/JuliaWeb/HTTP.jl/blob/master/CHANGELOG.md) - [Commits](JuliaWeb/HTTP.jl@v1.10.0...v2.4.0) --- updated-dependencies: - dependency-name: HTTP dependency-version: 2.3.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
adadc71 to
22d661e
Compare
Owner
Contributor
Author
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
tbeason
added a commit
that referenced
this pull request
Jun 25, 2026
* Upgrade to HTTP.jl 2.4 and release v0.3.1
HTTP.jl 2.x is a ground-up rewrite. All real-HTTP usage is isolated in
src/http.jl (plus one direct dispatcher call in batch.jl):
- readtimeout -> read_idle_timeout (2.x rename; same idle-timeout semantics)
- retry=false -> retries=0 (2.x has no `retry` boolean)
- HTTP.Exceptions.{HTTPError,TimeoutError,ConnectError} -> top-level HTTP.*
(the Exceptions submodule is gone)
- streaming uses startread's returned Response instead of http.message
- JSON3.read(resp.body) -> JSON3.read(Vector{UInt8}(resp.body)); in 2.x
resp.body is an HTTP.BytesBody wrapper JSON3 doesn't recognize
- _is_retryable_exception keeps connect timeouts retryable: 2.x surfaces them
as TimeoutError(operation="connect") rather than ConnectError
Tests: HTTP.Exceptions.X -> HTTP.X and TimeoutError(n) -> TimeoutError("read", n)
(the 1-arg ctor is gone). HTTP.Response mock ctors are backward compatible.
Compat bumped to "2.4" in Project.toml and benchmark/Project.toml. Bumps the
package to v0.3.1. Supersedes #42.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Treat TLS-handshake timeouts as retryable connection failures
HTTP 2.x's connect_timeout budget covers DNS/dial *and* the TLS handshake. A
handshake deadline surfaces as TimeoutError(operation="tls_handshake"), not
"connect", so the previous predicate skipped the retry loop and then mislabeled
it as a read timeout (BentoTimeoutError → "raise the read timeout"), when it's
really a transient connection failure.
Generalize the connect-timeout special-case to a _CONNECT_PHASE_TIMEOUT_OPS set
{"connect", "tls_handshake"} via _is_connect_timeout, used by both the retry
predicate and the two BentoTimeoutError mapping sites. Adds a regression test.
Addresses Codex review feedback on #45.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the requirements on HTTP to permit the latest version.
Release notes
Sourced from HTTP's releases.
Commits
b5219f5Harden HTTP.jl security defaults for v2.4.0 (#1316)9e830d9Update Project.tomle3680e5fix version check for public declarations (#1313)4c50080Add support for passing IO objects to Websockets.open() (#1251)6a19dbfUpdate Project.tomlbb14ad9Declare the documented public API via Julia'spublicmechanism (#1312)f8e9db6docs: add a parse_multipart_form usage example (#949) (#1311)a9e8b86Add public isrecoverable(::Exception) for retry classification (#1245) (#1310)b4b0a5eBind outbound connections to a local address/interface via local_addr (#834) ...eeb77b2WebSocket permessage-deflate compression (RFC 7692) (#853) (#1308)