-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump starlette from 0.37.2 to 0.40.0 in the pip group across 1 directory #144
base: main
Are you sure you want to change the base?
Conversation
Reviewer's Guide by SourceryThis pull request updates the Starlette dependency from version 0.37.2 to 0.40.0 in the requirements.txt file. The update includes several bug fixes and improvements, such as fixing a Denial of Service vulnerability via multipart/form-data requests, improving performance by avoiding regex re-compilation, and adding support for HTTP Range in FileResponse. Sequence diagram showing improved multipart/form-data request handlingsequenceDiagram
participant C as Client
participant MP as MultiPartParser
participant S as Server
Note over MP: New max_part_size limit
C->>S: POST multipart/form-data request
S->>MP: Parse request
alt Part size > max_part_size
MP-->>S: Reject request
S-->>C: 413 Request Entity Too Large
else Part size <= max_part_size
MP-->>S: Process request
S-->>C: 200 OK
end
Sequence diagram for HTTP Range support in FileResponsesequenceDiagram
participant C as Client
participant FR as FileResponse
participant S as Server
C->>S: GET request with Range header
S->>FR: Handle request
alt Valid range request
FR-->>C: 206 Partial Content
Note over FR,C: Returns requested chunks
else Invalid range
FR-->>C: 416 Range Not Satisfiable
end
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
f295028
to
01ff4a5
Compare
@dependabot rebase |
Bumps the pip group with 1 update in the / directory: [starlette](https://github.com/encode/starlette). Updates `starlette` from 0.37.2 to 0.40.0 - [Release notes](https://github.com/encode/starlette/releases) - [Changelog](https://github.com/encode/starlette/blob/master/docs/release-notes.md) - [Commits](encode/starlette@0.37.2...0.40.0) --- updated-dependencies: - dependency-name: starlette dependency-type: direct:production dependency-group: pip ... Signed-off-by: dependabot[bot] <[email protected]>
01ff4a5
to
94187eb
Compare
We'll have to bump to https://github.com/fastapi/fastapi/releases/tag/0.115.3 so fastapi can handle starlette>0.40 |
Bumps the pip group with 1 update in the / directory: starlette.
Updates
starlette
from 0.37.2 to 0.40.0Release notes
Sourced from starlette's releases.
... (truncated)
Changelog
Sourced from starlette's changelog.
... (truncated)
Commits
4ded4b7
Version 0.40.0 (#2728)fd038f3
Merge commit from forke116840
Bump the python-packages group with 6 updates (#2713)0b50b9c
Version 0.39.2 (#2710)fe46d99
Supportrequest.url_for
when only "app" scope is avaialable (#2672)1a6018e
Support python-multipart 0.0.12 (#2708)fa7b382
Version 0.39.1 (#2706)075efd0
generate boundary with token_hex (#2702)b8139f9
ConsiderFileResponse.chunk_size
when handling multiple ranges (#2703)4fbf766
test: add tests intest_requests
(#2677)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
.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 show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditionsYou can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by Sourcery
Update the Starlette dependency from version 0.37.2 to 0.40.0 to address multiple bug fixes, including a security vulnerability, and to enhance functionality with support for HTTP Range in FileResponse.
Bug Fixes:
Enhancements: