Closed
requested to merge dependabot/pip/samples/server/petstore/python-fastapi/starlette-0.25.0 into master
Created by: dependabot[bot]
Bumps starlette from 0.14.2 to 0.25.0.
Release notes
Sourced from starlette's releases.
Version 0.25.0
Fixed
- Limit the number of fields and files when parsing
multipart/form-dataon theMultipartParser8c74c2c and #2036.Version 0.24.0
Added
- Allow
StaticFilesto follow symlinks #1683.- Allow
Request.form()as a context manager #1903.- Add
sizeattribute toUploadFile#1405.- Add
env_prefixargument toConfig#1990.- Add template context processors #1904.
- Support
stranddatetimeonexpiresparameter on theResponse.set_cookiemethod #1908.Changed
- Lazily build the middleware stack #2017.
- Make the
fileargument required onUploadFile#1413.- Use debug extension instead of custom response template extension #1991.
Fixed
- Fix url parsing of ipv6 urls on
URL.replace#1965.Version 0.23.1
Fixed
- Only stop receiving stream on
body_streamif body is empty on theBaseHTTPMiddleware#1940.Version 0.23.0
Added
- Add
headersparameter to theTestClient#1966.Deprecated
- Deprecate
StarletteandRouterdecorators #1897.Fixed
- Fix bug on
FloatConvertorregex #1973.Version 0.22.0
Changed
- Bypass
GZipMiddlewarewhen response includesContent-Encoding#1901.Fixed
- Remove unneeded
unquote()from query parameters on theTestClient#1953.- Make sure
MutableHeaders._listis actually alist#1917.- Import compatibility with the next version of
AnyIO#1936.Version 0.21.0
This release replaces the underlying HTTP client used on the
TestClient(requests➡ httpx), and as those clients differ a bit on their API, your test suite will likely break. To make the migration smoother, you can use thebump-testclienttool.Changed
- Replace
requestswithhttpxinTestClient#1376.
... (truncated)
Changelog
Sourced from starlette's changelog.
0.25.0
February 14, 2023
Fix
- Limit the number of fields and files when parsing
multipart/form-dataon theMultipartParser8c74c2c and #2036.0.24.0
February 6, 2023
Added
- Allow
StaticFilesto follow symlinks #1683.- Allow
Request.form()as a context manager #1903.- Add
sizeattribute toUploadFile#1405.- Add
env_prefixargument toConfig#1990.- Add template context processors #1904.
- Support
stranddatetimeonexpiresparameter on theResponse.set_cookiemethod #1908.Changed
- Lazily build the middleware stack #2017.
- Make the
fileargument required onUploadFile#1413.- Use debug extension instead of custom response template extension #1991.
Fixed
- Fix url parsing of ipv6 urls on
URL.replace#1965.0.23.1
December 9, 2022
Fixed
- Only stop receiving stream on
body_streamif body is empty on theBaseHTTPMiddleware#1940.0.23.0
December 5, 2022
Added
- Add
headersparameter to theTestClient#1966.Deprecated
- Deprecate
StarletteandRouterdecorators #1897.Fixed
- Fix bug on
FloatConvertorregex #1973.0.22.0
November 17, 2022
... (truncated)
Commits
-
fc48089Version 0.25.0 (#2035) -
bb4d8f9🐛 Close all the multipart files on error (#2036) -
8c74c2cMerge pull request from GHSA-74m5-2c7w-9w3x -
5771a78Fix test not passing in 32-bit architectures (#2033) -
337ae24Document that UploadFile'sfilenameandcontent_typecan beNone(#2029) -
218a6b4Version 0.24.0 (#1983) -
e05b632Feature: Add size attribute to UploadFile (#1405) -
c568b55allow using Request.form() as a context manager (#1903) -
0a63a6eSupportstranddatetimeonexpiresparameter on theset_cookiemetho... -
94a22b8Fix url parsing of ipv6 urls onURL.replace(#1965) - Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.