Skip to content

Upgrading fastapi 0.53 to 0.54

Breaking0.53.2 → 0.54.2Breaking1New20Changed6Fixed1Other1

BreakingUpgrade verdict

1 breaking change.

  • Remove obsolete vote link.
1 item needs code or config changes
Breaking1
Remove obsolete vote link.

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

  • changed: function jsonable_encoder(obj: Any, include: Union[SetIntStr, DictIntStrAny]=…, exclude: Union[SetIntStr, DictIntStrAny]=…, by_alias: bool=…, skip_defaults: bool=…, exclude_unset: bool=…, include_none: bool=…, custom_encoder: dict=…, sqlalchemy_safe: bool=…) -> Any → 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
  • changed: async function serialize_response(*, field: ModelField=…, response_content: Any, include: Union[SetIntStr, DictIntStrAny]=…, exclude: Union[SetIntStr, DictIntStrAny]=…, by_alias: bool=…, exclude_unset: bool=…, is_coroutine: bool=…) -> Any → 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
  • 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=…, dependency_overrides_provider: Any=…) -> Callable → 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…