sebastianbreguel
e79ec3a266
⚡ Optimize get_flat_dependant: set lookup + copy-on-write lists
Use a set instead of a list for the visited tracker, converting the
membership check from O(n) to O(1). DependencyCacheKey is a hashable
tuple, so the swap is safe.
Defer param list copies until a child actually has data to merge
(copy-on-write). Nodes whose children carry no params skip all five
list allocations entirely, which is the common case for paramless
dependency functions.
Skip the oauth_scopes property call and intermediate list
concatenations when no scopes are present.
Benchmarks (synthetic trees, min of 5×1000 runs, Python 3.11):
| Scenario | Speed | RAM |
|--------------|--------|--------|
| Chain ×100 | −28 % | −12 % |
| Wide 100×3 | −57 % | −29 % |
| Diamond ×100 | −39 % | −31 % |
2 weeks ago
github-actions[bot]
dbfd55cea3
📝 Update release notes
[skip ci]
2 weeks ago
Yurii Motov
59d4a80fcf
✅ Add `httpx2` test dependency to avoid deprecation warning ( #15603 )
2 weeks ago
github-actions[bot]
6cbdde2315
📝 Update release notes
[skip ci]
2 weeks 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>
2 weeks ago
github-actions[bot]
1a84bbc00b
📝 Update release notes
[skip ci]
2 weeks ago
Yurii Motov
3fdc54edab
👷 Configure Dependabot to group updates and update weekly ( #15560 )
2 weeks ago
github-actions[bot]
09ba2cec98
📝 Update release notes
[skip ci]
2 weeks ago
Alexander Li
3e3d38930e
✏️ Use `Annotated` in inline example in `docs/en/docs/tutorial/body-multiple-params.md` ( #15591 )
2 weeks ago
github-actions[bot]
84f205c8f7
📝 Update release notes
[skip ci]
2 weeks ago
Ömer 🇹🇷
7baefe7144
📝 Remove "NGINX Unit" from the list of ASGI-servers in docs ( #15475 )
2 weeks ago
github-actions[bot]
2895c51ba8
📝 Update release notes
[skip ci]
2 weeks 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] >
2 weeks ago
Sebastián Ramírez
8206485753
🔖 Release version 0.136.3
2 weeks ago
github-actions[bot]
c910e0139f
📝 Update release notes
[skip ci]
2 weeks ago
Sebastián Ramírez
063b5bf582
♻️ Do not accept underscore headers when using `convert_underscores=True` (the default) ( #15589 )
2 weeks ago
Sebastián Ramírez
22b02e26f9
🔖 Release version 0.136.2
2 weeks ago
github-actions[bot]
3b252a2a22
📝 Update release notes
[skip ci]
2 weeks ago
Sebastián Ramírez
c7fb7851b3
♻️ Validate Server Sent Event fields to avoid applications from sending broken data ( #15588 )
2 weeks ago
github-actions[bot]
cb83b83dcf
📝 Update release notes
[skip ci]
2 weeks ago
Sebastián Ramírez
00f805cec9
✅ Update tests, don't double dispose the engine ( #15587 )
2 weeks ago
github-actions[bot]
3675137523
📝 Update release notes
[skip ci]
2 weeks ago
Yurii Motov
7b57e42986
📝 Document `--entrypoint` CLI option ( #15464 )
2 weeks ago
github-actions[bot]
e16894ec5b
📝 Update release notes
[skip ci]
2 weeks 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] >
2 weeks ago
github-actions[bot]
4f37a43d32
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
973230c782
🔥 Remove config files now in central GitHub repo ( #15585 )
3 weeks ago
github-actions[bot]
ecd70826eb
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
c347875c9c
📝 Update and simplify docs about help and management ( #15583 )
3 weeks ago
github-actions[bot]
0b9863020d
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
55a9ff2e5e
📝 Add docs references to central contributing docs ( #15580 )
3 weeks ago
github-actions[bot]
b95681eb5b
📝 Update release notes
[skip ci]
3 weeks 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>
3 weeks ago
github-actions[bot]
4232d80e84
📝 Update release notes
[skip ci]
3 weeks 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>
3 weeks ago
github-actions[bot]
60571d7ada
📝 Update release notes
[skip ci]
3 weeks 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>
3 weeks ago
github-actions[bot]
b11805add7
📝 Update release notes
[skip ci]
3 weeks 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] >
3 weeks ago
github-actions[bot]
ed7f49ed69
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
3969ae8f38
📝 Update security policy ( #15577 )
3 weeks ago
github-actions[bot]
f4cafbc467
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
31ced9d49e
🔧 Migrate docs from MkDocs to Zensical ( #15563 )
3 weeks ago
github-actions[bot]
6f9dcdf61a
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
2b5cd26248
🍱 Update sponsors: TalorData image ( #15562 )
3 weeks ago
github-actions[bot]
5341528623
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
ff6a38a434
🌐 Update translations for ja (update-outdated) ( #15530 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
Co-authored-by: Yurii Motov <[email protected] >
3 weeks ago
github-actions[bot]
626ae1918c
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
3780ba5472
🌐 Update translations for uk (update-outdated) ( #15529 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
Co-authored-by: Yurii Motov <[email protected] >
3 weeks ago
github-actions[bot]
21697d9794
📝 Update release notes
[skip ci]
3 weeks ago