Skip to content

Commit 18deab5

Browse files
committed
release v3.0.7
1 parent 9f26359 commit 18deab5

4 files changed

Lines changed: 11 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v3.0.7 - 01.04.2026
4+
5+
- Bump `websocks` to next major.
6+
37
## v3.0.6 - 30.03.2026
48

59
- Sanitize CRLF sequences in outgoing HTTP response headers.

gleam.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = "ewe"
2-
version = "3.0.6"
2+
version = "3.0.7"
33

44
description = "🐑 a fluffy Gleam web server"
55
target = "erlang"
@@ -17,7 +17,7 @@ gleam_http = ">= 4.3.0 and < 5.0.0"
1717
logging = ">= 1.3.0 and < 2.0.0"
1818
gleam_erlang = ">= 1.3.0 and < 2.0.0"
1919
compresso = "0.1.0"
20-
websocks = ">= 2.0.0 and < 3.0.0"
20+
websocks = ">= 3.0.0 and < 4.0.0"
2121
exception = ">= 2.1.0 and < 3.0.0"
2222

2323
[dev-dependencies]

manifest.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ packages = [
1515
{ name = "gleeunit", version = "1.9.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "DA9553CE58B67924B3C631F96FE3370C49EB6D6DC6B384EC4862CC4AAA718F3C" },
1616
{ name = "glisten", version = "9.0.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_otp", "gleam_stdlib", "logging"], otp_app = "glisten", source = "hex", outer_checksum = "D92808C66F7D3F22F2289CD04CBA8151757AAE9CB3D86992F0C6DE32A41205E1" },
1717
{ name = "logging", version = "1.3.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "logging", source = "hex", outer_checksum = "1098FBF10B54B44C2C7FDF0B01C1253CAFACDACABEFB4B0D027803246753E06D" },
18-
{ name = "websocks", version = "2.0.0", build_tools = ["gleam"], requirements = ["gleam_crypto", "gleam_erlang", "gleam_stdlib"], otp_app = "websocks", source = "hex", outer_checksum = "A13BF89A8AC63C478C0E9FE502C81A6CBB0513F427FA5C1DFD96383BF46D501D" },
18+
{ name = "websocks", version = "3.0.0", build_tools = ["gleam"], requirements = ["gleam_crypto", "gleam_erlang", "gleam_stdlib"], otp_app = "websocks", source = "hex", outer_checksum = "A7D8FBA720909BB50C402F97552EF67E6508F94645548F0C54E63D0B11B32051" },
1919
]
2020

2121
[requirements]
@@ -31,4 +31,4 @@ gleam_stdlib = { version = ">= 0.44.0 and < 2.0.0" }
3131
gleeunit = { version = ">= 1.0.0 and < 2.0.0" }
3232
glisten = { version = ">= 9.0.0 and < 10.0.0" }
3333
logging = { version = ">= 1.3.0 and < 2.0.0" }
34-
websocks = { version = ">= 2.0.0 and < 3.0.0" }
34+
websocks = { version = ">= 3.0.0 and < 4.0.0" }

src/ewe/internal/stream/websocket.gleam

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,12 @@ pub fn start(
112112
ActiveMode(Count(socket_active_count)),
113113
])
114114

115-
let context_takeovers = websocks.get_context_takeovers(extensions)
116115
let compression = case permessage_deflate {
117-
True -> Some(context_takeovers)
116+
True -> Some(websocks.get_compression_extensions(extensions))
118117
False -> None
119118
}
120-
let context = websocks.create_context(compression)
119+
120+
let context = websocks.create_context(compression, websocks.Server)
121121

122122
let #(user_state, user_selector) =
123123
WebsocketConnection(transport, socket, context)

0 commit comments

Comments
 (0)