Skip to content

v0.4.1

Choose a tag to compare

@ehsanmok ehsanmok released this 25 Apr 01:18
· 1206 commits to main since this release

Comptime + extractor track

  • Typed extractors with reflective auto-injection (Extracted[H] works with any Handler; HandlerStruct trait removed).
  • Comptime route trie via ComptimeRouter; handlers carried inline (no more set_handler).
  • Pre-encoded literal responses via serve_static.
  • SIMD-width-parametric header scanner.

API breaks (within 0.x line)

  • QueryOpt / HeaderOpt renamed to OptionalQuery / OptionalHeader.
  • HandlerStruct trait removed; existing handlers continue to work via Extracted[H].

Compatibility & infra

  • Mojo 1.0.0b1 compatibility fix in _server_reactor_impl.
  • Native allocator pair for heap cells (unblocks mozz fuzz environment).
  • Source-only conda distribution (drops mojo package); pinned mojo == 0.26.3.0.dev2026042005.

Docs

  • README selling-points humanized; Quick Start reordered for gradual disclosure; three example bugs fixed; extractor / comptime-trie / static / SIMD highlights added.