Revert Queue(maxsize=1) fix for BaseHTTPMiddleware middleware classes and streaming responses.
The StaticFiles constructor now allows pathlib.Path in addition to strings for its directory argument.
0.13.7
Fix high memory usage when using BaseHTTPMiddleware middleware classes and streaming responses.
0.13.6
Fix 404 errors with StaticFiles.
0.13.5
Add support for Starlette(lifespan=...) functions.
More robust path-traversal check in StaticFiles app.
Fix WSGI PATH_INFO encoding.
RedirectResponse now accepts optional background parameter
Allow path routes to contain regex meta characters
Treat ASGI HTTP 'body' as an optional key.
Don't use thread pooling for writing to in-memory upload files.
0.13.0
Switch to promoting application configuration on init style everywhere.
This means dropping the decorator style in favour of declarative routing
tables and middleware definitions.
0.12.12
Fix request.url_for() for the Mount-within-a-Mount case.
0.12.11
Fix request.url_for() when an ASGI root_path is being used.
0.12.1
Add URL.include_query_params(**kwargs)
Add URL.replace_query_params(**kwargs)
Add URL.remove_query_params(param_names)
request.state properly persisting across middleware.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps starlette from 0.13.3 to 0.13.8.
Release notes
Sourced from starlette's releases.
Changelog
Sourced from starlette's changelog.
Commits
31ad4e5
Version 0.13.8 (#1026)f5a08d0
Remove maxsize arg from Queue constructor in BaseHTTPMiddleware (#1028)9387832
Use os.PathLike in StaticFiles for directory (#1007)518da5e
Prepare 0.13.7 release: version bump and release-notes (#1020)3d77a1c
Fix high memory usage when using BaseHTTPMiddleware middleware classes and st...1db8010
DOCUMENTATION -- Correction in websockets.md (#1011)aee9106
Add type annotation to WebSocketEndpoint.encoding (#1003)4935397
Fixed typo in websocket doc (#1009)60d2259
Version 0.13.6 (#1006)681450d
Fix staticfiles 404 errors (#1005)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump now
in your Dependabot dashboard.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)