Revisions of python-fastapi

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1169416 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 31)
- 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.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1156813 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 30)
- 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.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1146442 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 29)
Automatic submission by obs-autosubmit
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1135254 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 27)
- update to 0.108.0:
  * Upgrade Starlette to `>=0.29.0,<0.33.0`, update docs and
    usage of templates with new Starlette arguments.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1133051 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 26)
- 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.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1124010 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 25)
- 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:
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1119161 from Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) (revision 24)
- 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
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1114616 from Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) (revision 23)
- update to 0.103.2
 * support Pydantic2 2.4 (forwarded request 1114615 from mimi_vx)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1096434 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 22)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1093963 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 21)
- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1092291 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 20)
- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1085243 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 17)
- test against sqlalchemy 1.x
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1079329 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 16)
- Update to 0.95.1:
  * Fix using Annotated in routers or path operations decorated multiple
    times.
- Add patch remove-classifiers.patch:
  * Remove unknown classifiers.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1066272 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 13)
- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1064387 from David Anes's avatar David Anes (david.anes) (revision 12)
- 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.
Displaying revisions 1 - 20 of 31
openSUSE Build Service is sponsored by