Commit graph

669 commits

Author SHA1 Message Date
Khaleel Al-Adhami
3f0bbd271d
Fix dotenv support with override (#625)
Some checks failed
test / linux (3.10) (push) Has been cancelled
test / linux (3.11) (push) Has been cancelled
test / linux (3.12) (push) Has been cancelled
test / linux (3.13) (push) Has been cancelled
test / linux (3.14) (push) Has been cancelled
test / linux (3.9) (push) Has been cancelled
test / linux (pypy3.11) (push) Has been cancelled
test / linux (3.13t) (push) Has been cancelled
test / linux (3.14t) (push) Has been cancelled
test / macos (3.10) (push) Has been cancelled
test / macos (3.11) (push) Has been cancelled
test / macos (3.12) (push) Has been cancelled
test / macos (3.13) (push) Has been cancelled
test / macos (3.14) (push) Has been cancelled
test / macos (3.9) (push) Has been cancelled
test / macos (3.13t) (push) Has been cancelled
test / macos (3.14t) (push) Has been cancelled
test / windows (3.10) (push) Has been cancelled
test / windows (3.11) (push) Has been cancelled
test / windows (3.12) (push) Has been cancelled
test / windows (3.13) (push) Has been cancelled
test / windows (3.13t) (push) Has been cancelled
test / windows (3.14) (push) Has been cancelled
test / windows (3.14t) (push) Has been cancelled
test / windows (3.9) (push) Has been cancelled
2025-07-01 22:40:45 +02:00
Giovanni Barillari
47853826c4 Bump tungstenite to 0.27 2025-07-01 22:28:14 +02:00
Giovanni Barillari
d570a1a5c6 Bump deps 2025-07-01 22:18:18 +02:00
Giovanni Barillari
d73be31aff Fix lint on Rust 1.88 2025-07-01 22:15:38 +02:00
Giovanni Barillari
56fb0a3ef0 Bump version to 2.4.1 2025-07-01 22:14:45 +02:00
Giovanni Barillari
3e62d24d6e
Add forwarded headers wrappers (#620)
Some checks failed
test / linux (3.10) (push) Has been cancelled
test / linux (3.11) (push) Has been cancelled
test / linux (3.12) (push) Has been cancelled
test / linux (3.13) (push) Has been cancelled
test / linux (3.14) (push) Has been cancelled
test / linux (3.9) (push) Has been cancelled
test / linux (pypy3.11) (push) Has been cancelled
test / linux (3.13t) (push) Has been cancelled
test / linux (3.14t) (push) Has been cancelled
test / macos (3.10) (push) Has been cancelled
test / macos (3.11) (push) Has been cancelled
test / macos (3.12) (push) Has been cancelled
test / macos (3.13) (push) Has been cancelled
test / macos (3.14) (push) Has been cancelled
test / macos (3.9) (push) Has been cancelled
test / macos (3.13t) (push) Has been cancelled
test / macos (3.14t) (push) Has been cancelled
test / windows (3.10) (push) Has been cancelled
test / windows (3.11) (push) Has been cancelled
test / windows (3.12) (push) Has been cancelled
test / windows (3.13) (push) Has been cancelled
test / windows (3.13t) (push) Has been cancelled
test / windows (3.14) (push) Has been cancelled
test / windows (3.14t) (push) Has been cancelled
test / windows (3.9) (push) Has been cancelled
2025-06-28 14:38:54 +02:00
Giovanni Barillari
9f4098c3c6
Bump dependencies 2025-06-28 14:20:07 +02:00
Giovanni Barillari
fc9fac2a2c
Fix embed server reload 2025-06-28 13:23:26 +02:00
Giovanni Barillari
7949c46045
Add working directory option (#619) 2025-06-28 13:21:30 +02:00
Giovanni Barillari
977b6fa97f
Update readme 2025-06-28 12:56:08 +02:00
Giovanni Barillari
52de19afd6
Gate jemalloc behind feature (#618)
Some checks are pending
test / linux (3.11) (push) Waiting to run
test / linux (3.10) (push) Waiting to run
test / macos (3.9) (push) Waiting to run
test / linux (3.12) (push) Waiting to run
test / linux (3.13) (push) Waiting to run
test / linux (3.14) (push) Waiting to run
test / linux (3.9) (push) Waiting to run
test / linux (pypy3.11) (push) Waiting to run
test / linux (3.13t) (push) Waiting to run
test / linux (3.14t) (push) Waiting to run
test / macos (3.10) (push) Waiting to run
test / macos (3.11) (push) Waiting to run
test / macos (3.12) (push) Waiting to run
test / macos (3.13) (push) Waiting to run
test / macos (3.14) (push) Waiting to run
test / macos (3.13t) (push) Waiting to run
test / macos (3.14t) (push) Waiting to run
test / windows (3.10) (push) Waiting to run
test / windows (3.11) (push) Waiting to run
test / windows (3.12) (push) Waiting to run
test / windows (3.13) (push) Waiting to run
test / windows (3.13t) (push) Waiting to run
test / windows (3.14) (push) Waiting to run
test / windows (3.14t) (push) Waiting to run
test / windows (3.9) (push) Waiting to run
2025-06-27 19:24:14 +02:00
Giovanni Barillari
010d364b79
Add Python 3.14 support (#617) 2025-06-27 17:58:19 +02:00
Giovanni Barillari
d535571c0a
Add dotenv files loading support (#615) 2025-06-27 17:30:17 +02:00
Giovanni Barillari
e9966165e3
Add descriptions to ASGI flow errors (#614)
Some checks failed
test / linux (3.13) (push) Has been cancelled
test / linux (3.10) (push) Has been cancelled
test / linux (3.11) (push) Has been cancelled
test / linux (3.12) (push) Has been cancelled
test / linux (3.13t) (push) Has been cancelled
test / linux (3.9) (push) Has been cancelled
test / linux (pypy3.11) (push) Has been cancelled
test / macos (3.10) (push) Has been cancelled
test / macos (3.11) (push) Has been cancelled
test / macos (3.12) (push) Has been cancelled
test / macos (3.13) (push) Has been cancelled
test / macos (3.13t) (push) Has been cancelled
test / macos (3.9) (push) Has been cancelled
test / windows (3.10) (push) Has been cancelled
test / windows (3.11) (push) Has been cancelled
test / windows (3.12) (push) Has been cancelled
test / windows (3.13) (push) Has been cancelled
test / windows (3.13t) (push) Has been cancelled
test / windows (3.9) (push) Has been cancelled
2025-06-25 20:59:12 +02:00
Khaleel Al-Adhami
2a7af28153
Add startup, shutdown and reload hooks support (#584) 2025-06-25 20:52:45 +02:00
Giovanni Barillari
961dd98574
Disable connections keepalive on shutdown signal (#612) 2025-06-25 20:21:50 +02:00
Giovanni Barillari
5aa0278aa6
Bump version to 2.4.0 2025-06-25 20:20:55 +02:00
Giovanni Barillari
cf849850f9
Update external benchmarks
Some checks failed
test / linux (3.10) (push) Has been cancelled
test / linux (3.11) (push) Has been cancelled
test / linux (3.12) (push) Has been cancelled
test / linux (3.13) (push) Has been cancelled
test / linux (3.13t) (push) Has been cancelled
test / linux (3.9) (push) Has been cancelled
test / linux (pypy3.11) (push) Has been cancelled
test / macos (3.10) (push) Has been cancelled
test / macos (3.11) (push) Has been cancelled
test / macos (3.12) (push) Has been cancelled
test / macos (3.13) (push) Has been cancelled
test / macos (3.13t) (push) Has been cancelled
test / macos (3.9) (push) Has been cancelled
test / windows (3.10) (push) Has been cancelled
test / windows (3.11) (push) Has been cancelled
test / windows (3.12) (push) Has been cancelled
test / windows (3.13) (push) Has been cancelled
test / windows (3.13t) (push) Has been cancelled
test / windows (3.9) (push) Has been cancelled
2025-06-16 12:41:33 +02:00
Giovanni Barillari
fa63ea8da4
Immediately send ASGI response on event streams (#607)
Some checks failed
test / linux (3.10) (push) Has been cancelled
test / linux (3.11) (push) Has been cancelled
test / linux (3.12) (push) Has been cancelled
test / linux (3.13) (push) Has been cancelled
test / linux (3.13t) (push) Has been cancelled
test / linux (3.9) (push) Has been cancelled
test / linux (pypy3.11) (push) Has been cancelled
test / macos (3.10) (push) Has been cancelled
test / macos (3.11) (push) Has been cancelled
test / macos (3.12) (push) Has been cancelled
test / macos (3.13) (push) Has been cancelled
test / macos (3.13t) (push) Has been cancelled
test / macos (3.9) (push) Has been cancelled
test / windows (3.10) (push) Has been cancelled
test / windows (3.11) (push) Has been cancelled
test / windows (3.12) (push) Has been cancelled
test / windows (3.13) (push) Has been cancelled
test / windows (3.13t) (push) Has been cancelled
test / windows (3.9) (push) Has been cancelled
2025-06-13 13:02:54 +02:00
Giovanni Barillari
2d6c0c4270
Bump version to 2.3.4 2025-06-13 12:31:49 +02:00
Giovanni Barillari
7004b1e06a CI: update release workflow
Some checks failed
test / linux (3.10) (push) Has been cancelled
test / linux (3.11) (push) Has been cancelled
test / linux (3.12) (push) Has been cancelled
test / linux (3.13) (push) Has been cancelled
test / linux (3.13t) (push) Has been cancelled
test / linux (3.9) (push) Has been cancelled
test / linux (pypy3.11) (push) Has been cancelled
test / macos (3.10) (push) Has been cancelled
test / macos (3.11) (push) Has been cancelled
test / macos (3.12) (push) Has been cancelled
test / macos (3.13) (push) Has been cancelled
test / macos (3.13t) (push) Has been cancelled
test / macos (3.9) (push) Has been cancelled
test / windows (3.10) (push) Has been cancelled
test / windows (3.11) (push) Has been cancelled
test / windows (3.12) (push) Has been cancelled
test / windows (3.13) (push) Has been cancelled
test / windows (3.13t) (push) Has been cancelled
test / windows (3.9) (push) Has been cancelled
2025-06-08 16:29:25 +02:00
Giovanni Barillari
e7999e41d6 CI: update build workflow 2025-06-08 15:43:20 +02:00
Giovanni Barillari
8ef8831084 Bump dependencies 2025-06-08 15:38:26 +02:00
Matthias Kestenholz
8a209fc483
Fix the re.split deprecation warning (#593) 2025-06-08 15:32:07 +02:00
Giovanni Barillari
ef347eb9e5
Fix PyPy builds (#597) 2025-06-08 15:31:50 +02:00
Giovanni Barillari
8465ba4aef Bump version to 2.3.3 2025-06-08 15:27:21 +02:00
Giovanni Barillari
df0a444934
Disable attestations on pypi publish action 2025-06-02 21:41:15 +02:00
Giovanni Barillari
39d508aa92
Bump dependencies 2025-06-02 20:00:09 +02:00
dependabot[bot]
6726cce311
Bump socket2 from 0.5.8 to 0.5.10 (#590)
Bumps [socket2](https://github.com/rust-lang/socket2) from 0.5.8 to 0.5.10.
- [Release notes](https://github.com/rust-lang/socket2/releases)
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/socket2/commits)

---
updated-dependencies:
- dependency-name: socket2
  dependency-version: 0.5.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 19:58:12 +02:00
dependabot[bot]
ce06312e1d
Bump tokio from 1.45.0 to 1.45.1 (#589)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.45.0 to 1.45.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.45.0...tokio-1.45.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-version: 1.45.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 19:57:56 +02:00
Giovanni Barillari
5ef87c88d9
Revise ASGI ws accept flow to wait for send (#592) 2025-06-02 19:57:39 +02:00
Giovanni Barillari
7e70f109a9
Update readme 2025-06-02 19:56:18 +02:00
Giovanni Barillari
4ff2120fc8
Bump version to 2.3.2 2025-06-02 19:47:31 +02:00
Giovanni Barillari
02f683950c
Update benchmarks 2025-05-21 14:29:21 +02:00
Giovanni Barillari
2d171bc7f4
Treat ws transport errors as disconnections in ASGI (#575) 2025-05-20 14:48:09 +02:00
Giovanni Barillari
891c4f96d0
Handle errors in TCP accept loop (close #580) 2025-05-20 14:47:23 +02:00
Giovanni Barillari
70719cb283
Bump version to 2.3.1 2025-05-20 14:46:20 +02:00
Giovanni Barillari
17c45dd580
Switch to 2024 edition 2025-05-19 10:25:13 +02:00
Giovanni Barillari
9a65516fde
Bump dependencies 2025-05-19 10:20:03 +02:00
Giovanni Barillari
25a2242420
Bump PyO3 to 0.25 2025-05-19 10:19:36 +02:00
Giovanni Barillari
7e4ebba286
Review shared socket implementation (#579) 2025-05-18 22:11:08 +02:00
Giovanni Barillari
022c8d479d
Update readme 2025-05-13 21:29:11 -07:00
Giovanni Barillari
afe5c1a706
Add mTLS support (#574) 2025-05-11 08:31:17 +02:00
Giovanni Barillari
492789bc47
Bump version to 2.3.0 2025-05-07 20:28:04 +02:00
Giovanni Barillari
6959ee0d11
Add support for static files serving (#566) 2025-05-07 20:26:20 +02:00
Giovanni Barillari
f5cf71fd0b
Bump dependencies 2025-05-07 19:22:09 +02:00
github-actions[bot]
0b932bc20b
Update external benchmark results (#570)
Co-authored-by: gi0baro <5019985+gi0baro@users.noreply.github.com>
2025-05-07 19:15:27 +02:00
dependabot[bot]
bd5b2999f0
Bump tokio-util from 0.7.14 to 0.7.15 (#572)
Bumps [tokio-util](https://github.com/tokio-rs/tokio) from 0.7.14 to 0.7.15.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.14...tokio-util-0.7.15)

---
updated-dependencies:
- dependency-name: tokio-util
  dependency-version: 0.7.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-07 19:15:04 +02:00
dependabot[bot]
6cacd317b3
Bump astral-sh/setup-uv from 5 to 6 (#571)
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 5 to 6.
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](https://github.com/astral-sh/setup-uv/compare/v5...v6)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-07 19:14:45 +02:00
Giovanni Barillari
7ff40e72af
Avoid to raise RuntimeError on undecodable RSGI headers 2025-05-07 19:11:24 +02:00