Commit Graph

76 Commits

Author SHA256 Message Date
Dominique Leuenberger
dc085a7292 Accepting request 1193792 from devel:languages:python
- Add patch allow-starlette-0.38.patch:
  * Allow starlette 0.38.

OBS-URL: https://build.opensuse.org/request/show/1193792
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=33
2024-08-15 07:57:29 +00:00
Steve Kowalik
d8ebe5a07d - Add patch allow-starlette-0.38.patch:
* Allow starlette 0.38.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=73
2024-08-14 02:14:25 +00:00
Dominique Leuenberger
e1b9df0dd8 Accepting request 1192578 from devel:languages:python
- update to 0.112.0:
  * Add support for pip install "fastapi[standard]" with standard
    dependencies and python -m fastapi
- version 0.111.1:
  * Remove orjson and ujson from default dependencies. These
    dependencies are still installed when you install with pip install
    "fastapi[all]"
  * Restored Swagger-UI links to use the latest version possible
- version 0.111.0:
  * Add FastAPI CLI, the new fastapi command
  * Add configs and setup for fastapi-slim including optional extras
    fastapi-slim[standard], and fastapi including by default the same
    standard extras

OBS-URL: https://build.opensuse.org/request/show/1192578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=32
2024-08-13 11:22:51 +00:00
52706d147b - Use pdm-backend instead of pdm
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=71
2024-08-08 09:46:41 +00:00
701762b647 - update to 0.112.0:
* Add support for pip install "fastapi[standard]" with standard
    dependencies and python -m fastapi
- version 0.111.1:
  * Remove orjson and ujson from default dependencies. These
    dependencies are still installed when you install with pip install
    "fastapi[all]"
  * Restored Swagger-UI links to use the latest version possible
- version 0.111.0:
  * Add FastAPI CLI, the new fastapi command
  * Add configs and setup for fastapi-slim including optional extras
    fastapi-slim[standard], and fastapi including by default the same
    standard extras

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=70
2024-08-08 09:35:24 +00:00
Ana Guerrero
0037fa1259 Accepting request 1169416 from devel:languages:python
- update to 0.110.2:
  * Fix support for query parameters with list types, handle
    JSON encoding Pydantic `UndefinedType`
  * Simplify Pydantic configs in OpenAPI models in
    `fastapi/openapi/models.py`.
  * Add support for Pydantic's 2.7 new deprecated Field
    parameter, remove URL from validation errors response.
- update to 0.110.1:
  * Fix parameterless `Depends()` with generics.
  * Update mypy.
  * Simplify string format with f-strings in
    `fastapi/applications.py`.
  * Upgrade Starlette to >=0.37.2,<0.38.0, remove Starlette
    filterwarning for internal tests. PR #11266 by @nothielf.

OBS-URL: https://build.opensuse.org/request/show/1169416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=31
2024-04-30 15:25:37 +00:00
91a6062046 - update to 0.110.2:
* Fix support for query parameters with list types, handle
    JSON encoding Pydantic `UndefinedType`
  * Simplify Pydantic configs in OpenAPI models in
    `fastapi/openapi/models.py`.
  * Add support for Pydantic's 2.7 new deprecated Field
    parameter, remove URL from validation errors response.
- update to 0.110.1:
  * Fix parameterless `Depends()` with generics.
  * Update mypy.
  * Simplify string format with f-strings in
    `fastapi/applications.py`.
  * Upgrade Starlette to >=0.37.2,<0.38.0, remove Starlette
    filterwarning for internal tests. PR #11266 by @nothielf.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=68
2024-04-20 20:54:41 +00:00
Ana Guerrero
08e52fecc4 Accepting request 1156813 from devel:languages:python
- Update to 0.110.0:
  * Fix unhandled growing memory for internal server errors, refactor
    dependencies with yield and except to require raising again as in
    regular Python.
- Switch to pydantic version 2 by pulling in pydantic-settings.

OBS-URL: https://build.opensuse.org/request/show/1156813
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=30
2024-03-14 16:42:13 +00:00
Steve Kowalik
648ab7e202 - Update to 0.110.0:
* Fix unhandled growing memory for internal server errors, refactor
    dependencies with yield and except to require raising again as in
    regular Python.
- Switch to pydantic version 2 by pulling in pydantic-settings.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=66
2024-03-11 03:30:34 +00:00
Ana Guerrero
969ba972f9 Accepting request 1146442 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1146442
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=29
2024-02-14 22:18:54 +00:00
5f0f633282 - update to 0.109.1 [bsc#1219610] CVE-2024-24762:
* Upgrade minimum version of `python-multipart` to `>=0.0.7`
    to fix a vulnerability when using form data with a ReDos
    attack. You can also simply upgrade `python-multipart`.
  * Read more in the advisory: Content-Type Header ReDoS.
  * Include HTTP 205 in status codes with no body.
  * Fix broken link in `docs/tutorial/sql-databases.md` in
    several languages.
  * Remove broken links from `external_links.yml`.
  * Update template docs with more info about `url_for`. PR
    #5937 by @EzzEddin.
  * Update usage of Token model in security docs.
  * Update highlighted line in `docs/en/docs/tutorial/bigger-
    applications.md`.
  * Add External Link: Explore How to Effectively Use JWT With
    FastAPI.
  * Add hyperlink to `docs/en/docs/tutorial/static-files.md`.
  * Add External Link: Instrument a FastAPI service adding
    tracing with OpenTelemetry and send/show traces in Grafana
    Tempo.
  * Review and rewording of `en/docs/contributing.md`.
  * Add External Link: ML serving and monitoring with FastAPI
    and Evidently.
  * Reword in docs, from "have in mind" to "keep in mind".
  * Add External Link: Talk by Jeny Sadadia.
  * Add location info to `tutorial/bigger-applications.md`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=64
2024-02-06 14:27:23 +00:00
Ana Guerrero
e3bfa57df8 Accepting request 1138589 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1138589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=28
2024-01-21 22:07:36 +00:00
e8cf72301d Accepting request 1138505 from home:bnavigator:branches:devel:languages:python
- Update to 0.109.0
  * Add support for Python 3.12. PR #10666 by @Jamim.
  * Upgrade Starlette to >=0.35.0,<0.36.0. PR #10938 by @tiangolo.
  * Translation updates

OBS-URL: https://build.opensuse.org/request/show/1138505
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=62
2024-01-14 15:17:29 +00:00
Ana Guerrero
827d1599f9 Accepting request 1135254 from devel:languages:python
- update to 0.108.0:
  * Upgrade Starlette to `>=0.29.0,<0.33.0`, update docs and
    usage of templates with new Starlette arguments.

OBS-URL: https://build.opensuse.org/request/show/1135254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=27
2023-12-28 21:54:33 +00:00
cb01d48d36 - update to 0.108.0:
* Upgrade Starlette to `>=0.29.0,<0.33.0`, update docs and
    usage of templates with new Starlette arguments.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=60
2023-12-27 09:45:15 +00:00
Ana Guerrero
f7a4508d9f Accepting request 1133051 from devel:languages:python
- update to 0.105.0:
  * Add support for multiple Annotated annotations, e.g.
    `Annotated[str, Field(), Query()]`.
  * Remove unused NoneType.
  * Tweak default suggested configs for generating clients.

OBS-URL: https://build.opensuse.org/request/show/1133051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=26
2023-12-15 20:46:47 +00:00
34a815a779 - update to 0.105.0:
* Add support for multiple Annotated annotations, e.g.
    `Annotated[str, Field(), Query()]`.
  * Remove unused NoneType.
  * Tweak default suggested configs for generating clients.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=58
2023-12-14 10:15:07 +00:00
Ana Guerrero
ff901d9cca Accepting request 1124010 from devel:languages:python
- update to 0.104.1:
  * Pin Swagger UI version to 5.9.0 temporarily to handle a bug
    crashing it in 5.9.1.
  * Update data structure and render for external-links.
  * Fix link to SPDX license identifier in
    `docs/en/docs/tutorial/metadata.md`.
  * Update example validation error from Pydantic v1 to match
    Pydantic v2 in `docs/en/docs/tutorial/path-params.md`.
  * Fix typos in emoji docs and in some source examples.
  * Fix typo in `docs/en/docs/reference/dependencies.md`.
  * Fix typos and rewordings in `docs/en/docs/tutorial/body-
    nested-models.md`.
  * Update docs, remove references to removed
    `pydantic.Required` in `docs/en/docs/tutorial/query-params-
    str-validations.md`.
  * Fix typo in `docs/en/docs/reference/index.md`.
  * Update Pydantic links to dotenv support.
  * Update links in `docs/en/docs/async.md` and
    `docs/zh/docs/async.md` to make them relative.
  * Fix links in `docs/em/docs/async.md`.
  * Fix typo in `docs/em/docs/index.md`

    with custom docstrings for BackgroundTasks, refactor docs structure.
 * dd support for openapi_examples in all FastAPI parameters.
- update to 0.97.0:
    - Add exception handler for WebSocketRequestValidationError
    - Upgrade and fully migrate to Ruff, remove isort, includes a
    - Update internal type annotations and upgrade mypy.
    - Simplify AsyncExitStackMiddleware as without Python 3.6
- Update to version 0.96.0:

OBS-URL: https://build.opensuse.org/request/show/1124010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=25
2023-11-08 21:16:49 +00:00
40113d6cb6 - update to 0.104.1:
* Pin Swagger UI version to 5.9.0 temporarily to handle a bug
    crashing it in 5.9.1.
  * Update data structure and render for external-links.
  * Fix link to SPDX license identifier in
    `docs/en/docs/tutorial/metadata.md`.
  * Update example validation error from Pydantic v1 to match
    Pydantic v2 in `docs/en/docs/tutorial/path-params.md`.
  * Fix typos in emoji docs and in some source examples.
  * Fix typo in `docs/en/docs/reference/dependencies.md`.
  * Fix typos and rewordings in `docs/en/docs/tutorial/body-
    nested-models.md`.
  * Update docs, remove references to removed
    `pydantic.Required` in `docs/en/docs/tutorial/query-params-
    str-validations.md`.
  * Fix typo in `docs/en/docs/reference/index.md`.
  * Update Pydantic links to dotenv support.
  * Update links in `docs/en/docs/async.md` and
    `docs/zh/docs/async.md` to make them relative.
  * Fix links in `docs/em/docs/async.md`.
  * Fix typo in `docs/em/docs/index.md`
    with custom docstrings for BackgroundTasks, refactor docs structure.
 * dd support for openapi_examples in all FastAPI parameters.
- update to 0.97.0:
    - Add exception handler for WebSocketRequestValidationError
    - Upgrade and fully migrate to Ruff, remove isort, includes a
    - Update internal type annotations and upgrade mypy.
    - Simplify AsyncExitStackMiddleware as without Python 3.6
- Update to version 0.96.0:
    - Update Deta deployment tutorial for compatibility with Deta

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=56
2023-11-07 14:35:08 +00:00
Ana Guerrero
55f035113f Accepting request 1119161 from devel:languages:python
- update to 0.104.0
 * Add reference (code API) docs with PEP 727, add subclass
    with custom docstrings for BackgroundTasks, refactor docs structure. 
- disable test_dependency_gets_exception -> https://github.com/tiangolo/fastapi/discussions/9934

OBS-URL: https://build.opensuse.org/request/show/1119161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=24
2023-10-20 21:16:26 +00:00
4c93a070ae OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=54 2023-10-20 07:14:32 +00:00
95f813a778 Accepting request 1118904 from home:mimi_vx:branches:devel:languages:python
- update to 0.104.0
- disable test_dependency_gets_exception -> https://github.com/tiangolo/fastapi/discussions/9934
 * Add reference (code API) docs with PEP 727, add subclass
    with custom docstrings for BackgroundTasks, refactor docs structure.

OBS-URL: https://build.opensuse.org/request/show/1118904
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=53
2023-10-19 12:46:55 +00:00
Ana Guerrero
686417e0a6 Accepting request 1114616 from devel:languages:python
- update to 0.103.2
 * support Pydantic2 2.4 (forwarded request 1114615 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/1114616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=23
2023-10-02 18:04:09 +00:00
4f735f7c94 Accepting request 1114615 from home:mimi_vx:branches:devel:languages:python
- update to 0.103.2
 * support Pydantic2 2.4

OBS-URL: https://build.opensuse.org/request/show/1114615
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=51
2023-10-01 15:36:21 +00:00
ad0ebf3f6e Accepting request 1113613 from home:mimi_vx:branches:devel:languages:python
- update to 0.103.1
 * dd support for openapi_examples in all FastAPI parameters. 
 * Refactor tests for new Pydantic 2.2.1
 * Add ResponseValidationError printable details, to show up in server error logs.
 * Replace MultHostUrl to AnyUrl for compatibility with older versions of Pydantic v1.
 * Support for Pydantic v2

OBS-URL: https://build.opensuse.org/request/show/1113613
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=50
2023-09-26 16:49:04 +00:00
Dominique Leuenberger
d03434a233 Accepting request 1096434 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1096434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=22
2023-07-05 13:30:44 +00:00
744bdad826 - update to 0.98.0:
* Allow disabling `redirect_slashes` at the FastAPI app
    level.
  * Update `Annotated` notes in `docs/en/docs/tutorial/schema-
    extra-example.md`. PR #9620 by @Alexandrhub.
  * Fix typo `Annotation` -> `Annotated` in
    `docs/en/docs/tutorial/query-params-str-validations.md`.
  * Use in memory database for testing SQL in docs.
  * Add Russian translation for
    `docs/ru/docs/tutorial/metadata.md`.
  * Fix typo in Spanish translation for
    `docs/es/docs/tutorial/first-steps.md`.
  * Add Russian translation for `docs/tutorial/path-operation-
    configuration.md`.
  * Add Chinese translation for
    `docs/zh/docs/advanced/security/index.md`.
  * Add Chinese translations for
    `docs/zh/docs/advanced/settings.md`.
  * Add Chinese translations for
    `docs/zh/docs/advanced/websockets.md`.
  * Add Chinese translation for
    `docs/zh/docs/tutorial/testing.md`.
  * Add Russian translation for `docs/tutorial/extra-
    models.md`.
  * Add Russian translation for `docs/tutorial/cors.md`.
  * Add Polish translation for `docs/pl/docs/features.md`.
  * Add Russian translation for `docs/ru/docs/tutorial/body-
    nested-models.md`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=48
2023-06-25 17:58:49 +00:00
Dominique Leuenberger
8280d42483 Accepting request 1093963 from devel:languages:python
- update to 0.97.0: 
  * Features
    - Add support for dependencies in WebSocket routes.
    - Add exception handler for WebSocketRequestValidationError 
      (which also allows to override it).
  * Refactors
    - Upgrade and fully migrate to Ruff, remove isort, includes a 
      couple of tweaks suggested by the new version of Ruff.
    - Update internal type annotations and upgrade mypy. 
    - Simplify AsyncExitStackMiddleware as without Python 3.6 
      AsyncExitStack is always available.
  * Upgrades
    - Upgrade Black.

OBS-URL: https://build.opensuse.org/request/show/1093963
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=21
2023-06-21 20:37:02 +00:00
2916e6be3a delete old tarball
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=46
2023-06-20 11:10:33 +00:00
5bb205f806 Accepting request 1093954 from home:david.anes:branches:devel:languages:python
- update to 0.97.0: 
  * Features
    - Add support for dependencies in WebSocket routes.
    - Add exception handler for WebSocketRequestValidationError 
      (which also allows to override it).
  * Refactors
    - Upgrade and fully migrate to Ruff, remove isort, includes a 
      couple of tweaks suggested by the new version of Ruff.
    - Update internal type annotations and upgrade mypy. 
    - Simplify AsyncExitStackMiddleware as without Python 3.6 
      AsyncExitStack is always available.
  * Upgrades
    - Upgrade Black.

OBS-URL: https://build.opensuse.org/request/show/1093954
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=45
2023-06-20 10:51:59 +00:00
Dominique Leuenberger
07a669cc15 Accepting request 1092291 from devel:languages:python
- update to 0.96.1:
  * Fix `HTTPException` header type annotations.
  * Fix OpenAPI model fields int validations, `gte` to `ge`.
  * Update minimum version of Pydantic to >=1.7.4.

OBS-URL: https://build.opensuse.org/request/show/1092291
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=20
2023-06-12 13:24:54 +00:00
6427129d95 - update to 0.96.1:
* Fix `HTTPException` header type annotations.
  * Fix OpenAPI model fields int validations, `gte` to `ge`.
  * Update minimum version of Pydantic to >=1.7.4.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=43
2023-06-11 11:54:19 +00:00
Dominique Leuenberger
59957a39e4 Accepting request 1091086 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1091086
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=19
2023-06-07 21:06:19 +00:00
David Anes
92db804b3a Accepting request 1091044 from home:david.anes:branches:devel:languages:python
- Update to version 0.96.0: 
  * Features
    - Update create_cloned_field to use a global cache and improve
      startup performance.
  * Docs
    - Update Deta deployment tutorial for compatibility with Deta 
      Space.
    - Fix typo in Deta deployment tutorial.
  * Translations
    - Add Russian translation for docs/tutorial/body.md.
    - Add Russian translation for docs/ru/docs/tutorial/static-files.md.
    - Add Russian translation for docs/ru/docs/tutorial/query-params.md.
    - Add Russian translation for docs/ru/docs/tutorial/first-steps.md.
    - Add Russian translation for docs/ru/docs/tutorial/debugging.md.
    - Add Russian translation for docs/ru/docs/tutorial/path-params.md.
    - Add Chinese translation for docs/zh/docs/tutorial/static-files.md.
    - Update Spanish translation including new illustrations in docs/es/docs/async.md.
    - Add Russian translation for docs/ru/docs/tutorial/path-params-numeric-validations.md.
    - Add Russian translation for docs/ru/docs/deployment/concepts.md.
    - Add Russian translation for docs/ru/docs/tutorial/body-multiple-params.md.

OBS-URL: https://build.opensuse.org/request/show/1091044
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=41
2023-06-06 12:25:20 +00:00
Dominique Leuenberger
51999b08da Accepting request 1087525 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1087525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=18
2023-05-18 13:18:14 +00:00
David Anes
7fc5d792b4 Accepting request 1087524 from home:david.anes:branches:devel:languages:python
- 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
2023-05-17 08:05:24 +00:00
Dominique Leuenberger
6b371e16d8 Accepting request 1085243 from devel:languages:python
- test against sqlalchemy 1.x

OBS-URL: https://build.opensuse.org/request/show/1085243
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=17
2023-05-09 11:07:05 +00:00
0ad578b6d6 - test against sqlalchemy 1.x
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=37
2023-05-06 15:45:51 +00:00
Dominique Leuenberger
e1e704d0a9 Accepting request 1079329 from devel:languages:python
- Update to 0.95.1:
  * Fix using Annotated in routers or path operations decorated multiple
    times.
- Add patch remove-classifiers.patch:
  * Remove unknown classifiers.

OBS-URL: https://build.opensuse.org/request/show/1079329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=16
2023-05-03 10:56:12 +00:00
Steve Kowalik
2cfb93d68a - Update to 0.95.1:
* Fix using Annotated in routers or path operations decorated multiple
    times.
- Add patch remove-classifiers.patch:
  * Remove unknown classifiers.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=35
2023-04-14 04:24:38 +00:00
Dominique Leuenberger
08ef9fac9f Accepting request 1073491 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1073491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=15
2023-03-24 14:15:48 +00:00
David Anes
a8a3e16ea7 Accepting request 1073490 from home:david.anes:branches:openSUSE:Factory:Staging:L
- Ignore extra tests to allow building with ringdisabled.

OBS-URL: https://build.opensuse.org/request/show/1073490
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=33
2023-03-21 08:57:10 +00:00
36b764e115 Accepting request 1073258 from home:david.anes:branches:devel:languages:python
- 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
2023-03-20 14:38:50 +00:00
Dominique Leuenberger
e96dfc1434 Accepting request 1071972 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1071972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=14
2023-03-19 15:15:40 +00:00
96d40c3062 Accepting request 1071442 from home:david.anes:branches:devel:languages:python
- 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
2023-03-15 08:21:33 +00:00
fa7b1ac21f Accepting request 1070705 from home:david.anes:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1070705
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=29
2023-03-10 12:06:08 +00:00
Dominique Leuenberger
42e431f8ed Accepting request 1066272 from devel:languages:python
- Update to 0.92.0:
  * Upgrades
    - Upgrade Starlette to 0.25.0. This solves a vulnerability that
      could allow denial of service attacks by using many small 
      multipart fields/files (parts), consuming high CPU and memory.
      Only applications using forms (e.g. file uploads) could be 
      affected. For most cases, upgrading won't have any breaking 
      changes.

OBS-URL: https://build.opensuse.org/request/show/1066272
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=13
2023-02-19 17:18:46 +00:00
e7f3758648 Accepting request 1066232 from home:david.anes:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1066232
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=27
2023-02-16 17:38:11 +00:00
Dominique Leuenberger
2057fc9c74 Accepting request 1064387 from devel:languages:python
- 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
2023-02-13 15:39:23 +00:00
David Anes
dc4c9d2452 Accepting request 1064385 from home:david.anes:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1064385
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=25
2023-02-11 11:52:31 +00:00