Change8

0.49.0

📦 starletteView on GitHub →
3 features🔧 5 symbols

Summary

Starlette 0.49.0 adds an `encoding` option to Config, improves cookie handling, and tightens WebSocketEndpoint typing, while refining Middleware exception handling.

✨ New Features

  • Add `encoding` parameter to `Config` class (see PR #2996).
  • Support multiple cookie headers in `Request.cookies` (see PR #3029).
  • Use `Literal` type for `WebSocketEndpoint` encoding values (see PR #3027).

🔧 Affected Symbols

ConfigRequest.cookiesWebSocketEndpointMiddlewareBaseHTTPMiddleware