Skip to content

v0.3.4

Choose a tag to compare

@github-actions github-actions released this 29 Apr 14:40
· 478 commits to main since this release

[0.3.4] - 2026-04-29

🚀 Features

  • (shared) [breaking] Remove legacy two-argument fetch(peer, path) overload
  • (core) Validate ALPN capabilities at bind() time
  • (core) Expose BodyReader cancellation contract

🐛 Bug Fixes

  • (bench) Exclude close() from cold-connect measurement
  • (tauri) Wrap serve params in ServeArgs struct
  • Update fetch URLs to use dynamic serverId for bench tests
  • Update fetch URLs to use dynamic serverId in benchmark scripts
  • (ci) Align local and github checks
  • (deno) Re-add ignore flag to regression #115 test
  • (deno) Cancellable yield for serve loop shutdown (#115)
  • (deno) Keep serve registry entry alive until close_endpoint (#149)
  • (deno) Remove x-503-source debug header from production responses

💼 Other

  • Upgrade iroh to 0.98.1
  • (deps) Bump napi-build from 1.2.1 to 2.3.1
  • (deps) Bump criterion from 0.5.1 to 0.8.2
  • (deps) Bump rand from 0.9.4 to 0.10.1

🚜 Refactor

  • (core) [breaking] Mechanical cleanup — units, naming, type consistency
  • [breaking] Move serve config from NodeOptions to ServeOptions
  • Restructure JsNodeOptions and introduce JsServeOptions for improved server configuration

📚 Documentation

  • Promote httpi:// URL form as primary fetch() input
  • Correct ServeOptions default values

⚡ Performance

  • Redesign benchmark suite with 9 consistent scenarios
  • (deno) Reduce FFI overhead from ~40x to ~1.2x native (#126)
  • (node,tauri) Add try_next_chunk sync fast path for body streaming
  • (tauri) Use binary IPC for body chunks instead of base64
  • (shared) Profile and optimize shared TypeScript fetch layer
  • (deno) Benchmark JSON vs MessagePack for FFI boundary

🧪 Testing

  • (tauri) Add Rust and guest-JS test coverage
  • Assert response status in 32-stream regression test (#149)
  • (deno) Separate concerns in regression tests and add #149 coverage
  • Modularize and unify test suite naming and structure

⚙️ Miscellaneous Tasks

  • Restrict extended tests to tags and manual dispatch
  • (bench) Fix benchmark workflow — rename groups and create gh-pages
  • (bench) Fix gh-pages push — add auto-push and skip-fetch
  • (bench) Split release/main data paths and disable fail-on-alert
  • Release v0.3.4