Skip to content

Upgrading fastapi 0.59 to 0.60

Breaking0.59.0 → 0.60.2Breaking1Security1New13Changed7Fixed9Other5

BreakingUpgrade verdict

1 breaking change and a security fix.

  • Remove docs preview comment from each commit.
  • Upgrade Starlette to version 0.13.6 to handle a vulnerability when using static files in Windows.
2 items need code or config changes
Breaking1
Remove docs preview comment from each commit.
Security1
Upgrade Starlette to version 0.13.6 to handle a vulnerability when using static files in Windows.

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

  • changed: constructor FastAPI(*, debug: bool=…, routes: List[BaseRoute]=…, title: str=…, description: str=…, version: str=…, openapi_url: Optional[str]=…, openapi_tags: Optional[List[Dict[str, Any]]]=…, servers: Optional[List[Dict[str, Union[str, Any]]]]=…, default_response_class: Type[Response]=…, docs_url: Optional[str]=…, redoc_url: Optional[str]=…, swagger_ui_oauth2_redirect_url: Optional[str]=…, swagg… → constructor FastAPI(*, debug: bool=…, routes: Optional[List[BaseRoute]]=…, title: str=…, description: str=…, version: str=…, openapi_url: Optional[str]=…, openapi_tags: Optional[List[Dict[str, Any]]]=…, servers: Optional[List[Dict[str, Union[str, Any]]]]=…, default_response_class: Type[Response]=…, docs_url: Optional[str]=…, redoc_url: Optional[str]=…, swagger_ui_oauth2_redirect_url: Optional[str…
  • changed: method FastAPI.add_api_route(path: str, endpoint: Callable, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, methods: List[str]=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAn… → method FastAPI.add_api_route(path: str, endpoint: Callable, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, methods: Optional[List[str…
  • changed: method FastAPI.add_api_websocket_route(path: str, endpoint: Callable, name: str=…) -> None → method FastAPI.add_api_websocket_route(path: str, endpoint: Callable, name: Optional[str]=…) -> None
  • changed: method FastAPI.api_route(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, methods: List[str]=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exc… → method FastAPI.api_route(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, methods: Optional[List[str]]=…, operation_id: Opti…
  • changed: method FastAPI.delete(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetIntStr, Di… → method FastAPI.delete(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_model_include…
  • changed: method FastAPI.get(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetIntStr, DictI… → method FastAPI.get(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_model_include: O…
  • changed: method FastAPI.head(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetIntStr, Dict… → method FastAPI.head(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_model_include:…
  • changed: method FastAPI.include_router(router: routing.APIRouter, *, prefix: str=…, tags: List[str]=…, dependencies: Sequence[Depends]=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, default_response_class: Optional[Type[Response]]=…) -> None → method FastAPI.include_router(router: routing.APIRouter, *, prefix: str=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[Depends]]=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, default_response_class: Optional[Type[Response]]=…) -> None
  • changed: method FastAPI.options(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetIntStr, D… → method FastAPI.options(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_model_includ…
  • changed: method FastAPI.patch(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetIntStr, Dic… → method FastAPI.patch(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_model_include:…
  • changed: method FastAPI.post(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetIntStr, Dict… → method FastAPI.post(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_model_include:…
  • changed: method FastAPI.put(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetIntStr, DictI… → method FastAPI.put(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_model_include: O…
  • changed: method FastAPI.trace(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetIntStr, Dic… → method FastAPI.trace(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_model_include:…
  • changed: method FastAPI.websocket(path: str, name: str=…) -> Callable → method FastAPI.websocket(path: str, name: Optional[str]=…) -> Callable
  • changed: constructor Dependant(*, path_params: List[ModelField]=…, query_params: List[ModelField]=…, header_params: List[ModelField]=…, cookie_params: List[ModelField]=…, body_params: List[ModelField]=…, dependencies: List[Dependant]=…, security_schemes: List[SecurityRequirement]=…, name: str=…, call: Callable=…, request_param_name: str=…, websocket_param_name: str=…, response_param_name: str=…, backgroun… → constructor Dependant(*, path_params: Optional[List[ModelField]]=…, query_params: Optional[List[ModelField]]=…, header_params: Optional[List[ModelField]]=…, cookie_params: Optional[List[ModelField]]=…, body_params: Optional[List[ModelField]]=…, dependencies: Optional[List[Dependant]]=…, security_schemes: Optional[List[SecurityRequirement]]=…, name: Optional[str]=…, call: Optional[Callable]=…, req…
  • changed: constructor SecurityRequirement(security_scheme: SecurityBase, scopes: Sequence[str]=…) → constructor SecurityRequirement(security_scheme: SecurityBase, scopes: Optional[Sequence[str]]=…)
  • changed: async function solve_dependencies(*, request: Union[Request, WebSocket], dependant: Dependant, body: Optional[Union[Dict[str, Any], FormData]]=…, background_tasks: BackgroundTasks=…, response: Response=…, dependency_overrides_provider: Any=…, dependency_cache: Dict[Tuple[Callable, Tuple[str]], Any]=…) -> Tuple[Dict[str, Any], List[ErrorWrapper], Optional[BackgroundTasks], Response, Dict[Tuple[Cal… → async function solve_dependencies(*, request: Union[Request, WebSocket], dependant: Dependant, body: Optional[Union[Dict[str, Any], FormData]]=…, background_tasks: Optional[BackgroundTasks]=…, response: Optional[Response]=…, dependency_overrides_provider: Optional[Any]=…, dependency_cache: Optional[Dict[Tuple[Callable, Tuple[str]], Any]]=…) -> Tuple[Dict[str, Any], List[ErrorWrapper], Optional[Ba…
  • changed: function get_dependant(*, path: str, call: Callable, name: str=…, security_scopes: List[str]=…, use_cache: bool=…) -> Dependant → function get_dependant(*, path: str, call: Callable, name: Optional[str]=…, security_scopes: Optional[List[str]]=…, use_cache: bool=…) -> Dependant
  • changed: function get_flat_dependant(dependant: Dependant, *, skip_repeats: bool=…, visited: List[CacheKey]=…) -> Dependant → function get_flat_dependant(dependant: Dependant, *, skip_repeats: bool=…, visited: Optional[List[CacheKey]]=…) -> Dependant
  • changed: function get_param_field(*, param: inspect.Parameter, param_name: str, default_field_info: Type[params.Param]=…, force_type: params.ParamTypes=…, ignore_default: bool=…) -> ModelField → function get_param_field(*, param: inspect.Parameter, param_name: str, default_field_info: Type[params.Param]=…, force_type: Optional[params.ParamTypes]=…, ignore_default: bool=…) -> ModelField
  • changed: function get_param_sub_dependant(*, param: inspect.Parameter, path: str, security_scopes: List[str]=…) -> Dependant → function get_param_sub_dependant(*, param: inspect.Parameter, path: str, security_scopes: Optional[List[str]]=…) -> Dependant
  • changed: function get_sub_dependant(*, depends: params.Depends, dependency: Callable, path: str, name: str=…, security_scopes: List[str]=…) -> Dependant → function get_sub_dependant(*, depends: params.Depends, dependency: Callable, path: str, name: Optional[str]=…, security_scopes: Optional[List[str]]=…) -> Dependant
  • added: function check_file_field(field: ModelField) -> None
  • added: variable multipart_incorrect_install_error
  • added: variable multipart_not_installed_error
  • changed: function jsonable_encoder(obj: Any, include: Union[SetIntStr, DictIntStrAny]=…, exclude: Union[SetIntStr, DictIntStrAny]=…, by_alias: bool=…, skip_defaults: bool=…, exclude_unset: bool=…, exclude_defaults: bool=…, exclude_none: bool=…, custom_encoder: dict=…, sqlalchemy_safe: bool=…) -> Any → function jsonable_encoder(obj: Any, include: Optional[Union[SetIntStr, DictIntStrAny]]=…, exclude: Union[SetIntStr, DictIntStrAny]=…, by_alias: bool=…, skip_defaults: Optional[bool]=…, exclude_unset: bool=…, exclude_defaults: bool=…, exclude_none: bool=…, custom_encoder: dict=…, sqlalchemy_safe: bool=…) -> Any
  • changed: constructor HTTPException(status_code: int, detail: Any=…, headers: dict=…) -> None → constructor HTTPException(status_code: int, detail: Any=…, headers: Optional[Dict[str, Any]]=…) -> None
  • changed: function get_openapi(*, title: str, version: str, openapi_version: str=…, description: str=…, routes: Sequence[BaseRoute], tags: Optional[List[Dict[str, Any]]]=…, servers: Optional[List[Dict[str, Union[str, Any]]]]=…) -> Dict → function get_openapi(*, title: str, version: str, openapi_version: str=…, description: Optional[str]=…, routes: Sequence[BaseRoute], tags: Optional[List[Dict[str, Any]]]=…, servers: Optional[List[Dict[str, Union[str, Any]]]]=…) -> Dict
  • changed: function Body(default: Any, *, embed: bool=…, media_type: str=…, alias: str=…, title: str=…, description: str=…, gt: float=…, ge: float=…, lt: float=…, le: float=…, min_length: int=…, max_length: int=…, regex: str=…, **extra: Any) -> Any → function Body(default: Any, *, embed: bool=…, media_type: str=…, alias: Optional[str]=…, title: Optional[str]=…, description: Optional[str]=…, gt: Optional[float]=…, ge: Optional[float]=…, lt: Optional[float]=…, le: Optional[float]=…, min_length: Optional[int]=…, max_length: Optional[int]=…, regex: Optional[str]=…, **extra: Any) -> Any
  • changed: function Cookie(default: Any, *, alias: str=…, title: str=…, description: str=…, gt: float=…, ge: float=…, lt: float=…, le: float=…, min_length: int=…, max_length: int=…, regex: str=…, deprecated: bool=…, **extra: Any) -> Any → function Cookie(default: Any, *, alias: Optional[str]=…, title: Optional[str]=…, description: Optional[str]=…, gt: Optional[float]=…, ge: Optional[float]=…, lt: Optional[float]=…, le: Optional[float]=…, min_length: Optional[int]=…, max_length: Optional[int]=…, regex: Optional[str]=…, deprecated: Optional[bool]=…, **extra: Any) -> Any
  • changed: function Depends(dependency: Callable=…, *, use_cache: bool=…) -> Any → function Depends(dependency: Optional[Callable]=…, *, use_cache: bool=…) -> Any
  • changed: function File(default: Any, *, media_type: str=…, alias: str=…, title: str=…, description: str=…, gt: float=…, ge: float=…, lt: float=…, le: float=…, min_length: int=…, max_length: int=…, regex: str=…, **extra: Any) -> Any → function File(default: Any, *, media_type: str=…, alias: Optional[str]=…, title: Optional[str]=…, description: Optional[str]=…, gt: Optional[float]=…, ge: Optional[float]=…, lt: Optional[float]=…, le: Optional[float]=…, min_length: Optional[int]=…, max_length: Optional[int]=…, regex: Optional[str]=…, **extra: Any) -> Any
  • changed: function Form(default: Any, *, media_type: str=…, alias: str=…, title: str=…, description: str=…, gt: float=…, ge: float=…, lt: float=…, le: float=…, min_length: int=…, max_length: int=…, regex: str=…, **extra: Any) -> Any → function Form(default: Any, *, media_type: str=…, alias: Optional[str]=…, title: Optional[str]=…, description: Optional[str]=…, gt: Optional[float]=…, ge: Optional[float]=…, lt: Optional[float]=…, le: Optional[float]=…, min_length: Optional[int]=…, max_length: Optional[int]=…, regex: Optional[str]=…, **extra: Any) -> Any
  • changed: function Header(default: Any, *, alias: str=…, convert_underscores: bool=…, title: str=…, description: str=…, gt: float=…, ge: float=…, lt: float=…, le: float=…, min_length: int=…, max_length: int=…, regex: str=…, deprecated: bool=…, **extra: Any) -> Any → function Header(default: Any, *, alias: Optional[str]=…, convert_underscores: bool=…, title: Optional[str]=…, description: Optional[str]=…, gt: Optional[float]=…, ge: Optional[float]=…, lt: Optional[float]=…, le: Optional[float]=…, min_length: Optional[int]=…, max_length: Optional[int]=…, regex: Optional[str]=…, deprecated: Optional[bool]=…, **extra: Any) -> Any
  • changed: function Path(default: Any, *, alias: str=…, title: str=…, description: str=…, gt: float=…, ge: float=…, lt: float=…, le: float=…, min_length: int=…, max_length: int=…, regex: str=…, deprecated: bool=…, **extra: Any) -> Any → function Path(default: Any, *, alias: Optional[str]=…, title: Optional[str]=…, description: Optional[str]=…, gt: Optional[float]=…, ge: Optional[float]=…, lt: Optional[float]=…, le: Optional[float]=…, min_length: Optional[int]=…, max_length: Optional[int]=…, regex: Optional[str]=…, deprecated: Optional[bool]=…, **extra: Any) -> Any
  • changed: function Query(default: Any, *, alias: str=…, title: str=…, description: str=…, gt: float=…, ge: float=…, lt: float=…, le: float=…, min_length: int=…, max_length: int=…, regex: str=…, deprecated: bool=…, **extra: Any) -> Any → function Query(default: Any, *, alias: Optional[str]=…, title: Optional[str]=…, description: Optional[str]=…, gt: Optional[float]=…, ge: Optional[float]=…, lt: Optional[float]=…, le: Optional[float]=…, min_length: Optional[int]=…, max_length: Optional[int]=…, regex: Optional[str]=…, deprecated: Optional[bool]=…, **extra: Any) -> Any
  • changed: function Security(dependency: Callable=…, *, scopes: Sequence[str]=…, use_cache: bool=…) -> Any → function Security(dependency: Optional[Callable]=…, *, scopes: Optional[Sequence[str]]=…, use_cache: bool=…) -> Any
  • changed: constructor Body(default: Any, *, embed: bool=…, media_type: str=…, alias: str=…, title: str=…, description: str=…, gt: float=…, ge: float=…, lt: float=…, le: float=…, min_length: int=…, max_length: int=…, regex: str=…, **extra: Any) → constructor Body(default: Any, *, embed: bool=…, media_type: str=…, alias: Optional[str]=…, title: Optional[str]=…, description: Optional[str]=…, gt: Optional[float]=…, ge: Optional[float]=…, lt: Optional[float]=…, le: Optional[float]=…, min_length: Optional[int]=…, max_length: Optional[int]=…, regex: Optional[str]=…, **extra: Any)
  • changed: constructor Cookie(default: Any, *, alias: str=…, title: str=…, description: str=…, gt: float=…, ge: float=…, lt: float=…, le: float=…, min_length: int=…, max_length: int=…, regex: str=…, deprecated: bool=…, **extra: Any) → constructor Cookie(default: Any, *, alias: Optional[str]=…, title: Optional[str]=…, description: Optional[str]=…, gt: Optional[float]=…, ge: Optional[float]=…, lt: Optional[float]=…, le: Optional[float]=…, min_length: Optional[int]=…, max_length: Optional[int]=…, regex: Optional[str]=…, deprecated: Optional[bool]=…, **extra: Any)
  • changed: constructor Depends(dependency: Callable=…, *, use_cache: bool=…) → constructor Depends(dependency: Optional[Callable]=…, *, use_cache: bool=…)
  • changed: constructor File(default: Any, *, media_type: str=…, alias: str=…, title: str=…, description: str=…, gt: float=…, ge: float=…, lt: float=…, le: float=…, min_length: int=…, max_length: int=…, regex: str=…, **extra: Any) → constructor File(default: Any, *, media_type: str=…, alias: Optional[str]=…, title: Optional[str]=…, description: Optional[str]=…, gt: Optional[float]=…, ge: Optional[float]=…, lt: Optional[float]=…, le: Optional[float]=…, min_length: Optional[int]=…, max_length: Optional[int]=…, regex: Optional[str]=…, **extra: Any)
  • changed: constructor Form(default: Any, *, media_type: str=…, alias: str=…, title: str=…, description: str=…, gt: float=…, ge: float=…, lt: float=…, le: float=…, min_length: int=…, max_length: int=…, regex: str=…, **extra: Any) → constructor Form(default: Any, *, media_type: str=…, alias: Optional[str]=…, title: Optional[str]=…, description: Optional[str]=…, gt: Optional[float]=…, ge: Optional[float]=…, lt: Optional[float]=…, le: Optional[float]=…, min_length: Optional[int]=…, max_length: Optional[int]=…, regex: Optional[str]=…, **extra: Any)
  • changed: constructor Header(default: Any, *, alias: str=…, convert_underscores: bool=…, title: str=…, description: str=…, gt: float=…, ge: float=…, lt: float=…, le: float=…, min_length: int=…, max_length: int=…, regex: str=…, deprecated: bool=…, **extra: Any) → constructor Header(default: Any, *, alias: Optional[str]=…, convert_underscores: bool=…, title: Optional[str]=…, description: Optional[str]=…, gt: Optional[float]=…, ge: Optional[float]=…, lt: Optional[float]=…, le: Optional[float]=…, min_length: Optional[int]=…, max_length: Optional[int]=…, regex: Optional[str]=…, deprecated: Optional[bool]=…, **extra: Any)
  • changed: constructor Param(default: Any, *, alias: str=…, title: str=…, description: str=…, gt: float=…, ge: float=…, lt: float=…, le: float=…, min_length: int=…, max_length: int=…, regex: str=…, deprecated: bool=…, **extra: Any) → constructor Param(default: Any, *, alias: Optional[str]=…, title: Optional[str]=…, description: Optional[str]=…, gt: Optional[float]=…, ge: Optional[float]=…, lt: Optional[float]=…, le: Optional[float]=…, min_length: Optional[int]=…, max_length: Optional[int]=…, regex: Optional[str]=…, deprecated: Optional[bool]=…, **extra: Any)
  • changed: constructor Path(default: Any, *, alias: str=…, title: str=…, description: str=…, gt: float=…, ge: float=…, lt: float=…, le: float=…, min_length: int=…, max_length: int=…, regex: str=…, deprecated: bool=…, **extra: Any) → constructor Path(default: Any, *, alias: Optional[str]=…, title: Optional[str]=…, description: Optional[str]=…, gt: Optional[float]=…, ge: Optional[float]=…, lt: Optional[float]=…, le: Optional[float]=…, min_length: Optional[int]=…, max_length: Optional[int]=…, regex: Optional[str]=…, deprecated: Optional[bool]=…, **extra: Any)
  • changed: constructor Query(default: Any, *, alias: str=…, title: str=…, description: str=…, gt: float=…, ge: float=…, lt: float=…, le: float=…, min_length: int=…, max_length: int=…, regex: str=…, deprecated: bool=…, **extra: Any) → constructor Query(default: Any, *, alias: Optional[str]=…, title: Optional[str]=…, description: Optional[str]=…, gt: Optional[float]=…, ge: Optional[float]=…, lt: Optional[float]=…, le: Optional[float]=…, min_length: Optional[int]=…, max_length: Optional[int]=…, regex: Optional[str]=…, deprecated: Optional[bool]=…, **extra: Any)
  • changed: constructor Security(dependency: Callable=…, *, scopes: Sequence[str]=…, use_cache: bool=…) → constructor Security(dependency: Optional[Callable]=…, *, scopes: Optional[Sequence[str]]=…, use_cache: bool=…)
  • changed: async function serialize_response(*, field: ModelField=…, response_content: Any, include: Union[SetIntStr, DictIntStrAny]=…, exclude: Union[SetIntStr, DictIntStrAny]=…, by_alias: bool=…, exclude_unset: bool=…, exclude_defaults: bool=…, exclude_none: bool=…, is_coroutine: bool=…) -> Any → async function serialize_response(*, field: Optional[ModelField]=…, response_content: Any, include: Optional[Union[SetIntStr, DictIntStrAny]]=…, exclude: Union[SetIntStr, DictIntStrAny]=…, by_alias: bool=…, exclude_unset: bool=…, exclude_defaults: bool=…, exclude_none: bool=…, is_coroutine: bool=…) -> Any
  • changed: constructor APIRoute(path: str, endpoint: Callable, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, name: str=…, methods: Optional[Union[Set[str], List[str]]]=…, operation_id: str=…, response_model… → constructor APIRoute(path: str, endpoint: Callable, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[params.Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, name: Optional[str]=…, meth…
  • changed: constructor APIRouter(routes: List[routing.BaseRoute]=…, redirect_slashes: bool=…, default: ASGIApp=…, dependency_overrides_provider: Any=…, route_class: Type[APIRoute]=…, default_response_class: Type[Response]=…, on_startup: Sequence[Callable]=…, on_shutdown: Sequence[Callable]=…) -> None → constructor APIRouter(routes: Optional[List[routing.BaseRoute]]=…, redirect_slashes: bool=…, default: Optional[ASGIApp]=…, dependency_overrides_provider: Optional[Any]=…, route_class: Type[APIRoute]=…, default_response_class: Optional[Type[Response]]=…, on_startup: Optional[Sequence[Callable]]=…, on_shutdown: Optional[Sequence[Callable]]=…) -> None
  • changed: constructor APIWebSocketRoute(path: str, endpoint: Callable, *, name: str=…, dependency_overrides_provider: Any=…) -> None → constructor APIWebSocketRoute(path: str, endpoint: Callable, *, name: Optional[str]=…, dependency_overrides_provider: Optional[Any]=…) -> None
  • changed: function get_request_handler(dependant: Dependant, body_field: ModelField=…, status_code: int=…, response_class: Type[Response]=…, response_field: ModelField=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetIntStr, DictIntStrAny]=…, response_model_by_alias: bool=…, response_model_exclude_unset: bool=…, response_model_exclude_defaults: bool=…, response… → function get_request_handler(dependant: Dependant, body_field: Optional[ModelField]=…, status_code: int=…, response_class: Type[Response]=…, response_field: Optional[ModelField]=…, response_model_include: Optional[Union[SetIntStr, DictIntStrAny]]=…, response_model_exclude: Union[SetIntStr, DictIntStrAny]=…, response_model_by_alias: bool=…, response_model_exclude_unset: bool=…, response_model_excl…
  • changed: function get_websocket_app(dependant: Dependant, dependency_overrides_provider: Any=…) -> Callable → function get_websocket_app(dependant: Dependant, dependency_overrides_provider: Optional[Any]=…) -> Callable
  • changed: method APIRouter.add_api_route(path: str, endpoint: Callable, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, methods: Optional[Union[Set[str], List[str]]]=…, operation_id: str=…, response_model_in… → method APIRouter.add_api_route(path: str, endpoint: Callable, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[params.Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, methods: Optional…
  • changed: method APIRouter.add_api_websocket_route(path: str, endpoint: Callable, name: str=…) -> None → method APIRouter.add_api_websocket_route(path: str, endpoint: Callable, name: Optional[str]=…) -> None
  • changed: method APIRouter.api_route(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, methods: List[str]=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_… → method APIRouter.api_route(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[params.Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, methods: Optional[List[str]]=…, operation…
  • changed: method APIRouter.delete(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetI… → method APIRouter.delete(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[params.Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_mode…
  • changed: method APIRouter.get(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetIntS… → method APIRouter.get(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[params.Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_model_i…
  • changed: method APIRouter.head(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetInt… → method APIRouter.head(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[params.Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_model_…
  • changed: method APIRouter.include_router(router: APIRouter, *, prefix: str=…, tags: List[str]=…, dependencies: Sequence[params.Depends]=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, default_response_class: Optional[Type[Response]]=…) -> None → method APIRouter.include_router(router: APIRouter, *, prefix: str=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[params.Depends]]=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, default_response_class: Optional[Type[Response]]=…) -> None
  • changed: method APIRouter.options(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[Set… → method APIRouter.options(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[params.Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_mod…
  • changed: method APIRouter.patch(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetIn… → method APIRouter.patch(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[params.Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_model…
  • changed: method APIRouter.post(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetInt… → method APIRouter.post(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[params.Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_model_…
  • changed: method APIRouter.put(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetIntS… → method APIRouter.put(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[params.Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_model_i…
  • changed: method APIRouter.trace(path: str, *, response_model: Type[Any]=…, status_code: int=…, tags: List[str]=…, dependencies: Sequence[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Union[SetIntStr, DictIntStrAny]=…, response_model_exclude: Union[SetIn… → method APIRouter.trace(path: str, *, response_model: Optional[Type[Any]]=…, status_code: int=…, tags: Optional[List[str]]=…, dependencies: Optional[Sequence[params.Depends]]=…, summary: Optional[str]=…, description: Optional[str]=…, response_description: str=…, responses: Optional[Dict[Union[int, str], Dict[str, Any]]]=…, deprecated: Optional[bool]=…, operation_id: Optional[str]=…, response_model…
  • changed: method APIRouter.websocket(path: str, name: str=…) -> Callable → method APIRouter.websocket(path: str, name: Optional[str]=…) -> Callable
  • changed: constructor APIKeyCookie(*, name: str, scheme_name: str=…, auto_error: bool=…) → constructor APIKeyCookie(*, name: str, scheme_name: Optional[str]=…, auto_error: bool=…)
  • changed: constructor APIKeyHeader(*, name: str, scheme_name: str=…, auto_error: bool=…) → constructor APIKeyHeader(*, name: str, scheme_name: Optional[str]=…, auto_error: bool=…)
  • changed: constructor APIKeyQuery(*, name: str, scheme_name: str=…, auto_error: bool=…) → constructor APIKeyQuery(*, name: str, scheme_name: Optional[str]=…, auto_error: bool=…)
  • changed: constructor HTTPBase(*, scheme: str, scheme_name: str=…, auto_error: bool=…) → constructor HTTPBase(*, scheme: str, scheme_name: Optional[str]=…, auto_error: bool=…)
  • changed: constructor HTTPBasic(*, scheme_name: str=…, realm: str=…, auto_error: bool=…) → constructor HTTPBasic(*, scheme_name: Optional[str]=…, realm: Optional[str]=…, auto_error: bool=…)
  • changed: constructor HTTPBearer(*, bearerFormat: str=…, scheme_name: str=…, auto_error: bool=…) → constructor HTTPBearer(*, bearerFormat: Optional[str]=…, scheme_name: Optional[str]=…, auto_error: bool=…)
  • changed: constructor HTTPDigest(*, scheme_name: str=…, auto_error: bool=…) → constructor HTTPDigest(*, scheme_name: Optional[str]=…, auto_error: bool=…)
  • changed: constructor OAuth2(*, flows: OAuthFlowsModel=…, scheme_name: str=…, auto_error: bool=…) → constructor OAuth2(*, flows: OAuthFlowsModel=…, scheme_name: Optional[str]=…, auto_error: Optional[bool]=…)
  • changed: constructor OAuth2AuthorizationCodeBearer(authorizationUrl: str, tokenUrl: str, refreshUrl: str=…, scheme_name: str=…, scopes: dict=…, auto_error: bool=…) → constructor OAuth2AuthorizationCodeBearer(authorizationUrl: str, tokenUrl: str, refreshUrl: Optional[str]=…, scheme_name: Optional[str]=…, scopes: Optional[dict]=…, auto_error: bool=…)
  • changed: constructor OAuth2PasswordBearer(tokenUrl: str, scheme_name: str=…, scopes: dict=…, auto_error: bool=…) → constructor OAuth2PasswordBearer(tokenUrl: str, scheme_name: Optional[str]=…, scopes: Optional[dict]=…, auto_error: bool=…)
  • changed: constructor SecurityScopes(scopes: List[str]=…) → constructor SecurityScopes(scopes: Optional[List[str]]=…)
  • changed: constructor OpenIdConnect(*, openIdConnectUrl: str, scheme_name: str=…, auto_error: bool=…) → constructor OpenIdConnect(*, openIdConnectUrl: str, scheme_name: Optional[str]=…, auto_error: bool=…)
  • changed: function create_cloned_field(field: ModelField, *, cloned_types: Dict[Type[BaseModel], Type[BaseModel]]=…) -> ModelField → function create_cloned_field(field: ModelField, *, cloned_types: Optional[Dict[Type[BaseModel], Type[BaseModel]]]=…) -> ModelField