Upgrading fastapi 0.56 to 0.57
Breaking0.56.1 → 0.57.0Breaking2New8Changed5Fixed2Other2
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- Remove broken link from "External Links".
- Remove obsolete Chinese articles after adding official community translations.
Must act 2 items need code or config changes
What you must change
Breaking2
Remove broken link from "External Links".
Remove obsolete Chinese articles after adding official community translations.
API changes
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]=…, default_response_class: Type[Response]=…, docs_url: Optional[str]=…, redoc_url: Optional[str]=…, swagger_ui_oauth2_redirect_url: Optional[str]=…, swagger_ui_init_oauth: Optional[dict]=…, middleware: Sequence[Middleware]=…, exception_handlers: Dict[Union[… → constructor FastAPI(*, debug: bool=…, routes: List[BaseRoute]=…, title: str=…, description: str=…, version: str=…, openapi_url: Optional[str]=…, openapi_tags: Optional[List[Dict[str, Any]]]=…, default_response_class: Type[Response]=…, docs_url: Optional[str]=…, redoc_url: Optional[str]=…, swagger_ui_oauth2_redirect_url: Optional[str]=…, swagger_ui_init_oauth: Optional[dict]=…, middleware: Sequenc…
- changed:
function get_openapi(*, title: str, version: str, openapi_version: str=…, description: str=…, routes: Sequence[BaseRoute], openapi_prefix: str=…) -> Dict → function get_openapi(*, title: str, version: str, openapi_version: str=…, description: str=…, routes: Sequence[BaseRoute], openapi_prefix: str=…, tags: Optional[List[Dict[str, Any]]]=…) -> Dict
- added:
export OAuth2PasswordRequestFormStrict