Denny Biasiolli
ce1f5e8397
⚡ ️ Replace email.message with string parsing for content-type detection
Replace the per-request email.message.Message allocation in
get_request_handler with a lightweight _is_json_content_type() helper
that uses simple string operations (split, find, lower).
Benchmarks show a ~5x speedup (80% time reduction) for content-type
checking on every JSON body request.
- Add _is_json_content_type() to fastapi/routing.py
- Remove import email.message (no longer needed)
- Add 26 parametrized unit tests for the new helper
- Add benchmark script comparing old vs new approach
1 month ago
github-actions[bot]
2bd97a6013
📝 Update release notes
[skip ci]
1 month ago
Yurii Motov
a3558be5f8
🔒 ️ Improve GitHub actions security ( #15607 )
1 month ago
github-actions[bot]
c9343d2cf0
📝 Update release notes
[skip ci]
1 month ago
Yurii Motov
a53efbcae9
⚰️ Remove ruff and coverage ignores for non-existing files ( #15610 )
Co-authored-by: AshNicolus <[email protected] >
1 month ago
github-actions[bot]
ad09734fa3
📝 Update release notes
[skip ci]
1 month ago
Yurii Motov
57535ef85b
✅ Use custom `changing_dir` instead of `CLIRunner.isolated_filesystem` to set working dir ( #15616 )
1 month ago
github-actions[bot]
dbfd55cea3
📝 Update release notes
[skip ci]
1 month ago
Yurii Motov
59d4a80fcf
✅ Add `httpx2` test dependency to avoid deprecation warning ( #15603 )
1 month ago
github-actions[bot]
6cbdde2315
📝 Update release notes
[skip ci]
1 month ago
dependabot[bot]
1464678ba6
⬆ Bump the python-packages group with 15 updates ( #15594 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 month ago
github-actions[bot]
1a84bbc00b
📝 Update release notes
[skip ci]
1 month ago
Yurii Motov
3fdc54edab
👷 Configure Dependabot to group updates and update weekly ( #15560 )
1 month ago
github-actions[bot]
09ba2cec98
📝 Update release notes
[skip ci]
1 month ago
Alexander Li
3e3d38930e
✏️ Use `Annotated` in inline example in `docs/en/docs/tutorial/body-multiple-params.md` ( #15591 )
1 month ago
github-actions[bot]
84f205c8f7
📝 Update release notes
[skip ci]
1 month ago
Ömer 🇹🇷
7baefe7144
📝 Remove "NGINX Unit" from the list of ASGI-servers in docs ( #15475 )
1 month ago
github-actions[bot]
2895c51ba8
📝 Update release notes
[skip ci]
1 month ago
zadevhub
21c46919fc
📝 Update `docs/en/docs/tutorial/security/oauth2-jwt.md` ( #14781 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: Yurii Motov <[email protected] >
1 month ago
Sebastián Ramírez
8206485753
🔖 Release version 0.136.3
1 month ago
github-actions[bot]
c910e0139f
📝 Update release notes
[skip ci]
1 month ago
Sebastián Ramírez
063b5bf582
♻️ Do not accept underscore headers when using `convert_underscores=True` (the default) ( #15589 )
1 month ago
Sebastián Ramírez
22b02e26f9
🔖 Release version 0.136.2
1 month ago
github-actions[bot]
3b252a2a22
📝 Update release notes
[skip ci]
1 month ago
Sebastián Ramírez
c7fb7851b3
♻️ Validate Server Sent Event fields to avoid applications from sending broken data ( #15588 )
1 month ago
github-actions[bot]
cb83b83dcf
📝 Update release notes
[skip ci]
1 month ago
Sebastián Ramírez
00f805cec9
✅ Update tests, don't double dispose the engine ( #15587 )
1 month ago
github-actions[bot]
3675137523
📝 Update release notes
[skip ci]
1 month ago
Yurii Motov
7b57e42986
📝 Document `--entrypoint` CLI option ( #15464 )
1 month ago
github-actions[bot]
e16894ec5b
📝 Update release notes
[skip ci]
1 month ago
Roman Postnov
8b647e3405
⚡ ️ Speed up test suite via caching and fixture scopes to make it ~24% faster ( #13583 )
Co-authored-by: Sebastián Ramírez <[email protected] >
1 month ago
github-actions[bot]
4f37a43d32
📝 Update release notes
[skip ci]
1 month ago
Sebastián Ramírez
973230c782
🔥 Remove config files now in central GitHub repo ( #15585 )
1 month ago
github-actions[bot]
ecd70826eb
📝 Update release notes
[skip ci]
1 month ago
Sebastián Ramírez
c347875c9c
📝 Update and simplify docs about help and management ( #15583 )
1 month ago
github-actions[bot]
0b9863020d
📝 Update release notes
[skip ci]
1 month ago
Sebastián Ramírez
55a9ff2e5e
📝 Add docs references to central contributing docs ( #15580 )
1 month ago
github-actions[bot]
b95681eb5b
📝 Update release notes
[skip ci]
1 month ago
dependabot[bot]
c99e215ed8
⬆ Bump urllib3 from 2.6.3 to 2.7.0 ( #15502 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 month ago
github-actions[bot]
4232d80e84
📝 Update release notes
[skip ci]
1 month ago
dependabot[bot]
87d1daeeea
⬆ Bump idna from 3.11 to 3.15 ( #15565 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 month ago
github-actions[bot]
60571d7ada
📝 Update release notes
[skip ci]
1 month ago
dependabot[bot]
a314e3be3b
⬆ Bump cloudflare/wrangler-action from 3.15.0 to 4.0.0 ( #15571 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 month ago
github-actions[bot]
b11805add7
📝 Update release notes
[skip ci]
1 month ago
Francisco Silva
74d735d518
🌐 Improve translation consistency in `docs/pt/docs/advanced/generate-clients.md` ( #15456 )
Co-authored-by: uilton <[email protected] >
Co-authored-by: Yurii Motov <[email protected] >
1 month ago
github-actions[bot]
ed7f49ed69
📝 Update release notes
[skip ci]
1 month ago
Sebastián Ramírez
3969ae8f38
📝 Update security policy ( #15577 )
1 month ago
github-actions[bot]
f4cafbc467
📝 Update release notes
[skip ci]
1 month ago
Sebastián Ramírez
31ced9d49e
🔧 Migrate docs from MkDocs to Zensical ( #15563 )
1 month ago
github-actions[bot]
6f9dcdf61a
📝 Update release notes
[skip ci]
1 month ago