Commit Graph

1482 Commits

Author SHA1 Message Date
dependabot[bot]
e5e7344a25
Bump astral-sh/setup-uv from 6.6.1 to 6.7.0 (#2701)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-20 02:39:10 +02:00
Marcelo Trylesinski
b40c4288c7
docs: add docs to uvicorn.dev (#2702) 2025-09-19 19:30:17 +02:00
Marcelo Trylesinski
dca6b1c529
ci: update dependabot ecosystem from pip to uv (#2700) 2025-09-19 16:35:15 +00:00
Marcelo Trylesinski
fe50e5d993
Add Marcelo Trylesinski to the license (#2699) 2025-09-19 07:04:29 +00:00
Marcelo Trylesinski
d41737158f
ci: publish docs on workflow_dispatch (#2695) 2025-09-13 09:05:00 +00:00
Marcelo Trylesinski
bf337d62d5
Use uv instead of plain pip (#2693) 2025-09-13 10:13:29 +02:00
Marcelo Trylesinski
ea9e01e3b0
chore: rename pipeline file to match starlette (#2692) 2025-09-13 07:16:44 +00:00
dependabot[bot]
a96eadde97
Bump actions/setup-python from 5.6.0 to 6.0.0 (#2690)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-13 07:13:19 +00:00
Marcelo Trylesinski
f8c69b432f
chore: rename master branch to main (#2691) 2025-09-13 07:09:03 +00:00
Marcelo Trylesinski
1df5533de8
ci: pin github actions' versions (#2689) 2025-09-13 09:02:28 +02:00
dependabot[bot]
896661c189
Bump actions/download-artifact from 4 to 5 (#2682)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-09-10 19:52:54 +00:00
secrett2633
016db5f7da
Update repository references from 'encode' to 'Kludex' across documentation and configuration files (#2684) 2025-09-10 21:48:53 +02:00
dependabot[bot]
e6c7ce791f
Bump actions/checkout from 4 to 5 (#2681) 2025-09-03 10:57:29 +00:00
Marcelo Trylesinski
c1144fd4f1
docs: add websockets section (#2662) 2025-07-06 18:20:29 +02:00
Marcelo Trylesinski
b06d8ecd26
docs: add installation section (#2661) 2025-07-06 17:12:34 +02:00
Marcelo Trylesinski
f9403a2041
docs: add lifespan page (#2656) 2025-07-06 15:18:58 +02:00
Marcelo Trylesinski
374bb6764e
docs: readd missing --- to the release-notes.md (#2660) 2025-07-03 16:07:32 +02:00
Ben Beasley
15cf08a657
In tests, use iscoroutinefunction from inspect rather than asyncio (#2659) 2025-07-02 16:52:18 +02:00
Marcelo Trylesinski
293eca7657
Allow to provide importable string in --http, --ws and --loop (#2658) 2025-07-02 10:22:06 +02:00
Nir Geller
52b3ec62a3
Support custom IOLOOPs (#2435)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-07-01 19:55:34 +02:00
Marcelo Trylesinski
1aa02117ba
docs: support llms.txt (#2657) 2025-07-01 10:05:13 +02:00
Marcelo Trylesinski
050f60265e
Add discord badge (#2655) 2025-07-01 07:59:30 +02:00
Marcelo Trylesinski
daecb45327
Version 0.35.0 (#2654) 2025-06-28 18:04:49 +02:00
Youfu Zhang
22dfd3fa95
refine help message for option --proxy-headers (#2653) 2025-06-27 09:20:13 +02:00
Marcelo Trylesinski
b9606269a7
Add WebSocketsSansIOProtocol (#2540) 2025-06-24 12:16:26 +02:00
Marcelo Trylesinski
5432729137
Add CITATION.cff (#2649) 2025-06-12 11:29:24 +02:00
Marcelo Trylesinski
5e33d430f1
Add notes about 0.34.3 and Google Analytics (#2642) 2025-06-01 09:46:47 +02:00
Waket Zheng
ce129ff120
chore: improve type hints (#2638) 2025-05-31 18:00:13 +02:00
Harry
fa3d9d27db
Apply get_client_addr formatting to WebSocket logging (#2636) 2025-05-14 15:27:12 +02:00
dependabot[bot]
66b9b58ad9
Bump the python-packages group across 1 directory with 5 updates (#2631)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-05-11 10:38:56 +02:00
Alejandro Perez Gancedo
bc795051bd
chore: update h11 dependecy to latest release (#2621)
Co-authored-by: Alejandro Perez Gancedo <alejandro.perez@faculty.ai>
2025-05-11 10:16:15 +02:00
Marcelo Trylesinski
2eda7b10be
Bump uvloop (#2618) 2025-04-20 11:27:47 +02:00
Marcelo Trylesinski
c9ba771b39
Version 0.34.3 (#2617) 2025-04-19 15:38:42 +02:00
Jan Musílek
56a9f68c16
Don't include cwd() when non-empty --reload-dirs is passed (#2598) 2025-04-19 06:08:51 +00:00
Marcelo Trylesinski
bdf95fd3e7
Version 0.34.2 (#2616) 2025-04-19 08:01:03 +02:00
James Hogge
86dc4560ce
Flush the stdout buffer on Windows to trigger reload (#2604)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-04-14 08:35:26 +00:00
Marcelo Trylesinski
695820ae9b
Version 0.34.1 (#2612) 2025-04-13 15:46:20 +02:00
Marcelo Trylesinski
56c45db06c
docs: add sponsorship banner (#2611) 2025-04-13 15:06:50 +02:00
Marcelo Trylesinski
f2192cc38c
docs: add section about Docker under Deployment (#2610) 2025-04-13 14:45:19 +02:00
dependabot[bot]
7fb029daf8
Bump the python-packages group with 8 updates (#2606)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-04-13 11:58:45 +02:00
Marcelo Trylesinski
4fdfec4adf
docs: mention discord instead of gitter (#2595)
* docs: mention discord instead of gitter

* ignore flaky test
2025-03-09 17:21:57 +01:00
Marcelo Trylesinski
e5f3663925
Speed up test suite with pytest-xdist (#2537)
* Speed up test suite with pytest-xdist

* add combine

* Check if loadgroup solves windows issues

* Add xdist group to multiprocess tests

* Skip reload tests on windows and mac

* skip non linux

* skip non linux

* add not linux

* add last not linux

* skip another

* skip another

* Update tests/supervisors/test_reload.py
2025-03-09 16:49:07 +01:00
Marcelo Trylesinski
2445e7921b
docs: improve settings page (#2594) 2025-03-09 16:21:25 +01:00
dependabot[bot]
7abc19969b
Bump the python-packages group with 5 updates (#2588)
* Bump the python-packages group with 5 updates

Bumps the python-packages group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [websockets](https://github.com/python-websockets/websockets) | `13.1` | `15.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.9.4` | `0.9.9` |
| [mypy](https://github.com/python/mypy) | `1.14.1` | `1.15.0` |
| [coverage](https://github.com/nedbat/coveragepy) | `7.6.10` | `7.6.12` |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.6.1` | `9.6.5` |


Updates `websockets` from 13.1 to 15.0
- [Release notes](https://github.com/python-websockets/websockets/releases)
- [Commits](https://github.com/python-websockets/websockets/compare/13.1...15.0)

Updates `ruff` from 0.9.4 to 0.9.9
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.9.4...0.9.9)

Updates `mypy` from 1.14.1 to 1.15.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.14.1...v1.15.0)

Updates `coverage` from 7.6.10 to 7.6.12
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.6.10...7.6.12)

Updates `mkdocs-material` from 9.6.1 to 9.6.5
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.6.1...9.6.5)

---
updated-dependencies:
- dependency-name: websockets
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-packages
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>

* drop websockets bump

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-03-08 13:26:27 +00:00
Tom Christie
4e6786e4de
Add sponsorship page (#2593)
* Add sponsorship page

* Apply suggestions from code review

---------

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-03-08 12:55:17 +00:00
Carl George
8136fb6832
Avoid test dependency on typing_extensions (#2590) 2025-03-05 08:34:30 +01:00
Marcelo Trylesinski
aaf201669c
Deprecate ServerState in the main module (#2581) 2025-02-21 06:55:37 -03:00
dependabot[bot]
54d9575e75
Bump cryptography from 44.0.0 to 44.0.1 (#2579)
Bumps [cryptography](https://github.com/pyca/cryptography) from 44.0.0 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/44.0.0...44.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-11 21:37:13 +01:00
dependabot[bot]
3014765e73
Bump the python-packages group with 6 updates (#2569)
* Bump the python-packages group with 6 updates

Bumps the python-packages group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [websockets](https://github.com/python-websockets/websockets) | `13.1` | `14.2` |
| [a2wsgi](https://github.com/abersheeran/a2wsgi) | `1.10.7` | `1.10.8` |
| [twine](https://github.com/pypa/twine) | `6.0.1` | `6.1.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.8.4` | `0.9.4` |
| [trustme](https://github.com/python-trio/trustme) | `1.2.0` | `1.2.1` |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.49` | `9.6.1` |


Updates `websockets` from 13.1 to 14.2
- [Release notes](https://github.com/python-websockets/websockets/releases)
- [Commits](https://github.com/python-websockets/websockets/compare/13.1...14.2)

Updates `a2wsgi` from 1.10.7 to 1.10.8
- [Commits](https://github.com/abersheeran/a2wsgi/compare/v1.10.7...v1.10.8)

Updates `twine` from 6.0.1 to 6.1.0
- [Release notes](https://github.com/pypa/twine/releases)
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/twine/compare/6.0.1...6.1.0)

Updates `ruff` from 0.8.4 to 0.9.4
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.8.4...0.9.4)

Updates `trustme` from 1.2.0 to 1.2.1
- [Release notes](https://github.com/python-trio/trustme/releases)
- [Commits](https://github.com/python-trio/trustme/compare/v1.2.0...v1.2.1)

Updates `mkdocs-material` from 9.5.49 to 9.6.1
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.49...9.6.1)

---
updated-dependencies:
- dependency-name: websockets
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-packages
- dependency-name: a2wsgi
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: twine
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: trustme
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>

* lint the whole thing

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-02-09 08:56:47 +00:00
Ramis
36957371b1
fix docs (#2567) 2025-01-27 08:23:40 +01:00