Skip to content

Upgrading starlette 0.45 to 0.46

Review needed0.45.3 → 0.46.2Deprecated1New1Changed1Fixed4Other1

Review neededUpgrade verdict

1 deprecation.

  • Add deprecated warning to TestClient(timeout=...).
1 item needs code or config changes

Nothing in this upgrade needs a code or configuration change.

Deprecated1
Add deprecated warning to TestClient(timeout=...).
TestClient(timeout=...)

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • removed: field MultiPartParser.max_file_size
  • added: field MultiPartParser.max_part_size
  • added: field MultiPartParser.spool_max_size
  • removed: async method GZipResponder.send_with_gzip(message: Message) -> None
  • changed: class GZipResponder → class GZipResponder(IdentityResponder)
  • added: async method IdentityResponder.send_with_compression(message: Message) -> None
  • added: class IdentityResponder
  • added: constructor IdentityResponder(app: ASGIApp, minimum_size: int) -> None
  • added: field GZipResponder.content_encoding
  • added: field IdentityResponder.content_encoding: str
  • added: method GZipResponder.apply_compression(body: bytes, *, more_body: bool) -> bytes
  • added: method IdentityResponder.apply_compression(body: bytes, *, more_body: bool) -> bytes
  • added: variable DEFAULT_EXCLUDED_CONTENT_TYPES