brunofoggiatto
2f7b5847e9
✅ Add tests for file upload validation and saving examples
7 months ago
brunofoggiatto
9894481f3c
📝 Add file upload validation and saving examples
This PR adds practical examples for validating and saving uploaded files,
addressing common production use cases.
New examples:
- Tutorial 004: Upload with validation (file type, size, count)
- Tutorial 005: Saving files to disk with unique names
Each example includes variants for Python 3.9+ and 3.10+.
Documentation updated with new sections explaining validation
best practices and file saving security considerations.
7 months ago
github-actions[bot]
409e7b503c
📝 Update release notes
[skip ci]
7 months ago
Nils-Hero Lindemann
db488f3220
🌐 Sync German docs ( #14317 )
* Sync with #14262
* Sync with #14287
* Two improvements
* "Frühzeitig beenden" -> "Frühes Beenden"
* "Make herum" bold too
7 months ago
Sebastián Ramírez
1c7e2540c2
🔖 Release version 0.121.1
7 months ago
github-actions[bot]
9e5439959a
📝 Update release notes
[skip ci]
7 months ago
luzzodev
282f372eda
🐛 Fix `Depends(func, scope='function')` for top level (parameterless) dependencies ( #14301 )
7 months ago
github-actions[bot]
972a967d5d
📝 Update release notes
[skip ci]
7 months ago
github-actions[bot]
4170f621a5
📝 Update release notes
[skip ci]
7 months ago
dependabot[bot]
67c8dfaf0f
⬆ Bump ruff from 0.13.2 to 0.14.3 ( #14276 )
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.13.2 to 0.14.3.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.13.2...0.14.3 )
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.14.3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
pre-commit-ci[bot]
34db1e2e2c
⬆ [pre-commit.ci] pre-commit autoupdate ( #14289 )
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.2 → v0.14.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.2...v0.14.3 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
7 months ago
github-actions[bot]
b787103226
📝 Update release notes
[skip ci]
7 months ago
Sebastián Ramírez
289b4aa2fa
📝 Upate docs for advanced dependencies with `yield`, noting the changes in 0.121.0, adding `scope` ( #14287 )
7 months ago
Sebastián Ramírez
4efae81a76
🔖 Release version 0.121.0
7 months ago
Sebastián Ramírez
3690140555
📝 Update release notes
7 months ago
github-actions[bot]
ad4d8f24ca
📝 Update release notes
[skip ci]
7 months ago
Sebastián Ramírez
ac438b9934
✨ Add support for dependencies with scopes, support `scope="request"` for dependencies with `yield` that exit before the response is sent ( #14262 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
7 months ago
github-actions[bot]
425a4c5bb1
📝 Update release notes
[skip ci]
7 months ago
github-actions[bot]
3a223b9073
📝 Update release notes
[skip ci]
7 months ago
Sebastián Ramírez
566e0d60b2
👥 Update FastAPI People - Contributors and Translators ( #14273 )
Co-authored-by: github-actions <[email protected] >
7 months ago
github-actions[bot]
940ee0c9c3
📝 Update release notes
[skip ci]
7 months ago
Sebastián Ramírez
f8df43d734
👥 Update FastAPI People - Sponsors ( #14274 )
Co-authored-by: github-actions <[email protected] >
7 months ago
Sebastián Ramírez
dbb7020a4d
👥 Update FastAPI GitHub topic repositories ( #14280 )
Co-authored-by: github-actions <[email protected] >
7 months ago
github-actions[bot]
32da8ca78b
📝 Update release notes
[skip ci]
7 months ago
dependabot[bot]
8c42d0ce16
⬆ Bump mkdocs-macros-plugin from 1.4.0 to 1.4.1 ( #14277 )
Bumps [mkdocs-macros-plugin](https://github.com/fralau/mkdocs_macros_plugin ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/fralau/mkdocs_macros_plugin/releases )
- [Changelog](https://github.com/fralau/mkdocs-macros-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fralau/mkdocs_macros_plugin/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: mkdocs-macros-plugin
dependency-version: 1.4.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
github-actions[bot]
2a25f6d3a3
📝 Update release notes
[skip ci]
7 months ago
dependabot[bot]
8be5867de7
⬆ Bump mkdocstrings[python] from 0.26.1 to 0.30.1 ( #14279 )
Bumps [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings ) from 0.26.1 to 0.30.1.
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases )
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.26.1...0.30.1 )
---
updated-dependencies:
- dependency-name: mkdocstrings[python]
dependency-version: 0.30.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
Sebastián Ramírez
fad35ef43f
🔖 Release version 0.120.4
7 months ago
github-actions[bot]
4d57c13055
📝 Update release notes
[skip ci]
7 months ago
Motov Yurii
496de1816a
🐛 Fix security schemes in OpenAPI when added at the top level app ( #14266 )
Co-authored-by: Sebastián Ramírez <[email protected] >
7 months ago
Sebastián Ramírez
2cf04ee30d
🔖 Release version 0.120.3
7 months ago
github-actions[bot]
ec00f5a90f
📝 Update release notes
[skip ci]
7 months ago
Motov Yurii
8b46d8821b
📝 Update note for untranslated pages ( #14257 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
7 months ago
github-actions[bot]
17fcbbe910
📝 Update release notes
[skip ci]
7 months ago
Sebastián Ramírez
dcfb8b9dda
♻️ Reduce internal cyclic recursion in dependencies, from 2 functions calling each other to 1 calling itself ( #14256 )
7 months ago
github-actions[bot]
1fc586c3a5
📝 Update release notes
[skip ci]
7 months ago
Sebastián Ramírez
bb88a0f94a
♻️ Refactor internals of dependencies, simplify code and remove `get_param_sub_dependant` ( #14255 )
7 months ago
github-actions[bot]
9d1a384f4f
📝 Update release notes
[skip ci]
7 months ago
Sebastián Ramírez
c144f9fbd3
♻️ Refactor internals of dependencies, simplify using dataclasses ( #14254 )
7 months ago
Sebastián Ramírez
22ccca21fc
🔖 Release version 0.120.2
7 months ago
github-actions[bot]
d2a703d5cc
📝 Update release notes
[skip ci]
7 months ago
Sebastián Ramírez
35aa12b9bd
🔧 Add sponsor: SerpApi ( #14248 )
7 months ago
github-actions[bot]
c01b5dd96f
📝 Update release notes
[skip ci]
7 months ago
Sebastián Ramírez
6a657f360d
🐛 Fix separation of schemas with nested models introduced in 0.119.0 ( #14246 )
7 months ago
github-actions[bot]
7132a69046
📝 Update release notes
[skip ci]
7 months ago
github-actions[bot]
db7feb5a3e
📝 Update release notes
[skip ci]
7 months ago
github-actions[bot]
448ea5ec82
📝 Update release notes
[skip ci]
7 months ago
pre-commit-ci[bot]
b618e0f9d4
⬆ [pre-commit.ci] pre-commit autoupdate ( #14237 )
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.1 → v0.14.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.1...v0.14.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
7 months ago
dependabot[bot]
ccf50ca477
⬆ Bump actions/download-artifact from 5 to 6 ( #14236 )
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
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>
7 months ago
dependabot[bot]
a0ef245067
⬆ Bump actions/upload-artifact from 4 to 5 ( #14235 )
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '5'
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>
7 months ago