Skip to content

chore: relax nim-websock cap to allow v0.4.0#277

Open
chaitanyaprem wants to merge 1 commit into
status-im:masterfrom
chaitanyaprem:chore/relax-websock-cap
Open

chore: relax nim-websock cap to allow v0.4.0#277
chaitanyaprem wants to merge 1 commit into
status-im:masterfrom
chaitanyaprem:chore/relax-websock-cap

Conversation

@chaitanyaprem
Copy link
Copy Markdown

PR #269 raised the cap to < 0.4.0 on Apr 11 2026 -- before
nim-websock v0.4.0 was released (May 13 2026). The cap was a
conservative pin from "latest websock at time of writing", not a
known incompatibility.

Verified locally: with websock == 0.4.0 forced, all 196 nim-json-rpc
tests pass on both refc and orc backends. nim-websock v0.4.0's API
changes (PR #194 "make rng agnostic") add an rng parameter to
WebSocket.connect() with a default value, so existing call sites
in clients/websocketclient.nim still compile. The internal accept
refactor (acceptStream extraction) preserves the public proc
signature used by servers/websocketserver.nim.

This unblocks downstream consumers (e.g. waku via nim-libp2p v2.0.0)
that require websock >= 0.4.0.

PR status-im#269 raised the cap to `< 0.4.0` on Apr 11 2026 -- before
nim-websock v0.4.0 was released (May 13 2026). The cap was a
conservative pin from "latest websock at time of writing", not a
known incompatibility.

Verified locally: with `websock == 0.4.0` forced, all 196 nim-json-rpc
tests pass on both refc and orc backends. nim-websock v0.4.0's API
changes (PR status-im#194 "make rng agnostic") add an `rng` parameter to
`WebSocket.connect()` with a default value, so existing call sites
in clients/websocketclient.nim still compile. The internal `accept`
refactor (acceptStream extraction) preserves the public proc
signature used by servers/websocketserver.nim.

This unblocks downstream consumers (e.g. waku via nim-libp2p v2.0.0)
that require `websock >= 0.4.0`.
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