Fastapi

Latest version: v0.115.5

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 19 of 33

0.58.1

Not secure
* Add link in docs to Pydantic data types. PR [1612](https://github.com/tiangolo/fastapi/pull/1612) by [tayoogunbiyi](https://github.com/tayoogunbiyi).
* Fix link in warning logs for `openapi_prefix`. PR [1611](https://github.com/tiangolo/fastapi/pull/1611) by [bavaria95](https://github.com/bavaria95).
* Fix bad link in docs. PR [1603](https://github.com/tiangolo/fastapi/pull/1603) by [molto0504](https://github.com/molto0504).
* Add Vim temporary files to `.gitignore` for contributors using Vim. PR [1590](https://github.com/tiangolo/fastapi/pull/1590) by [asheux](https://github.com/asheux).
* Fix typo in docs for sub-applications. PR [1578](https://github.com/tiangolo/fastapi/pull/1578) by [schlpbch](https://github.com/schlpbch).
* Use `Optional` in all the examples in the docs. Original PR [1574](https://github.com/tiangolo/fastapi/pull/1574) by [chrisngyn](https://github.com/chrisngyn), [kx-chen](https://github.com/kx-chen), [YKo20010](https://github.com/YKo20010). Updated and merged PR [#1644](https://github.com/tiangolo/fastapi/pull/1644).
* Update tests and handling of `response_model_by_alias`. PR [1642](https://github.com/tiangolo/fastapi/pull/1642).
* Add translation to Chinese for [Body - Fields - 请求体 - 字段](https://fastapi.tiangolo.com/zh/tutorial/body-fields/). PR [#1569](https://github.com/tiangolo/fastapi/pull/1569) by [waynerv](https://github.com/waynerv).
* Update Chinese translation of main page. PR [1564](https://github.com/tiangolo/fastapi/pull/1564) by [waynerv](https://github.com/waynerv).
* Add translation to Chinese for [Body - Multiple Parameters - 请求体 - 多个参数](https://fastapi.tiangolo.com/zh/tutorial/body-multiple-params/). PR [#1532](https://github.com/tiangolo/fastapi/pull/1532) by [waynerv](https://github.com/waynerv).
* Add translation to Chinese for [Path Parameters and Numeric Validations - 路径参数和数值校验](https://fastapi.tiangolo.com/zh/tutorial/path-params-numeric-validations/). PR [#1506](https://github.com/tiangolo/fastapi/pull/1506) by [waynerv](https://github.com/waynerv).
* Add GitHub action to auto-label approved PRs (mainly for translations). PR [1638](https://github.com/tiangolo/fastapi/pull/1638).

0.58.0

Not secure
* Deep merge OpenAPI responses to preserve all the additional metadata. PR [1577](https://github.com/tiangolo/fastapi/pull/1577).
* Mention in docs that only main app events are run (not sub-apps). PR [1554](https://github.com/tiangolo/fastapi/pull/1554) by [amacfie](https://github.com/amacfie).
* Fix body validation error response, do not include body variable when it is not embedded. PR [1553](https://github.com/tiangolo/fastapi/pull/1553) by [amacfie](https://github.com/amacfie).
* Fix testing OAuth2 security scopes when using dependency overrides. PR [1549](https://github.com/tiangolo/fastapi/pull/1549) by [amacfie](https://github.com/amacfie).
* Fix Model for JSON Schema keyword `not` as a JSON Schema instead of a list. PR [1548](https://github.com/tiangolo/fastapi/pull/1548) by [v-do](https://github.com/v-do).
* Add support for OpenAPI `servers`. PR [1547](https://github.com/tiangolo/fastapi/pull/1547) by [mikaello](https://github.com/mikaello).

0.57.0

Not secure
* Remove broken link from "External Links". PR [1565](https://github.com/tiangolo/fastapi/pull/1565) by [victorphoenix3](https://github.com/victorphoenix3).
* Update/fix docs for [WebSockets with dependencies](https://fastapi.tiangolo.com/advanced/websockets/#using-depends-and-others). Original PR [1540](https://github.com/tiangolo/fastapi/pull/1540) by [ChihSeanHsu](https://github.com/ChihSeanHsu).
* Add support for Python's `http.HTTPStatus` in `status_code` parameters. PR [1534](https://github.com/tiangolo/fastapi/pull/1534) by [retnikt](https://github.com/retnikt).
* When using Pydantic models with `__root__`, use the internal value in `jsonable_encoder`. PR [1524](https://github.com/tiangolo/fastapi/pull/1524) by [patrickkwang](https://github.com/patrickkwang).
* Update docs for path parameters. PR [1521](https://github.com/tiangolo/fastapi/pull/1521) by [yankeexe](https://github.com/yankeexe).
* Update docs for first steps, links and rewording. PR [1518](https://github.com/tiangolo/fastapi/pull/1518) by [yankeexe](https://github.com/yankeexe).
* Enable `showCommonExtensions` in Swagger UI to show additional validations like `maxLength`, etc. PR [1466](https://github.com/tiangolo/fastapi/pull/1466) by [TiewKH](https://github.com/TiewKH).
* Make `OAuth2PasswordRequestFormStrict` importable directly from `fastapi.security`. PR [1462](https://github.com/tiangolo/fastapi/pull/1462) by [RichardHoekstra](https://github.com/RichardHoekstra).
* Add docs about [Default response class](https://fastapi.tiangolo.com/advanced/custom-response/#default-response-class). PR [1455](https://github.com/tiangolo/fastapi/pull/1455) by [TezRomacH](https://github.com/TezRomacH).
* Add note in docs about additional parameters `response_model_exclude_defaults` and `response_model_exclude_none` in [Response Model](https://fastapi.tiangolo.com/tutorial/response-model/#use-the-response_model_exclude_unset-parameter). PR [1427](https://github.com/tiangolo/fastapi/pull/1427) by [wshayes](https://github.com/wshayes).
* Add note about [PyCharm Pydantic plugin](https://github.com/koxudaxi/pydantic-pycharm-plugin) to docs. PR [#1420](https://github.com/tiangolo/fastapi/pull/1420) by [koxudaxi](https://github.com/koxudaxi).
* Update and clarify testing function name. PR [1395](https://github.com/tiangolo/fastapi/pull/1395) by [chenl](https://github.com/chenl).
* Fix duplicated headers created by indirect dependencies that use the request directly. PR [1386](https://github.com/tiangolo/fastapi/pull/1386) by [obataku](https://github.com/obataku) from tests by [scottsmith2gmail](https://github.com/scottsmith2gmail).
* Upgrade Starlette version to `0.13.4`. PR [1361](https://github.com/tiangolo/fastapi/pull/1361) by [rushton](https://github.com/rushton).
* Improve error handling and feedback for requests with invalid JSON. PR [1354](https://github.com/tiangolo/fastapi/pull/1354) by [aviramha](https://github.com/aviramha).
* Add support for declaring metadata for tags in OpenAPI. New docs at [Tutorial - Metadata and Docs URLs - Metadata for tags](https://fastapi.tiangolo.com/tutorial/metadata/#metadata-for-tags). PR [1348](https://github.com/tiangolo/fastapi/pull/1348) by [thomas-maschler](https://github.com/thomas-maschler).
* Add basic setup for Russian translations. PR [1566](https://github.com/tiangolo/fastapi/pull/1566).
* Remove obsolete Chinese articles after adding official community translations. PR [1510](https://github.com/tiangolo/fastapi/pull/1510) by [waynerv](https://github.com/waynerv).
* Add `__repr__` for *path operation function* parameter helpers (like `Query`, `Depends`, etc) to simplify debugging. PR [1560](https://github.com/tiangolo/fastapi/pull/1560) by [rkbeatss](https://github.com/rkbeatss) and [victorphoenix3](https://github.com/victorphoenix3).

0.56.1

Not secure
* Add link to advanced docs from tutorial. PR [1512](https://github.com/tiangolo/fastapi/pull/1512) by [kx-chen](https://github.com/kx-chen).
* Remove internal unnecessary f-strings. PR [1526](https://github.com/tiangolo/fastapi/pull/1526) by [kotamatsuoka](https://github.com/kotamatsuoka).
* Add translation to Chinese for [Query Parameters and String Validations - 查询参数和字符串校验](https://fastapi.tiangolo.com/zh/tutorial/query-params-str-validations/). PR [#1500](https://github.com/tiangolo/fastapi/pull/1500) by [waynerv](https://github.com/waynerv).
* Add translation to Chinese for [Request Body - 请求体](https://fastapi.tiangolo.com/zh/tutorial/body/). PR [#1492](https://github.com/tiangolo/fastapi/pull/1492) by [waynerv](https://github.com/waynerv).
* Add translation to Chinese for [Help FastAPI - Get Help - 帮助 FastAPI - 获取帮助](https://fastapi.tiangolo.com/zh/help-fastapi/). PR [#1465](https://github.com/tiangolo/fastapi/pull/1465) by [waynerv](https://github.com/waynerv).
* Add translation to Chinese for [Query Parameters - 查询参数](https://fastapi.tiangolo.com/zh/tutorial/query-params/). PR [#1454](https://github.com/tiangolo/fastapi/pull/1454) by [waynerv](https://github.com/waynerv).
* Add translation to Chinese for [Contributing - 开发 - 贡献](https://fastapi.tiangolo.com/zh/contributing/). PR [#1460](https://github.com/tiangolo/fastapi/pull/1460) by [waynerv](https://github.com/waynerv).
* Add translation to Chinese for [Path Parameters - 路径参数](https://fastapi.tiangolo.com/zh/tutorial/path-params/). PR [#1453](https://github.com/tiangolo/fastapi/pull/1453) by [waynerv](https://github.com/waynerv).
* Add official Microsoft project generator for [serving spaCy with FastAPI and Azure Cognitive Skills](https://github.com/microsoft/cookiecutter-spacy-fastapi) to [Project Generators](https://fastapi.tiangolo.com/project-generation/). PR [#1390](https://github.com/tiangolo/fastapi/pull/1390) by [kabirkhan](https://github.com/kabirkhan).
* Update docs in [Python Types Intro](https://fastapi.tiangolo.com/python-types/) to include info about `Optional`. Original PR [#1377](https://github.com/tiangolo/fastapi/pull/1377) by [yaegassy](https://github.com/yaegassy).
* Fix support for callable class dependencies with `yield`. PR [1365](https://github.com/tiangolo/fastapi/pull/1365) by [mrosales](https://github.com/mrosales).
* Fix/remove incorrect error logging when a client sends invalid payloads. PR [1351](https://github.com/tiangolo/fastapi/pull/1351) by [dbanty](https://github.com/dbanty).
* Add translation to Chinese for [First Steps - 第一步](https://fastapi.tiangolo.com/zh/tutorial/first-steps/). PR [#1323](https://github.com/tiangolo/fastapi/pull/1323) by [waynerv](https://github.com/waynerv).
* Fix generating OpenAPI for apps using callbacks with routers including Pydantic models. PR [1322](https://github.com/tiangolo/fastapi/pull/1322) by [nsidnev](https://github.com/nsidnev).
* Optimize internal regex performance in `get_path_param_names()`. PR [1243](https://github.com/tiangolo/fastapi/pull/1243) by [heckad](https://github.com/heckad).
* Remove `*,` from functions in docs where it's not needed. PR [1239](https://github.com/tiangolo/fastapi/pull/1239) by [pankaj-giri](https://github.com/pankaj-giri).
* Start translations for Italian. PR [1557](https://github.com/tiangolo/fastapi/pull/1557) by [csr](https://github.com/csr).

0.56.0

Not secure
* Add support for ASGI `root_path`:
* Use `root_path` internally for mounted applications, so that OpenAPI and the docs UI works automatically without extra configurations and parameters.
* Add new `root_path` parameter for `FastAPI` applications to provide it in cases where it can be set with the command line (e.g. for Uvicorn and Hypercorn, with the parameter `--root-path`).
* Deprecate `openapi_prefix` parameter in favor of the new `root_path` parameter.
* Add new/updated docs for [Sub Applications - Mounts](https://fastapi.tiangolo.com/advanced/sub-applications/), without `openapi_prefix` (as it is now handled automatically).
* Add new/updated docs for [Behind a Proxy](https://fastapi.tiangolo.com/advanced/behind-a-proxy/), including how to setup a local testing proxy with Traefik and using `root_path`.
* Update docs for [Extending OpenAPI](https://fastapi.tiangolo.com/advanced/extending-openapi/) with the new `openapi_prefix` parameter passed (internally generated from `root_path`).
* Original PR [1199](https://github.com/tiangolo/fastapi/pull/1199) by [iksteen](https://github.com/iksteen).
* Update new issue templates and docs: [Help FastAPI - Get Help](https://fastapi.tiangolo.com/help-fastapi/). PR [#1531](https://github.com/tiangolo/fastapi/pull/1531).
* Update GitHub action issue-manager. PR [1520](https://github.com/tiangolo/fastapi/pull/1520).
* Add new links:
* **English articles**:
* [Real-time Notifications with Python and Postgres](https://wuilly.com/2019/10/real-time-notifications-with-python-and-postgres/) by [Guillermo Cruz](https://wuilly.com/).
* [Microservice in Python using FastAPI](https://dev.to/paurakhsharma/microservice-in-python-using-fastapi-24cc) by [Paurakh Sharma Humagain](https://twitter.com/PaurakhSharma).
* [Build simple API service with Python FastAPI — Part 1](https://dev.to/cuongld2/build-simple-api-service-with-python-fastapi-part-1-581o) by [cuongld2](https://dev.to/cuongld2).
* [FastAPI + Zeit.co = 🚀](https://paulsec.github.io/posts/fastapi_plus_zeit_serverless_fu/) by [Paul Sec](https://twitter.com/PaulWebSec).
* [Build a web API from scratch with FastAPI - the workshop](https://dev.to/tiangolo/build-a-web-api-from-scratch-with-fastapi-the-workshop-2ehe) by [Sebastián Ramírez (tiangolo)](https://twitter.com/tiangolo).
* [Build a Secure Twilio Webhook with Python and FastAPI](https://www.twilio.com/blog/build-secure-twilio-webhook-python-fastapi) by [Twilio](https://www.twilio.com).
* [Using FastAPI with Django](https://www.stavros.io/posts/fastapi-with-django/) by [Stavros Korokithakis](https://twitter.com/Stavros).
* [Introducing Dispatch](https://netflixtechblog.com/introducing-dispatch-da4b8a2a8072) by [Netflix](https://netflixtechblog.com/).
* **Podcasts**:
* [Build The Next Generation Of Python Web Applications With FastAPI - Episode 259 - interview to Sebastían Ramírez (tiangolo)](https://www.pythonpodcast.com/fastapi-web-application-framework-episode-259/) by [Podcast.`__init__`](https://www.pythonpodcast.com/).
* **Talks**:
* [PyConBY 2020: Serve ML models easily with FastAPI](https://www.youtube.com/watch?v=z9K5pwb0rt8) by [Sebastián Ramírez (tiangolo)](https://twitter.com/tiangolo).
* [[VIRTUAL] Py.Amsterdam's flying Software Circus: Intro to FastAPI](https://www.youtube.com/watch?v=PnpTY1f4k2U) by [Sebastián Ramírez (tiangolo)](https://twitter.com/tiangolo).
* PR [1467](https://github.com/tiangolo/fastapi/pull/1467).
* Add translation to Chinese for [Python Types Intro - Python 类型提示简介](https://fastapi.tiangolo.com/zh/python-types/). PR [#1197](https://github.com/tiangolo/fastapi/pull/1197) by [waynerv](https://github.com/waynerv).

0.55.1

Not secure
* Fix handling of enums with their own schema in path parameters. To support [samuelcolvin/pydantic1432](https://github.com/samuelcolvin/pydantic/pull/1432) in FastAPI. PR [#1463](https://github.com/tiangolo/fastapi/pull/1463).

Page 19 of 33

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.