]> git.ipfire.org Git - thirdparty/starlette.git/log
thirdparty/starlette.git
2 weeks agoVersion 0.47.1 (#2952) master 0.47.1
Marcelo Trylesinski [Sat, 21 Jun 2025 03:37:10 +0000 (11:37 +0800)] 
Version 0.47.1 (#2952)

2 weeks 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 weeks 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 weeks 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>
5 weeks 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)

5 weeks 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)

5 weeks 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)

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

6 weeks 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>
2 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>
2 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)

2 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)

2 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)

2 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)

2 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)

3 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>
3 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)

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

3 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>
4 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

4 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)

4 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)

4 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

4 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>
4 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>
4 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)

4 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)

4 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)

4 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>
4 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>
4 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)

4 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)

4 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)

4 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)

4 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)

4 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>
4 months agoAdd sponsorship page (#2877)
Marcelo Trylesinski [Sat, 22 Feb 2025 11:37:06 +0000 (08:37 -0300)] 
Add sponsorship page (#2877)

4 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.

5 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>
5 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)

5 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)

5 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

6 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)

6 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>
6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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

6 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)

6 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

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

6 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)

6 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

6 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

6 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)

6 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)

6 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)

6 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>
6 months agoRemove unneeded warning filters (#2811)
Marcelo Trylesinski [Thu, 26 Dec 2024 08:00:28 +0000 (09:00 +0100)] 
Remove unneeded warning filters (#2811)

6 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)

6 months agotests: branches coverage in `responses.py`, `staticfiles.py`, `templating.py`, `middl...
Renan Heckert Leal [Wed, 25 Dec 2024 08:54:42 +0000 (08:54 +0000)] 
tests: branches coverage in `responses.py`, `staticfiles.py`, `templating.py`, `middleware/wsgi.py` and `endpoints.py` (#2804)

6 months agoMake UUID path parameter conversion more flexible (#2806)
ed [Wed, 25 Dec 2024 08:48:06 +0000 (09:48 +0100)] 
Make UUID path parameter conversion more flexible (#2806)

6 months agoRemove deprecated `allow_redirects` argument from `TestClient` (#2808)
Renan Heckert Leal [Wed, 25 Dec 2024 08:45:38 +0000 (08:45 +0000)] 
Remove deprecated `allow_redirects` argument from `TestClient` (#2808)

6 months agotests: adding `# pragma: no branch` in `middleware/test_base` and `test_routing`...
Renan Heckert Leal [Sat, 21 Dec 2024 19:11:28 +0000 (19:11 +0000)] 
tests: adding `# pragma: no branch` in `middleware/test_base` and `test_routing` (#2807)

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
6 months agotests: branches coverage in `test_authentication`, `test_background`, `test_responses...
Renan Heckert Leal [Sun, 15 Dec 2024 15:28:16 +0000 (15:28 +0000)] 
tests: branches coverage in `test_authentication`, `test_background`, `test_responses`, `test_routing` (#2796)

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
6 months agoAdapt starlette's logo to the current theme (#2799)
Abduaziz [Sun, 15 Dec 2024 13:43:46 +0000 (18:43 +0500)] 
Adapt starlette's logo to the current theme (#2799)

6 months agoVersion 0.42.0 (#2786) 0.42.0
Marcelo Trylesinski [Sat, 14 Dec 2024 08:59:35 +0000 (09:59 +0100)] 
Version 0.42.0 (#2786)

* Version 0.42.0

* Change date

6 months agoAdd `pragma: no branch` in `middleware/exceptions.py`
Renan Heckert Leal [Fri, 13 Dec 2024 23:10:16 +0000 (23:10 +0000)] 
Add `pragma: no branch` in `middleware/exceptions.py`

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
6 months agotests: Add skipped coverages for `websockets.py` and `templating.py` using `branch...
Renan Heckert Leal [Fri, 13 Dec 2024 22:43:43 +0000 (22:43 +0000)] 
tests: Add skipped coverages for `websockets.py` and `templating.py` using `branch=true` (#2793)

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
6 months agodocs: Update description for third-party package Apitally (#2794)
Simon Gurcke [Fri, 13 Dec 2024 19:39:26 +0000 (05:39 +1000)] 
docs: Update description for third-party package Apitally (#2794)

7 months agodocs: use `transport` instead of directly pass the app to AsyncClient (#2784)
Marcelo Trylesinski [Thu, 5 Dec 2024 08:53:54 +0000 (09:53 +0100)] 
docs: use `transport` instead of directly pass the app to AsyncClient (#2784)

7 months agoUpdate documentation link for python-multipart (#2782)
Daniel Bowring [Wed, 4 Dec 2024 05:33:59 +0000 (16:33 +1100)] 
Update documentation link for python-multipart (#2782)

7 months agoBump the python-packages group with 5 updates (#2779)
dependabot[bot] [Tue, 3 Dec 2024 07:09:27 +0000 (07:09 +0000)] 
Bump the python-packages group with 5 updates (#2779)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
7 months agoUse ETag from headers when parsing If-Range in FileResponse (#2761)
Victor Westerhuis [Tue, 3 Dec 2024 07:07:22 +0000 (08:07 +0100)] 
Use ETag from headers when parsing If-Range in FileResponse (#2761)

7 months agoFix: Resolve the issue where the directory itself being a symlink does not work....
涵曦 [Sun, 1 Dec 2024 16:46:16 +0000 (00:46 +0800)] 
Fix: Resolve the issue where the directory itself being a symlink does not work. (#2711)

7 months agoReplace `mkautodoc` by `mkdocstrings` (#2776)
Marcelo Trylesinski [Sat, 30 Nov 2024 11:41:25 +0000 (12:41 +0100)] 
Replace `mkautodoc` by `mkdocstrings` (#2776)

7 months agotest: add tests in `test_routing` (#2676)
Sean Chen [Sat, 30 Nov 2024 09:58:59 +0000 (17:58 +0800)] 
test: add tests in `test_routing` (#2676)

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
7 months agoPin httpx in `full` extra (#2773)
Marcelo Trylesinski [Sat, 30 Nov 2024 09:53:55 +0000 (10:53 +0100)] 
Pin httpx in `full` extra (#2773)

7 months agobump-python-multipart
Marcelo Trylesinski [Sat, 30 Nov 2024 09:52:32 +0000 (10:52 +0100)] 
bump-python-multipart

7 months agoMake _MiddlewareFactory compatible with Callable (#2768)
Eugene Toder [Tue, 26 Nov 2024 07:28:34 +0000 (02:28 -0500)] 
Make _MiddlewareFactory compatible with Callable (#2768)

7 months agodocs: fix typo in applications example (#2763)
Logan Connolly [Sun, 24 Nov 2024 15:00:32 +0000 (16:00 +0100)] 
docs: fix typo in applications example (#2763)

7 months agoFix issue with broken link in release notes (#2758)
Yurii Karabas [Tue, 19 Nov 2024 13:50:07 +0000 (14:50 +0100)] 
Fix issue with broken link in release notes (#2758)

7 months agoSupport for `send` client disconnect to HTTP (#2732)
Marcelo Trylesinski [Mon, 18 Nov 2024 20:56:13 +0000 (21:56 +0100)] 
Support for `send` client disconnect to HTTP (#2732)

7 months agoBump the python-packages group with 6 updates (#2743)
dependabot[bot] [Mon, 18 Nov 2024 20:19:15 +0000 (21:19 +0100)] 
Bump the python-packages group with 6 updates (#2743)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
7 months agoVersion 0.41.3 (#2754) 0.41.3
Marcelo Trylesinski [Mon, 18 Nov 2024 19:43:25 +0000 (20:43 +0100)] 
Version 0.41.3 (#2754)

7 months agofix(testclient): exclude query sting from `raw_path` (#2716)
Hao Guan [Mon, 18 Nov 2024 19:28:43 +0000 (03:28 +0800)] 
fix(testclient): exclude query sting from `raw_path` (#2716)

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
7 months agoReplace `dict` by `Mapping` on `HTTPException.headers` (#2749)
rijenkii [Mon, 18 Nov 2024 19:00:58 +0000 (02:00 +0700)] 
Replace `dict` by `Mapping` on `HTTPException.headers` (#2749)

7 months agoFix issue with middleware args passing (#2752)
Yurii Karabas [Thu, 14 Nov 2024 23:34:22 +0000 (00:34 +0100)] 
Fix issue with middleware args passing (#2752)

8 months agoMatch httpx documentation style (#2742)
Marcelo Trylesinski [Thu, 31 Oct 2024 07:05:06 +0000 (08:05 +0100)] 
Match httpx documentation style (#2742)

8 months agoVersion 0.41.2 (#2740) 0.41.2
Marcelo Trylesinski [Sun, 27 Oct 2024 08:18:54 +0000 (09:18 +0100)] 
Version 0.41.2 (#2740)

8 months agoRevert bump on `python-multipart` (#2737)
Marcelo Trylesinski [Sun, 27 Oct 2024 08:11:05 +0000 (09:11 +0100)] 
Revert bump on `python-multipart` (#2737)

8 months agoVersion 0.41.1 (#2736) 0.41.1
Marcelo Trylesinski [Thu, 24 Oct 2024 14:39:47 +0000 (16:39 +0200)] 
Version 0.41.1 (#2736)

8 months agoBump minimum `python-multipart` version to 0.0.13 (#2734)
Marcelo Trylesinski [Sun, 20 Oct 2024 12:25:43 +0000 (14:25 +0200)] 
Bump minimum `python-multipart` version to 0.0.13 (#2734)

8 months agoChange `python-multipart` import to `python_multipart` (#2733)
Marcelo Trylesinski [Sun, 20 Oct 2024 12:20:25 +0000 (14:20 +0200)] 
Change `python-multipart` import to `python_multipart` (#2733)

8 months agoVersion 0.41.0 (#2729) 0.41.0
Marcelo Trylesinski [Tue, 15 Oct 2024 17:30:20 +0000 (19:30 +0200)] 
Version 0.41.0 (#2729)