- Update to version 0.95.2:
* Upgrade Starlette version to >=0.27.0 for a security release.
- Translations
* Add Portuguese translation for docs/pt/docs/advanced/events.md
* Add Russian translation for docs/ru/docs/deployment/manually.md
* Add setup for translations to Lao
* Add Russian translation for docs/ru/docs/tutorial/testing.md
* Add Russian translation for docs/ru/docs/deployment/https.md
* Fix command to install requirements in Windows.
* Add French translation for docs/fr/docs/advanced/response-directly.m*.
* Initiate Czech translation setup.
* Fix typo in Portuguese docs for docs/pt/docs/index.md
* Add Russian translation for docs/ru/docs/tutorial/response-status-co*.md
OBS-URL: https://build.opensuse.org/request/show/1087524
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=39
- Update to 0.95.0:
* Highlights
- This release adds support for dependencies and parameters
using Annotated and recommends its usage.
* Features
- Add support for PEP-593 Annotated for specifying dependencies
and parameters. PR #4871 by @nzig.
* Docs
- Tweak tip recommending Annotated in docs.
PR #9270 by @tiangolo.
- Update order of examples, latest Python version first, and
simplify version tab names. PR #9269 by @tiangolo.
- Update all docs to use Annotated as the main recommendation,
with new examples and tests. PR #9268 by @tiangolo.
OBS-URL: https://build.opensuse.org/request/show/1073258
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=32
- Update to 0.94.1:
* Fixes:
- Fix types for lifespan, upgrade Starlette to 0.26.1.
PR #9245 by @tiangolo.
- Update to 0.94.0:
* Upgrades
- Upgrade python-multipart to support 0.0.6.
PR #9212 by @musicinmybrain.
- Upgrade Starlette version, support new lifespan with state.
PR #9239 by @tiangolo.
* Docs
- Update Sentry link in docs. PR #9218 by @smeubank.
* Translations
- Add Russian translation for docs/ru/docs/history-design-future.md.
PR #5986 by @Xewus.
* Internal
- Add pydantic to PyPI classifiers. PR #5914 by @yezz123.
- Bump black from 22.10.0 to 23.1.0. PR #5953 by @dependabot[bot].
- Bump types-ujson from 5.6.0.0 to 5.7.0.1.
PR #6027 by @dependabot[bot].
- Bump dawidd6/action-download-artifact from 2.24.3 to 2.26.0.
PR #6034 by @dependabot[bot].
- [pre-commit.ci] pre-commit autoupdate.
PR #5709 by @pre-commit-ci[bot].
OBS-URL: https://build.opensuse.org/request/show/1071442
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=30
- Update to 0.89.1:
* Fixes
- Ignore Response classes on return annotation.
* Docs
- Update docs and examples for Response Model with Return Type
Annotations, and update runtime error.
- New docs at Response Model - Return Type: Other Return Type
Annotations.
- Add External Link: FastAPI lambda container: serverless
simplified.
* Translations
- Add Turkish translation for docs/tr/docs/tutorial/first_steps.md.
- Update to 0.89.0:
* Features
- Add support for function return type annotations to declare the response_model.
* Docs
- Add External Link: Authorization on FastAPI with Casbin.
- Fix typo in docs/en/docs/async.md.
- Fix typo in docs/en/docs/deployment/concepts.md.
* Translations
- Add Russian translation for docs/ru/docs/fastapi-people.md.
- Fix typo in Chinese translation for docs/zh/docs/benchmarks.md.
- Add Korean translation for docs/tutorial/cors.md.
* Internal
- Update coverage[toml] requirement from <7.0,>=6.5.0 to >=6.5.0,<8.0.
- Update uvicorn[standard] requirement from <0.19.0,>=0.12.0 to >=0.12.0,<0.21.0 for development.
- Bump dawidd6/action-download-artifact from 2.24.2 to 2.24.3.
- Update FastAPI People.
- Bump types-ujson from 5.5.0 to 5.6.0.0.
- Bump pypa/gh-action-pypi-publish from 1.5.2 to 1.6.4.
OBS-URL: https://build.opensuse.org/request/show/1057952
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=22
- Starlette newest version is already supported:
* Remove fastapi-support-startlette-0.21.0.patch
- Add patch to disable a broken test:
* Add python-fastapi-disable-broken-tests.patch
- Update to 0.88.0
* Upgrades
- arrow_up Bump Starlette to version 0.22.0 to fix bad encoding
for query parameters in new TestClient.
* Docs
- pencil2 Fix typo in docs for docs/en/docs/advanced/middleware.md.
* Translations
- globe_with_meridians Add Portuguese translation for
docs/pt/docs/deployment/docker.md.
- Update to 0.87.0
* Highlights of this release:
- Upgraded Starlette
+ Now the TestClient is based on HTTPX instead of Requests.
+ There are some possible breaking changes in the TestClient
usage, but @Kludex built bump-testclient to help you
automatize migrating your tests. Make sure you are using Git
and that you can undo any unnecessary changes (false
positive changes, etc) before using bump-testclient.
- New WebSocketException (and docs), re-exported from Starlette.
- Upgraded and relaxed dependencies for package extras all
(including new Uvicorn version), when you install
"fastapi[all]".
- New docs about how to Help Maintain FastAPI.
* Features:
- arrow_up Upgrade and relax dependencies for extras "all".
- sparkles Re-export Starlette's WebSocketException and add it
OBS-URL: https://build.opensuse.org/request/show/1038740
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=18
- Update to 0.85.2
* Docs:
- Fix grammar and add helpful links to dependencies in docs/en/docs/async.md.
- Fix broken link in alternatives.md.
- Fix typo in docs about contributing, for compatibility with pip in Zsh.
- Fix typo in docs with examples for Python 3.10 instead of 3.9.
*Translations:
- Add Portuguese translation for docs/pt/docs/tutorial/request-forms.md.
- Add Chinese translation for docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md.
- Add French translation for deployment/deta.md.
- Update Chinese translation for docs/zh/docs/tutorial/query-params-str-validations.md.
- Add Chinese translation for docs/zh/docs/tutorial/sql-databases.md.
- Add Chinese translation for docs/zh/docs/advanced/wsgi.md.
- Add Portuguese translation for docs/pt/docs/tutorial/body-multiple-params.md.
- Add Portuguese translation for docs/pt/docs/tutorial/path-params-numeric-validations.md.
- Add French translation for deployment/versions.md.
- Add French translation for docs/fr/docs/help-fastapi.md.
- Fix typo in Chinese translation for docs/zh/docs/tutorial/security/first-steps.md.
- Add Portuguese translation for docs/pt/docs/tutorial/response-status-code.md.
- Add config for Tamil translations.
OBS-URL: https://build.opensuse.org/request/show/1032841
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=14