Bharathis28
e0391ac7b5
Update Pydantic example in tutorial to Pydantic v2 syntax
This PR updates outdated code examples in body tutorial docs that still used Pydantic v1 patterns. Updated to Pydantic v2 syntax including:
- Replacing `.dict()` with `.model_dump()`
- Maintaining Python 3.10+ union types (`str | None`)
This ensures documentation is consistent with current FastAPI + Pydantic v2 behavior.
8 months ago
Sebastián Ramírez
f2bab95267
🔖 Release version 0.123.0
8 months ago
github-actions[bot]
c38e3e0108
📝 Update release notes
[skip ci]
8 months ago
Sebastián Ramírez
7fbd30460f
🐛 Cache dependencies that don't use scopes and don't have sub-dependencies with scopes ( #14419 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
8 months ago
Sebastián Ramírez
63d7a2b997
🔖 Release version 0.122.1
8 months ago
github-actions[bot]
7681f2904d
📝 Update release notes
[skip ci]
8 months ago
Kristján Valur Jónsson
378ad688b7
🐛 Fix hierarchical security scope propagation ( #5624 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: Motov Yurii <[email protected] >
Co-authored-by: svlandeg <[email protected] >
Co-authored-by: Sofie Van Landeghem <[email protected] >
8 months ago
github-actions[bot]
c6487ed632
📝 Update release notes
[skip ci]
8 months ago
Motov Yurii
62a6974004
⬆ Bump markdown-include-variants from 0.0.5 to 0.0.6 ( #14418 )
8 months ago
github-actions[bot]
998288261a
📝 Update release notes
[skip ci]
8 months ago
Sebastián Ramírez
8ab7167eaf
💅 Update CSS to explicitly use emoji font ( #14415 )
8 months ago
Sebastián Ramírez
5b0625df96
🔖 Release version 0.122.0
8 months ago
Sebastián Ramírez
8732c53478
📝 Updates release notes
8 months ago
github-actions[bot]
a4ef97afd9
📝 Update release notes
[skip ci]
8 months ago
Motov Yurii
51ad909ffe
🐛 Use `401` status code in security classes when credentials are missing ( #13786 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <[email protected] >
8 months ago
github-actions[bot]
e2354a0a06
📝 Update release notes
[skip ci]
8 months ago
github-actions[bot]
cc66dee55c
📝 Update release notes
[skip ci]
8 months ago
github-actions[bot]
ecfb752487
📝 Update release notes
[skip ci]
8 months ago
github-actions[bot]
8b18522205
📝 Update release notes
[skip ci]
8 months ago
github-actions[bot]
a2395e0243
📝 Update release notes
[skip ci]
8 months ago
github-actions[bot]
c7d05a903c
📝 Update release notes
[skip ci]
8 months ago
Sofie Van Landeghem
ab33b45718
👷 Upgrade `latest-changes` GitHub Action and pin `actions/checkout@v5` ( #14403 )
👷 Upgrade latest-changes and pin actions/checkout@v5
8 months ago
Motov Yurii
5265c4f5cb
🔧 Configure labeler to exclude files that start from underscore for `lang-all` label ( #14213 )
8 months ago
Sebastián Ramírez
4f3ff79736
👷 Add pre-commit config with local script for permalinks ( #14398 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
8 months ago
Sebastián Ramírez
79bc4b9ca0
👷 Add custom pre-commit CI ( #14397 )
8 months ago
Sebastián Ramírez
ae951f6981
💄 Use font Fira Code to fix display of Rich panels in docs in Windows ( #14387 )
8 months ago
dependabot[bot]
cbe5bdb85f
⬆ Bump actions/checkout from 5 to 6 ( #14381 )
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months ago
github-actions[bot]
2909f8a628
📝 Update release notes
[skip ci]
8 months ago
Motov Yurii
32b375c5e4
🛠️ Add `add-permalinks` and `add-permalinks-page` to `scripts/docs.py` ( #14033 )
Co-authored-by: Sebastián Ramírez <[email protected] >
8 months ago
github-actions[bot]
456008a52b
📝 Update release notes
[skip ci]
8 months ago
Sebastián Ramírez
be5a6311f5
🔧 Upgrade Material for MkDocs and remove insiders ( #14375 )
8 months ago
Sebastián Ramírez
325fd16d32
🔖 Release version 0.121.3
8 months ago
github-actions[bot]
7659b70da0
📝 Update release notes
[skip ci]
8 months ago
Sebastián Ramírez
85701631a0
♻️ Make the result of `Depends()` and `Security()` hashable, as a workaround for other tools interacting with these internal parts ( #14372 )
8 months ago
github-actions[bot]
566e3157a5
📝 Update release notes
[skip ci]
8 months ago
Ben Beasley
569226e753
⬆️ Bump Starlette to <`0.51.0` ( #14282 )
8 months ago
github-actions[bot]
33a75f4817
📝 Update release notes
[skip ci]
8 months ago
Nils-Hero Lindemann
89baa704a9
📝 Add missing hash part ( #14369 )
Add missing hash part
Was forgotten in #14359 . I already added it in #14367
8 months ago
github-actions[bot]
827ed1e6a2
📝 Update release notes
[skip ci]
8 months ago
Edge-Seven
df83eb7278
📝 Fix typos in code comments ( #14364 )
Fix typos in some files
Co-authored-by: khanhkhanhlele <[email protected] >
8 months ago
github-actions[bot]
4e84f31694
📝 Update release notes
[skip ci]
8 months ago
Sebastián Ramírez
994d6cc912
📝 Add docs for using FastAPI Cloud ( #14359 )
8 months ago
Sebastián Ramírez
02e108d166
🔖 Release version 0.121.2
8 months ago
github-actions[bot]
d3b75974f4
📝 Update release notes
[skip ci]
8 months ago
Sebastián Ramírez
5d40dfbc9b
🐛 Fix handling of JSON Schema attributes named "$ref" ( #14349 )
8 months ago
github-actions[bot]
eaf611f9ee
📝 Update release notes
[skip ci]
8 months ago
Mia Bajić
004ab1a9d1
📝 Add EuroPython talk & podcast episode with Sebastián Ramírez ( #14260 )
Add EuroPython & podcast episode with Sebastián Ramírez
8 months ago
github-actions[bot]
d1be85c728
📝 Update release notes
[skip ci]
8 months ago
Motov Yurii
42930fe600
✏️ Fix links and add missing permalink in docs ( #14217 )
* Fix link url to match link text
* Add missing permalink in `behind-a-proxy.md`
* Fix link in `advanced-dependencies.md`
8 months ago
github-actions[bot]
9e362d9f6e
📝 Update release notes
[skip ci]
8 months ago