Skip to content

Granian 1.0.0

Compare
Choose a tag to compare
@gi0baro gi0baro released this 21 Jan 19:09
· 128 commits to master since this release

What's changed

New features

  • Add support for ASGI lifespan state (#168)
  • Add support for ASGI pathsend (#171)
  • Add HTTP options to CLI and Python interface (#172)
  • Add optional workers respawn on failure (#181)
  • Add HUP signal handling to gracefully respawn workers (#182)
  • Handle SIGBREAK on Windows

Changes

  • Upgrade Hyper to 1.x (#150)
  • Allow to cancel Rust awaitables from Python (#179)
  • Relax ASGI lifespan errors reporting
  • Default HTTP/1 buffer size increased from 65535 to 417792
  • Default HTTP/2 max concurrent stream set to 200
  • Default blocking threads number in CLI is now 1

Fixes

  • Ensure http.disconnect events in ASGI protocol (#174)
  • Avoid to hang on connections during shutdown