http_client: allow gleam_stdlib 1.x - #69
Open
BinaryMuse wants to merge 1 commit into
Open
Conversation
The < 1.0.0 cap makes the package unresolvable in projects on gleam_stdlib 1.x. No code changes are needed: the package compiles cleanly against 1.0.5, and the test suite passes at the locked version. Also syncs the manifest's stale path-dependency versions (dream 2.3.1 -> 2.4.1, dream_mock_server 1.0.0 -> 1.1.1), without which gleam refuses to build the module at all.
BinaryMuse
marked this pull request as ready for review
August 10, 2026 19:28
This was referenced Aug 10, 2026
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.
Description
dream_http_clientrequiresgleam_stdlib >= 0.60.0 and < 1.0.0. Now thatgleam_stdlib1.x is out, that cap makes the package unresolvable in any project on stdlib 1.x as the resolver can't co-resolve the two, so downstream users are stuck forking or pinning old stdlib. This PR widens the requirement to>= 0.60.0 and < 2.0.0.No code changes were needed. The package compiles cleanly against
gleam_stdlib1.0.5 as-is, and we run a fork of it in production against stdlib 1.0.x with our full test suite green (including recording/playback and streaming).The commit also syncs two stale path-dependency versions in the module's
manifest.toml(dream2.3.1 → 2.4.1,dream_mock_server1.0.0 → 1.1.1). As committed,gleamrefuses to build the module because the lock disagrees with the== 1.1.1requirement.Related Issue
N/A
Type of Change
Changes Made
gleam_stdlibto>= 0.60.0 and < 2.0.0inmodules/http_client/gleam.tomland its manifestdream/dream_mock_serverpath-dep versions inmodules/http_client/manifest.tomlTesting
gleam testinmodules/http_client: 192 passed at the locked stdlib 0.67.1)gleam formatgleam_stdlib1.0.5, and a downstream consumer's full suite passes against itDocumentation
Breaking Changes
N/A — the constraint only widens; the existing lock resolution is unchanged.
Additional Context
N/A