Upgrading fastapi 0.12 to 0.13
Safe0.12.1 → 0.13.0New1
SafeUpgrade verdict
Only new features and fixes in this range.
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=…, background_tasks_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=…, security_scopes_param_name: str=…, security_scopes: Lis…
- changed:
function get_dependant(*, path: str, call: Callable, name: str=…) -> Dependant → function get_dependant(*, path: str, call: Callable, name: str=…, security_scopes: List[str]=…) -> Dependant - changed:
function get_sub_dependant(*, param: inspect.Parameter, path: str) -> Dependant → function get_sub_dependant(*, param: inspect.Parameter, path: str, security_scopes: List[str]=…) -> Dependant
- added:
export SecurityScopes
- added:
class SecurityScopes - added:
constructor SecurityScopes(scopes: List[str]=…)