Skip to content

fix(deps): update dependency starlette to v0.52.1#126

Merged
odrling merged 1 commit intomainfrom
renovate/starlette-0.x
Feb 12, 2026
Merged

fix(deps): update dependency starlette to v0.52.1#126
odrling merged 1 commit intomainfrom
renovate/starlette-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 11, 2026

This PR contains the following updates:

Package Change Age Confidence
starlette (changelog) ==0.50.0==0.52.1 age confidence

Release Notes

Kludex/starlette (starlette)

v0.52.1: Version 0.52.1

Compare Source

What's Changed


Full Changelog: Kludex/starlette@0.52.0...0.52.1

v0.52.0: Version 0.52.0

Compare Source

In this release, State can be accessed using dictionary-style syntax for improved type safety (#​3036).

from collections.abc import AsyncIterator
from contextlib import asynccontextmanager
from typing import TypedDict

import httpx

from starlette.applications import Starlette
from starlette.requests import Request

class State(TypedDict):
    http_client: httpx.AsyncClient

@​asynccontextmanager
async def lifespan(app: Starlette) -> AsyncIterator[State]:
    async with httpx.AsyncClient() as client:
        yield {"http_client": client}

async def homepage(request: Request[State]):
    client = request.state["http_client"]
    # If you run the below line with mypy or pyright, it will reveal the correct type.
    reveal_type(client)  # Revealed type is 'httpx.AsyncClient'

See Accessing State for more details.


Full Changelog: Kludex/starlette@0.51.0...0.52.0

v0.51.0: Version 0.51.0

Compare Source

Added

  • Add allow_private_network in CORSMiddleware #​3065.

Changed

  • Increase warning stacklevel on DeprecationWarning for wsgi module #​3082.

New Contributors

Full Changelog: Kludex/starlette@0.50.0...0.51.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/starlette-0.x branch from 4b61e75 to 70c6f02 Compare January 18, 2026 13:58
@renovate renovate bot changed the title fix(deps): update dependency starlette to v0.51.0 fix(deps): update dependency starlette to v0.52.1 Jan 18, 2026
@renovate renovate bot force-pushed the renovate/starlette-0.x branch from 70c6f02 to 4e95ff6 Compare January 24, 2026 12:29
@renovate renovate bot force-pushed the renovate/starlette-0.x branch from 4e95ff6 to 06fb3c9 Compare February 2, 2026 19:42
@renovate renovate bot force-pushed the renovate/starlette-0.x branch from 06fb3c9 to 877ccbc Compare February 12, 2026 15:49
@renovate renovate bot force-pushed the renovate/starlette-0.x branch from 877ccbc to 484ef8e Compare February 12, 2026 16:33
@odrling odrling merged commit 484ef8e into main Feb 12, 2026
4 checks passed
@renovate renovate bot deleted the renovate/starlette-0.x branch February 12, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments