- Update to 0.91.0:
* Upgrades
- Upgrade Starlette version to 0.24.0 and refactor internals for
compatibility. This can solve nuanced errors when using
middlewares. Before Starlette 0.24.0, a new instance of each
middleware class would be created when a new middleware was
added. That normally was not a problem, unless the middleware
class expected to be created only once, with only one
instance, that happened in some cases. This upgrade would
solve those cases. Now the middleware class instances are
created once, right before the first request (the first time
the app is called). If you depended on that previous behavior,
you might need to update your code. As always, make sure your
tests pass before merging the upgrade.
- Update to 0.90.1:
* Upgrades
- Upgrade Starlette range to allow 0.23.1.
* Docs
- Tweak wording to clarify docs/en/docs/project-generation.md.
- Update Pydantic GitHub URLs.
- Add opinion from Cisco.
* Translations
- Add Russian translation for docs/ru/docs/tutorial/cookie-params.md
- Update to 0.90.0:
* Upgrades
- Bump Starlette from 0.22.0 to 0.23.0.
* Docs
- Add article "Tortoise ORM / FastAPI 整合快速筆記" to External
Links.
- Update FastAPI People.
- Micro-tweak help docs.
- Update new issue chooser to direct to GitHub Discussions.
- Recommend GitHub Discussions for questions.
* Translations
- Add Russian translation for docs/ru/docs/tutorial/body-fields.md.
- Add Russian translation for docs/ru/docs/help-fastapi.md.
- Add Portuguese translation for docs/pt/docs/tutorial/static-files.md.
- Add Portuguese translation for docs/pt/docs/tutorial/encoder.md.
- Add Russian translation for docs/ru/docs/contributing.md.
OBS-URL: https://build.opensuse.org/request/show/1064387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=12
- 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
- Remove flit from build requirements: The real used backend
is hatchling
- Clean up specfile
* remove duplicate copyright header
* remove catchall in files section
- Drop python-fastapi-disable-broken-tests.patch
- Prune the test suite when run in lettered staging projects:
python-mocket pulls this into Ring1. Let's make it as painless as
possible.
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=10
- 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