Skip to content

Upgrading fastapi 0.24 to 0.25

Safe0.24.0 → 0.25.0New3

SafeUpgrade verdict

Only new features and fixes in this range.

  • 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: method FastAPI.add_api_route(path: str, endpoint: Callable, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, methods: List[str]=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Res… → method FastAPI.add_api_route(path: str, endpoint: Callable, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[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: Set[str]=…, response_model_…
  • changed: method FastAPI.api_route(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, methods: List[str]=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -… → method FastAPI.api_route(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[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: Set[str]=…, response_model_exclude: Set[str]=…, res…
  • changed: method FastAPI.delete(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method FastAPI.delete(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_alias: boo…
  • changed: method FastAPI.get(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method FastAPI.get(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_alias: bool=……
  • changed: method FastAPI.head(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method FastAPI.head(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_alias: bool=…
  • changed: method FastAPI.options(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method FastAPI.options(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_alias: bo…
  • changed: method FastAPI.patch(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method FastAPI.patch(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_alias: bool…
  • changed: method FastAPI.post(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method FastAPI.post(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_alias: bool=…
  • changed: method FastAPI.put(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method FastAPI.put(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_alias: bool=……
  • changed: method FastAPI.trace(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method FastAPI.trace(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, response_model_include: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_alias: bool…
  • changed: function jsonable_encoder(obj: Any, include: Set[str]=…, exclude: Set[str]=…, by_alias: bool=…, include_none: bool=…, custom_encoder: dict=…, sqlalchemy_safe: bool=…) -> Any → function jsonable_encoder(obj: Any, include: Set[str]=…, exclude: Set[str]=…, by_alias: bool=…, skip_defaults: bool=…, include_none: bool=…, custom_encoder: dict=…, sqlalchemy_safe: bool=…) -> Any
  • changed: constructor APIRoute(path: str, endpoint: Callable, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, name: str=…, methods: List[str]=…, operation_id: str=…, include_in_schema: bool=…, response_cla… → constructor APIRoute(path: str, endpoint: Callable, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, name: str=…, methods: List[str]=…, operation_id: str=…, response_model_include: Set[str]=…, res…
  • changed: function get_app(dependant: Dependant, body_field: Field=…, status_code: int=…, response_class: Type[Response]=…, response_field: Field=…) -> Callable → function get_app(dependant: Dependant, body_field: Field=…, status_code: int=…, response_class: Type[Response]=…, response_field: Field=…, response_model_include: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_alias: bool=…, response_model_skip_defaults: bool=…) -> Callable
  • changed: function serialize_response(*, field: Field=…, response: Response) -> Any → function serialize_response(*, field: Field=…, response: Response, include: Set[str]=…, exclude: Set[str]=…, by_alias: bool=…, skip_defaults: bool=…) -> Any
  • changed: method APIRouter.add_api_route(path: str, endpoint: Callable, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[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=…, include_in_schema: bool=…, response_class:… → method APIRouter.add_api_route(path: str, endpoint: Callable, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[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: Set[str]=…, respon…
  • changed: method APIRouter.api_route(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[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=…, include_in_schema: bool=…, response_class: Type[Response]=…, name:… → method APIRouter.api_route(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[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: Set[str]=…, response_model_exclude: Set[st…
  • changed: method APIRouter.delete(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method APIRouter.delete(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[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: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_a…
  • changed: method APIRouter.get(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method APIRouter.get(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[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: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_alia…
  • changed: method APIRouter.head(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method APIRouter.head(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[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: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_ali…
  • changed: method APIRouter.options(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method APIRouter.options(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[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: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_…
  • changed: method APIRouter.patch(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method APIRouter.patch(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[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: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_al…
  • changed: method APIRouter.post(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method APIRouter.post(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[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: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_ali…
  • changed: method APIRouter.put(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method APIRouter.put(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[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: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_alia…
  • changed: method APIRouter.trace(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[params.Depends]=…, summary: str=…, description: str=…, response_description: str=…, responses: Dict[Union[int, str], Dict[str, Any]]=…, deprecated: bool=…, operation_id: str=…, include_in_schema: bool=…, response_class: Type[Response]=…, name: str=…) -> Callable → method APIRouter.trace(path: str, *, response_model: Type[BaseModel]=…, status_code: int=…, tags: List[str]=…, dependencies: List[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: Set[str]=…, response_model_exclude: Set[str]=…, response_model_by_al…