Repository navigation
Update dependency starlette to ~=1.10.0 - #113
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/starlette-1.x
branch
from
October 18, 2026 16:34
5a9b86e to
1dc0c11
Compare
renovate
Bot
force-pushed
the
renovate/starlette-1.x
branch
from
October 24, 2026 16:25
1dc0c11 to
aa7614d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~=1.7.0→~=1.10.0Release Notes
Kludex/starlette (starlette)
v1.10.0: Version 1.10.0Compare Source
📝 Leaner URL-encoded form parsing
Starlette 1.10.0 parses URL-encoded forms with less memory and CPU, no longer drops the last field when a stream ends early, and lets you compare
FormDatathat holds several uploads under one key.uv pip install starlette==1.10.0FormParserbuilds each field in the parser callbacks instead of queueing every event and replaying it. On CodSpeed, 1000 fields went from 42.8 ms to 34.9 ms and from 63.5 KB to 54.5 KB, and themax_fieldslimit case went from 6,880 B to 864 B.b""no longer lose their last field.FormDatawith repeated uploads can be compared (#3619). Comparing twoFormDataobjects with severalUploadFilevalues under the same key used to raiseTypeError.QueryParams("a=1&a=2")andQueryParams("a=2&a=1")are no longer equal, matching whatgetlist()returns.starlette.formparsers.FormMessageis deprecated (#3724). The parser no longer uses it, andFormParser.messagesis gone. CallingFormMessage(...)emits aStarletteDeprecationWarning.🧭 Routing and URL generation
url_path_for("route", category="{id}", id="42")on/{category}/{id}now returns/{id}/42instead of/42/42. Substitution also got faster, from 549 ns to 520 ns with two parameters and from 1,078 ns to 779 ns with five.Matchmembers are compared by identity, cutting up to 4.9% of the instructions per dispatch in the routing benchmarks.WSGIMiddlewarestripsroot_pathonly at a path segment boundary (#3718). A request to/applicationunder aroot_pathof/appno longer becomes/lication.FloatConvertorreports NaN and infinity correctly (#3716). NaN was reported as a negative float.🛡️ Middleware, responses and config
HTTPException, no longer pins per-request objects in memory.http.response.startwithoutheaders(#3721).BaseHTTPMiddleware,GZipMiddlewareandSessionMiddlewaredefault the omitted field to an empty list instead of raisingKeyError.FileResponseignoresRangeon methods other thanGETandHEAD(#3679). APOSTendpoint that returns a file now sends the full file, as RFC 9110 requires.Configstrips one pair of matching outer quotes from env file values (#3720).KEY='say "hi"'now reads assay "hi"instead ofsay "hi.Full changelog: 1.9.0...1.10.0
v1.9.0: Version 1.9.0Compare Source
This release streams
TestClientresponse bodies, soclient.stream()returns before the application finishes. It also escapes path delimiters when building URLs, matches host names case-insensitively, and keeps every existingVaryheader.Changed
TestClientresponse bodies, soclient.stream()returns before the application finishes. Closing an unfinished streamed response now cancels the application #3491.Fixed
?,#,\and a leading//in the request path when buildingrequest.url, and\and a leading//inurl_path_for#3671.Content-Lengthwhen the response body is a typed or multidimensionalmemoryview#3622.HEADin theAllowheader ofHTTPEndpoint405 responses whenGETis defined #3585.Hostrouting andTrustedHostMiddleware#3542.Varyheader inMutableHeaders.add_vary_header(), used byGZipMiddlewareandSessionMiddleware#3675.Full changelog: 1.8.0...1.9.0
v1.8.0: Version 1.8.0Compare Source
This release adds HTTP 103 Early Hints, preserves response trailers through
GZipMiddleware, and stopsFileResponsetransfers when clients disconnect. Starlette now requires Python 3.11.Added
Request.send_early_hints()for HTTP 103 Early Hints through the ASGIhttp.response.early_hintextension #3435.Changed
application/grpcandapplication/grpc+...) fromGZipMiddlewarecompression by default #3565.http.response.startimmediately inGZipMiddlewarefor responses with an existingContent-Encoding, status206, or an excluded content type, instead of waiting for the first body chunk #3631.Fixed
GZipMiddleware#3565.FileResponsetransfers when the client disconnects #3523.RangewhenIf-Rangecontains a weak ETag #3567.Allow: GET, HEADinStaticFiles405responses #3640.Request.stream()generators deterministically, avoiding "Exception ignored" errors with stackedBaseHTTPMiddleware#3628.Vary: CookiewhenSession.pop()removes an existing key #3186.Max-Age=0on the session cookie whenSessionMiddlewareusesmax_age=0#3651.URL.replace()#3617.Full changelog: 1.7.0...1.8.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.