Skip to content

Releases: emmett-framework/granian

Granian 1.4.2

09 Jun 13:02
8378b36
Compare
Choose a tag to compare

Patch release

Changes since 1.4.1:

  • Minor fix in type hints (#314 by @2-5)
  • Avoid websocket protocols' errors when receiving unidirectional pongs
  • Bump dependencies

Granian 1.4.1

27 May 18:54
Compare
Choose a tag to compare

Patch release

Changes since 1.4.0:

  • Fix response iterator not being closed on errors in WSGI protocol

Granian 1.4.0

26 May 15:19
7291698
Compare
Choose a tag to compare

What's Changed

New features

  • Add access log (#298) and relevant formatting options
  • Add backpressure control (#301)

Enhancements

  • Moved Python async calls to a separated thread queue

Changes

  • Blocking threads are now set based on the protocol by default
  • Backpressure is set as backlog divided by number of workers by default

Granian 1.3.2

21 May 19:06
0167b64
Compare
Choose a tag to compare

Patch release

Changes since 1.3.1:

  • Fix headers chaining in WSGI protocol

Granian 1.3.1

02 May 01:00
Compare
Choose a tag to compare

Patch release

Changes since 1.3.0:

  • Enhance ASGI pathsend futures flow
  • Bump dependencies

Granian 1.3.0

27 Apr 00:38
Compare
Choose a tag to compare

What's Changed

New features

Enhancements

  • Fix improper PyFutureAwaitable cancellation possibly leading to hangs and memory leaks (#280, special thanks to @cpoppema and @sciyoshi)
  • Improve Python code type hints (#277 by @TheJecksMan)
  • Start workers before stopping the previous one during respawn

Changes

  • Bump PyO3 to 0.21 (#265)
  • Drop Typer dependency in favour of plain Click (#270 by @WAKayser)

Granian 1.2.3

15 Apr 21:21
Compare
Choose a tag to compare

Patch release

Changes since 1.2.2:

  • Use jemalloc allocator on unix platforms
  • Avoid to raise exceptions in ASGI protocol related send failures
  • Fix a performance issue with iterator awaitables on Linux

Granian 1.2.2

08 Apr 14:19
9a24424
Compare
Choose a tag to compare

Patch release

Changes since 1.2.1:

  • Pin typer dependency version

Granian 1.2.1

01 Apr 22:41
ee4fdcc
Compare
Choose a tag to compare

Patch release

Changes since 1.2.0:

  • Minor RSGI structs refactor
  • Review ASGI disconnect flow
  • Allow None as subprotocol in ASGI websockets accept message
  • Display protocol in listen log message
  • Avoid some rust futures triggering errors on Windows

Granian 1.2.0

19 Mar 00:20
996637c
Compare
Choose a tag to compare

What's Changed

New features

  • Add support for websockets subprotocols in ASGI (#246)
  • Add get_all method to RSGI headers struct (#247)
  • Add asginl interface for ASGI without Lifespan support

Enhancements

  • WSGI input wrapper is now lazy and avoid preloading the entire request body (#244)
  • Refactor protocol's scope code (#243)

Changes

  • Move to PyO3 frozen classes (#232)
  • Bump RSGI spec to 1.4