Skip to content

Releases: emmett-framework/granian

Granian 2.4.2

15 Jul 18:26
985c73c
Compare
Choose a tag to compare

Patch release

Changes since 2.4.1:

  • Fix working directory option resolution to always be lazy
  • Fix a bug preventing custom reload filter classes to be correctly used
  • Bump dependencies

Granian 2.4.1

01 Jul 21:50
3f0bbd2
Compare
Choose a tag to compare

Patch release

Changes since 2.4.0:

  • Fix a bug in dotenv files support (#625 by @adhami3310)
  • Bump dependencies

Granian 2.4.0

28 Jun 13:52
3e62d24
Compare
Choose a tag to compare

What's Changed

New features

  • Startup, shutdown and reload hooks support (#584 by @adhami3310)
  • Dotenv files loading support
  • Working directory option
  • Proxies' forwarded headers wrappers

Changes

  • Bump dependencies
  • Add (experimental) Python 3.14 support
  • Gate jemalloc allocator behind a feature flag

Enhancements

  • Disable connections keepalive on shutdown signal
    • This should allow Granian to successfully shutdown/reload even in presence of keepalived connections
  • Improve descriptions of ASGI flow errors

Fixes

  • Embed server reload

Granian 2.3.4

14 Jun 13:16
fa63ea8
Compare
Choose a tag to compare

Patch release

Changes since 2.3.3:

  • Fix a bug in ASGI protocol with Server-Sent events preventing response headers from being sent before first message

Granian 2.3.3

08 Jun 15:31
Compare
Choose a tag to compare

Patch release

Changes since 2.3.2:

  • Fix PyPy builds
  • Fix a type conversion bug on mTLS CRLs
  • Fix deprecation warnings (#593 by @matthiask)
  • Bump dependencies

Granian 2.3.2

02 Jun 20:18
df0a444
Compare
Choose a tag to compare

Patch release

Changes since 2.3.1:

  • Fix an ASGI flow error on websockets occurring with applications calling receive before sending the accept message (thanks @jthorniley)
    • This should fix a long-running issue with Django channels and Granian erroneously raising ASGI Flow Error under some circumstances

Granian 2.3.1

20 May 14:00
2d171bc
Compare
Choose a tag to compare

Patch release

Changes since 2.3.0:

  • Fix a bug on TCP accept loop causing workers to stop accepting new requests under some circumstances (thanks @nggit)
  • Enhance ASGI websocket disconnection handling (thanks @condemil)

Granian 2.3.0

19 May 09:07
17c45dd
Compare
Choose a tag to compare

What's Changed

New features

  • Support for direct static files serving from a folder
  • mTLS

Changes

  • Switch to Rust 2024 edition
  • Bump PyO3 to 0.25
  • Bump dependencies

Enhancements

  • Review shared socket implementation on Linux

Granian 2.2.6

07 May 18:06
f5cf71f
Compare
Choose a tag to compare

Patch release

Changes since 2.2.5:

  • Avoid to raise RuntimeError on RSGI headers methods when decoding fails
  • Bump dependencies

Granian 2.2.5

16 Apr 19:48
77e9d8e
Compare
Choose a tag to compare

Patch release

Changes since 2.2.4:

  • Fix a regression bug involving the event loop initialization and causing tasks to be attached to the wrong loop under some circumstances