Fastapi

Latest version: v0.111.0

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

Scan your dependencies

Page 20 of 31

0.46.0

Not secure
* Fix typos and tweak configs. PR [837](https://github.com/tiangolo/fastapi/pull/837).
* Add link to Chinese article in [External Links](https://fastapi.tiangolo.com/external-links/). PR [810](https://github.com/tiangolo/fastapi/pull/810) by [wxq0309](https://github.com/wxq0309).
* Implement `OAuth2AuthorizationCodeBearer` class. PR [797](https://github.com/tiangolo/fastapi/pull/797) by [kuwv](https://github.com/kuwv).
* Update example upgrade in docs main page. PR [795](https://github.com/tiangolo/fastapi/pull/795) by [cdeil](https://github.com/cdeil).
* Fix callback handling for sub-routers. PR [792](https://github.com/tiangolo/fastapi/pull/792) by [jekirl](https://github.com/jekirl).
* Fix typos. PR [784](https://github.com/tiangolo/fastapi/pull/784) by [kkinder](https://github.com/kkinder).
* Add 4 Japanese articles to [External Links](https://fastapi.tiangolo.com/external-links/). PR [#783](https://github.com/tiangolo/fastapi/pull/783) by [HymanZHAN](https://github.com/HymanZHAN).
* Add support for subtypes of main types in `jsonable_encoder`, e.g. asyncpg's UUIDs. PR [756](https://github.com/tiangolo/fastapi/pull/756) by [RmStorm](https://github.com/RmStorm).
* Fix usage of Pydantic's `HttpUrl` in docs. PR [832](https://github.com/tiangolo/fastapi/pull/832) by [Dustyposa](https://github.com/Dustyposa).
* Fix Twitter links in docs. PR [813](https://github.com/tiangolo/fastapi/pull/813) by [justindujardin](https://github.com/justindujardin).
* Add docs for correctly [using FastAPI with Peewee ORM](https://fastapi.tiangolo.com/tutorial/sql-databases-peewee/). Including how to overwrite parts of Peewee to correctly handle async threads. PR [#789](https://github.com/tiangolo/fastapi/pull/789).

0.45.0

Not secure
* Add support for OpenAPI Callbacks:
* New docs: [OpenAPI Callbacks](https://fastapi.tiangolo.com/tutorial/openapi-callbacks/).
* Refactor generation of `operationId`s to be valid Python names (also valid variables in most languages).
* Add `default_response_class` parameter to `APIRouter`.
* Original PR [722](https://github.com/tiangolo/fastapi/pull/722) by [booooh](https://github.com/booooh).
* Refactor logging to use the same logger everywhere, update log strings and levels. PR [781](https://github.com/tiangolo/fastapi/pull/781).
* Add article to [External Links](https://fastapi.tiangolo.com/external-links/): [Почему Вы должны попробовать FastAPI?](https://habr.com/ru/post/478620/). PR [#766](https://github.com/tiangolo/fastapi/pull/766) by [prostomarkeloff](https://github.com/prostomarkeloff).
* Remove gender bias in docs for handling errors. PR [780](https://github.com/tiangolo/fastapi/pull/780). Original idea in PR [#761](https://github.com/tiangolo/fastapi/pull/761) by [classywhetten](https://github.com/classywhetten).
* Rename docs and references to `body-schema` to `body-fields` to keep in line with Pydantic. PR [746](https://github.com/tiangolo/fastapi/pull/746) by [prostomarkeloff](https://github.com/prostomarkeloff).

0.44.1

Not secure
* Add GitHub social preview images to git. PR [752](https://github.com/tiangolo/fastapi/pull/752).
* Update PyPI "trove classifiers". PR [751](https://github.com/tiangolo/fastapi/pull/751).
* Add full support for Python 3.8. Enable Python 3.8 in full in Travis. PR [749](https://github.com/tiangolo/fastapi/pull/749).
* Update "new issue" templates. PR [749](https://github.com/tiangolo/fastapi/pull/749).
* Fix serialization of errors for exotic Pydantic types. PR [748](https://github.com/tiangolo/fastapi/pull/748) by [dmontagu](https://github.com/dmontagu).

0.44.0

Not secure
* Add GitHub action [Issue Manager](https://github.com/tiangolo/issue-manager). PR [#742](https://github.com/tiangolo/fastapi/pull/742).
* Fix typos in docs. PR [734](https://github.com/tiangolo/fastapi/pull/734) by [bundabrg](https://github.com/bundabrg).
* Fix usage of `custom_encoder` in `jsonable_encoder`. PR [715](https://github.com/tiangolo/fastapi/pull/715) by [matrixise](https://github.com/matrixise).
* Fix invalid XML example. PR [710](https://github.com/tiangolo/fastapi/pull/710) by [OcasoProtal](https://github.com/OcasoProtal).
* Fix typos and update wording in deployment docs. PR [700](https://github.com/tiangolo/fastapi/pull/700) by [marier-nico](https://github.com/tiangolo/fastapi/pull/700).
* Add note about dependencies in `APIRouter` docs. PR [698](https://github.com/tiangolo/fastapi/pull/698) by [marier-nico](https://github.com/marier-nico).
* Add support for async class methods as dependencies [681](https://github.com/tiangolo/fastapi/pull/681) by [frankie567](https://github.com/frankie567).
* Add FastAPI with Swagger UI cheatsheet to external links. PR [671](https://github.com/tiangolo/fastapi/pull/671) by [euri10](https://github.com/euri10).
* Fix typo in HTTP protocol in CORS example. PR [647](https://github.com/tiangolo/fastapi/pull/647) by [forestmonster](https://github.com/forestmonster).
* Add support for Pydantic versions `1.0.0` and above, with temporary (deprecated) backwards compatibility for Pydantic `0.32.2`. PR [646](https://github.com/tiangolo/fastapi/pull/646) by [dmontagu](https://github.com/dmontagu).

0.43.0

Not secure
* Update docs to reduce gender bias. PR [645](https://github.com/tiangolo/fastapi/pull/645) by [ticosax](https://github.com/ticosax).
* Add docs about [overriding the `operationId` for all the *path operations*](https://fastapi.tiangolo.com/tutorial/path-operation-advanced-configuration/#using-the-path-operation-function-name-as-the-operationid) based on their function name. PR [642](https://github.com/tiangolo/fastapi/pull/642) by [SKalt](https://github.com/SKalt).
* Fix validators in models generating an incorrect key order. PR [637](https://github.com/tiangolo/fastapi/pull/637) by [jaddison](https://github.com/jaddison).
* Generate correct OpenAPI docs for responses with no content. PR [621](https://github.com/tiangolo/fastapi/pull/621) by [brotskydotcom](https://github.com/brotskydotcom).
* Remove `$` from Bash code blocks in docs for consistency. PR [613](https://github.com/tiangolo/fastapi/pull/613) by [nstapelbroek](https://github.com/nstapelbroek).
* Add docs for [self-serving docs' (Swagger UI) static assets](https://fastapi.tiangolo.com/tutorial/extending-openapi/#self-hosting-javascript-and-css-for-docs), e.g. to use the docs offline, or without Internet. Initial PR [557](https://github.com/tiangolo/fastapi/pull/557) by [svalouch](https://github.com/svalouch).
* Fix `black` linting after upgrade. PR [682](https://github.com/tiangolo/fastapi/pull/682) by [frankie567](https://github.com/frankie567).

0.42.0

Not secure
* Add dependencies with `yield`, a.k.a. exit steps, context managers, cleanup, teardown, ...
* This allows adding extra code after a dependency is done. It can be used, for example, to close database connections.
* Dependencies with `yield` can be normal or `async`, **FastAPI** will run normal dependencies in a threadpool.
* They can be combined with normal dependencies.
* It's possible to have arbitrary trees/levels of dependencies with `yield` and exit steps are handled in the correct order automatically.
* It works by default in Python 3.7 or above. For Python 3.6, it requires the extra backport dependencies:
* `async-exit-stack`
* `async-generator`
* New docs at [Dependencies with `yield`](https://fastapi.tiangolo.com/tutorial/dependencies/dependencies-with-yield/).
* Updated database docs [SQL (Relational) Databases: Main **FastAPI** app](https://fastapi.tiangolo.com/tutorial/sql-databases/#main-fastapi-app).
* PR [595](https://github.com/tiangolo/fastapi/pull/595).
* Fix `sitemap.xml` in website. PR [598](https://github.com/tiangolo/fastapi/pull/598) by [samuelcolvin](https://github.com/samuelcolvin).

Page 20 of 31

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.