Claude
03067fc675
Add SecretBytes and NewType support for File() parameter
...
Support using SecretBytes type annotation with File() parameter, similar to
how bytes is supported. This enables secure handling of file content that
should not be logged or displayed.
Also add support for NewType wrappers around bytes and SecretBytes types
by unwrapping NewType in type detection functions.
- Add _unwrap_newtype() helper to handle NewType wrappers
- Update is_bytes_or_nonable_bytes_annotation() to check for SecretBytes
(both pydantic.types.SecretBytes and pydantic.v1.types.SecretBytes)
- Update is_bytes_field() in v1.py for Pydantic v1 compatibility
- Add comprehensive tests for SecretBytes and NewType with File()
Supports: SecretBytes, SecretBytes | None, List[SecretBytes],
NewType('X', bytes), NewType('X', SecretBytes)
Co-authored-by: Kamil Monicz <kamil@monicz.dev>
2025-12-01 17:35:14 +00:00
github-actions[bot]
e752224bce
📝 Update release notes
...
[skip ci]
2025-12-01 13:17:51 +00:00
Sebastián Ramírez
0dee714026
👥 Update FastAPI GitHub topic repositories ( #14426 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-12-01 14:17:29 +01:00
github-actions[bot]
938f471079
📝 Update release notes
...
[skip ci]
2025-12-01 06:33:00 +00:00
Motov Yurii
6400d8a623
⬆ Bump markdown-include-variants from 0.0.6 to 0.0.7 ( #14423 )
2025-12-01 07:32:32 +01:00
github-actions[bot]
f8e46d98a0
📝 Update release notes
...
[skip ci]
2025-12-01 06:31:20 +00:00
Sebastián Ramírez
8a7ad3d255
👥 Update FastAPI People - Sponsors ( #14422 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-12-01 07:30:56 +01:00
github-actions[bot]
d661bb1324
📝 Update release notes
...
[skip ci]
2025-12-01 06:28:06 +00:00
Sebastián Ramírez
32aba57b49
👥 Update FastAPI People - Contributors and Translators ( #14420 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-12-01 07:27:43 +01:00
Sebastián Ramírez
f2bab95267
🔖 Release version 0.123.0
2025-11-30 15:47:35 +01:00
github-actions[bot]
c38e3e0108
📝 Update release notes
...
[skip ci]
2025-11-30 14:46:13 +00:00
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>
2025-11-30 15:45:49 +01:00
Sebastián Ramírez
63d7a2b997
🔖 Release version 0.122.1
2025-11-30 13:00:20 +01:00
github-actions[bot]
7681f2904d
📝 Update release notes
...
[skip ci]
2025-11-30 11:57:24 +00:00
Kristján Valur Jónsson
378ad688b7
🐛 Fix hierarchical security scope propagation ( #5624 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
Co-authored-by: svlandeg <svlandeg@github.com>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
2025-11-30 12:57:01 +01:00
github-actions[bot]
c6487ed632
📝 Update release notes
...
[skip ci]
2025-11-29 12:09:26 +00:00
Motov Yurii
62a6974004
⬆ Bump markdown-include-variants from 0.0.5 to 0.0.6 ( #14418 )
2025-11-29 13:08:57 +01:00
github-actions[bot]
998288261a
📝 Update release notes
...
[skip ci]
2025-11-28 15:55:40 +00:00
Sebastián Ramírez
8ab7167eaf
💅 Update CSS to explicitly use emoji font ( #14415 )
2025-11-28 15:55:15 +00:00
Sebastián Ramírez
5b0625df96
🔖 Release version 0.122.0
2025-11-24 20:14:34 +01:00
Sebastián Ramírez
8732c53478
📝 Updates release notes
2025-11-24 20:12:28 +01:00
github-actions[bot]
a4ef97afd9
📝 Update release notes
...
[skip ci]
2025-11-24 19:03:33 +00:00
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 <tiangolo@gmail.com>
2025-11-24 20:03:06 +01:00
github-actions[bot]
e2354a0a06
📝 Update release notes
...
[skip ci]
2025-11-24 15:00:36 +00:00
github-actions[bot]
cc66dee55c
📝 Update release notes
...
[skip ci]
2025-11-24 15:00:29 +00:00
github-actions[bot]
ecfb752487
📝 Update release notes
...
[skip ci]
2025-11-24 15:00:13 +00:00
github-actions[bot]
8b18522205
📝 Update release notes
...
[skip ci]
2025-11-24 15:00:12 +00:00
github-actions[bot]
a2395e0243
📝 Update release notes
...
[skip ci]
2025-11-24 14:59:55 +00:00
github-actions[bot]
c7d05a903c
📝 Update release notes
...
[skip ci]
2025-11-24 14:58:56 +00:00
Sofie Van Landeghem
ab33b45718
👷 Upgrade `latest-changes` GitHub Action and pin `actions/checkout@v5` ( #14403 )
...
👷 Upgrade latest-changes and pin actions/checkout@v5
2025-11-24 15:58:32 +01:00
Motov Yurii
5265c4f5cb
🔧 Configure labeler to exclude files that start from underscore for `lang-all` label ( #14213 )
2025-11-23 21:10:04 +01:00
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>
2025-11-23 18:41:43 +01:00
Sebastián Ramírez
79bc4b9ca0
👷 Add custom pre-commit CI ( #14397 )
2025-11-23 17:36:34 +01:00
Sebastián Ramírez
ae951f6981
💄 Use font Fira Code to fix display of Rich panels in docs in Windows ( #14387 )
2025-11-23 10:27:40 +01:00
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-21 14:03:21 +01:00
github-actions[bot]
2909f8a628
📝 Update release notes
...
[skip ci]
2025-11-21 12:49:34 +00:00
Motov Yurii
32b375c5e4
🛠️ Add `add-permalinks` and `add-permalinks-page` to `scripts/docs.py` ( #14033 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2025-11-21 13:49:11 +01:00
github-actions[bot]
456008a52b
📝 Update release notes
...
[skip ci]
2025-11-20 10:45:39 +00:00
Sebastián Ramírez
be5a6311f5
🔧 Upgrade Material for MkDocs and remove insiders ( #14375 )
2025-11-20 11:45:16 +01:00
Sebastián Ramírez
325fd16d32
🔖 Release version 0.121.3
2025-11-19 17:51:59 +01:00
github-actions[bot]
7659b70da0
📝 Update release notes
...
[skip ci]
2025-11-19 16:50:42 +00:00
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 )
2025-11-19 17:50:18 +01:00
github-actions[bot]
566e3157a5
📝 Update release notes
...
[skip ci]
2025-11-19 11:55:32 +00:00
Ben Beasley
569226e753
⬆️ Bump Starlette to <`0.51.0` ( #14282 )
2025-11-19 12:55:05 +01:00
github-actions[bot]
33a75f4817
📝 Update release notes
...
[skip ci]
2025-11-19 10:12:24 +00:00
Nils-Hero Lindemann
89baa704a9
📝 Add missing hash part ( #14369 )
...
Add missing hash part
Was forgotten in #14359 . I already added it in #14367
2025-11-19 11:12:00 +01:00
github-actions[bot]
827ed1e6a2
📝 Update release notes
...
[skip ci]
2025-11-18 08:30:46 +00:00
Edge-Seven
df83eb7278
📝 Fix typos in code comments ( #14364 )
...
Fix typos in some files
Co-authored-by: khanhkhanhlele <namkhanh20xx@gmail.com>
2025-11-18 09:30:20 +01:00
github-actions[bot]
4e84f31694
📝 Update release notes
...
[skip ci]
2025-11-17 19:34:16 +00:00
Sebastián Ramírez
994d6cc912
📝 Add docs for using FastAPI Cloud ( #14359 )
2025-11-17 20:33:53 +01:00