Commit Graph

5901 Commits

Author SHA1 Message Date
ramnes 6890d46b1d
Compare objects MRO with encoders at runtime
The previous implementation doesn't handle subclass instances when
pydantic.json.ENCODERS_BY_TYPE is modified after fastapi.encoders import.

This diff makes it easier for developers to add custom encoders that also work
with subclass instances (and it simplifies the code, as well).
2025-07-22 00:47:06 +02:00
github-actions 6bc29cc5ba 📝 Update release notes
[skip ci]
2025-07-21 12:21:22 +00:00
Mohammad c8f330314e
🌐 Add Persian translation for `docs/fa/docs/python-types.md` (#13524)
* 🌐 Add Persian translation for docs/fa/docs/python-types.md

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-21 14:20:57 +02:00
github-actions d9e2aa8678 📝 Update release notes
[skip ci]
2025-07-21 09:57:51 +00:00
Edmilson Monteiro Rodrigues Neto cf0c3cf2c4
🌐 Update Portuguese Translation for `docs/pt/docs/project-generation.md` (#13875)
* docs: update pt-docs project_generation.md

* fix: fix typo
2025-07-21 11:57:31 +02:00
github-actions 4ec2c0bb5b 📝 Update release notes
[skip ci]
2025-07-21 09:43:19 +00:00
Mohammad 5c74eeba5b
🌐 Add Persian translation for `docs/fa/docs/async.md` (#13541)
* 🌐 Add Persian translation for docs/fa/docs/async.md

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-21 11:42:59 +02:00
github-actions 27f4240750 📝 Update release notes
[skip ci]
2025-07-14 12:59:10 +00:00
sajjad rahman 679a97603a
🌐 Add Bangali translation for `docs/bn/about/index.md` (#13882)
* add translation for docs/about/index.md

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
2025-07-14 14:58:49 +02:00
github-actions e6d09027e5 📝 Update release notes
[skip ci]
2025-07-12 19:32:45 +00:00
Sebastián Ramírez 6726bf8559
👥 Update FastAPI People - Experts (#13889)
Co-authored-by: github-actions <github-actions@github.com>
2025-07-12 19:32:26 +00:00
github-actions 3063c7c57d 📝 Update release notes
[skip ci]
2025-07-12 19:10:12 +00:00
Sebastián Ramírez ce26b8e1ca
🔨 Update FastAPI People sleep interval, use external settings (#13888) 2025-07-12 19:09:49 +00:00
Sebastián Ramírez 313723494b 🔖 Release version 0.116.1 2025-07-11 18:17:57 +02:00
github-actions 095dab00c7 📝 Update release notes
[skip ci]
2025-07-11 16:16:48 +00:00
Sebastián Ramírez cad6880fd9
⬆️ Upgrade Starlette supported version range to `>=0.40.0,<0.48.0` (#13884) 2025-07-11 18:15:27 +02:00
github-actions a6e79e68a4 📝 Update release notes
[skip ci]
2025-07-11 16:14:42 +00:00
Motov Yurii 2c13b1ba4b
📝 Add notification about impending changes in Translations to `docs/en/docs/contributing.md` (#13886) 2025-07-11 18:14:15 +02:00
github-actions 7179d48fd7 📝 Update release notes
[skip ci]
2025-07-11 06:49:39 +00:00
pre-commit-ci[bot] 07bcb18a5a
⬆ [pre-commit.ci] pre-commit autoupdate (#13871)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.1 → v0.12.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.1...v0.12.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-11 08:49:17 +02:00
Sebastián Ramírez bd8f358fd9 🔖 Release version 0.116.0 2025-07-07 17:07:03 +02:00
Sebastián Ramírez 18eb7a7080 📝 Update release notes 2025-07-07 17:05:38 +02:00
github-actions dd906a998e 📝 Update release notes
[skip ci]
2025-07-07 15:00:58 +00:00
Sebastián Ramírez b083ccd250
Add support for deploying to FastAPI Cloud with `fastapi deploy` (#13870) 2025-07-07 17:00:35 +02:00
github-actions af64e9d196 📝 Update release notes
[skip ci]
2025-07-04 05:22:22 +00:00
Naves 0d5dc7ee7b
🌐 Add Russian translation for `docs/ru/docs/advanced/response-directly.md` (#13801)
* 🌐 Add Russian translation for `docs/ru/docs/advanced/response-directly.md`

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

* Update response-directly.md

fixed `Response-классов`

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-04 07:21:55 +02:00
github-actions 8068a404c7 📝 Update release notes
[skip ci]
2025-07-04 05:17:43 +00:00
Naves 6682295c73
🌐 Add Russian translation for `docs/ru/docs/advanced/additional-status-codes.md` (#13799)
* 🌐 Add Russian translation for `docs/ru/docs/advanced/additional-status-codes.md`

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

* Update additional-status-codes.md

fixed `Response-классов`

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-04 07:17:17 +02:00
github-actions 2915e31dab 📝 Update release notes
[skip ci]
2025-07-02 19:07:32 +00:00
dependabot[bot] 4f4d47baf4
⬆ Bump pillow from 11.1.0 to 11.3.0 (#13852)
Bumps [pillow](https://github.com/python-pillow/Pillow) from 11.1.0 to 11.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/11.1.0...11.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 11.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-02 21:07:09 +02:00
github-actions 8f336c5fd3 📝 Update release notes
[skip ci]
2025-07-01 13:20:56 +00:00
github-actions 3e666dfdd7 📝 Update release notes
[skip ci]
2025-07-01 13:20:35 +00:00
Sebastián Ramírez be91d0c1bd
👥 Update FastAPI People - Sponsors (#13846)
Co-authored-by: github-actions <github-actions@github.com>
2025-07-01 15:20:19 +02:00
Sebastián Ramírez f4bacfe1b5
👥 Update FastAPI GitHub topic repositories (#13848)
Co-authored-by: github-actions <github-actions@github.com>
2025-07-01 15:20:03 +02:00
github-actions 943faf237c 📝 Update release notes
[skip ci]
2025-07-01 13:19:35 +00:00
dependabot[bot] b0e09640e1
⬆ Bump mkdocs-material from 9.6.1 to 9.6.15 (#13849)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.6.1 to 9.6.15.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.6.1...9.6.15)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-version: 9.6.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-01 15:19:03 +02:00
github-actions 638b4355d8 📝 Update release notes
[skip ci]
2025-07-01 13:18:41 +00:00
pre-commit-ci[bot] 21c8a32fa7
⬆ [pre-commit.ci] pre-commit autoupdate (#13843)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.0 → v0.12.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.0...v0.12.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-01 15:18:16 +02:00
github-actions a86b9a5b03 📝 Update release notes
[skip ci]
2025-07-01 05:14:52 +00:00
Sebastián Ramírez c6037fc96f
👥 Update FastAPI People - Contributors and Translators (#13845)
Co-authored-by: github-actions <github-actions@github.com>
2025-07-01 07:14:26 +02:00
github-actions 5e7c3ee1f3 📝 Update release notes
[skip ci]
2025-06-30 06:00:29 +00:00
Valentyn 6c1432801f
🌐 Add Ukrainian translation for `docs/uk/docs/tutorial/body-updates.md` (#13804)
* 🌐 Add Ukrainian translation for docs/uk/docs/tutorial/body-updates.md

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

---------

Co-authored-by: Valentyn Druzhynin <v.druzhynin@zakaz.global>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-30 08:00:04 +02:00
Sebastián Ramírez ebdeda2de6 🔖 Release version 0.115.14 2025-06-26 17:26:32 +02:00
Sebastián Ramírez 8fa19a6faa 📝 Update release notes 2025-06-26 17:24:56 +02:00
github-actions 3ecb4c5389 📝 Update release notes
[skip ci]
2025-06-26 15:23:20 +00:00
Patrick Arminio 9d0d8828cc
🐛 Fix support for unions when using `Form` (#13827) 2025-06-26 17:22:53 +02:00
github-actions df35896a0e 📝 Update release notes
[skip ci]
2025-06-25 09:13:15 +00:00
pre-commit-ci[bot] 8f64d09ee0
⬆ [pre-commit.ci] pre-commit autoupdate (#13823)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.13 → v0.12.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.13...v0.12.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-25 11:12:53 +02:00
github-actions 3b09dd8e01 📝 Update release notes
[skip ci]
2025-06-24 19:14:26 +00:00
Valentyn c30821ff6e
🌐 Add Ukrainian translation for `docs/uk/docs/tutorial/response-model.md` (#13792)
* 🌐 Add Ukrainian translation for docs/uk/docs/tutorial/response-model.md

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

* Fix review comments

---------

Co-authored-by: Valentyn Druzhynin <v.druzhynin@zakaz.global>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-24 21:14:01 +02:00