aurweb merge requestshttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests2024-01-21T09:24:49Zhttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/783fix(deps): update dependency fastapi to ^0.109.0 - autoclosed2024-01-21T09:24:49Zrenovatefix(deps): update dependency fastapi to ^0.109.0 - autoclosedThis MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fastapi](https://github.com/tiangolo/fastapi) | `^0.104.1` -> `^0.109.0` | [![age](https://developer.mend....This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fastapi](https://github.com/tiangolo/fastapi) | `^0.104.1` -> `^0.109.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/fastapi/0.109.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/fastapi/0.109.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/fastapi/0.104.1/0.109.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/fastapi/0.104.1/0.109.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>tiangolo/fastapi (fastapi)</summary>
### [`v0.109.0`](https://github.com/tiangolo/fastapi/releases/tag/0.109.0)
[Compare Source](https://github.com/tiangolo/fastapi/compare/0.108.0...0.109.0)
##### Features
- ✨ Add support for Python 3.12. MR [#​10666](https://github.com/tiangolo/fastapi/pull/10666) by [@​Jamim](https://github.com/Jamim).
##### Upgrades
- ⬆️ Upgrade Starlette to >=0.35.0,<0.36.0. MR [#​10938](https://github.com/tiangolo/fastapi/pull/10938) by [@​tiangolo](https://github.com/tiangolo).
##### Docs
- ✏️ Fix typo in `docs/en/docs/alternatives.md`. MR [#​10931](https://github.com/tiangolo/fastapi/pull/10931) by [@​s111d](https://github.com/s111d).
- 📝 Replace `email` with `username` in `docs_src/security/tutorial007` code examples. MR [#​10649](https://github.com/tiangolo/fastapi/pull/10649) by [@​nilslindemann](https://github.com/nilslindemann).
- 📝 Add VS Code tutorial link. MR [#​10592](https://github.com/tiangolo/fastapi/pull/10592) by [@​nilslindemann](https://github.com/nilslindemann).
- 📝 Add notes about Pydantic v2's new `.model_dump()`. MR [#​10929](https://github.com/tiangolo/fastapi/pull/10929) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Fix broken link in `docs/en/docs/tutorial/sql-databases.md`. MR [#​10765](https://github.com/tiangolo/fastapi/pull/10765) by [@​HurSungYun](https://github.com/HurSungYun).
- 📝 Add External Link: FastAPI application monitoring made easy. MR [#​10917](https://github.com/tiangolo/fastapi/pull/10917) by [@​tiangolo](https://github.com/tiangolo).
- ✨ Generate automatic language names for docs translations. MR [#​5354](https://github.com/tiangolo/fastapi/pull/5354) by [@​jakul](https://github.com/jakul).
- ✏️ Fix typos in `docs/en/docs/alternatives.md` and `docs/en/docs/tutorial/dependencies/index.md`. MR [#​10906](https://github.com/tiangolo/fastapi/pull/10906) by [@​s111d](https://github.com/s111d).
- ✏️ Fix typos in `docs/en/docs/tutorial/dependencies/dependencies-with-yield.md`. MR [#​10834](https://github.com/tiangolo/fastapi/pull/10834) by [@​Molkree](https://github.com/Molkree).
- 📝 Add article: "Building a RESTful API with FastAPI: Secure Signup and Login Functionality Included". MR [#​9733](https://github.com/tiangolo/fastapi/pull/9733) by [@​dxphilo](https://github.com/dxphilo).
- 📝 Add warning about lifecycle events with `AsyncClient`. MR [#​4167](https://github.com/tiangolo/fastapi/pull/4167) by [@​andrew-chang-dewitt](https://github.com/andrew-chang-dewitt).
- ✏️ Fix typos in `/docs/reference/exceptions.md` and `/en/docs/reference/status.md`. MR [#​10809](https://github.com/tiangolo/fastapi/pull/10809) by [@​clarencepenz](https://github.com/clarencepenz).
- ✏️ Fix typo in `openapi-callbacks.md`. MR [#​10673](https://github.com/tiangolo/fastapi/pull/10673) by [@​kayjan](https://github.com/kayjan).
- ✏️ Fix typo in `fastapi/routing.py` . MR [#​10520](https://github.com/tiangolo/fastapi/pull/10520) by [@​sepsh](https://github.com/sepsh).
- 📝 Replace HTTP code returned in case of existing user error in docs for testing. MR [#​4482](https://github.com/tiangolo/fastapi/pull/4482) by [@​TristanMarion](https://github.com/TristanMarion).
- 📝 Add blog for FastAPI & Supabase. MR [#​6018](https://github.com/tiangolo/fastapi/pull/6018) by [@​theinfosecguy](https://github.com/theinfosecguy).
- 📝 Update example source files for SQL databases with SQLAlchemy. MR [#​9508](https://github.com/tiangolo/fastapi/pull/9508) by [@​s-mustafa](https://github.com/s-mustafa).
- 📝 Update code examples in docs for body, replace name `create_item` with `update_item` when appropriate. MR [#​5913](https://github.com/tiangolo/fastapi/pull/5913) by [@​OttoAndrey](https://github.com/OttoAndrey).
- ✏️ Fix typo in dependencies with yield source examples. MR [#​10847](https://github.com/tiangolo/fastapi/pull/10847) by [@​tiangolo](https://github.com/tiangolo).
##### Translations
- 🌐 Add Bengali translation for `docs/bn/docs/index.md`. MR [#​9177](https://github.com/tiangolo/fastapi/pull/9177) by [@​Fahad-Md-Kamal](https://github.com/Fahad-Md-Kamal).
- ✏️ Update Python version in `index.md` in several languages. MR [#​10711](https://github.com/tiangolo/fastapi/pull/10711) by [@​tamago3keran](https://github.com/tamago3keran).
- 🌐 Add Russian translation for `docs/ru/docs/tutorial/request-forms-and-files.md`. MR [#​10347](https://github.com/tiangolo/fastapi/pull/10347) by [@​AlertRED](https://github.com/AlertRED).
- 🌐 Add Ukrainian translation for `docs/uk/docs/index.md`. MR [#​10362](https://github.com/tiangolo/fastapi/pull/10362) by [@​rostik1410](https://github.com/rostik1410).
- ✏️ Update Python version in `docs/ko/docs/index.md`. MR [#​10680](https://github.com/tiangolo/fastapi/pull/10680) by [@​Eeap](https://github.com/Eeap).
- 🌐 Add Persian translation for `docs/fa/docs/features.md`. MR [#​5887](https://github.com/tiangolo/fastapi/pull/5887) by [@​amirilf](https://github.com/amirilf).
- 🌐 Add Chinese translation for `docs/zh/docs/advanced/additional-responses.md`. MR [#​10325](https://github.com/tiangolo/fastapi/pull/10325) by [@​ShuibeiC](https://github.com/ShuibeiC).
- 🌐 Fix typos in Russian translations for `docs/ru/docs/tutorial/background-tasks.md`, `docs/ru/docs/tutorial/body-nested-models.md`, `docs/ru/docs/tutorial/debugging.md`, `docs/ru/docs/tutorial/testing.md`. MR [#​10311](https://github.com/tiangolo/fastapi/pull/10311) by [@​AlertRED](https://github.com/AlertRED).
- 🌐 Add Russian translation for `docs/ru/docs/tutorial/request-files.md`. MR [#​10332](https://github.com/tiangolo/fastapi/pull/10332) by [@​AlertRED](https://github.com/AlertRED).
- 🌐 Add Chinese translation for `docs/zh/docs/deployment/server-workers.md`. MR [#​10292](https://github.com/tiangolo/fastapi/pull/10292) by [@​xzmeng](https://github.com/xzmeng).
- 🌐 Add Chinese translation for `docs/zh/docs/deployment/cloud.md`. MR [#​10291](https://github.com/tiangolo/fastapi/pull/10291) by [@​xzmeng](https://github.com/xzmeng).
- 🌐 Add Chinese translation for `docs/zh/docs/deployment/manually.md`. MR [#​10279](https://github.com/tiangolo/fastapi/pull/10279) by [@​xzmeng](https://github.com/xzmeng).
- 🌐 Add Chinese translation for `docs/zh/docs/deployment/https.md`. MR [#​10277](https://github.com/tiangolo/fastapi/pull/10277) by [@​xzmeng](https://github.com/xzmeng).
- 🌐 Add Chinese translation for `docs/zh/docs/deployment/index.md`. MR [#​10275](https://github.com/tiangolo/fastapi/pull/10275) by [@​xzmeng](https://github.com/xzmeng).
- 🌐 Add German translation for `docs/de/docs/tutorial/first-steps.md`. MR [#​9530](https://github.com/tiangolo/fastapi/pull/9530) by [@​fhabers21](https://github.com/fhabers21).
- 🌐 Update Turkish translation for `docs/tr/docs/index.md`. MR [#​10444](https://github.com/tiangolo/fastapi/pull/10444) by [@​hasansezertasan](https://github.com/hasansezertasan).
- 🌐 Add Chinese translation for `docs/zh/docs/learn/index.md`. MR [#​10479](https://github.com/tiangolo/fastapi/pull/10479) by [@​KAZAMA-DREAM](https://github.com/KAZAMA-DREAM).
- 🌐 Add Russian translation for `docs/ru/docs/learn/index.md`. MR [#​10539](https://github.com/tiangolo/fastapi/pull/10539) by [@​AlertRED](https://github.com/AlertRED).
- 🌐 Update SQLAlchemy instruction in Chinese translation `docs/zh/docs/tutorial/sql-databases.md`. MR [#​9712](https://github.com/tiangolo/fastapi/pull/9712) by [@​Royc30ne](https://github.com/Royc30ne).
- 🌐 Add Turkish translation for `docs/tr/docs/external-links.md`. MR [#​10549](https://github.com/tiangolo/fastapi/pull/10549) by [@​hasansezertasan](https://github.com/hasansezertasan).
- 🌐 Add Spanish translation for `docs/es/docs/learn/index.md`. MR [#​10885](https://github.com/tiangolo/fastapi/pull/10885) by [@​pablocm83](https://github.com/pablocm83).
- 🌐 Add Ukrainian translation for `docs/uk/docs/tutorial/body-fields.md`. MR [#​10670](https://github.com/tiangolo/fastapi/pull/10670) by [@​ArtemKhymenko](https://github.com/ArtemKhymenko).
- 🌐 Add Hungarian translation for `/docs/hu/docs/index.md`. MR [#​10812](https://github.com/tiangolo/fastapi/pull/10812) by [@​takacs](https://github.com/takacs).
- 🌐 Add Turkish translation for `docs/tr/docs/newsletter.md`. MR [#​10550](https://github.com/tiangolo/fastapi/pull/10550) by [@​hasansezertasan](https://github.com/hasansezertasan).
- 🌐 Add Spanish translation for `docs/es/docs/help/index.md`. MR [#​10907](https://github.com/tiangolo/fastapi/pull/10907) by [@​pablocm83](https://github.com/pablocm83).
- 🌐 Add Spanish translation for `docs/es/docs/about/index.md`. MR [#​10908](https://github.com/tiangolo/fastapi/pull/10908) by [@​pablocm83](https://github.com/pablocm83).
- 🌐 Add Spanish translation for `docs/es/docs/resources/index.md`. MR [#​10909](https://github.com/tiangolo/fastapi/pull/10909) by [@​pablocm83](https://github.com/pablocm83).
##### Internal
- 👥 Update FastAPI People. MR [#​10871](https://github.com/tiangolo/fastapi/pull/10871) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Upgrade custom GitHub Action comment-docs-preview-in-pr. MR [#​10916](https://github.com/tiangolo/fastapi/pull/10916) by [@​tiangolo](https://github.com/tiangolo).
- ⬆️ Upgrade GitHub Action latest-changes. MR [#​10915](https://github.com/tiangolo/fastapi/pull/10915) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Upgrade GitHub Action label-approved. MR [#​10913](https://github.com/tiangolo/fastapi/pull/10913) by [@​tiangolo](https://github.com/tiangolo).
- ⬆️ Upgrade GitHub Action label-approved. MR [#​10905](https://github.com/tiangolo/fastapi/pull/10905) by [@​tiangolo](https://github.com/tiangolo).
### [`v0.108.0`](https://github.com/tiangolo/fastapi/releases/tag/0.108.0)
[Compare Source](https://github.com/tiangolo/fastapi/compare/0.107.0...0.108.0)
##### Upgrades
- ⬆️ Upgrade Starlette to `>=0.29.0,<0.33.0`, update docs and usage of templates with new Starlette arguments. MR [#​10846](https://github.com/tiangolo/fastapi/pull/10846) by [@​tiangolo](https://github.com/tiangolo).
### [`v0.107.0`](https://github.com/tiangolo/fastapi/releases/tag/0.107.0)
[Compare Source](https://github.com/tiangolo/fastapi/compare/0.106.0...0.107.0)
##### Upgrades
- ⬆️ Upgrade Starlette to 0.28.0. MR [#​9636](https://github.com/tiangolo/fastapi/pull/9636) by [@​adriangb](https://github.com/adriangb).
##### Docs
- 📝 Add docs: Node.js script alternative to update OpenAPI for generated clients. MR [#​10845](https://github.com/tiangolo/fastapi/pull/10845) by [@​alejsdev](https://github.com/alejsdev).
- 📝 Restructure Docs section in Contributing page. MR [#​10844](https://github.com/tiangolo/fastapi/pull/10844) by [@​alejsdev](https://github.com/alejsdev).
### [`v0.106.0`](https://github.com/tiangolo/fastapi/releases/tag/0.106.0)
[Compare Source](https://github.com/tiangolo/fastapi/compare/0.105.0...0.106.0)
##### Breaking Changes
Using resources from dependencies with `yield` in background tasks is no longer supported.
This change is what supports the new features, read below. 🤓
##### Dependencies with `yield`, `HTTPException` and Background Tasks
Dependencies with `yield` now can raise `HTTPException` and other exceptions after `yield`. 🎉
Read the new docs here: [Dependencies with `yield` and `HTTPException`](https://fastapi.tiangolo.com/tutorial/dependencies/dependencies-with-yield/#dependencies-with-yield-and-httpexception).
```Python
from fastapi import Depends, FastAPI, HTTPException
from typing_extensions import Annotated
app = FastAPI()
data = {
"plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"},
"portal-gun": {"description": "Gun to create portals", "owner": "Rick"},
}
class OwnerError(Exception):
pass
def get_username():
try:
yield "Rick"
except OwnerError as e:
raise HTTPException(status_code=400, detail=f"Onwer error: {e}")
@​app.get("/items/{item_id}")
def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
if item_id not in data:
raise HTTPException(status_code=404, detail="Item not found")
item = data[item_id]
if item["owner"] != username:
raise OwnerError(username)
return item
```
***
Before FastAPI 0.106.0, raising exceptions after `yield` was not possible, the exit code in dependencies with `yield` was executed *after* the response was sent, so [Exception Handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#install-custom-exception-handlers) would have already run.
This was designed this way mainly to allow using the same objects "yielded" by dependencies inside of background tasks, because the exit code would be executed after the background tasks were finished.
Nevertheless, as this would mean waiting for the response to travel through the network while unnecessarily holding a resource in a dependency with yield (for example a database connection), this was changed in FastAPI 0.106.0.
Additionally, a background task is normally an independent set of logic that should be handled separately, with its own resources (e.g. its own database connection).
If you used to rely on this behavior, now you should create the resources for background tasks inside the background task itself, and use internally only data that doesn't depend on the resources of dependencies with `yield`.
For example, instead of using the same database session, you would create a new database session inside of the background task, and you would obtain the objects from the database using this new session. And then instead of passing the object from the database as a parameter to the background task function, you would pass the ID of that object and then obtain the object again inside the background task function.
The sequence of execution before FastAPI 0.106.0 was like the diagram in the [Release Notes for FastAPI 0.106.0](https://fastapi.tiangolo.com/release-notes/#​01060).
The new execution flow can be found in the docs: [Execution of dependencies with `yield`](https://fastapi.tiangolo.com/tutorial/dependencies/dependencies-with-yield/#execution-of-dependencies-with-yield).
### [`v0.105.0`](https://github.com/tiangolo/fastapi/releases/tag/0.105.0)
[Compare Source](https://github.com/tiangolo/fastapi/compare/0.104.1...0.105.0)
##### Features
- ✨ Add support for multiple Annotated annotations, e.g. `Annotated[str, Field(), Query()]`. MR [#​10773](https://github.com/tiangolo/fastapi/pull/10773) by [@​tiangolo](https://github.com/tiangolo).
##### Refactors
- 🔥 Remove unused NoneType. MR [#​10774](https://github.com/tiangolo/fastapi/pull/10774) by [@​tiangolo](https://github.com/tiangolo).
##### Docs
- 📝 Tweak default suggested configs for generating clients. MR [#​10736](https://github.com/tiangolo/fastapi/pull/10736) by [@​tiangolo](https://github.com/tiangolo).
##### Internal
- 🔧 Update sponsors, add Scalar. MR [#​10728](https://github.com/tiangolo/fastapi/pull/10728) by [@​tiangolo](https://github.com/tiangolo).
- 🔧 Update sponsors, add PropelAuth. MR [#​10760](https://github.com/tiangolo/fastapi/pull/10760) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Update build docs, verify README on CI. MR [#​10750](https://github.com/tiangolo/fastapi/pull/10750) by [@​tiangolo](https://github.com/tiangolo).
- 🔧 Update sponsors, remove Fern. MR [#​10729](https://github.com/tiangolo/fastapi/pull/10729) by [@​tiangolo](https://github.com/tiangolo).
- 🔧 Update sponsors, add Codacy. MR [#​10677](https://github.com/tiangolo/fastapi/pull/10677) by [@​tiangolo](https://github.com/tiangolo).
- 🔧 Update sponsors, add Reflex. MR [#​10676](https://github.com/tiangolo/fastapi/pull/10676) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Update release notes, move and check latest-changes. MR [#​10588](https://github.com/tiangolo/fastapi/pull/10588) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Upgrade latest-changes GitHub Action. MR [#​10587](https://github.com/tiangolo/fastapi/pull/10587) by [@​tiangolo](https://github.com/tiangolo).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy43Ny4xIiwidXBkYXRlZEluVmVyIjoiMzcuNzcuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/766fix(deps): update dependency fastapi to ^0.104.0 - autoclosed2023-11-25T20:25:00Zrenovatefix(deps): update dependency fastapi to ^0.104.0 - autoclosedThis MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fastapi](https://github.com/tiangolo/fastapi) | `^0.103.2` -> `^0.104.0` | [![age](https://badges.renovate...This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fastapi](https://github.com/tiangolo/fastapi) | `^0.103.2` -> `^0.104.0` | [![age](https://badges.renovateapi.com/packages/pypi/fastapi/0.104.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/fastapi/0.104.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/fastapi/0.104.1/compatibility-slim/0.103.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/fastapi/0.104.1/confidence-slim/0.103.2)](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>tiangolo/fastapi (fastapi)</summary>
### [`v0.104.1`](https://github.com/tiangolo/fastapi/releases/tag/0.104.1)
[Compare Source](https://github.com/tiangolo/fastapi/compare/0.104.0...0.104.1)
##### Fixes
- 📌 Pin Swagger UI version to 5.9.0 temporarily to handle a bug crashing it in 5.9.1. MR [#​10529](https://github.com/tiangolo/fastapi/pull/10529) by [@​alejandraklachquin](https://github.com/alejandraklachquin).
- This is not really a bug in FastAPI but in Swagger UI, nevertheless pinning the version will work while a solution is found on the [Swagger UI side](https://github.com/swagger-api/swagger-ui/issues/9337).
##### Docs
- 📝 Update data structure and render for external-links. MR [#​10495](https://github.com/tiangolo/fastapi/pull/10495) by [@​tiangolo](https://github.com/tiangolo).
- ✏️ Fix link to SPDX license identifier in `docs/en/docs/tutorial/metadata.md`. MR [#​10433](https://github.com/tiangolo/fastapi/pull/10433) by [@​worldworm](https://github.com/worldworm).
- 📝 Update example validation error from Pydantic v1 to match Pydantic v2 in `docs/en/docs/tutorial/path-params.md`. MR [#​10043](https://github.com/tiangolo/fastapi/pull/10043) by [@​giuliowaitforitdavide](https://github.com/giuliowaitforitdavide).
- ✏️ Fix typos in emoji docs and in some source examples. MR [#​10438](https://github.com/tiangolo/fastapi/pull/10438) by [@​afuetterer](https://github.com/afuetterer).
- ✏️ Fix typo in `docs/en/docs/reference/dependencies.md`. MR [#​10465](https://github.com/tiangolo/fastapi/pull/10465) by [@​suravshresth](https://github.com/suravshresth).
- ✏️ Fix typos and rewordings in `docs/en/docs/tutorial/body-nested-models.md`. MR [#​10468](https://github.com/tiangolo/fastapi/pull/10468) by [@​yogabonito](https://github.com/yogabonito).
- 📝 Update docs, remove references to removed `pydantic.Required` in `docs/en/docs/tutorial/query-params-str-validations.md`. MR [#​10469](https://github.com/tiangolo/fastapi/pull/10469) by [@​yogabonito](https://github.com/yogabonito).
- ✏️ Fix typo in `docs/en/docs/reference/index.md`. MR [#​10467](https://github.com/tiangolo/fastapi/pull/10467) by [@​tarsil](https://github.com/tarsil).
- 🔥 Remove unnecessary duplicated docstrings. MR [#​10484](https://github.com/tiangolo/fastapi/pull/10484) by [@​tiangolo](https://github.com/tiangolo).
##### Internal
- ✏️ Update Pydantic links to dotenv support. MR [#​10511](https://github.com/tiangolo/fastapi/pull/10511) by [@​White-Mask](https://github.com/White-Mask).
- ✏️ Update links in `docs/en/docs/async.md` and `docs/zh/docs/async.md` to make them relative. MR [#​10498](https://github.com/tiangolo/fastapi/pull/10498) by [@​hasnatsajid](https://github.com/hasnatsajid).
- ✏️ Fix links in `docs/em/docs/async.md`. MR [#​10507](https://github.com/tiangolo/fastapi/pull/10507) by [@​hasnatsajid](https://github.com/hasnatsajid).
- ✏️ Fix typo in `docs/em/docs/index.md`, Python 3.8. MR [#​10521](https://github.com/tiangolo/fastapi/pull/10521) by [@​kerriop](https://github.com/kerriop).
- ⬆ Bump pillow from 9.5.0 to 10.1.0. MR [#​10446](https://github.com/tiangolo/fastapi/pull/10446) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Update mkdocs-material requirement from <9.0.0,>=8.1.4 to >=8.1.4,<10.0.0. MR [#​5862](https://github.com/tiangolo/fastapi/pull/5862) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump mkdocs-material from 9.1.21 to 9.4.7. MR [#​10545](https://github.com/tiangolo/fastapi/pull/10545) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- 👷 Install MkDocs Material Insiders only when secrets are available, for Dependabot. MR [#​10544](https://github.com/tiangolo/fastapi/pull/10544) by [@​tiangolo](https://github.com/tiangolo).
- 🔧 Update sponsors badges, Databento. MR [#​10519](https://github.com/tiangolo/fastapi/pull/10519) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Adopt Ruff format. MR [#​10517](https://github.com/tiangolo/fastapi/pull/10517) by [@​tiangolo](https://github.com/tiangolo).
- 🔧 Add `CITATION.cff` file for academic citations. MR [#​10496](https://github.com/tiangolo/fastapi/pull/10496) by [@​tiangolo](https://github.com/tiangolo).
- 🐛 Fix overriding MKDocs theme lang in hook. MR [#​10490](https://github.com/tiangolo/fastapi/pull/10490) by [@​tiangolo](https://github.com/tiangolo).
- 🔥 Drop/close Gitter chat. Questions should go to GitHub Discussions, free conversations to Discord.. MR [#​10485](https://github.com/tiangolo/fastapi/pull/10485) by [@​tiangolo](https://github.com/tiangolo).
### [`v0.104.0`](https://github.com/tiangolo/fastapi/releases/tag/0.104.0)
[Compare Source](https://github.com/tiangolo/fastapi/compare/0.103.2...0.104.0)
#### Features
- ✨ Add reference (code API) docs with PEP 727, add subclass with custom docstrings for `BackgroundTasks`, refactor docs structure. MR [#​10392](https://github.com/tiangolo/fastapi/pull/10392) by [@​tiangolo](https://github.com/tiangolo). New docs at [FastAPI Reference - Code API](https://fastapi.tiangolo.com/reference/).
#### Upgrades
- ⬆️ Drop support for Python 3.7, require Python 3.8 or above. MR [#​10442](https://github.com/tiangolo/fastapi/pull/10442) by [@​tiangolo](https://github.com/tiangolo).
##### Internal
- ⬆ Bump dawidd6/action-download-artifact from 2.27.0 to 2.28.0. MR [#​10268](https://github.com/tiangolo/fastapi/pull/10268) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump actions/checkout from 3 to 4. MR [#​10208](https://github.com/tiangolo/fastapi/pull/10208) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.10. MR [#​10061](https://github.com/tiangolo/fastapi/pull/10061) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- 🔧 Update sponsors, Bump.sh images. MR [#​10381](https://github.com/tiangolo/fastapi/pull/10381) by [@​tiangolo](https://github.com/tiangolo).
- 👥 Update FastAPI People. MR [#​10363](https://github.com/tiangolo/fastapi/pull/10363) by [@​tiangolo](https://github.com/tiangolo).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNTkuNyIsInVwZGF0ZWRJblZlciI6IjM1LjE1OS43IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/761fix(deps): update dependency werkzeug to v3 - autoclosed2023-10-05T21:24:50Zrenovatefix(deps): update dependency werkzeug to v3 - autoclosedThis MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| Werkzeug ([changelog](https://werkzeug.palletsprojects.com/changes/)) | `^2.3.3` -> `^3.0.0` | [![age](http...This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| Werkzeug ([changelog](https://werkzeug.palletsprojects.com/changes/)) | `^2.3.3` -> `^3.0.0` | [![age](https://badges.renovateapi.com/packages/pypi/Werkzeug/3.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/Werkzeug/3.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/Werkzeug/3.0.0/compatibility-slim/2.3.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/Werkzeug/3.0.0/confidence-slim/2.3.6)](https://docs.renovatebot.com/merge-confidence/) |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNTkuNyIsInVwZGF0ZWRJblZlciI6IjM1LjE1OS43IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/758Rename TU - Testbox2023-09-12T16:57:45ZMario OenningRename TU - Testbox- [ ] Deploy environment
- [ ] Import prod data
- [ ] Add commits from `rename-tu` branch
- [ ] Re-provision environment
- [ ] Review and test- [ ] Deploy environment
- [ ] Import prod data
- [ ] Add commits from `rename-tu` branch
- [ ] Re-provision environment
- [ ] Review and testhttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/753mo test gunicorn, uvicorn deps2023-08-21T19:46:18ZMario Oenningmo test gunicorn, uvicorn depsSigned-off-by: moson <moson@archlinux.org>Signed-off-by: moson <moson@archlinux.org>https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/750fix(deps): update dependency redis to v5 - autoclosed2023-10-05T21:24:48Zrenovatefix(deps): update dependency redis to v5 - autoclosedThis MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [redis](https://github.com/redis/redis-py) ([changelog](https://github.com/redis/redis-py/releases)) | `^4....This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [redis](https://github.com/redis/redis-py) ([changelog](https://github.com/redis/redis-py/releases)) | `^4.5.4` -> `^5.0.0` | [![age](https://badges.renovateapi.com/packages/pypi/redis/5.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/redis/5.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/redis/5.0.0/compatibility-slim/4.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/redis/5.0.0/confidence-slim/4.6.0)](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>redis/redis-py (redis)</summary>
### [`v5.0.0`](https://github.com/redis/redis-py/releases/tag/v5.0.0): 5.0.0
[Compare Source](https://github.com/redis/redis-py/compare/v4.6.0...v5.0.0)
#### What's new?
##### Triggers and Functions support
Triggers and Functions allow you to execute server-side functions triggered when key values are modified or created in Redis, a stream entry arrival, or explicitly calling them. Simply put, you can replace Lua scripts with easy-to-develop JavaScript or TypeScript code. Move your business logic closer to the data to ensure a lower latency, and forget about updating dependent key values manually in your code.
[Try it for yourself with Quick start](https://redis.io/docs/interact/programmability/triggers-and-functions/quick_start/)
##### Full [Redis 7.2](https://redis.com/blog/introducing-redis-7-2/) and [RESP3 support](https://github.com/redis/redis-specifications/blob/master/protocol/RESP3.md)
##### Python 3.7 End-of-Life
[Python 3.7 has reached its end-of-life (EOL) as of June 2023](https://devguide.python.org/versions/). This means that starting from this date, Python 3.7 will no longer receive any updates, including security patches, bug fixes, or improvements. If you continue to use Python 3.7 post-EOL, you may expose your projects and systems to potential security vulnerabilities. We ended its support in this version and strongly recommend migrating to Python 3.10.
#### 🐛 Bug Fixes
- Fix timeout retrying on pipeline execution ([#​2812](https://github.com/redis/redis-py/issues/2812))
- Fix socket garbage collection ([#​2859](https://github.com/redis/redis-py/issues/2859))
#### 🧰 Maintenance
- Updating client license to clear, MIT ([#​2884](https://github.com/redis/redis-py/issues/2884))
- Add py.typed in accordance with PEP-561 ([#​2738](https://github.com/redis/redis-py/issues/2738))
- Dependabot label change ([#​2880](https://github.com/redis/redis-py/issues/2880))
- Fix type hints in SearchCommands ([#​2817](https://github.com/redis/redis-py/issues/2817))
- Add sync modules (except search) tests to cluster CI ([#​2850](https://github.com/redis/redis-py/issues/2850))
- Fix a duplicate word in `CONTRIBUTING.md` ([#​2848](https://github.com/redis/redis-py/issues/2848))
- Fixing doc builds ([#​2869](https://github.com/redis/redis-py/issues/2869))
- Change cluster docker to edge and enable debug command ([#​2853](https://github.com/redis/redis-py/issues/2853))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@​JoanFM](https://github.com/JoanFM), [@​Ovsyanka83](https://github.com/Ovsyanka83), [@​chayim](https://github.com/chayim), [@​dependabot](https://github.com/dependabot), [@​dependabot](https://github.com/dependabot)\[bot], [@​dvora-h](https://github.com/dvora-h), [@​kristjanvalur](https://github.com/kristjanvalur), [@​kurtmckee](https://github.com/kurtmckee), [@​pall-j](https://github.com/pall-j) and [@​shacharPash](https://github.com/shacharPash)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNTkuNyIsInVwZGF0ZWRJblZlciI6IjM1LjE1OS43IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/749Draft: Test review2023-08-13T21:19:12ZKristian KlausenDraft: Test reviewhttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/747fix(deps): update dependency fastapi to ^0.103.0 - autoclosed2023-10-05T21:24:47Zrenovatefix(deps): update dependency fastapi to ^0.103.0 - autoclosedThis MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fastapi](https://github.com/tiangolo/fastapi) | `^0.100.0` -> `^0.103.0` | [![age](https://badges.renovate...This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fastapi](https://github.com/tiangolo/fastapi) | `^0.100.0` -> `^0.103.0` | [![age](https://badges.renovateapi.com/packages/pypi/fastapi/0.103.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/fastapi/0.103.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/fastapi/0.103.0/compatibility-slim/0.100.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/fastapi/0.103.0/confidence-slim/0.100.1)](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>tiangolo/fastapi (fastapi)</summary>
### [`v0.103.0`](https://github.com/tiangolo/fastapi/releases/tag/0.103.0)
[Compare Source](https://github.com/tiangolo/fastapi/compare/0.102.0...0.103.0)
##### Features
- ✨ Add support for `openapi_examples` in all FastAPI parameters. MR [#​10152](https://github.com/tiangolo/fastapi/pull/10152) by [@​tiangolo](https://github.com/tiangolo).
- New docs: [OpenAPI-specific examples](https://fastapi.tiangolo.com/tutorial/schema-extra-example/#openapi-specific-examples).
##### Docs
- 📝 Add note to docs about Separate Input and Output Schemas with FastAPI version. MR [#​10150](https://github.com/tiangolo/fastapi/pull/10150) by [@​tiangolo](https://github.com/tiangolo).
### [`v0.102.0`](https://github.com/tiangolo/fastapi/releases/tag/0.102.0)
[Compare Source](https://github.com/tiangolo/fastapi/compare/0.101.1...0.102.0)
##### Features
- ✨ Add support for disabling the separation of input and output JSON Schemas in OpenAPI with Pydantic v2 with `separate_input_output_schemas=False`. MR [#​10145](https://github.com/tiangolo/fastapi/pull/10145) by [@​tiangolo](https://github.com/tiangolo).
- New docs [Separate OpenAPI Schemas for Input and Output or Not](https://fastapi.tiangolo.com/how-to/separate-openapi-schemas/).
- This MR also includes a new setup (internal tools) for generating screenshots for the docs.
##### Refactors
- ♻️ Refactor tests for new Pydantic 2.2.1. MR [#​10115](https://github.com/tiangolo/fastapi/pull/10115) by [@​tiangolo](https://github.com/tiangolo).
##### Docs
- 📝 Add new docs section, How To - Recipes, move docs that don't have to be read by everyone to How To. MR [#​10114](https://github.com/tiangolo/fastapi/pull/10114) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Update Advanced docs, add links to sponsor courses. MR [#​10113](https://github.com/tiangolo/fastapi/pull/10113) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Update docs for generating clients. MR [#​10112](https://github.com/tiangolo/fastapi/pull/10112) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Tweak MkDocs and add redirects. MR [#​10111](https://github.com/tiangolo/fastapi/pull/10111) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Restructure docs for cloud providers, include links to sponsors. MR [#​10110](https://github.com/tiangolo/fastapi/pull/10110) by [@​tiangolo](https://github.com/tiangolo).
##### Internal
- 🔧 Update sponsors, add Speakeasy. MR [#​10098](https://github.com/tiangolo/fastapi/pull/10098) by [@​tiangolo](https://github.com/tiangolo).
### [`v0.101.1`](https://github.com/tiangolo/fastapi/releases/tag/0.101.1)
[Compare Source](https://github.com/tiangolo/fastapi/compare/0.101.0...0.101.1)
##### Fixes
- ✨ Add `ResponseValidationError` printable details, to show up in server error logs. MR [#​10078](https://github.com/tiangolo/fastapi/pull/10078) by [@​tiangolo](https://github.com/tiangolo).
##### Refactors
- ✏️ Fix typo in deprecation warnings in `fastapi/params.py`. MR [#​9854](https://github.com/tiangolo/fastapi/pull/9854) by [@​russbiggs](https://github.com/russbiggs).
- ✏️ Fix typos in comments on internal code in `fastapi/concurrency.py` and `fastapi/routing.py`. MR [#​9590](https://github.com/tiangolo/fastapi/pull/9590) by [@​ElliottLarsen](https://github.com/ElliottLarsen).
##### Docs
- ✏️ Fix typo in release notes. MR [#​9835](https://github.com/tiangolo/fastapi/pull/9835) by [@​francisbergin](https://github.com/francisbergin).
- 📝 Add external article: Build an SMS Spam Classifier Serverless Database with FaunaDB and FastAPI. MR [#​9847](https://github.com/tiangolo/fastapi/pull/9847) by [@​adejumoridwan](https://github.com/adejumoridwan).
- 📝 Fix typo in `docs/en/docs/contributing.md`. MR [#​9878](https://github.com/tiangolo/fastapi/pull/9878) by [@​VicenteMerino](https://github.com/VicenteMerino).
- 📝 Fix code highlighting in `docs/en/docs/tutorial/bigger-applications.md`. MR [#​9806](https://github.com/tiangolo/fastapi/pull/9806) by [@​theonlykingpin](https://github.com/theonlykingpin).
##### Translations
- 🌐 Add Japanese translation for `docs/ja/docs/deployment/concepts.md`. MR [#​10062](https://github.com/tiangolo/fastapi/pull/10062) by [@​tamtam-fitness](https://github.com/tamtam-fitness).
- 🌐 Add Japanese translation for `docs/ja/docs/deployment/server-workers.md`. MR [#​10064](https://github.com/tiangolo/fastapi/pull/10064) by [@​tamtam-fitness](https://github.com/tamtam-fitness).
- 🌐 Update Japanese translation for `docs/ja/docs/deployment/docker.md`. MR [#​10073](https://github.com/tiangolo/fastapi/pull/10073) by [@​tamtam-fitness](https://github.com/tamtam-fitness).
- 🌐 Add Ukrainian translation for `docs/uk/docs/fastapi-people.md`. MR [#​10059](https://github.com/tiangolo/fastapi/pull/10059) by [@​rostik1410](https://github.com/rostik1410).
- 🌐 Add Ukrainian translation for `docs/uk/docs/tutorial/cookie-params.md`. MR [#​10032](https://github.com/tiangolo/fastapi/pull/10032) by [@​rostik1410](https://github.com/rostik1410).
- 🌐 Add Russian translation for `docs/ru/docs/deployment/docker.md`. MR [#​9971](https://github.com/tiangolo/fastapi/pull/9971) by [@​Xewus](https://github.com/Xewus).
- 🌐 Add Vietnamese translation for `docs/vi/docs/python-types.md`. MR [#​10047](https://github.com/tiangolo/fastapi/pull/10047) by [@​magiskboy](https://github.com/magiskboy).
- 🌐 Add Russian translation for `docs/ru/docs/tutorial/dependencies/global-dependencies.md`. MR [#​9970](https://github.com/tiangolo/fastapi/pull/9970) by [@​dudyaosuplayer](https://github.com/dudyaosuplayer).
- 🌐 Add Urdu translation for `docs/ur/docs/benchmarks.md`. MR [#​9974](https://github.com/tiangolo/fastapi/pull/9974) by [@​AhsanSheraz](https://github.com/AhsanSheraz).
##### Internal
- 🔧 Add sponsor Porter. MR [#​10051](https://github.com/tiangolo/fastapi/pull/10051) by [@​tiangolo](https://github.com/tiangolo).
- 🔧 Update sponsors, add Jina back as bronze sponsor. MR [#​10050](https://github.com/tiangolo/fastapi/pull/10050) by [@​tiangolo](https://github.com/tiangolo).
- ⬆ Bump mypy from 1.4.0 to 1.4.1. MR [#​9756](https://github.com/tiangolo/fastapi/pull/9756) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump mkdocs-material from 9.1.17 to 9.1.21. MR [#​9960](https://github.com/tiangolo/fastapi/pull/9960) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
### [`v0.101.0`](https://github.com/tiangolo/fastapi/releases/tag/0.101.0)
[Compare Source](https://github.com/tiangolo/fastapi/compare/0.100.1...0.101.0)
##### Features
- ✨ Enable Pydantic's serialization mode for responses, add support for Pydantic's `computed_field`, better OpenAPI for response models, proper required attributes, better generated clients. MR [#​10011](https://github.com/tiangolo/fastapi/pull/10011) by [@​tiangolo](https://github.com/tiangolo).
##### Refactors
- ✅ Fix tests for compatibility with pydantic 2.1.1. MR [#​9943](https://github.com/tiangolo/fastapi/pull/9943) by [@​dmontagu](https://github.com/dmontagu).
- ✅ Fix test error in Windows for `jsonable_encoder`. MR [#​9840](https://github.com/tiangolo/fastapi/pull/9840) by [@​iudeen](https://github.com/iudeen).
##### Upgrades
- 📌 Do not allow Pydantic 2.1.0 that breaks (require 2.1.1). MR [#​10012](https://github.com/tiangolo/fastapi/pull/10012) by [@​tiangolo](https://github.com/tiangolo).
##### Translations
- 🌐 Add Russian translation for `docs/ru/docs/tutorial/security/index.md`. MR [#​9963](https://github.com/tiangolo/fastapi/pull/9963) by [@​eVery1337](https://github.com/eVery1337).
- 🌐 Remove Vietnamese note about missing translation. MR [#​9957](https://github.com/tiangolo/fastapi/pull/9957) by [@​tiangolo](https://github.com/tiangolo).
##### Internal
- 👷 Add GitHub Actions step dump context to debug external failures. MR [#​10008](https://github.com/tiangolo/fastapi/pull/10008) by [@​tiangolo](https://github.com/tiangolo).
- 🔧 Restore MkDocs Material pin after the fix. MR [#​10001](https://github.com/tiangolo/fastapi/pull/10001) by [@​tiangolo](https://github.com/tiangolo).
- 🔧 Update the Question template to ask for the Pydantic version. MR [#​10000](https://github.com/tiangolo/fastapi/pull/10000) by [@​tiangolo](https://github.com/tiangolo).
- 📍 Update MkDocs Material dependencies. MR [#​9986](https://github.com/tiangolo/fastapi/pull/9986) by [@​tiangolo](https://github.com/tiangolo).
- 👥 Update FastAPI People. MR [#​9999](https://github.com/tiangolo/fastapi/pull/9999) by [@​tiangolo](https://github.com/tiangolo).
- 🐳 Update Dockerfile with compatibility versions, to upgrade later. MR [#​9998](https://github.com/tiangolo/fastapi/pull/9998) by [@​tiangolo](https://github.com/tiangolo).
- ➕ Add pydantic-settings to FastAPI People dependencies. MR [#​9988](https://github.com/tiangolo/fastapi/pull/9988) by [@​tiangolo](https://github.com/tiangolo).
- ♻️ Update FastAPI People logic with new Pydantic. MR [#​9985](https://github.com/tiangolo/fastapi/pull/9985) by [@​tiangolo](https://github.com/tiangolo).
- 🍱 Update sponsors, Fern badge. MR [#​9982](https://github.com/tiangolo/fastapi/pull/9982) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Deploy docs to Cloudflare Pages. MR [#​9978](https://github.com/tiangolo/fastapi/pull/9978) by [@​tiangolo](https://github.com/tiangolo).
- 🔧 Update sponsor Fern. MR [#​9979](https://github.com/tiangolo/fastapi/pull/9979) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Update CI debug mode with Tmate. MR [#​9977](https://github.com/tiangolo/fastapi/pull/9977) by [@​tiangolo](https://github.com/tiangolo).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNTkuNyIsInVwZGF0ZWRJblZlciI6IjM1LjE1OS43IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/728Draft: Upgrade to sqlalchemy 2 & fix db sessions2023-09-01T21:07:55ZMario OenningDraft: Upgrade to sqlalchemy 2 & fix db sessions##### Bump sqlalchemy to version 2.0.17
WIP
Getting sqlachemy version 2 running as well as fixing session management.
Commit 1 is addressing changes with sqlalchemy v2: Mainly the removal of "[auto-commit](https://docs.sqlalchemy.org/...##### Bump sqlalchemy to version 2.0.17
WIP
Getting sqlachemy version 2 running as well as fixing session management.
Commit 1 is addressing changes with sqlalchemy v2: Mainly the removal of "[auto-commit](https://docs.sqlalchemy.org/en/20/changelog/migration_20.html#library-level-but-not-driver-level-autocommit-removed-from-both-core-and-orm)". The current codebase is heavily relying on that feature. We can work around that by using a wrapper that performs the commit.
Commit 2 implements request based sessions using a middle-ware. Ideally we'd go for the dependency injection approach, but that requires a huge amount of changes in the codebase. Now, almost all routes have database interaction, so it should not be too much of concern to create a new session for each request because we'd need it anyways.
Some of the tests only worked properly since every DB operation was run within the same session. Utilizing separate sessions, we need to refresh (re-query) objects from the DB. With the default `isolation_level`: `REPEATABLE READ` however, the DB is effectively NOT re-querying data, it simply returns what has been queried before. Thus `db.refresh` won't reload from the DB. We can either set the isolation level to `READ COMMITTED`, making `db.refresh` working as expected or simply close our transaction (forcing the creation of a new one) with `db.commit` before we access our db object.
##### References
Session handling:
https://docs.sqlalchemy.org/en/14/orm/contextual.html#using-thread-local-scope-with-web-applications
https://dev.to/uponthesky/python-post-reviewhow-to-implement-a-transactional-decorator-in-fastapi-sqlalchemy-ein
https://github.com/tiangolo/fastapi/issues/726
Isolation level:
https://docs.sqlalchemy.org/en/20/orm/session_state_management.html#refreshing-expiring
https://dev.mysql.com/doc/refman/8.0/en/innodb-transaction-isolation-levels.html
https://mydbops.wordpress.com/2018/06/22/back-to-basics-isolation-levels-in-mysql/
- [ ] Check impact change for isolation_level (`READ COMMITTED` instead of the default `REPEATABLE READ`).
We might want to simply use `db.commit` instead.
- [ ] More (manual/) "real-world" testing
- [ ] Stress testing (benchmarks; DDoS the thing)
- [ ] Ask @artafinde how fast he can downgrade to a previous release in case of issues :wink:https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/719Draft: Rename TU to Package Maintainer2023-09-12T14:55:10ZRobin Candauantiz@archlinux.orgDraft: Rename TU to Package MaintainerThis MR aims to cover a the tasks listed in #446 (renaming TU to Package Maintainer).This MR aims to cover a the tasks listed in #446 (renaming TU to Package Maintainer).https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/717change: require .SRCINFO only in last commit of a push2023-06-07T18:37:52ZMario Oenningchange: require .SRCINFO only in last commit of a pushWe don't really need the `.SRCINFO` file to be present in every commit.
It's sufficient when we have it in the last commit of a push.
Currently we're also just parsing/using the metadata from the last commit to update the information ...We don't really need the `.SRCINFO` file to be present in every commit.
It's sufficient when we have it in the last commit of a push.
Currently we're also just parsing/using the metadata from the last commit to update the information in the DB:
https://gitlab.archlinux.org/archlinux/aurweb/-/blob/ed2f85ad047f4659b03f7b3730ff117522feaaa6/aurweb/git/update.py#L407
This would allow migration of git history from a repo package when dropped to the AUR
Feature request: #444
Signed-off-by: moson-mo <mo-son@mailbox.org>https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/711fix: set `max_age` for `AURTZ`, `AURLANG` and `AURREMEMBER`2023-05-24T14:35:15ZHenry Zhangfix: set `max_age` for `AURTZ`, `AURLANG` and `AURREMEMBER``AURTZ`, `AURLANG` and `AURREMEMBER` doesn't have `max_age` and become session cookies.
One of the results is "remember me" function actually didn't work.
The `AURREMEMBER` cookie is removed after browser closes, then `AURSID`'s expir...`AURTZ`, `AURLANG` and `AURREMEMBER` doesn't have `max_age` and become session cookies.
One of the results is "remember me" function actually didn't work.
The `AURREMEMBER` cookie is removed after browser closes, then `AURSID`'s expiration will be set to 2h in the next request.https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/708feature: support new default repos after git migration2023-05-25T09:08:16ZLeonidas Spyropoulosfeature: support new default repos after git migrationhttps://archlinux.org/news/git-migration-announcement/
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>https://archlinux.org/news/git-migration-announcement/
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>Leonidas SpyropoulosLeonidas Spyropouloshttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/702fix(deps): update dependency urllib3 to v2 - autoclosed2023-05-08T21:25:30Zrenovatefix(deps): update dependency urllib3 to v2 - autoclosedThis MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [urllib3](https://github.com/urllib3/urllib3) ([changelog](https://github.com/urllib3/urllib3/blob/main/CHA...This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [urllib3](https://github.com/urllib3/urllib3) ([changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)) | `^1.26.15` -> `^2.0.0` | [![age](https://badges.renovateapi.com/packages/pypi/urllib3/2.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/urllib3/2.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/urllib3/2.0.2/compatibility-slim/1.26.15)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/urllib3/2.0.2/confidence-slim/1.26.15)](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>urllib3/urllib3</summary>
### [`v2.0.2`](https://github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#​202-2023-05-03)
[Compare Source](https://github.com/urllib3/urllib3/compare/2.0.1...2.0.2)
\==================
- Fixed `HTTMResponse.stream()` to continue yielding bytes if buffered decompressed data
was still available to be read even if the underlying socket is closed. This prevents
a compressed response from being truncated. (`#​3009 <https://github.com/urllib3/urllib3/issues/3009>`\__)
### [`v2.0.1`](https://github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#​201-2023-04-30)
[Compare Source](https://github.com/urllib3/urllib3/compare/2.0.0...2.0.1)
\==================
- Fixed a socket leak when fingerprint or hostname verifications fail. (`#​2991 <https://github.com/urllib3/urllib3/issues/2991>`\__)
- Fixed an error when `HTTMResponse.read(0)` was the first `read` call or when the internal response body buffer was otherwise empty. (`#​2998 <https://github.com/urllib3/urllib3/issues/2998>`\__)
### [`v2.0.0`](https://github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#​200-2023-04-26)
[Compare Source](https://github.com/urllib3/urllib3/compare/1.26.15...2.0.0)
\==================
Read the `v2.0 migration guide <https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html>`\__ for help upgrading to the latest version of urllib3.
## Removed
- Removed support for Python 2.7, 3.5, and 3.6 (`#​883 <https://github.com/urllib3/urllib3/issues/883>`**, `#​2336 <https://github.com/urllib3/urllib3/issues/2336>`**).
- Removed fallback on certificate `commonName` in `match_hostname()` function.
This behavior was deprecated in May 2000 in RFC 2818. Instead only `subjectAltName`
is used to verify the hostname by default. To enable verifying the hostname against
`commonName` use `SSLContext.hostname_checks_common_name = True` (`#​2113 <https://github.com/urllib3/urllib3/issues/2113>`\__).
- Removed support for Python with an `ssl` module compiled with LibreSSL, CiscoSSL,
wolfSSL, and all other OpenSSL alternatives. Python is moving to require OpenSSL with PEP 644 (`#​2168 <https://github.com/urllib3/urllib3/issues/2168>`\__).
- Removed support for OpenSSL versions earlier than 1.1.1 or that don't have SNI support.
When an incompatible OpenSSL version is detected an `ImportError` is raised (`#​2168 <https://github.com/urllib3/urllib3/issues/2168>`\__).
- Removed the list of default ciphers for OpenSSL 1.1.1+ and SecureTransport as their own defaults are already secure (`#​2082 <https://github.com/urllib3/urllib3/issues/2082>`\__).
- Removed `urllib3.contrib.appengine.AppEngineManager` and support for Google App Engine Standard Environment (`#​2044 <https://github.com/urllib3/urllib3/issues/2044>`\__).
- Removed deprecated `Retry` options `method_whitelist`, `DEFAULT_REDIRECT_HEADERS_BLACKLIST` (`#​2086 <https://github.com/urllib3/urllib3/issues/2086>`\__).
- Removed `urllib3.HTTMResponse.from_httplib` (`#​2648 <https://github.com/urllib3/urllib3/issues/2648>`\__).
- Removed default value of `None` for the `request_context` parameter of `urllib3.PoolManager.connection_from_pool_key`. This change should have no effect on users as the default value of `None` was an invalid option and was never used (`#​1897 <https://github.com/urllib3/urllib3/issues/1897>`\__).
- Removed the `urllib3.request` module. `urllib3.request.RequestMethods` has been made a private API.
This change was made to ensure that `from urllib3 import request` imported the top-level `request()`
function instead of the `urllib3.request` module (`#​2269 <https://github.com/urllib3/urllib3/issues/2269>`\__).
- Removed support for SSLv3.0 from the `urllib3.contrib.pyopenssl` even when support is available from the compiled OpenSSL library (`#​2233 <https://github.com/urllib3/urllib3/issues/2233>`\__).
- Removed the deprecated `urllib3.contrib.ntlmpool` module (`#​2339 <https://github.com/urllib3/urllib3/issues/2339>`\__).
- Removed `DEFAULT_CIPHERS`, `HAS_SNI`, `USE_DEFAULT_SSLCONTEXT_CIPHERS`, from the private module `urllib3.util.ssl_` (`#​2168 <https://github.com/urllib3/urllib3/issues/2168>`\__).
- Removed `urllib3.exceptions.SNIMissingWarning` (`#​2168 <https://github.com/urllib3/urllib3/issues/2168>`\__).
- Removed the `_prepare_conn` method from `HTTPConnectionPool`. Previously this was only used to call `HTTPSConnection.set_cert()` by `HTTPSConnectionPool` (`#​1985 <https://github.com/urllib3/urllib3/issues/1985>`\__).
- Removed `tls_in_tls_required` property from `HTTPSConnection`. This is now determined from the `scheme` parameter in `HTTPConnection.set_tunnel()` (`#​1985 <https://github.com/urllib3/urllib3/issues/1985>`\__).
- Removed the `strict` parameter/attribute from `HTTPConnection`, `HTTPSConnection`, `HTTPConnectionPool`, `HTTPSConnectionPool`, and `HTTMResponse` (`#​2064 <https://github.com/urllib3/urllib3/issues/2064>`\__).
## Deprecated
- Deprecated `HTTMResponse.getheaders()` and `HTTMResponse.getheader()` which will be removed in urllib3 v2.1.0. Instead use `HTTMResponse.headers` and `HTTMResponse.headers.get(name, default)`. (`#​1543 <https://github.com/urllib3/urllib3/issues/1543>`**, `#​2814 <https://github.com/urllib3/urllib3/issues/2814>`**).
- Deprecated `urllib3.contrib.pyopenssl` module which will be removed in urllib3 v2.1.0 (`#​2691 <https://github.com/urllib3/urllib3/issues/2691>`\__).
- Deprecated `urllib3.contrib.securetransport` module which will be removed in urllib3 v2.1.0 (`#​2692 <https://github.com/urllib3/urllib3/issues/2692>`\__).
- Deprecated `ssl_version` option in favor of `ssl_minimum_version`. `ssl_version` will be removed in urllib3 v2.1.0 (`#​2110 <https://github.com/urllib3/urllib3/issues/2110>`\__).
- Deprecated the `strict` parameter of `PoolManager.connection_from_context()` as it's not longer needed in Python 3.x. It will be removed in urllib3 v2.1.0 (`#​2267 <https://github.com/urllib3/urllib3/issues/2267>`\__)
- Deprecated the `NewConnectionError.pool` attribute which will be removed in urllib3 v2.1.0 (`#​2271 <https://github.com/urllib3/urllib3/issues/2271>`\__).
- Deprecated `format_header_param_html5` and `format_header_param` in favor of `format_multipart_header_param` (`#​2257 <https://github.com/urllib3/urllib3/issues/2257>`\__).
- Deprecated `RequestField.header_formatter` parameter which will be removed in urllib3 v2.1.0 (`#​2257 <https://github.com/urllib3/urllib3/issues/2257>`\__).
- Deprecated `HTTPSConnection.set_cert()` method. Instead pass parameters to the `HTTPSConnection` constructor (`#​1985 <https://github.com/urllib3/urllib3/issues/1985>`\__).
- Deprecated `HTTPConnection.request_chunked()` method which will be removed in urllib3 v2.1.0. Instead pass `chunked=True` to `HTTPConnection.request()` (`#​1985 <https://github.com/urllib3/urllib3/issues/1985>`\__).
## Added
- Added top-level `urllib3.request` function which uses a preconfigured module-global `PoolManager` instance (`#​2150 <https://github.com/urllib3/urllib3/issues/2150>`\__).
- Added the `json` parameter to `urllib3.request()`, `PoolManager.request()`, and `ConnectionPool.request()` methods to send JSON bodies in requests. Using this parameter will set the header `Content-Type: application/json` if `Content-Type` isn't already defined.
Added support for parsing JSON response bodies with `HTTMResponse.json()` method (`#​2243 <https://github.com/urllib3/urllib3/issues/2243>`\__).
- Added type hints to the `urllib3` module (`#​1897 <https://github.com/urllib3/urllib3/issues/1897>`\__).
- Added `ssl_minimum_version` and `ssl_maximum_version` options which set
`SSLContext.minimum_version` and `SSLContext.maximum_version` (`#​2110 <https://github.com/urllib3/urllib3/issues/2110>`\__).
- Added support for Zstandard (RFC 8878) when `zstandard` 1.18.0 or later is installed.
Added the `zstd` extra which installs the `zstandard` package (`#​1992 <https://github.com/urllib3/urllib3/issues/1992>`\__).
- Added `urllib3.response.BaseHTTMResponse` class. All future response classes will be subclasses of `BaseHTTMResponse` (`#​2083 <https://github.com/urllib3/urllib3/issues/2083>`\__).
- Added `FullPoolError` which is raised when `PoolManager(block=True)` and a connection is returned to a full pool (`#​2197 <https://github.com/urllib3/urllib3/issues/2197>`\__).
- Added `HTTPHeaderDict` to the top-level `urllib3` namespace (`#​2216 <https://github.com/urllib3/urllib3/issues/2216>`\__).
- Added support for configuring header merging behavior with HTTPHeaderDict
When using a `HTTPHeaderDict` to provide headers for a request, by default duplicate
header values will be repeated. But if `combine=True` is passed into a call to
`HTTPHeaderDict.add`, then the added header value will be merged in with an existing
value into a comma-separated list (`X-My-Header: foo, bar`) (`#​2242 <https://github.com/urllib3/urllib3/issues/2242>`\__).
- Added `NameResolutionError` exception when a DNS error occurs (`#​2305 <https://github.com/urllib3/urllib3/issues/2305>`\__).
- Added `proxy_assert_hostname` and `proxy_assert_fingerprint` kwargs to `ProxyManager` (`#​2409 <https://github.com/urllib3/urllib3/issues/2409>`\__).
- Added a configurable `backoff_max` parameter to the `Retry` class.
If a custom `backoff_max` is provided to the `Retry` class, it
will replace the `Retry.DEFAULT_BACKOFF_MAX` (`#​2494 <https://github.com/urllib3/urllib3/issues/2494>`\__).
- Added the `authority` property to the Url class as per RFC 3986 3.2. This property should be used in place of `netloc` for users who want to include the userinfo (auth) component of the URI (`#​2520 <https://github.com/urllib3/urllib3/issues/2520>`\__).
- Added the `scheme` parameter to `HTTPConnection.set_tunnel` to configure the scheme of the origin being tunnelled to (`#​1985 <https://github.com/urllib3/urllib3/issues/1985>`\__).
- Added the `is_closed`, `is_connected` and `has_connected_to_proxy` properties to `HTTPConnection` (`#​1985 <https://github.com/urllib3/urllib3/issues/1985>`\__).
- Added optional `backoff_jitter` parameter to `Retry`. (`#​2952 <https://github.com/urllib3/urllib3/issues/2952>`\__)
## Changed
- Changed `urllib3.response.HTTMResponse.read` to respect the semantics of `io.BufferedIOBase` regardless of compression. Specifically, this method:
- Only returns an empty bytes object to indicate EOF (that is, the response has been fully consumed).
- Never returns more bytes than requested.
- Can issue any number of system calls: zero, one or multiple.
If you want each `urllib3.response.HTTMResponse.read` call to issue a single system call, you need to disable decompression by setting `decode_content=False` (`#​2128 <https://github.com/urllib3/urllib3/issues/2128>`\__).
- Changed `urllib3.HTTPConnection.getresponse` to return an instance of `urllib3.HTTMResponse` instead of `http.client.HTTMResponse` (`#​2648 <https://github.com/urllib3/urllib3/issues/2648>`\__).
- Changed `ssl_version` to instead set the corresponding `SSLContext.minimum_version`
and `SSLContext.maximum_version` values. Regardless of `ssl_version` passed
`SSLContext` objects are now constructed using `ssl.MROTOCOL_TLS_CLIENT` (`#​2110 <https://github.com/urllib3/urllib3/issues/2110>`\__).
- Changed default `SSLContext.minimum_version` to be `TLSVersion.TLSv1_2` in line with Python 3.10 (`#​2373 <https://github.com/urllib3/urllib3/issues/2373>`\__).
- Changed `ProxyError` to wrap any connection error (timeout, TLS, DNS) that occurs when connecting to the proxy (`#​2482 <https://github.com/urllib3/urllib3/pull/2482>`\__).
- Changed `urllib3.util.create_urllib3_context` to not override the system cipher suites with
a default value. The new default will be cipher suites configured by the operating system (`#​2168 <https://github.com/urllib3/urllib3/issues/2168>`\__).
- Changed `multipart/form-data` header parameter formatting matches the WHATWG HTML Standard as of 2021-06-10. Control characters in filenames are no longer percent encoded (`#​2257 <https://github.com/urllib3/urllib3/issues/2257>`\__).
- Changed the error raised when connecting via HTTPS when the `ssl` module isn't available from `SSLError` to `ImportError` (`#​2589 <https://github.com/urllib3/urllib3/issues/2589>`\__).
- Changed `HTTPConnection.request()` to always use lowercase chunk boundaries when sending requests with `Transfer-Encoding: chunked` (`#​2515 <https://github.com/urllib3/urllib3/issues/2515>`\__).
- Changed `enforce_content_length` default to True, preventing silent data loss when reading streamed responses (`#​2514 <https://github.com/urllib3/urllib3/issues/2514>`\__).
- Changed internal implementation of `HTTPHeaderDict` to use `dict` instead of `collections.OrderedDict` for better performance (`#​2080 <https://github.com/urllib3/urllib3/issues/2080>`\__).
- Changed the `urllib3.contrib.pyopenssl` module to wrap `OpenSSL.SSL.Error` with `ssl.SSLError` in `PyOpenSSLContext.load_cert_chain` (`#​2628 <https://github.com/urllib3/urllib3/issues/2628>`\__).
- Changed usage of the deprecated `socket.error` to `OSError` (`#​2120 <https://github.com/urllib3/urllib3/issues/2120>`\__).
- Changed all parameters in the `HTTPConnection` and `HTTPSConnection` constructors to be keyword-only except `host` and `port` (`#​1985 <https://github.com/urllib3/urllib3/issues/1985>`\__).
- Changed `HTTPConnection.getresponse()` to set the socket timeout from `HTTPConnection.timeout` value before reading
data from the socket. This previously was done manually by the `HTTPConnectionPool` calling `HTTPConnection.sock.settimeout(...)` (`#​1985 <https://github.com/urllib3/urllib3/issues/1985>`\__).
- Changed the `_proxy_host` property to `_tunnel_host` in `HTTPConnectionPool` to more closely match how the property is used (value in `HTTPConnection.set_tunnel()`) (`#​1985 <https://github.com/urllib3/urllib3/issues/1985>`\__).
- Changed name of `Retry.BACK0FF_MAX` to be `Retry.DEFAULT_BACKOFF_MAX`.
- Changed TLS handshakes to use `SSLContext.check_hostname` when possible (`#​2452 <https://github.com/urllib3/urllib3/pull/2452>`\__).
- Changed `server_hostname` to behave like other parameters only used by `HTTPSConnectionPool` (`#​2537 <https://github.com/urllib3/urllib3/pull/2537>`\__).
- Changed the default `blocksize` to 16KB to match OpenSSL's default read amounts (`#​2348 <https://github.com/urllib3/urllib3/pull/2348>`\__).
- Changed `HTTMResponse.read()` to raise an error when calling with `decode_content=False` after using `decode_content=True` to prevent data loss (`#​2800 <https://github.com/urllib3/urllib3/issues/2800>`\__).
## Fixed
- Fixed thread-safety issue where accessing a `PoolManager` with many distinct origins would cause connection pools to be closed while requests are in progress (`#​1252 <https://github.com/urllib3/urllib3/issues/1252>`\__).
- Fixed an issue where an `HTTPConnection` instance would erroneously reuse the socket read timeout value from reading the previous response instead of a newly configured connect timeout.
Instead now if `HTTPConnection.timeout` is updated before sending the next request the new timeout value will be used (`#​2645 <https://github.com/urllib3/urllib3/issues/2645>`\__).
- Fixed `socket.error.errno` when raised from pyOpenSSL's `OpenSSL.SSL.SysCallError` (`#​2118 <https://github.com/urllib3/urllib3/issues/2118>`\__).
- Fixed the default value of `HTTPSConnection.socket_options` to match `HTTPConnection` (`#​2213 <https://github.com/urllib3/urllib3/issues/2213>`\__).
- Fixed a bug where `headers` would be modified by the `remove_headers_on_redirect` feature (`#​2272 <https://github.com/urllib3/urllib3/issues/2272>`\__).
- Fixed a reference cycle bug in `urllib3.util.connection.create_connection()` (`#​2277 <https://github.com/urllib3/urllib3/issues/2277>`\__).
- Fixed a socket leak if `HTTPConnection.connect()` fails (`#​2571 <https://github.com/urllib3/urllib3/pull/2571>`\__).
- Fixed `urllib3.contrib.pyopenssl.WrappedSocket` and `urllib3.contrib.securetransport.WrappedSocket` close methods (`#​2970 <https://github.com/urllib3/urllib3/issues/2970>`\__)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yLjQiLCJ1cGRhdGVkSW5WZXIiOiIzNS4yLjQifQ==-->https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/700fix(deps): update dependency sqlalchemy to v1.4.48 - autoclosed2023-05-06T19:24:54Zrenovatefix(deps): update dependency sqlalchemy to v1.4.48 - autoclosedThis MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [SQLAlchemy](https://www.sqlalchemy.org) ([changelog](https://docs.sqlalchemy.org/en/latest/changelog/)) | ...This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [SQLAlchemy](https://www.sqlalchemy.org) ([changelog](https://docs.sqlalchemy.org/en/latest/changelog/)) | `1.4.47` -> `1.4.48` | [![age](https://badges.renovateapi.com/packages/pypi/SQLAlchemy/1.4.48/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/SQLAlchemy/1.4.48/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/SQLAlchemy/1.4.48/compatibility-slim/1.4.47)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/SQLAlchemy/1.4.48/confidence-slim/1.4.47)](https://docs.renovatebot.com/merge-confidence/) |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yLjQiLCJ1cGRhdGVkSW5WZXIiOiIzNS4yLjQifQ==-->https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/698fix(deps): update dependency uvicorn to ^0.22.0 - autoclosed2023-05-06T19:24:55Zrenovatefix(deps): update dependency uvicorn to ^0.22.0 - autoclosedThis MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [uvicorn](https://github.com/encode/uvicorn) ([changelog](https://github.com/encode/uvicorn/blob/master/CHA...This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [uvicorn](https://github.com/encode/uvicorn) ([changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)) | `^0.21.0` -> `^0.22.0` | [![age](https://badges.renovateapi.com/packages/pypi/uvicorn/0.22.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/uvicorn/0.22.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/uvicorn/0.22.0/compatibility-slim/0.21.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/uvicorn/0.22.0/confidence-slim/0.21.1)](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>encode/uvicorn</summary>
### [`v0.22.0`](https://github.com/encode/uvicorn/blob/HEAD/CHANGELOG.md#​0220---2023-04-28)
[Compare Source](https://github.com/encode/uvicorn/compare/0.21.1...0.22.0)
##### Added
- Add `--timeout-graceful-shutdown` parameter ([#​1950](https://github.com/encode/uvicorn/issues/1950)) 26/04/23
- Handle `SIGBREAK` on Windows ([#​1909](https://github.com/encode/uvicorn/issues/1909)) 15/04/23
##### Fixed
- Shutdown event is now being triggered on Windows when using hot reload ([#​1584](https://github.com/encode/uvicorn/issues/1584)) 13/04/23
- `--reload-delay` is effectively used on the `watchfiles` reloader ([#​1930](https://github.com/encode/uvicorn/issues/1930)) 22/04/23
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yLjQiLCJ1cGRhdGVkSW5WZXIiOiIzNS4yLjQifQ==-->https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/697chore(deps): update dependency coverage to v7.2.5 - autoclosed2023-05-06T19:24:49Zrenovatechore(deps): update dependency coverage to v7.2.5 - autoclosedThis MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [coverage](https://github.com/nedbat/coveragepy) | `7.2.4` -> `7.2.5` | [![age](https://badges.renovateapi....This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [coverage](https://github.com/nedbat/coveragepy) | `7.2.4` -> `7.2.5` | [![age](https://badges.renovateapi.com/packages/pypi/coverage/7.2.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/coverage/7.2.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/coverage/7.2.5/compatibility-slim/7.2.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/coverage/7.2.5/confidence-slim/7.2.4)](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>nedbat/coveragepy</summary>
### [`v7.2.5`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-725--2023-04-30)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.4...7.2.5)
- Fix: `html_report()` could fail with an AttributeError on `isatty` if run
in an unusual environment where sys.stdout had been replaced. This is now
fixed.
.. \_changes\_7-2-4:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yLjQiLCJ1cGRhdGVkSW5WZXIiOiIzNS4yLjQifQ==-->https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/691fix(deps): update dependency prometheus-fastapi-instrumentator to v6 - autocl...2023-05-06T19:24:52Zrenovatefix(deps): update dependency prometheus-fastapi-instrumentator to v6 - autoclosedThis MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [prometheus-fastapi-instrumentator](https://github.com/trallnag/prometheus-fastapi-instrumentator) | `^5.11...This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [prometheus-fastapi-instrumentator](https://github.com/trallnag/prometheus-fastapi-instrumentator) | `^5.11.1` -> `^6.0.0` | [![age](https://badges.renovateapi.com/packages/pypi/prometheus-fastapi-instrumentator/6.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/prometheus-fastapi-instrumentator/6.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/prometheus-fastapi-instrumentator/6.0.0/compatibility-slim/5.11.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/prometheus-fastapi-instrumentator/6.0.0/confidence-slim/5.11.2)](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>trallnag/prometheus-fastapi-instrumentator</summary>
### [`v6.0.0`](https://github.com/trallnag/prometheus-fastapi-instrumentator/blob/HEAD/CHANGELOG.md#​600-httpsgithubcomtrallnagprometheus-fastapi-instrumentatorcomparev5112v600--2023-03-20)
[Compare Source](https://github.com/trallnag/prometheus-fastapi-instrumentator/compare/v5.11.2...v6.0.0)
Small release with a small breaking change leading to an increase of the major
version according to semantic versioning.
Breaking change only affects users that have custom instrumentations that access
`info.response.body`, a feature introduced with [5.10.0](#​5100--2023-02-26) few
weeks ago. See below for more information.
Ask or discuss anything quick about the release in the discussion
[#​239](https://github.com/trallnag/prometheus-fastapi-instrumentator/discussions/239).
##### Added
- **BREAKING:** Disabled passing response body to instrumentation functions.
Moved behind whitelist that is empty by default. Changes a feature introduced
with [5.10.0](#​5100--2023-02-26). Only affects users that have custom
instrumentations that access `info.response.body`.
Opt-in via new parameter `body_handlers` added to instrumentator constructor.
Parameter takes list of pattern strings to match handlers. For old behavior,
pass argument `[r".*"]` to match all handlers:
```python
instrumentator = Instrumentator(body_handlers=[r".*"])
```
Motivation for change: Collecting body negatively impacts performance of
responses with largish body.
Thanks to [@​bbeattie-phxlabs](@​bbeattie-phxlabs) for raising this issue in
[#​234](https://github.com/trallnag/prometheus-fastapi-instrumentator/issues/234)
and implementing it in
[#​233](https://github.com/trallnag/prometheus-fastapi-instrumentator/pull/233)
/
[#​238](https://github.com/trallnag/prometheus-fastapi-instrumentator/pull/238).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yLjQiLCJ1cGRhdGVkSW5WZXIiOiIzNS4yLjQifQ==-->https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/690fix(deps): update dependency werkzeug to v2.3.2 - autoclosed2023-04-30T12:25:33Zrenovatefix(deps): update dependency werkzeug to v2.3.2 - autoclosedThis MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| Werkzeug ([changelog](https://werkzeug.palletsprojects.com/changes/)) | `2.2.3` -> `2.3.2` | [![age](https:...This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| Werkzeug ([changelog](https://werkzeug.palletsprojects.com/changes/)) | `2.2.3` -> `2.3.2` | [![age](https://badges.renovateapi.com/packages/pypi/Werkzeug/2.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/Werkzeug/2.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/Werkzeug/2.3.2/compatibility-slim/2.2.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/Werkzeug/2.3.2/confidence-slim/2.2.3)](https://docs.renovatebot.com/merge-confidence/) |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yLjQiLCJ1cGRhdGVkSW5WZXIiOiIzNS4yLjQifQ==-->https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/689fix(deps): update dependency httpx to ^0.24.0 - autoclosed2023-05-06T19:24:51Zrenovatefix(deps): update dependency httpx to ^0.24.0 - autoclosedThis MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [httpx](https://github.com/encode/httpx) ([changelog](https://github.com/encode/httpx/blob/master/CHANGELOG...This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [httpx](https://github.com/encode/httpx) ([changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)) | `^0.23.3` -> `^0.24.0` | [![age](https://badges.renovateapi.com/packages/pypi/httpx/0.24.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/httpx/0.24.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/httpx/0.24.0/compatibility-slim/0.23.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/httpx/0.24.0/confidence-slim/0.23.3)](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>encode/httpx</summary>
### [`v0.24.0`](https://github.com/encode/httpx/blob/HEAD/CHANGELOG.md#​0240-6th-April-2023)
[Compare Source](https://github.com/encode/httpx/compare/0.23.3...0.24.0)
##### Changed
- The logging behaviour has been changed to be more in-line with other standard Python logging usages. We no longer have a custom `TRACE` log level, and we no longer use the `HTTPX_LOG_LEVEL` environment variable to auto-configure logging. We now have a significant amount of `DEBUG` logging available at the network level. Full documentation is available at https://www.python-httpx.org/logging/ ([#​2547](https://github.com/encode/httpx/issues/2547), [encode/httpcore#​648](https://github.com/encode/httpcore/issues/648))
- The `Response.iter_lines()` method now matches the stdlib behaviour and does not include the newline characters. It also resolves a performance issue. ([#​2423](https://github.com/encode/httpx/issues/2423))
- Query parameter encoding switches from using + for spaces and %2F for forward slash, to instead using %20 for spaces and treating forward slash as a safe, unescaped character. This differs from `requests`, but is in line with browser behavior in Chrome, Safari, and Firefox. Both options are RFC valid. ([#​2543](https://github.com/encode/httpx/issues/2543))
- NetRC authentication is no longer automatically handled, but is instead supported by an explicit `httpx.NetRCAuth()` authentication class. See the documentation at https://www.python-httpx.org/advanced/#netrc-support ([#​2525](https://github.com/encode/httpx/issues/2525))
##### Removed
- The `rfc3986` dependancy has been removed. ([#​2252](https://github.com/encode/httpx/issues/2252))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yLjQiLCJ1cGRhdGVkSW5WZXIiOiIzNS4yLjQifQ==-->