Skip to content

Upgrading fastapi 0.57 to 0.58

Review needed0.57.0 → 0.58.1New8Changed2Fixed6Other2

Review neededUpgrade verdict

2 changed defaults.

  • Nothing in this range needs changes to your code. It adds features and fixes.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Nothing in this upgrade needs a code or configuration change.

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]]]=…, 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… → 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…
  • changed: function get_missing_field_error(field_alias: str) -> ErrorWrapper → function get_missing_field_error(loc: Tuple[str, ...]) -> ErrorWrapper
  • changed: field Schema.not_: Optional[List[SchemaBase]] → field Schema.not_: Optional[SchemaBase]
  • changed: field SchemaBase.not_: Optional[List[Any]] → field SchemaBase.not_: Optional[Any]
  • changed: field Server.url: AnyUrl → field Server.url: Union[AnyUrl, str]
  • changed: 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 → function get_openapi(*, title: str, version: str, openapi_version: str=…, description: str=…, routes: Sequence[BaseRoute], openapi_prefix: str=…, tags: Optional[List[Dict[str, Any]]]=…, servers: Optional[List[Dict[str, Union[str, Any]]]]=…) -> Dict
  • added: function deep_dict_update(main_dict: dict, update_dict: dict) -> None