]> git.ipfire.org Git - thirdparty/starlette.git/log
thirdparty/starlette.git
3 days agoAdd discord to README/docs (#3034) main
Marcelo Trylesinski [Thu, 2 Oct 2025 20:15:44 +0000 (21:15 +0100)] 
Add discord to README/docs (#3034)

3 days agoMove Marcelo Trylesinski to maintainers in `pyproject.toml` (#3033)
Marcelo Trylesinski [Thu, 2 Oct 2025 19:27:14 +0000 (20:27 +0100)] 
Move Marcelo Trylesinski to maintainers in `pyproject.toml` (#3033)

4 days agoBump astral-sh/setup-uv from 6.6.1 to 6.8.0 (#3032)
dependabot[bot] [Wed, 1 Oct 2025 19:52:12 +0000 (20:52 +0100)] 
Bump astral-sh/setup-uv from 6.6.1 to 6.8.0 (#3032)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 days agoUpdate `pyproject.toml` to be PEP639 compliant (#3030)
Marcelo Trylesinski [Thu, 25 Sep 2025 13:10:23 +0000 (06:10 -0700)] 
Update `pyproject.toml` to be PEP639 compliant (#3030)

2 weeks agoSupport multiple cookie headers in `Request.cookies` (#3029)
Marcelo Trylesinski [Sat, 20 Sep 2025 21:43:26 +0000 (23:43 +0200)] 
Support multiple cookie headers in `Request.cookies` (#3029)

2 weeks agochore: reference starlette.dev instead of www version (#3028)
Marcelo Trylesinski [Sat, 20 Sep 2025 10:53:13 +0000 (12:53 +0200)] 
chore: reference starlette.dev instead of www version (#3028)

2 weeks agoUse type literal for WebSocketEndpoint encoding values (#3027)
Gonzalo Murillas [Sat, 20 Sep 2025 10:30:01 +0000 (12:30 +0200)] 
Use type literal for WebSocketEndpoint encoding values (#3027)

2 weeks agoAdd Marcelo Trylesinski to the license (#3025)
Marcelo Trylesinski [Fri, 19 Sep 2025 07:01:31 +0000 (09:01 +0200)] 
Add Marcelo Trylesinski to the license (#3025)

2 weeks agodocs: redirect starlette.io to starlette.dev (#3024)
Marcelo Trylesinski [Fri, 19 Sep 2025 06:49:40 +0000 (08:49 +0200)] 
docs: redirect starlette.io to starlette.dev (#3024)

2 weeks agoReplace references from starlette.io to starlette.dev (#3023)
Marcelo Trylesinski [Thu, 18 Sep 2025 21:16:37 +0000 (23:16 +0200)] 
Replace references from starlette.io to starlette.dev (#3023)

2 weeks agodocs: simplify cloudflare docs deploy (#3022)
Marcelo Trylesinski [Thu, 18 Sep 2025 20:59:21 +0000 (22:59 +0200)] 
docs: simplify cloudflare docs deploy (#3022)

2 weeks agodocs: add docs to starlette.dev (#3021)
Marcelo Trylesinski [Thu, 18 Sep 2025 20:44:57 +0000 (22:44 +0200)] 
docs: add docs to starlette.dev (#3021)

3 weeks agochore: remove reference to publish script, given that it has been removed (#3017)
Wesley Dias [Sat, 13 Sep 2025 10:21:58 +0000 (11:21 +0100)] 
chore: remove reference to publish script, given that it has been removed (#3017)

3 weeks agoci: use uv run on docs deploy (#3016)
Marcelo Trylesinski [Sat, 13 Sep 2025 08:53:30 +0000 (10:53 +0200)] 
ci: use uv run on docs deploy (#3016)

3 weeks agoci: publish docs on `workflow_dispatch` (#3015)
Marcelo Trylesinski [Sat, 13 Sep 2025 08:47:18 +0000 (10:47 +0200)] 
ci: publish docs on `workflow_dispatch` (#3015)

3 weeks agoVersion 0.48.0 (#3014) 0.48.0
Marcelo Trylesinski [Sat, 13 Sep 2025 08:39:11 +0000 (10:39 +0200)] 
Version 0.48.0 (#3014)

3 weeks agoAdd official Python 3.14 support (#3013)
Marcelo Trylesinski [Sat, 13 Sep 2025 08:34:00 +0000 (10:34 +0200)] 
Add official Python 3.14 support (#3013)

3 weeks agoUpdate `publish.yaml` with latest PyPI recommendations (#3011)
Marcelo Trylesinski [Sat, 13 Sep 2025 08:31:51 +0000 (10:31 +0200)] 
Update `publish.yaml` with latest PyPI recommendations (#3011)

3 weeks agofeat: implement rfc9110 http status names (#2939)
Michiel W. Beijen [Sat, 13 Sep 2025 08:30:18 +0000 (10:30 +0200)] 
feat: implement rfc9110 http status names (#2939)

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
3 weeks agochore: set minimum uv version (#3012)
Marcelo Trylesinski [Sat, 13 Sep 2025 08:15:39 +0000 (10:15 +0200)] 
chore: set minimum uv version (#3012)

3 weeks agochore: add citation file (#3010)
Marcelo Trylesinski [Sat, 13 Sep 2025 07:24:20 +0000 (09:24 +0200)] 
chore: add citation file (#3010)

3 weeks agoci: pin github actions' versions (#3009)
Marcelo Trylesinski [Sat, 13 Sep 2025 07:17:00 +0000 (09:17 +0200)] 
ci: pin github actions' versions (#3009)

3 weeks agochore: add Marcelo Trylesinski as maintainer (#3008)
Marcelo Trylesinski [Sat, 13 Sep 2025 07:09:36 +0000 (09:09 +0200)] 
chore: add Marcelo Trylesinski as maintainer (#3008)

4 weeks agoRename branch `master` to `main` (#3001)
Marcelo Trylesinski [Sat, 6 Sep 2025 10:49:36 +0000 (10:49 +0000)] 
Rename branch `master` to `main` (#3001)

4 weeks agoClarify BaseHTTPMiddleware effect on contextvars propagation (#2943)
yakimka [Sat, 6 Sep 2025 10:42:11 +0000 (12:42 +0200)] 
Clarify BaseHTTPMiddleware effect on contextvars propagation (#2943)

4 weeks agoBump astral-sh/setup-uv from 5 to 6 (#3000)
dependabot[bot] [Sat, 6 Sep 2025 10:39:01 +0000 (10:39 +0000)] 
Bump astral-sh/setup-uv from 5 to 6 (#3000)

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>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
4 weeks agoUpdate mkdocs information (#2998)
Tiago Silva [Sat, 6 Sep 2025 10:37:33 +0000 (12:37 +0200)] 
Update mkdocs information (#2998)

* Update mkdocs

* Update links to Kludex

---------

Co-authored-by: Tiago Silva <taraujodasilva@scor.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
4 weeks agoUse uv instead of plain pip (#2999)
Marcelo Trylesinski [Sat, 6 Sep 2025 10:32:35 +0000 (10:32 +0000)] 
Use uv instead of plain pip (#2999)

4 weeks agoBump actions/checkout from 4 to 5 (#2993)
dependabot[bot] [Tue, 2 Sep 2025 11:17:35 +0000 (11:17 +0000)] 
Bump actions/checkout from 4 to 5 (#2993)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 weeks agoVersion 0.47.3 (#2985) 0.47.3
Marcelo Trylesinski [Sun, 24 Aug 2025 07:06:35 +0000 (08:06 +0100)] 
Version 0.47.3 (#2985)

6 weeks agoUse `asyncio.iscoroutinefunction` for Python 3.12 and older (#2984)
Martijn Pieters [Sun, 24 Aug 2025 07:01:30 +0000 (08:01 +0100)] 
Use `asyncio.iscoroutinefunction` for Python 3.12 and older (#2984)

2 months agoVersion 0.47.2 (#2965) 0.47.2
Marcelo Trylesinski [Sun, 20 Jul 2025 17:29:09 +0000 (19:29 +0200)] 
Version 0.47.2 (#2965)

2 months agoMake UploadFile check for future rollover (#2962)
Michael Honaker [Sun, 20 Jul 2025 17:24:02 +0000 (02:24 +0900)] 
Make UploadFile check for future rollover (#2962)

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2 months agoBump the python-packages group with 7 updates (#2957)
dependabot[bot] [Sat, 12 Jul 2025 06:19:17 +0000 (06:19 +0000)] 
Bump the python-packages group with 7 updates (#2957)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2 months agodocs: add Google Analytics (#2963)
Marcelo Trylesinski [Sat, 12 Jul 2025 06:10:45 +0000 (08:10 +0200)] 
docs: add Google Analytics (#2963)

3 months agoVersion 0.47.1 (#2952) 0.47.1
Marcelo Trylesinski [Sat, 21 Jun 2025 03:37:10 +0000 (11:37 +0800)] 
Version 0.47.1 (#2952)

3 months agoUse `Self` in `TestClient.__enter__` (#2951)
Marcelo Trylesinski [Sat, 21 Jun 2025 01:54:43 +0000 (09:54 +0800)] 
Use `Self` in `TestClient.__enter__` (#2951)

3 months agoAllow async exception handlers to type-check (#2949)
Jonathan Berthias [Fri, 13 Jun 2025 12:39:24 +0000 (14:39 +0200)] 
Allow async exception handlers to type-check (#2949)

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
4 months agoBump the python-packages group with 6 updates (#2948)
dependabot[bot] [Tue, 3 Jun 2025 06:21:33 +0000 (08:21 +0200)] 
Bump the python-packages group with 6 updates (#2948)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months agoVersion 0.47.0 (#2947) 0.47.0
Marcelo Trylesinski [Thu, 29 May 2025 15:42:31 +0000 (17:42 +0200)] 
Version 0.47.0 (#2947)

4 months agoAdd support for ASGI `pathsend` extension (#2671)
Giovanni Barillari [Thu, 29 May 2025 13:17:44 +0000 (15:17 +0200)] 
Add support for ASGI `pathsend` extension (#2671)

4 months agoMake annotation for `methods` more permissive (#2903)
Jonathan Berthias [Thu, 29 May 2025 12:51:22 +0000 (14:51 +0200)] 
Make annotation for `methods` more permissive (#2903)

4 months agochore: improve type hints (#2867)
Waket Zheng [Tue, 27 May 2025 06:55:52 +0000 (14:55 +0800)] 
chore: improve type hints (#2867)

4 months agoCI: skips type check until mypy ready for 3.14 (#2936)
Allen Hernandez [Wed, 21 May 2025 08:20:56 +0000 (04:20 -0400)] 
CI: skips type check until mypy ready for 3.14 (#2936)

Co-authored-by: Allen Hernandez <2349718+AllenSH12@users.noreply.github.com>
5 months agofeat: add partitioned attribute to cookie (#2501)
X. Angelo Huang [Sun, 4 May 2025 09:54:01 +0000 (11:54 +0200)] 
feat: add partitioned attribute to cookie (#2501)

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
5 months agoBump the python-packages group with 7 updates (#2930)
dependabot[bot] [Fri, 2 May 2025 05:11:51 +0000 (07:11 +0200)] 
Bump the python-packages group with 7 updates (#2930)

5 months agoMark ExceptionMiddleware.http_exception as async to prevent thread creation. (#2922)
Dan Lapid [Wed, 16 Apr 2025 12:57:27 +0000 (13:57 +0100)] 
Mark ExceptionMiddleware.http_exception as async to prevent thread creation. (#2922)

5 months agoVersion 0.46.2 (#2921) 0.46.2
Marcelo Trylesinski [Sun, 13 Apr 2025 13:52:01 +0000 (15:52 +0200)] 
Version 0.46.2 (#2921)

5 months agoPrevents reraising of exception from BaseHttpMiddleware (#2911)
Ramandeep Singh [Sun, 13 Apr 2025 13:38:18 +0000 (06:38 -0700)] 
Prevents reraising of exception from BaseHttpMiddleware (#2911)

5 months agoInclude Python 3.14 to the pipeline (#2919)
Marcelo Trylesinski [Sat, 12 Apr 2025 10:40:22 +0000 (12:40 +0200)] 
Include Python 3.14 to the pipeline (#2919)

6 months agoBump the python-packages group with 6 updates (#2914)
dependabot[bot] [Wed, 2 Apr 2025 07:20:50 +0000 (09:20 +0200)] 
Bump the python-packages group with 6 updates (#2914)

Bumps the python-packages group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [coverage](https://github.com/nedbat/coveragepy) | `7.6.12` | `7.8.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.9.9` | `0.11.2` |
| [types-pyyaml](https://github.com/python/typeshed) | `6.0.12.20241230` | `6.0.12.20250326` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.3.4` | `8.3.5` |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.6.6` | `9.6.11` |
| [mkdocstrings-python](https://github.com/mkdocstrings/python) | `1.16.2` | `1.16.8` |

Updates `coverage` from 7.6.12 to 7.8.0
- [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.12...7.8.0)

Updates `ruff` from 0.9.9 to 0.11.2
- [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.9...0.11.2)

Updates `types-pyyaml` from 6.0.12.20241230 to 6.0.12.20250326
- [Commits](https://github.com/python/typeshed/commits)

Updates `pytest` from 8.3.4 to 8.3.5
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.4...8.3.5)

Updates `mkdocs-material` from 9.6.6 to 9.6.11
- [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.6...9.6.11)

Updates `mkdocstrings-python` from 1.16.2 to 1.16.8
- [Release notes](https://github.com/mkdocstrings/python/releases)
- [Changelog](https://github.com/mkdocstrings/python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mkdocstrings/python/compare/1.16.2...1.16.8)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: ruff
  dependency-version: 0.11.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: types-pyyaml
  dependency-version: 6.0.12.20250326
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: pytest
  dependency-version: 8.3.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: mkdocs-material
  dependency-version: 9.6.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: mkdocstrings-python
  dependency-version: 1.16.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 months agoFix link title for contextvars.ContextVar (#2913)
Andrii Hryniv [Fri, 28 Mar 2025 15:30:37 +0000 (17:30 +0200)] 
Fix link title for contextvars.ContextVar (#2913)

6 months agofix IndexError in TemplateResponse (#2909)
Alex Oleshkevich [Sun, 16 Mar 2025 12:18:00 +0000 (13:18 +0100)] 
fix IndexError in TemplateResponse (#2909)

6 months agoUpdate note about anyio thread pool (#2895)
Adrian Garcia Badaracco [Sat, 8 Mar 2025 13:02:32 +0000 (07:02 -0600)] 
Update note about anyio thread pool (#2895)

* Update note about anyio thread pool

* Improve a bit the first sentence

---------

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
6 months agodocs: fix email on sponsorship page
Marcelo Trylesinski [Sat, 8 Mar 2025 11:10:55 +0000 (12:10 +0100)] 
docs: fix email on sponsorship page

6 months agodocs: fix Alex's github handle (#2901)
Marcelo Trylesinski [Sat, 8 Mar 2025 11:07:41 +0000 (12:07 +0100)] 
docs: fix Alex's github handle (#2901)

6 months agoVersion 0.46.1 (#2900) 0.46.1
Marcelo Trylesinski [Sat, 8 Mar 2025 10:53:46 +0000 (11:53 +0100)] 
Version 0.46.1 (#2900)

6 months agoAdd sponsorship page (#2899)
Marcelo Trylesinski [Sat, 8 Mar 2025 10:37:28 +0000 (11:37 +0100)] 
Add sponsorship page (#2899)

* Add sponsorship page

* push note about removing name

6 months agoAllow relative directory path when `follow_symlinks=True` (#2896)
Bruno D. Rodrigues [Sat, 8 Mar 2025 07:59:24 +0000 (07:59 +0000)] 
Allow relative directory path when `follow_symlinks=True` (#2896)

* Fix for StaticFiles(follow_symlinks=True, directory="some relative path") that stopped working with commit eee4cdc

* Change test name

* Delete test parameter

---------

Co-authored-by: Bruno D. Rodrigues <bruno.rodrigues@bitsighttech.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
7 months agoBump the python-packages group with 6 updates (#2894)
dependabot[bot] [Tue, 4 Mar 2025 19:20:27 +0000 (20:20 +0100)] 
Bump the python-packages group with 6 updates (#2894)

Bumps the python-packages group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [coverage](https://github.com/nedbat/coveragepy) | `7.6.10` | `7.6.12` |
| [mypy](https://github.com/python/mypy) | `1.14.1` | `1.15.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.9.4` | `0.9.9` |
| [trio](https://github.com/python-trio/trio) | `0.28.0` | `0.29.0` |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.6.5` | `9.6.6` |
| [mkdocstrings-python](https://github.com/mkdocstrings/python) | `1.13.0` | `1.16.2` |

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 `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 `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 `trio` from 0.28.0 to 0.29.0
- [Release notes](https://github.com/python-trio/trio/releases)
- [Commits](https://github.com/python-trio/trio/compare/v0.28.0...v0.29.0)

Updates `mkdocs-material` from 9.6.5 to 9.6.6
- [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.5...9.6.6)

Updates `mkdocstrings-python` from 1.13.0 to 1.16.2
- [Release notes](https://github.com/mkdocstrings/python/releases)
- [Changelog](https://github.com/mkdocstrings/python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mkdocstrings/python/compare/1.13.0...1.16.2)

---
updated-dependencies:
- dependency-name: coverage
  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: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: trio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: mkdocstrings-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
...

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>
7 months agoDocument how to configure CORSMiddleware globally (#2885)
timothy [Tue, 4 Mar 2025 00:15:15 +0000 (09:15 +0900)] 
Document how to configure CORSMiddleware globally (#2885)

7 months agoVersion 0.46.0 (#2883) 0.46.0
Marcelo Trylesinski [Sat, 22 Feb 2025 17:30:23 +0000 (14:30 -0300)] 
Version 0.46.0 (#2883)

7 months agoDocument how to resize the threadpool (#2881)
Marcelo Trylesinski [Sat, 22 Feb 2025 15:29:46 +0000 (12:29 -0300)] 
Document how to resize the threadpool (#2881)

7 months agoRaise exception from background task on BaseHTTPMiddleware (#2812)
Marcelo Trylesinski [Sat, 22 Feb 2025 13:41:46 +0000 (10:41 -0300)] 
Raise exception from background task on BaseHTTPMiddleware (#2812)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
7 months agofix(gzip): Make sure Vary header is always added if a response can be compressed...
Matthew Messinger [Sat, 22 Feb 2025 13:16:21 +0000 (08:16 -0500)] 
fix(gzip): Make sure Vary header is always added if a response can be compressed (#2865)

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
7 months agoAdd notes about the GZip middleware (#2880)
Marcelo Trylesinski [Sat, 22 Feb 2025 13:08:52 +0000 (10:08 -0300)] 
Add notes about the GZip middleware (#2880)

7 months agoDon't compress on server sent events (#2871)
Marcelo Trylesinski [Sat, 22 Feb 2025 12:54:55 +0000 (09:54 -0300)] 
Don't compress on server sent events (#2871)

7 months agoRename `max_file_size` to `spool_max_size` (#2780)
Marcelo Trylesinski [Sat, 22 Feb 2025 12:30:20 +0000 (09:30 -0300)] 
Rename `max_file_size` to `spool_max_size` (#2780)

7 months agoDocument HTTPException for WebSockets Denial Response (#2879)
Marcelo Trylesinski [Sat, 22 Feb 2025 12:09:48 +0000 (09:09 -0300)] 
Document HTTPException for WebSockets Denial Response (#2879)

7 months agoAdd Discord as chat instead of Gitter (#2878)
Marcelo Trylesinski [Sat, 22 Feb 2025 11:48:35 +0000 (08:48 -0300)] 
Add Discord as chat instead of Gitter (#2878)

7 months agoAdd deprecated warnings to `TestClient` on use of `timeout` argument (#2840)
Irfanuddin Shafi Ahmed [Sat, 22 Feb 2025 11:45:06 +0000 (15:45 +0400)] 
Add deprecated warnings to `TestClient` on use of `timeout` argument (#2840)

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
7 months agoAdd sponsorship page (#2877)
Marcelo Trylesinski [Sat, 22 Feb 2025 11:37:06 +0000 (08:37 -0300)] 
Add sponsorship page (#2877)

7 months agoUse `localhost` instead of `http://localhost` in `TestClient(client=...)` example...
William David Edwards [Sun, 16 Feb 2025 10:44:10 +0000 (11:44 +0100)] 
Use `localhost` instead of `http://localhost` in `TestClient(client=...)` example (#2870)

With https://github.com/encode/starlette/pull/2810, it is possible to override the client host (i.e. the remote address; see https://www.starlette.io/requests/#client-address).

The default value for `TestClient` is `testclient`, but an IP address in most circumstances.

The documentation example for overriding the client host uses a full URI, which makes no sense: it's the remote address.

8 months agoBump the python-packages group with 5 updates (#2860)
dependabot[bot] [Sun, 2 Feb 2025 11:11:46 +0000 (12:11 +0100)] 
Bump the python-packages group with 5 updates (#2860)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
8 months agoGet iscoroutinefunction() from inspect rather than asyncio (#2855)
Ben Beasley [Tue, 28 Jan 2025 12:30:56 +0000 (07:30 -0500)] 
Get iscoroutinefunction() from inspect rather than asyncio (#2855)

8 months agoVersion 0.45.3 (#2852) 0.45.3
Marcelo Trylesinski [Fri, 24 Jan 2025 11:16:22 +0000 (12:16 +0100)] 
Version 0.45.3 (#2852)

8 months agoTurn directory into string on `lookup_path` on commonpath comparison (#2851)
Marcelo Trylesinski [Fri, 24 Jan 2025 11:13:42 +0000 (12:13 +0100)] 
Turn directory into string on `lookup_path` on commonpath comparison (#2851)

* Turn directory into string on `lookup_path` on commonpath comparison

* remove str cast complication

9 months agoVersion 0.45.2 (#2839) 0.45.2
Marcelo Trylesinski [Sat, 4 Jan 2025 09:52:50 +0000 (10:52 +0100)] 
Version 0.45.2 (#2839)

9 months agoBump the python-packages group across 1 directory with 7 updates (#2838)
dependabot[bot] [Fri, 3 Jan 2025 13:24:19 +0000 (14:24 +0100)] 
Bump the python-packages group across 1 directory with 7 updates (#2838)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months agofix create_memory_object_stream not subscriptable at runtime in old anyio versions...
Thomas Grainger [Fri, 3 Jan 2025 13:16:39 +0000 (13:16 +0000)] 
fix create_memory_object_stream not subscriptable at runtime in old anyio versions (#2833)

9 months agoVersion 0.45.1 (#2832) 0.45.1
Marcelo Trylesinski [Mon, 30 Dec 2024 21:06:32 +0000 (22:06 +0100)] 
Version 0.45.1 (#2832)

9 months agoRemove python version from mypy (#2831)
Marcelo Trylesinski [Mon, 30 Dec 2024 07:48:16 +0000 (08:48 +0100)] 
Remove python version from mypy (#2831)

9 months agoFix unclosed 'MemoryObjectReceiveStream' upon exception in 'BaseHTTPMiddleware' child...
Marcelo Trylesinski [Sun, 29 Dec 2024 12:32:00 +0000 (13:32 +0100)] 
Fix unclosed 'MemoryObjectReceiveStream' upon exception in 'BaseHTTPMiddleware' children (#2813)

9 months agouse a pair of memory object streams instead of two queues (#2829)
Thomas Grainger [Sun, 29 Dec 2024 12:13:31 +0000 (12:13 +0000)] 
use a pair of memory object streams instead of two queues (#2829)

9 months agocollect errors more reliably from websocket test client (#2814)
Thomas Grainger [Sun, 29 Dec 2024 11:00:04 +0000 (11:00 +0000)] 
collect errors more reliably from websocket test client (#2814)

9 months agoVersion 0.45.0 (#2828) 0.45.0
Marcelo Trylesinski [Sun, 29 Dec 2024 09:25:24 +0000 (10:25 +0100)] 
Version 0.45.0 (#2828)

9 months agoRemove deprecated `WS_1004_NO_STATUS_RCVD` and `WS_1005_ABNORMAL_CLOSURE` (#2827)
Marcelo Trylesinski [Sat, 28 Dec 2024 21:18:03 +0000 (22:18 +0100)] 
Remove deprecated `WS_1004_NO_STATUS_RCVD` and `WS_1005_ABNORMAL_CLOSURE` (#2827)

9 months agoRemove `ExceptionMiddleware` import proxy from `starlette.exceptions` module (#2826)
Marcelo Trylesinski [Sat, 28 Dec 2024 21:10:44 +0000 (22:10 +0100)] 
Remove `ExceptionMiddleware` import proxy from `starlette.exceptions` module (#2826)

* Remove `ExceptionMiddleware` proxy from `starlette.exceptions` module

* remove test

9 months agotests: add `--branch` to coverage run (#2825)
Marcelo Trylesinski [Sat, 28 Dec 2024 20:29:57 +0000 (21:29 +0100)] 
tests: add `--branch` to coverage run (#2825)

9 months agoRemove `ignore_missing_imports` from mypy (#2824)
Marcelo Trylesinski [Sat, 28 Dec 2024 16:16:19 +0000 (17:16 +0100)] 
Remove `ignore_missing_imports` from mypy (#2824)

* Remove `ignore_missing_imports` from mypy

* remove comment

* add comment again

* add comment again

* add comment again

* try

9 months agoDrop Python 3.8 (#2823)
Marcelo Trylesinski [Sat, 28 Dec 2024 15:50:16 +0000 (16:50 +0100)] 
Drop Python 3.8 (#2823)

9 months agodocs: don't show code source (#2822)
Marcelo Trylesinski [Sat, 28 Dec 2024 08:45:17 +0000 (09:45 +0100)] 
docs: don't show code source (#2822)

9 months agoVersion 0.44.0 (#2819) 0.44.0
Marcelo Trylesinski [Sat, 28 Dec 2024 07:31:23 +0000 (08:31 +0100)] 
Version 0.44.0 (#2819)

* Version 0.44.0

* Update docs/release-notes.md

9 months agodocs: add `black` to allow docs formatting (#2818)
Marcelo Trylesinski [Sat, 28 Dec 2024 07:29:33 +0000 (08:29 +0100)] 
docs: add `black` to allow docs formatting (#2818)

* docs: add `black` to allow docs formatting

* Only install black on Python >= 3.9

9 months agodocs: add section about `TestClient(client=...)` (#2817)
Marcelo Trylesinski [Sat, 28 Dec 2024 07:23:40 +0000 (08:23 +0100)] 
docs: add section about `TestClient(client=...)` (#2817)

9 months agoAdd `client` parameter to `TestClient` (#2810)
Irfanuddin Shafi Ahmed [Sat, 28 Dec 2024 06:05:09 +0000 (10:05 +0400)] 
Add `client` parameter to `TestClient` (#2810)

9 months agoAdd `max_part_size` parameter to `MultiPartParser` (#2815)
Irfanuddin Shafi Ahmed [Sat, 28 Dec 2024 04:57:20 +0000 (08:57 +0400)] 
Add `max_part_size` parameter to `MultiPartParser` (#2815)

9 months agotests: branch coverage in `_utils.py`, `middleware/gzip.py`, `routing.py` and `reques...
Renan Heckert Leal [Sat, 28 Dec 2024 04:55:20 +0000 (04:55 +0000)] 
tests: branch coverage in `_utils.py`, `middleware/gzip.py`, `routing.py` and `requests.py` (#2816)

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
9 months agoRemove unneeded warning filters (#2811)
Marcelo Trylesinski [Thu, 26 Dec 2024 08:00:28 +0000 (09:00 +0100)] 
Remove unneeded warning filters (#2811)

9 months agoVersion 0.43.0 (#2809) 0.43.0
Marcelo Trylesinski [Wed, 25 Dec 2024 09:12:06 +0000 (10:12 +0100)] 
Version 0.43.0 (#2809)