Eugene Toder
3e3a4023bc
Add PydanticJSONResponse
...
When using this response class, json serialization is done using
Pydantic's built-in json serialization (`dump_json(r)`) instead of
generating an intermediate dict that is later serialized using a json
library (`json.dumps(dump_python(r))`).
In my testing this is 3-4x faster than using the standard json library
(the default) and 50% faster than using orjson, without requiring any
extra dependencies. This also allows configuring serialization behavior
per model using Pydantic's model_config.
2025-12-14 12:29:30 -05:00
github-actions[bot]
61ffa3eb82
📝 Update release notes
...
[skip ci]
2025-12-12 16:57:03 +00:00
Sebastián Ramírez
59917ab679
🌐 Remove translations for removed docs ( #14516 )
2025-12-12 16:56:39 +00:00
github-actions[bot]
1163dbd17f
📝 Update release notes
...
[skip ci]
2025-12-12 16:54:50 +00:00
Sebastián Ramírez
435d839c72
➕ Add requirements for translations ( #14515 )
2025-12-12 16:54:13 +00:00
Sebastián Ramírez
b1d9769f97
🔖 Release version 0.124.4
2025-12-12 15:59:12 +01:00
github-actions[bot]
89157a803c
📝 Update release notes
...
[skip ci]
2025-12-12 14:57:20 +00:00
Motov Yurii
d86c47477e
🐛 Fix parameter aliases ( #14371 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2025-12-12 15:56:57 +01:00
Sebastián Ramírez
3fe6522aae
🔖 Release version 0.124.3
2025-12-12 15:32:58 +01:00
github-actions[bot]
80d1f732e5
📝 Update release notes
...
[skip ci]
2025-12-12 14:31:45 +00:00
Sebastián Ramírez
c0556ac3a5
🐛 Fix support for tagged union with discriminator inside of `Annotated` with `Body()` ( #14512 )
2025-12-12 15:31:21 +01:00
github-actions[bot]
1fcec88ad2
📝 Update release notes
...
[skip ci]
2025-12-11 21:25:27 +00:00
Motov Yurii
f8b216df30
🌐 Sync Russian docs ( #14509 )
...
* Translate missing pages
* Update outdated translations
2025-12-11 22:25:03 +01:00
github-actions[bot]
4b905b614c
📝 Update release notes
...
[skip ci]
2025-12-11 16:16:13 +00:00
Motov Yurii
6c54bcefd3
✅ Add set of tests for request parameters and alias ( #14358 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2025-12-11 17:15:36 +01:00
github-actions[bot]
475ce41268
📝 Update release notes
...
[skip ci]
2025-12-11 16:02:50 +00:00
Sebastián Ramírez
564a4ac1b8
👷 Tweak coverage to not pass Smokeshow max file size limit ( #14507 )
2025-12-11 16:02:26 +00:00
github-actions[bot]
931e80f20c
📝 Update release notes
...
[skip ci]
2025-12-11 15:28:47 +00:00
Sofie Van Landeghem
a7ba9932ba
✅ Expand test matrix to include Windows and MacOS ( #14171 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-11 16:28:21 +01:00
github-actions[bot]
009c8af7fe
📝 Update release notes
...
[skip ci]
2025-12-11 14:49:09 +00:00
Sebastián Ramírez
4c4d520198
📝 Tweak links format ( #14505 )
2025-12-11 14:48:47 +00:00
github-actions[bot]
1cf7cd8af0
📝 Update release notes
...
[skip ci]
2025-12-10 13:54:57 +00:00
Nils-Hero Lindemann
4a9f13763d
🌐 Sync German docs ( #14488 )
...
* Sync with #14472
* Sync with #14413
* Sync with #14486
* Sync with #14487
2025-12-10 14:54:34 +01:00
github-actions[bot]
30747a69c8
📝 Update release notes
...
[skip ci]
2025-12-10 12:57:18 +00:00
Sebastián Ramírez
cd9d093f60
📝 Update docs about re-raising validation errors, do not include string as is to not leak information ( #14487 )
2025-12-10 12:56:50 +00:00
github-actions[bot]
4a98a66778
📝 Update release notes
...
[skip ci]
2025-12-10 12:29:04 +00:00
Sebastián Ramírez
442cb306f6
🔥 Remove external links section ( #14486 )
2025-12-10 12:28:40 +00:00
Sebastián Ramírez
7b0b915749
🔖 Release version 0.124.2
2025-12-10 13:07:53 +01:00
github-actions[bot]
96bdde376f
📝 Update release notes
...
[skip ci]
2025-12-10 12:06:32 +00:00
Sebastián Ramírez
7ba042e069
🐛 Fix support for `if TYPE_CHECKING`, non-evaluated stringified annotations ( #14485 )
2025-12-10 13:06:05 +01:00
Sebastián Ramírez
60699f306b
🔖 Release version 0.124.1
2025-12-10 11:38:41 +01:00
github-actions[bot]
ae7af59c6d
📝 Update release notes
...
[skip ci]
2025-12-10 10:36:56 +00:00
Sebastián Ramírez
42b250d14d
🐛 Fix handling arbitrary types when using `arbitrary_types_allowed=True` ( #14482 )
2025-12-10 11:36:29 +01:00
github-actions[bot]
71a17b5932
📝 Update release notes
...
[skip ci]
2025-12-10 08:55:57 +00:00
Motov Yurii
9475024640
📝 Add variants for code examples in "Advanced User Guide" ( #14413 )
2025-12-10 09:55:32 +01:00
github-actions[bot]
5b28a04d55
📝 Update release notes
...
[skip ci]
2025-12-09 11:12:49 +00:00
Sebastián Ramírez
8cedb742cb
✅ Add test for Pydantic v2, dataclasses, UUID, and `__annotations__` ( #14477 )
2025-12-09 12:12:24 +01:00
github-actions[bot]
320e7ce8fd
📝 Update release notes
...
[skip ci]
2025-12-08 13:05:20 +00:00
Alejandra
81517f66cc
📝 Update tech stack in project generation docs ( #14472 )
2025-12-08 13:04:54 +00:00
Sebastián Ramírez
b5ca13249e
🔖 Release version 0.124.0
2025-12-06 14:09:51 +01:00
github-actions[bot]
a2cef707e3
📝 Update release notes
...
[skip ci]
2025-12-06 12:23:23 +00:00
Yuji Teshima
5b6245666b
✏️ Fix typo in `scripts/mkdocs_hooks.py` ( #14457 )
2025-12-06 13:23:01 +01:00
github-actions[bot]
dbd34f1578
📝 Update release notes
...
[skip ci]
2025-12-06 12:22:24 +00:00
Savannah Ostrowski
e1117f7550
🚸 Improve tracebacks by adding endpoint metadata ( #14306 )
...
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-12-06 12:21:57 +00:00
Sebastián Ramírez
08b09e5236
🔖 Release version 0.123.10
2025-12-05 22:26:36 +01:00
github-actions[bot]
e7d7038dfa
📝 Update release notes
...
[skip ci]
2025-12-05 21:21:29 +00:00
Motov Yurii
da0ffab0b2
🐛 Fix using class (not instance) dependency that has `__call__` method ( #14458 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2025-12-05 21:21:05 +00:00
github-actions[bot]
516169428d
📝 Update release notes
...
[skip ci]
2025-12-05 20:19:54 +00:00
Motov Yurii
812a1926f0
🐛 Fix `separate_input_output_schemas=False` with `computed_field` ( #14453 )
2025-12-05 21:19:30 +01:00
Sebastián Ramírez
f0dd1046a6
🔖 Release version 0.123.9
2025-12-04 23:23:21 +01:00