- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 978
Comparing changes
Open a pull request
base repository: encode/starlette
base: 0.34.0
head repository: encode/starlette
compare: 0.35.0
- 11 commits
- 27 files changed
- 8 contributors
Commits on Dec 20, 2023
-
Add
*args
toMiddleware
and improve its type hints (#2381)Co-authored-by: Paweł Rubin <pawel.rubin@ocado.com>
Configuration menu - View commit details
-
Copy full SHA for 866a15f - Browse repository at this point
Copy the full SHA 866a15fView commit details -
Use
Iterable
insteadIterator
oniterate_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>
Configuration menu - View commit details
-
Copy full SHA for 966f0fc - Browse repository at this point
Copy the full SHA 966f0fcView commit details
Commits on Dec 25, 2023
-
Turn
scope["client"]
toNone
onTestClient
(#2377)* Remove client scope from testclient * remove test * Update testclient.py --------- Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 483849a - Browse repository at this point
Copy the full SHA 483849aView commit details
Commits on Jan 1, 2024
-
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](actions/setup-python@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>
Configuration menu - View commit details
-
Copy full SHA for d57f1bb - Browse repository at this point
Copy the full SHA d57f1bbView commit details -
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](python/importlib_metadata@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>
Configuration menu - View commit details
-
Copy full SHA for 8924759 - Browse repository at this point
Copy the full SHA 8924759View commit details -
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](python/typing_extensions@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>
Configuration menu - View commit details
-
Copy full SHA for 04684c2 - Browse repository at this point
Copy the full SHA 04684c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f9da0b - Browse repository at this point
Copy the full SHA 5f9da0bView commit details
Commits on Jan 8, 2024
-
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](astral-sh/ruff@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>
Configuration menu - View commit details
-
Copy full SHA for d28d491 - Browse repository at this point
Copy the full SHA d28d491View commit details -
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](python-trio/trio@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>
Configuration menu - View commit details
-
Copy full SHA for 8f2307d - Browse repository at this point
Copy the full SHA 8f2307dView commit details
Commits on Jan 9, 2024
-
♻️ Refactor logic to handle
root_path
to keep compatibility with AS……GI 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>
Configuration menu - View commit details
-
Copy full SHA for c3c6314 - Browse repository at this point
Copy the full SHA c3c6314View commit details
Commits on Jan 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1081520 - Browse repository at this point
Copy the full SHA 1081520View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.34.0...0.35.0