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 <[email protected] >
8 months ago
github-actions[bot]
e752224bce
📝 Update release notes
[skip ci]
8 months ago
Sebastián Ramírez
0dee714026
👥 Update FastAPI GitHub topic repositories ( #14426 )
Co-authored-by: github-actions <[email protected] >
8 months ago
github-actions[bot]
938f471079
📝 Update release notes
[skip ci]
8 months ago
Motov Yurii
6400d8a623
⬆ Bump markdown-include-variants from 0.0.6 to 0.0.7 ( #14423 )
8 months ago
github-actions[bot]
f8e46d98a0
📝 Update release notes
[skip ci]
8 months ago
Sebastián Ramírez
8a7ad3d255
👥 Update FastAPI People - Sponsors ( #14422 )
Co-authored-by: github-actions <[email protected] >
8 months ago
github-actions[bot]
d661bb1324
📝 Update release notes
[skip ci]
8 months ago
Sebastián Ramírez
32aba57b49
👥 Update FastAPI People - Contributors and Translators ( #14420 )
Co-authored-by: github-actions <[email protected] >
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