Skip to content

Commit 23251e6

Browse files
committed
release v3.0.2
1 parent 27b2795 commit 23251e6

6 files changed

Lines changed: 6 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
# Unreleased
3+
# v3.0.2 - 23.02.2026
44

55
- Gracefully handle HTTP/2 connections: h2c upgrade requests are served as HTTP/1.1, and direct HTTP/2 connections receive a GOAWAY with HTTP_1_1_REQUIRED instead of being silently dropped.
66
- Fixed HTTP/2 prior-knowledge detection in ffi

gleam.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = "ewe"
2-
version = "3.0.1"
2+
version = "3.0.2"
33

44
description = "🐑 a fluffy Gleam web server"
55
target = "erlang"

manifest.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ packages = [
1010
{ name = "gleam_httpc", version = "5.0.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_http", "gleam_stdlib"], otp_app = "gleam_httpc", source = "hex", outer_checksum = "C545172618D07811494E97AAA4A0FB34DA6F6D0061FDC8041C2F8E3BE2B2E48F" },
1111
{ name = "gleam_json", version = "3.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "44FDAA8847BE8FC48CA7A1C089706BD54BADCC4C45B237A992EDDF9F2CDB2836" },
1212
{ name = "gleam_otp", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "BA6A294E295E428EC1562DC1C11EA7530DCB981E8359134BEABC8493B7B2258E" },
13-
{ name = "gleam_stdlib", version = "0.68.1", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "F7FAEBD8EF260664E86A46C8DBA23508D1D11BB3BCC6EE1B89B3BC3E5C83FF1E" },
13+
{ name = "gleam_stdlib", version = "0.69.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "AAB0962BEBFAA67A2FBEE9EEE218B057756808DC9AF77430F5182C6115B3A315" },
1414
{ name = "gleam_yielder", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_yielder", source = "hex", outer_checksum = "8E4E4ECFA7982859F430C57F549200C7749823C106759F4A19A78AEA6687717A" },
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 = "8.0.3", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_otp", "gleam_stdlib", "logging", "telemetry"], otp_app = "glisten", source = "hex", outer_checksum = "86B838196592D9EBDE7A1D2369AE3A51E568F7DD2D168706C463C42D17B95312" },

src/ewe/internal/http1.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import ewe/internal/http1/buffer.{type Buffer, Buffer}
21
import ewe/internal/clock
32
import ewe/internal/decoder.{
43
AbsPath, HttpBin, HttpEoh, HttpHeader, HttpRequest, HttphBin, More, Packet,
54
}
65
import ewe/internal/encoder
76
import ewe/internal/file
7+
import ewe/internal/http1/buffer.{type Buffer, Buffer}
88
import gleam/bit_array
99
import gleam/bool
1010
import gleam/bytes_tree.{type BytesTree}

src/ewe/internal/http1/handler.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import compresso
2-
import ewe/internal/http1/buffer.{Buffer}
32
import ewe/internal/encoder
43
import ewe/internal/file
54
import ewe/internal/http1.{
65
type Connection, type HttpVersion, type ResponseBody, BitsData, BytesData,
76
Chunked, Empty, File, SSE, StringTreeData, TextData, Websocket,
87
} as ewe_http
8+
import ewe/internal/http1/buffer.{Buffer}
99
import exception
1010
import gleam/bit_array
1111
import gleam/bytes_tree

test/clock.gleam

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import ewe/internal/clock
22
import gleam/float
33
import gleam/int
44
import gleam/io
5-
import gleam/list
65

76
pub fn main() {
87
let iterations = 10_000_000
@@ -12,9 +11,7 @@ pub fn main() {
1211
io.println("Getting HTTP date speed test")
1312

1413
let begin = now_microseconds()
15-
let _ =
16-
list.range(0, iterations)
17-
|> list.each(fn(_) { clock.get_http_date() })
14+
int.range(0, iterations, "", fn(_, _) { clock.get_http_date() })
1815
let end = now_microseconds()
1916

2017
let total_duration = end - begin

0 commit comments

Comments
 (0)