Skip to content

v0.2.0

@ehsanmok ehsanmok tagged this 17 Apr 08:47
Minor release pinning mojo and json for reproducible installation.

Highlights since v0.1.0:
- Rewritten HTTP server: buffered reads, keep-alive (HTTP/1.0 aware),
  recv/send timeouts, RFC 7230 token validation, response helpers.
- Full IPv6 wire support with dual-stack DNS fallback.
- New cookie module: Cookie/CookieJar/SameSite + parsers.
- Hardened WebSocket: CSPRNG nonce from /dev/urandom, UTF-8 validation
  per RFC 6455 (text frames).
- Performance: zero-copy header parsing, eliminated _lower_keys,
  faster HeaderMap with inline case-insensitive comparison.
- Bug fix: NUL byte crash in HTTP response parser.
- Extensive testing: 260+ unit tests; IPv6 loopback probes to skip
  gracefully on constrained environments.
- Fuzzing: 200k runs per harness (headers, HTTP response, HTTP server,
  URL, WebSocket, WebSocket server, cookies).
- Benchmarks: microbench for parse/encode and wrk-compatible server
  benchmark script.

Dependencies:
- mojo pinned to ==0.26.3.0.dev2026041520.
- json pinned to tag v0.1.1.
Assets 2
Loading