Navid Nabavi
1a43eb08cf
perf: skip deepcopy for immutable defaults and default_factory params
When a request parameter has an immutable default (None, int, str, bytes,
bool) deepcopy is unnecessary — these types cannot be mutated. Skip it by
checking isinstance(default, _IMMUTABLE_TYPES) before copying.
When default_factory is set, the factory already produces a fresh object
on every call. Deepcopying that fresh object is redundant. Call
field.get_default() directly (which routes through Pydantic's
FieldInfo.get_default(call_default_factory=True)) and return without copying.
Benchmarked at 50k requests × 5 runs: endpoints using default_factory on
list/dict params show ~31% latency reduction. Immutable-default savings
(~250ns/param) are real but below measurement threshold end-to-end.
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
Sebastián Ramírez
628ff21528
🌐 Update translations for pt (update-outdated) ( #15528 )
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]
bf3668de89
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
f343905934
🌐 Update translations for de (update-outdated) ( #15527 )
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]
3ab6f1b31d
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
f3963927ec
🌐 Update translations for tr (update-outdated) ( #15526 )
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]
1f48fb42fc
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
5cfd983e1d
🌐 Update translations for ko (update-outdated) ( #15525 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
3 weeks ago
github-actions[bot]
e3844f1972
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
99812444ab
📝 Update docs, simplify usage of admonitions, only default ones ( #15553 )
3 weeks ago
github-actions[bot]
480fdba26a
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
f0c3d87da2
🌐 Update translations for zh-hant (update-outdated) ( #15524 )
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]
4047993ba8
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
e6edf14a27
🌐 Update translations for fr (update-outdated) ( #15522 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
3 weeks ago
github-actions[bot]
34a82b1b87
📝 Update release notes
[skip ci]
3 weeks ago
Sofie Van Landeghem
622dcdc99c
🔒 ️ Only allow team members to modify dependencies ( #15548 )
3 weeks ago
github-actions[bot]
8106d6391d
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
6163cc7996
🌐 Update translations for es (update-outdated) ( #15523 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
3 weeks ago
github-actions[bot]
c7171f86b2
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
eff8bc4e66
🌐 Update translations for zh (update-outdated) ( #15520 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
3 weeks ago
github-actions[bot]
9364f552e6
📝 Update release notes
[skip ci]
3 weeks ago
Sebastián Ramírez
72f127ddad
🌐 Update translations for ru (update-outdated) ( #15521 )
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]
a35a0b8b62
📝 Update release notes
[skip ci]
3 weeks ago
Yurii Motov
3e2ef69479
📝 Fix image URLs in `index.md` ( #15534 )
3 weeks ago
github-actions[bot]
ecace740f3
📝 Update release notes
[skip ci]
4 weeks ago
dependabot[bot]
6939bf8bb7
⬆ Bump actions/add-to-project from 1.0.2 to 2.0.0 ( #15490 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 weeks ago
github-actions[bot]
40e383e0b2
📝 Update release notes
[skip ci]
4 weeks ago
dependabot[bot]
a0f42dd7d5
⬆ Bump actions/labeler from 6.0.1 to 6.1.0 ( #15507 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 weeks ago
github-actions[bot]
6f2dbb96ac
📝 Update release notes
[skip ci]
4 weeks ago
Sebastián Ramírez
b6abc93bff
🔧 Remove Ruff ignored rule for tabs ( #15533 )
4 weeks ago
github-actions[bot]
b31ffc1efd
📝 Update release notes
[skip ci]
4 weeks ago