Skip to content

chore(deps): bump starlette from 1.0.1 to 1.3.1 in /api#72

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/api/starlette-1.3.1
Open

chore(deps): bump starlette from 1.0.1 to 1.3.1 in /api#72
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/api/starlette-1.3.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 17, 2026

Copy link
Copy Markdown

Bumps starlette from 1.0.1 to 1.3.1.

Release notes

Sourced from starlette's releases.

Version 1.3.1

What's Changed

Full Changelog: Kludex/starlette@1.3.0...1.3.1

Version 1.3.0

What's Changed

New Contributors

Full Changelog: Kludex/starlette@1.2.1...1.3.0

Version 1.2.1

What's Changed

New Contributors

Full Changelog: Kludex/starlette@1.2.0...1.2.1

Version 1.2.0

What's Changed

Full Changelog: Kludex/starlette@1.1.0...1.2.0

Version 1.1.0

... (truncated)

Changelog

Sourced from starlette's changelog.

1.3.1 (June 12, 2026)

Fixed

  • Enforce max_fields and max_part_size in FormParser #3329.
  • Enforce FormParser limits in parser callbacks #3331.

1.3.0 (June 11, 2026)

Added

  • Add httpx2 to the full extra #3323.
  • Annotate the URLPath protocol parameter with Literal #3285.

Fixed

  • Build request.url from structured components #3326.
  • Clamp oversized suffix ranges in FileResponse #3307.
  • Catch OSError alongside MultiPartException when closing temp files #3191.
  • Avoid collapsing exception groups raised from user code #2830.
  • Use removeprefix to strip the weak ETag indicator in is_not_modified #3193.
  • Fix IndexError in URL.replace() on a URL with no authority #3317.
  • Adjust testclient typing and warnings #3322.

1.2.1 (May 31, 2026)

Fixed

  • Use httpx2 for type checking in the testclient module #3304.
  • Add assert error for requires() when the request parameter is not a Request type #3298.

1.2.0 (May 28, 2026)

Added

  • Support httpx2 in the test client #3291.

1.1.0 (May 23, 2026)

Added

  • Use "application/octet-stream" as the FileResponse media type fallback #3283.

Fixed

  • Only dispatch standard HTTP verbs in HTTPEndpoint #3286.
  • Reject absolute paths in StaticFiles.lookup_path #3287.
Commits
  • 8ebffd0 Version 1.3.1 (#3330)
  • 25b8e17 Enforce FormParser limits in parser callbacks (#3331)
  • dba1c4b Enforce max_fields and max_part_size in FormParser (#3329)
  • 45e51dc Use StarletteDeprecationWarning instead of DeprecationWarning (#3119)
  • 5f8610c Version 1.3.0 (#3327)
  • 167b585 Build request.url from structured components (#3326)
  • 3730925 Use removeprefix to strip weak ETag indicator in is_not_modified (#3193)
  • e6f7ad1 avoid collapsing exception groups from user code (#2830)
  • 115228f Annotate URLPath protocol parameter with Literal (#3285)
  • 113f193 docs: replace inline ASGI server list with link to canonical implemen… (#3204)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Greptile Summary

Bumps starlette from 1.0.1 to 1.3.1 in the API, pulling in security hardening for multipart form parsing and several bug fixes across intermediate releases.

  • starlette 1.3.1 enforces max_fields and max_part_size in FormParser, closing potential DoS vectors for multipart uploads; 1.1.0 also added a path-traversal fix in StaticFiles (Reject absolute paths in StaticFiles.lookup_path).
  • The lower-bound in pyproject.toml is tightened from >=1.0.0 to >=1.3.1 so reinstalls and downstream consumers also receive the patched version; uv.lock is updated with the correct wheel hashes.
  • The lock file additionally refreshes platform markers for several CUDA optional dependencies, dropping win32 entries that no longer have published wheels — this is a passive side-effect of regenerating the lockfile and does not affect the Linux-targeted deployment.

Confidence Score: 5/5

Routine security patch bump with no application logic changes; safe to merge.

Both changed files are dependency metadata only. The starlette upgrade brings security fixes for multipart form parsing and is backward-compatible within the 1.x line. The incidental CUDA lock marker refresh is a passive artifact of lock regeneration and does not affect runtime behavior on the project's target Linux platform.

No files require special attention.

Important Files Changed

Filename Overview
api/pyproject.toml Lower-bounds pin on starlette tightened from >=1.0.0 to >=1.3.1, ensuring the FormParser DoS fixes land in all future installs.
api/uv.lock Lock updated to starlette 1.3.1 with correct hashes; incidental CUDA package platform markers were also refreshed (win32 removed from optional extras), consistent with Linux-only CUDA wheel availability.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[dependabot opens PR] --> B[starlette 1.0.1 → 1.3.1]
    B --> C[pyproject.toml\n>=1.3.1,<2]
    B --> D[uv.lock\nnew wheel hash]
    C --> E[Security fixes included]
    D --> E
    E --> F[FormParser max_fields enforced\n1.3.1 #3329]
    E --> G[FormParser max_part_size enforced\n1.3.1 #3331]
    E --> H[StaticFiles absolute path rejection\n1.1.0 #3287]
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
    A[dependabot opens PR] --> B[starlette 1.0.1 → 1.3.1]
    B --> C[pyproject.toml\n>=1.3.1,<2]
    B --> D[uv.lock\nnew wheel hash]
    C --> E[Security fixes included]
    D --> E
    E --> F[FormParser max_fields enforced\n1.3.1 #3329]
    E --> G[FormParser max_part_size enforced\n1.3.1 #3331]
    E --> H[StaticFiles absolute path rejection\n1.1.0 #3287]
Loading

Reviews (1): Last reviewed commit: "chore(deps): bump starlette from 1.0.1 t..." | Re-trigger Greptile

Bumps [starlette](https://github.com/Kludex/starlette) from 1.0.1 to 1.3.1.
- [Release notes](https://github.com/Kludex/starlette/releases)
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md)
- [Commits](Kludex/starlette@1.0.1...1.3.1)

---
updated-dependencies:
- dependency-name: starlette
  dependency-version: 1.3.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants