Upgrading fastapi 0.9 to 0.10
Review needed0.9.1 → 0.10.2New4Changed1Fixed1Other1
Review neededUpgrade verdict
1 changed default.
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 Dependant(*, path_params: List[Field]=…, query_params: List[Field]=…, header_params: List[Field]=…, cookie_params: List[Field]=…, body_params: List[Field]=…, dependencies: List[Dependant]=…, security_schemes: List[SecurityRequirement]=…, name: str=…, call: Callable=…, request_param_name: str=…) -> None → constructor Dependant(*, path_params: List[Field]=…, query_params: List[Field]=…, header_params: List[Field]=…, cookie_params: List[Field]=…, body_params: List[Field]=…, dependencies: List[Dependant]=…, security_schemes: List[SecurityRequirement]=…, name: str=…, call: Callable=…, request_param_name: str=…, background_tasks_param_name: str=…) -> None
- changed:
async function solve_dependencies(*, request: Request, dependant: Dependant, body: Dict[str, Any]=…) -> Tuple[Dict[str, Any], List[ErrorWrapper]] → async function solve_dependencies(*, request: Request, dependant: Dependant, body: Dict[str, Any]=…, background_tasks: BackgroundTasks=…) -> Tuple[Dict[str, Any], List[ErrorWrapper], Optional[BackgroundTasks]]
- changed:
field Operation.responses: Union[Responses, Dict[Union[str], Response]] → field Operation.responses: Union[Responses, Dict[str, Response]] - changed:
field Schema.additionalProperties: Optional[Union[bool, SchemaBase]] → field Schema.additionalProperties: Optional[Union[SchemaBase, bool]] - changed:
field SchemaBase.additionalProperties: Optional[Union[bool, Any]] → field SchemaBase.additionalProperties: Optional[Union[Dict[str, Any], bool]]