]>
git.ipfire.org Git - thirdparty/starlette.git/log
Scirlat Danut [Sun, 4 Feb 2024 16:50:59 +0000 (18:50 +0200)]
Added type annotations to test__utils.py (#2470)
* added type annotations to test__utils.py
* ignore functools.partial sync type
* ruff fix
* typo
* type ignore
---------
Co-authored-by: Scirlat Danut <scirlatdanut@scirlats-mini.lan>
Scirlat Danut [Sun, 4 Feb 2024 16:48:26 +0000 (18:48 +0200)]
Add type hints to `test_background.py` (#2473)
Co-authored-by: Scirlat Danut <scirlatdanut@scirlats-mini.lan>
Scirlat Danut [Sun, 4 Feb 2024 15:13:48 +0000 (17:13 +0200)]
Add type hints to `test_trusted_host.py` (#2467)
Co-authored-by: Scirlat Danut <scirlatdanut@scirlats-mini.lan>
Scirlat Danut [Sun, 4 Feb 2024 15:11:13 +0000 (17:11 +0200)]
Add type hints to `test_wsgi.py` (#2468)
Co-authored-by: Scirlat Danut <scirlatdanut@scirlats-mini.lan>
Marcelo Trylesinski [Sun, 4 Feb 2024 12:50:31 +0000 (13:50 +0100)]
Create `anyio.Event` on async context (#2459)
* Create `anyio.Event` using a blocking portal
* Use cached property
* Ups
Scirlat Danut [Sat, 3 Feb 2024 20:51:19 +0000 (22:51 +0200)]
Add type hints to `test_cors.py` (#2458)
Co-authored-by: Scirlat Danut <scirlatdanut@scirlats-mini.lan>
Scirlat Danut [Sat, 3 Feb 2024 16:54:21 +0000 (18:54 +0200)]
Add type hints to `test_base.py` (#2445)
* added type annotations to test-base.py
* deleted unused imports
* fixed import order
* conditional import
* conditional import TestClient on types.py
* using string literals when importing in types
* added missing imports
* deleted starlette/types, refactored test_base types
* deleted types
---------
Co-authored-by: Scirlat Danut <scirlatdanut@scirlats-mini.lan>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Marcelo Trylesinski [Sat, 3 Feb 2024 12:39:24 +0000 (13:39 +0100)]
Version 0.36.2 (#2456)
* Version 0.36.2
* Apply suggestions from code review
* Update docs/release-notes.md
Sebastián Ramírez [Sat, 3 Feb 2024 12:34:10 +0000 (13:34 +0100)]
Merge pull request from GHSA-93gm-qmq6-w238
Mikkel Duif [Sat, 3 Feb 2024 08:39:01 +0000 (09:39 +0100)]
Avoid duplicate charset on `Content-Type` (#2443)
* fix(response): avoid duplicated charset
* Update docs/responses.md
---------
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
dependabot[bot] [Sat, 3 Feb 2024 08:01:51 +0000 (08:01 +0000)]
Bump the python-packages group with 4 updates (#2455)
* Bump the python-packages group with 4 updates
Bumps the python-packages group with 4 updates: [coverage](https://github.com/nedbat/coveragepy), [ruff](https://github.com/astral-sh/ruff), [pytest](https://github.com/pytest-dev/pytest) and [mkdocs-material](https://github.com/squidfunk/mkdocs-material).
Updates `coverage` from 7.4.0 to 7.4.1
- [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.4.0...7.4.1)
Updates `ruff` from 0.1.13 to 0.1.15
- [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/v0.1.13...v0.1.15)
Updates `pytest` from 7.4.4 to 8.0.0
- [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/7.4.4...8.0.0)
Updates `mkdocs-material` from 9.5.5 to 9.5.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.5.5...9.5.6)
---
updated-dependencies:
- dependency-name: coverage
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: python-packages
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: python-packages
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-major
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>
* add deprecation warning
---------
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>
François Voron [Fri, 26 Jan 2024 12:32:55 +0000 (13:32 +0100)]
Fix nav override for newer version of Mkdocs Material (#2444)
Marcelo Trylesinski [Tue, 23 Jan 2024 08:31:18 +0000 (09:31 +0100)]
Version 0.36.1 (#2440)
Marcelo Trylesinski [Tue, 23 Jan 2024 08:29:01 +0000 (09:29 +0100)]
Downgrade mkdocs-material (#2439)
Marcelo Trylesinski [Tue, 23 Jan 2024 07:42:18 +0000 (08:42 +0100)]
Check if "extensions" in scope before checking the extension (#2438)
Marcelo Trylesinski [Mon, 22 Jan 2024 20:36:10 +0000 (21:36 +0100)]
Version 0.36.0 (#2432)
* Version 0.36.0
* Update release-notes.md
Giovanni Barillari [Mon, 22 Jan 2024 09:44:40 +0000 (10:44 +0100)]
Add support for ASGI `pathsend` extension (#2435)
* add support for ASGI `pathsend` extension
* add test for ASGI `pathsend`
Marcelo Trylesinski [Sat, 20 Jan 2024 17:57:59 +0000 (18:57 +0100)]
Use `__future__.annotations` (#2433)
* Use `__future__.annotations`
* fix linter
Marcelo Trylesinski [Sat, 20 Jan 2024 15:08:22 +0000 (16:08 +0100)]
Raise `WebSocketDisconnect` when `WebSocket.send()` excepts `IOError` (#2425)
* Raise `WebSocketDisconnect` when `WebSocket.send()` excepts `IOError`
* Restrict the IOError
Marcelo Trylesinski [Sat, 20 Jan 2024 13:59:47 +0000 (14:59 +0100)]
Cancel `WebSocketTestSession` on close (#2427)
* Cancel `WebSocketTestSession` on close
* Undo some noise
* Fix test
* Undo pyproject
* Undo anyio bump
* Undo changes on test_authentication
* Always call cancel scope
Mathias Hauser [Sat, 20 Jan 2024 12:06:50 +0000 (13:06 +0100)]
Raise `FileNotFoundError` when the `env_file` parameter on `Config` is not valid (#2422)
* raise error on missing env file
* format
---------
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Marcelo Trylesinski [Sat, 20 Jan 2024 10:43:45 +0000 (11:43 +0100)]
Add PyPI versions supported (#2431)
dependabot[bot] [Sat, 13 Jan 2024 11:02:01 +0000 (04:02 -0700)]
Bump the python-packages group with 5 updates (#2418)
Bumps the python-packages group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [mypy](https://github.com/python/mypy) | `1.7.1` | `1.8.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.1.9` | `0.1.13` |
| [pytest](https://github.com/pytest-dev/pytest) | `7.4.0` | `7.4.4` |
| [trio](https://github.com/python-trio/trio) | `0.23.2` | `0.24.0` |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.1.17` | `9.5.3` |
Updates `mypy` from 1.7.1 to 1.8.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.7.1...v1.8.0)
Updates `ruff` from 0.1.9 to 0.1.13
- [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/v0.1.9...v0.1.13)
Updates `pytest` from 7.4.0 to 7.4.4
- [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/7.4.0...7.4.4)
Updates `trio` from 0.23.2 to 0.24.0
- [Release notes](https://github.com/python-trio/trio/releases)
- [Commits](https://github.com/python-trio/trio/compare/v0.23.2...v0.24.0)
Updates `mkdocs-material` from 9.1.17 to 9.5.3
- [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.1.17...9.5.3)
---
updated-dependencies:
- 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: pytest
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-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>
Marcelo Trylesinski [Sat, 13 Jan 2024 10:48:51 +0000 (11:48 +0100)]
Group dependencies on dependabot updates (#2415)
Marcelo Trylesinski [Fri, 12 Jan 2024 10:06:48 +0000 (11:06 +0100)]
Add type hint on `test_websockets.py` (#2411)
* Add type hint on `test_websockets.py`
* Add type ignore on mock_receive
Marcelo Trylesinski [Thu, 11 Jan 2024 19:57:49 +0000 (20:57 +0100)]
Version 0.35.1 (#2410)
Marcelo Trylesinski [Thu, 11 Jan 2024 19:55:30 +0000 (20:55 +0100)]
Make `typing-extensions` optional again (#2409)
Sebastián Ramírez [Thu, 11 Jan 2024 15:17:18 +0000 (19:17 +0400)]
♻️ Do not use the deprecated `method` parameter in `FileResponse` inside of `StaticFiles` (#2406)
* ♻️ Do not use the deprecated `method` parameter in `FileResponse` inside of` StaticFile`
* ✅ Add test for warning FileResponse with method argument
* 🔊 Remove warning filter for FileResponse with method
Marcelo Trylesinski [Thu, 11 Jan 2024 14:29:36 +0000 (15:29 +0100)]
Version 0.35.0 (#2404)
* Version 0.35.0
* Update release-notes.md
Sebastián Ramírez [Tue, 9 Jan 2024 04:45:30 +0000 (08:45 +0400)]
♻️ Refactor logic to handle `root_path` to keep compatibility with ASGI and compatibility with other non-Starlette-specific libraries like a2wsgi (#2400)
* ✨ Add util to get route path from scope
* ♻️ Refactor extracting the local route_path from the scope, and creating the child scope with its own root_pat, this allows sub-apps (e.g. WSGIMiddleware) to know
where it was mounted, and from which path prefix starts the path its sub-app should handle
* ♻️ Refactor datastructures and request to be conformant with the ASGI spec, respecting root_path
* ✅ Add and update tests for root_path with mounted apps that don't know about Starlette internals (e.g. the route_root_path extension scope key that was added in
* ✅ Update test for root_path, TestClient was not requiring paths under a root_path to pass the root_path, which is what clients would have to do if the app is
mounted.
* 🎨 Fix formatting
* 🎨 Remove type ignore
* 🔥 Remove unnecessary comment
* ✨ Update (deprecated) WSGIMiddleware to be compatible with the updated root_path, taking pieces from a2wsgi
* 🎨 Fix types
* ✅ Update test for WSGIMiddleware with root_path
* 🔥 Remove logic/features not in the original (deprecated) WSGIMiddleware
---------
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Co-authored-by: Aber <me@abersheeran.com>
dependabot[bot] [Mon, 8 Jan 2024 21:26:34 +0000 (21:26 +0000)]
Bump trio from 0.22.2 to 0.23.2 (#2395)
* Bump trio from 0.22.2 to 0.23.2
Bumps [trio](https://github.com/python-trio/trio) from 0.22.2 to 0.23.2.
- [Release notes](https://github.com/python-trio/trio/releases)
- [Commits](https://github.com/python-trio/trio/compare/v0.22.2...v0.23.2)
---
updated-dependencies:
- dependency-name: trio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Remove AnyIO from requirements.txt
---------
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>
dependabot[bot] [Mon, 8 Jan 2024 08:49:23 +0000 (08:49 +0000)]
Bump ruff from 0.1.6 to 0.1.9 (#2396)
* Bump ruff from 0.1.6 to 0.1.9
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.6 to 0.1.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/v0.1.6...v0.1.9)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix code
---------
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>
dependabot[bot] [Mon, 1 Jan 2024 20:36:25 +0000 (21:36 +0100)]
Bump coverage from 7.3.2 to 7.4.0 (#2397)
dependabot[bot] [Mon, 1 Jan 2024 20:18:57 +0000 (13:18 -0700)]
Bump typing-extensions from 4.8.0 to 4.9.0 (#2393)
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.8.0 to 4.9.0.
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.8.0...4.9.0)
---
updated-dependencies:
- dependency-name: typing-extensions
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 1 Jan 2024 20:03:12 +0000 (13:03 -0700)]
Bump importlib-metadata from 6.9.0 to 7.0.1 (#2394)
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 6.9.0 to 7.0.1.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v6.9.0...v7.0.1)
---
updated-dependencies:
- dependency-name: importlib-metadata
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>
dependabot[bot] [Mon, 1 Jan 2024 19:35:32 +0000 (12:35 -0700)]
Bump actions/setup-python from 4 to 5 (#2392)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/setup-python
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>
Amin Alaee [Mon, 25 Dec 2023 09:33:09 +0000 (13:03 +0330)]
Turn `scope["client"]` to `None` on `TestClient` (#2377)
* Remove client scope from testclient
* remove test
* Update testclient.py
---------
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
James Braza [Wed, 20 Dec 2023 21:59:58 +0000 (13:59 -0800)]
Use `Iterable` instead `Iterator` on `iterate_in_threadpool` (#2362)
* Fixed AsyncContentStream to be AsyncIterator
* Updating isinstance check too
* Standardizing on Iterable/AsyncIterable
* Moved iterate_in_threadpool to make an iter internally
* Added test of iterate_in_threadpool accepting an Iterable
* Renamed arg to iterator, and fixed type hint in return to be AsyncIterator
---------
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Paweł Rubin [Wed, 20 Dec 2023 21:09:17 +0000 (22:09 +0100)]
Add `*args` to `Middleware` and improve its type hints (#2381)
Co-authored-by: Paweł Rubin <pawel.rubin@ocado.com>
Marcelo Trylesinski [Sat, 16 Dec 2023 15:36:01 +0000 (16:36 +0100)]
Version 0.34.0 (#2368)
Amin Alaee [Sat, 16 Dec 2023 15:05:39 +0000 (16:05 +0100)]
Remove databases package from config docs (#2092)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Vageeshan Mankala [Sat, 16 Dec 2023 15:02:19 +0000 (07:02 -0800)]
Add sentry to the third party packages (#2279)
* Update third-party-packages.md
* Update third-party-packages.md
* improve wording
---------
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Diego Fioravanti [Sat, 16 Dec 2023 14:41:37 +0000 (15:41 +0100)]
Clarify that wildcard and credentials are mutually exclusive (#2210)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Bernardo Gomes [Sat, 16 Dec 2023 14:24:57 +0000 (11:24 -0300)]
Add example on how to use `SessionMiddleware` (#2251)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
neolooong [Sat, 16 Dec 2023 14:13:21 +0000 (22:13 +0800)]
Take weak ETags in consideration on `StaticFiles` (#2334)
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Marcelo Trylesinski [Sat, 16 Dec 2023 13:55:20 +0000 (14:55 +0100)]
Merge URLs properly on TestClient (#2376)
Marcelo Trylesinski [Sat, 16 Dec 2023 12:51:24 +0000 (13:51 +0100)]
Use `ParamSpec` for `run_in_threadpool` (#2375)
Marcelo Trylesinski [Sat, 16 Dec 2023 12:47:54 +0000 (13:47 +0100)]
Deprecate `FileResponse(method=...)` parameter (#2366)
dependabot[bot] [Wed, 13 Dec 2023 12:56:11 +0000 (12:56 +0000)]
Bump mypy from 1.5.1 to 1.7.1 (#2357)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Samuel Colvin [Tue, 5 Dec 2023 07:34:41 +0000 (10:34 +0300)]
Add `UploadFile.__repr__` (#2360)
dependabot[bot] [Sat, 2 Dec 2023 08:02:23 +0000 (09:02 +0100)]
Bump importlib-metadata from 6.8.0 to 6.9.0 (#2356)
dependabot[bot] [Fri, 1 Dec 2023 19:44:50 +0000 (13:44 -0600)]
Bump coverage from 7.3.1 to 7.3.2 (#2355)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.3.1 to 7.3.2.
- [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.3.1...7.3.2)
---
updated-dependencies:
- dependency-name: coverage
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>
dependabot[bot] [Fri, 1 Dec 2023 19:39:40 +0000 (13:39 -0600)]
Bump ruff from 0.1.4 to 0.1.6 (#2359)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.4 to 0.1.6.
- [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/v0.1.4...v0.1.6)
---
updated-dependencies:
- dependency-name: ruff
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>
Marcelo Trylesinski [Fri, 1 Dec 2023 13:38:58 +0000 (14:38 +0100)]
Version 0.33.0 (#2354)
夏悠然 [Fri, 1 Dec 2023 13:23:06 +0000 (21:23 +0800)]
Set `ensure_ascii=False` on `json.dumps()` for `WebSocket.send_json()` (#2341)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Marcelo Trylesinski [Fri, 1 Dec 2023 12:58:30 +0000 (13:58 +0100)]
Add middleware per `Router` (#2351)
Marcelo Trylesinski [Fri, 1 Dec 2023 12:55:46 +0000 (13:55 +0100)]
Do not overwrite `"path"` and `"root_path"` scope keys (#2352)
Marcelo Trylesinski [Fri, 1 Dec 2023 10:35:14 +0000 (11:35 +0100)]
Add middleware per `Route`/`WebSocketRoute` (#2349)
Ofek Lev [Thu, 23 Nov 2023 02:01:17 +0000 (21:01 -0500)]
Update link to itsdangerous (#2343)
* Update link to itsdangerous
* here too
Ofek Lev [Wed, 22 Nov 2023 18:26:45 +0000 (13:26 -0500)]
Fix typo in docs (#2344)
Amin Alaee [Wed, 8 Nov 2023 16:43:38 +0000 (17:43 +0100)]
Replace black with ruff formatter (#2330)
Marcelo Trylesinski [Mon, 6 Nov 2023 06:28:32 +0000 (07:28 +0100)]
Version 0.32.0.post1 (#2327)
David Ventura [Mon, 6 Nov 2023 02:36:15 +0000 (03:36 +0100)]
Add Starlette-StaticResources to third-party-packages (#2286)
Grvzard [Mon, 6 Nov 2023 01:51:06 +0000 (09:51 +0800)]
Fix link in release-notes.md (#2325)
Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
Marcelo Trylesinski [Sun, 5 Nov 2023 16:26:36 +0000 (17:26 +0100)]
Revert "Bump mkdocs-material from 9.1.17 to 9.4.7 (#2320)" (#2326)
Marcelo Trylesinski [Sat, 4 Nov 2023 12:16:33 +0000 (13:16 +0100)]
Version 0.32.0 (#2324)
* Version 0.32.0
* Update docs/release-notes.md
Simon Gurcke [Sat, 4 Nov 2023 11:30:27 +0000 (21:30 +1000)]
Add Apitally to third party packages section in docs (#2313)
zllvm [Fri, 3 Nov 2023 12:17:43 +0000 (13:17 +0100)]
Add `domain` parameter to `SessionMiddleware` (#2280)
* feat: add domain argument to SessionMiddleware
* docs: keep existing formatting
* fix: add newline at end of file
* fix: comply with formatting
* fix: comply with formatting rules
* fix: set domain default value to empty string
* Make `domain` `Optional[str]`
---------
Co-authored-by: max <max@maxlabs.se>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
dependabot[bot] [Fri, 3 Nov 2023 02:42:49 +0000 (02:42 +0000)]
Bump ruff from 0.0.291 to 0.1.3 (#2321)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.291 to 0.1.3.
- [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/v0.0.291...v0.1.3)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aber <me@abersheeran.com>
Mahmoud [Thu, 2 Nov 2023 11:45:38 +0000 (13:45 +0200)]
Deleting docs/js folder and extra_javascript in mkdocs.yaml (#2311)
dependabot[bot] [Wed, 1 Nov 2023 20:49:49 +0000 (15:49 -0500)]
Bump mkdocs-material from 9.1.17 to 9.4.7 (#2320)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.17 to 9.4.7.
- [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.1.17...9.4.7)
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Wed, 1 Nov 2023 20:41:20 +0000 (15:41 -0500)]
Bump typing-extensions from 4.7.1 to 4.8.0 (#2319)
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.7.1 to 4.8.0.
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.7.1...4.8.0)
---
updated-dependencies:
- dependency-name: typing-extensions
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Wed, 1 Nov 2023 20:33:51 +0000 (15:33 -0500)]
Bump black from 23.7.0 to 23.10.1 (#2318)
Bumps [black](https://github.com/psf/black) from 23.7.0 to 23.10.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.7.0...23.10.1)
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Wed, 1 Nov 2023 20:08:45 +0000 (15:08 -0500)]
Bump mkdocs from 1.5.2 to 1.5.3 (#2317)
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.5.2...1.5.3)
---
updated-dependencies:
- dependency-name: mkdocs
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>
Marcelo Trylesinski [Sun, 22 Oct 2023 18:44:09 +0000 (20:44 +0200)]
Send reason on `WebSocketDisconnect` (#2309)
dependabot[bot] [Mon, 2 Oct 2023 04:33:16 +0000 (04:33 +0000)]
Bump build from 0.10.0 to 1.0.3 (#2290)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Oct 2023 04:16:01 +0000 (04:16 +0000)]
Bump actions/checkout from 3 to 4 (#2289)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Oct 2023 04:13:13 +0000 (04:13 +0000)]
Bump types-contextvars from 2.4.7.2 to 2.4.7.3 (#2293)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Oct 2023 04:10:41 +0000 (22:10 -0600)]
Bump ruff from 0.0.285 to 0.0.291 (#2291)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Oct 2023 04:06:04 +0000 (22:06 -0600)]
Bump coverage from 7.3.0 to 7.3.1 (#2292)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Sun, 1 Oct 2023 21:18:52 +0000 (02:48 +0530)]
Bump types-pyyaml from 6.0.12.11 to 6.0.12.12 (#2294)
Marcelo Trylesinski [Mon, 18 Sep 2023 08:20:19 +0000 (10:20 +0200)]
Bump AnyIO on the test suite (#2285)
Jean Hominal [Sun, 17 Sep 2023 00:27:52 +0000 (02:27 +0200)]
Ensure event ordering in test_app_receives_http_disconnect_while_sending_if_discarded (#2284)
Sergi [Thu, 7 Sep 2023 04:08:44 +0000 (21:08 -0700)]
Inherit from HTMLResponse instead of Response on _TemplateResponse (#2272) (#2274)
Godot [Wed, 6 Sep 2023 07:56:32 +0000 (15:56 +0800)]
Fix MultiDict tests (#2270)
dependabot[bot] [Sat, 2 Sep 2023 07:55:13 +0000 (09:55 +0200)]
Bump typing-extensions from 4.7.0 to 4.7.1 (#2269)
dependabot[bot] [Sat, 2 Sep 2023 07:44:53 +0000 (09:44 +0200)]
Bump mypy from 1.4.1 to 1.5.1 (#2265)
dependabot[bot] [Sat, 2 Sep 2023 06:50:15 +0000 (08:50 +0200)]
Bump coverage from 7.2.7 to 7.3.0 (#2266)
dependabot[bot] [Sat, 2 Sep 2023 06:23:10 +0000 (08:23 +0200)]
Bump importlib-metadata from 6.6.0 to 6.8.0 (#2268)
Amin Alaee [Fri, 1 Sep 2023 14:54:51 +0000 (16:54 +0200)]
Change Response.render content argument typing (#2264)
Marcelo Trylesinski [Sun, 27 Aug 2023 12:07:33 +0000 (14:07 +0200)]
Add copy button on documentation (#2257)
Marcelo Trylesinski [Sun, 27 Aug 2023 07:15:48 +0000 (09:15 +0200)]
Tweak documentation a bit (#2258)
Marcelo Trylesinski [Sat, 26 Aug 2023 16:42:17 +0000 (18:42 +0200)]
Version 0.31.1 (#2247)
Alex Oleshkevich [Fri, 25 Aug 2023 19:11:44 +0000 (21:11 +0200)]
Set `url_for` global for custom jinja envs (#2230)
Bartosz Magiera [Fri, 25 Aug 2023 19:00:30 +0000 (21:00 +0200)]
Fix `Lifespan State` docs typing import (#2236)
Josiah Kaviani [Fri, 25 Aug 2023 18:57:40 +0000 (22:57 +0400)]
Remove useless brackets from code example in documentation. (#2234)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
dependabot[bot] [Fri, 25 Aug 2023 18:55:38 +0000 (12:55 -0600)]
Bump ruff from 0.0.275 to 0.0.285 (#2254)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
dependabot[bot] [Fri, 25 Aug 2023 18:47:12 +0000 (12:47 -0600)]
Bump mkdocs from 1.4.3 to 1.5.2 (#2253)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Fri, 25 Aug 2023 18:40:20 +0000 (12:40 -0600)]
Bump black from 23.3.0 to 23.7.0 (#2238)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Fri, 25 Aug 2023 18:35:26 +0000 (12:35 -0600)]
Bump types-pyyaml from 6.0.12.10 to 6.0.12.11 (#2237)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>