Upgrading fastapi 0.38 to 0.39
Safe0.38.1 → 0.39.0New3
SafeUpgrade verdict
Only new features and fixes in this range.
In plain terms
- Nothing in this range needs changes to your code. It adds features and fixes.
Must act Nothing to change
No breaking, platform, security or deprecated items in this range.
Nothing in this upgrade needs a code or configuration change.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- changed:
constructor FastAPI(debug: bool=…, routes: List[BaseRoute]=…, template_directory: str=…, title: str=…, description: str=…, version: str=…, openapi_url: Optional[str]=…, openapi_prefix: str=…, docs_url: Optional[str]=…, redoc_url: Optional[str]=…, swagger_ui_oauth2_redirect_url: Optional[str]=…, **extra: Dict[str, Any]) -> None → constructor FastAPI(debug: bool=…, routes: List[BaseRoute]=…, template_directory: str=…, title: str=…, description: str=…, version: str=…, openapi_url: Optional[str]=…, openapi_prefix: str=…, default_response_class: Type[Response]=…, docs_url: Optional[str]=…, redoc_url: Optional[str]=…, swagger_ui_oauth2_redirect_url: Optional[str]=…, **extra: Dict[str, Any]) -> None - changed:
method FastAPI.include_router(router: routing.APIRouter, *, prefix: str=…, tags: List[str]=…, dependencies: Sequence[Depends]=…, responses: Dict[Union[int, str], Dict[str, Any]]=…) -> None → 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
- changed:
function get_param_field(*, param: inspect.Parameter, default_schema: Type[params.Param]=…, force_type: params.ParamTypes=…) -> Field → function get_param_field(*, param: inspect.Parameter, default_schema: Type[params.Param]=…, force_type: params.ParamTypes=…, ignore_default: bool=…) -> Field - added:
function get_typed_annotation(param: inspect.Parameter, globalns: Dict[str, Any]) -> Any - added:
function get_typed_signature(call: Callable) -> inspect.Signature
- changed:
method APIRouter.include_router(router: APIRouter, *, prefix: str=…, tags: List[str]=…, dependencies: Sequence[params.Depends]=…, responses: Dict[Union[int, str], Dict[str, Any]]=…) -> None → 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