Sławek Ehlert
f1eace7523
Create response field with proper mode
...
Which should be "serialization"
also for custom response models defined in the `responses` option.
The same way we do that for the "main" response model on line 475.
This fixes issue 1. mentioned in
https://github.com/tiangolo/fastapi/discussions/10697
2024-05-02 15:08:01 +02:00
Sławek Ehlert
5cdecf2e7c
Add failing test
2024-05-02 15:07:00 +02:00
github-actions
a94ef3351e
📝 Update release notes
2024-04-30 06:38:41 +00:00
Sebastián Ramírez
ea1f2190d3
🔧 Add configs and setup for `fastapi-slim` including optional extras `fastapi-slim[standard]`, and `fastapi` including by default the same `standard` extras ( #11503 )
2024-04-29 23:38:13 -07:00
Sebastián Ramírez
32be95dd86
🔖 Release version 0.110.3
2024-04-29 17:34:06 -07:00
Sebastián Ramírez
92b67b1b29
📝 Update release notes
2024-04-29 17:33:37 -07:00
Sebastián Ramírez
e0a9692261
📝 Update release notes
2024-04-29 17:31:58 -07:00
github-actions
62f82296f3
📝 Update release notes
2024-04-30 00:03:35 +00:00
Sebastián Ramírez
f49da74200
🔨 Update internal scripts and remove unused ones ( #11499 )
2024-04-29 17:03:14 -07:00
github-actions
13ce009e9a
📝 Update release notes
2024-04-29 23:49:03 +00:00
Sebastián Ramírez
41fcbc7d00
🔧 Migrate from Hatch to PDM for the internal build ( #11498 )
2024-04-29 16:48:42 -07:00
github-actions
bec2ec7e4c
📝 Update release notes
2024-04-29 05:18:26 +00:00
Sebastián Ramírez
7b55bf37b5
📝 Update references to Python version, FastAPI supports all the current versions, no need to make the version explicit ( #11496 )
2024-04-28 22:18:04 -07:00
github-actions
285ac017a9
📝 Update release notes
2024-04-28 00:28:00 +00:00
dependabot[bot]
d1293b8786
⬆ Bump mkdocstrings[python] from 0.23.0 to 0.24.3 ( #11469 )
...
Bumps [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings ) from 0.23.0 to 0.24.3.
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases )
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.23.0...0.24.3 )
---
updated-dependencies:
- dependency-name: mkdocstrings[python]
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-27 19:27:34 -05:00
github-actions
1d41a7d2df
📝 Update release notes
2024-04-27 14:31:16 +00:00
Ian Chiu
8045f34c52
🌐 Add Traditional Chinese translation for `docs/zh-hant/benchmarks.md` ( #11484 )
2024-04-27 09:30:56 -05:00
github-actions
b254688f37
📝 Update release notes
2024-04-25 17:10:18 +00:00
Bill Zhong
026af6e248
🌐 Update Chinese translation for `docs/zh/docs/fastapi-people.md` ( #11476 )
2024-04-25 12:09:48 -05:00
github-actions
38929aae1b
📝 Update release notes
2024-04-23 22:29:42 +00:00
ch33zer
550092a3bd
✏️ Fix typo in `fastapi/security/api_key.py` ( #11481 )
2024-04-23 17:29:18 -05:00
github-actions
5c054fdd65
📝 Update release notes
2024-04-22 23:41:32 +00:00
Bill Zhong
943159afb0
🌐 Add Chinese translation for `docs/zh/docs/how-to/index.md` and `docs/zh/docs/how-to/general.md` ( #11443 )
2024-04-22 18:41:09 -05:00
github-actions
91dad1cb3a
📝 Update release notes
2024-04-19 19:30:49 +00:00
Fabian Falon
1551913223
🌐 Add Spanish translation for cookie-params `docs/es/docs/tutorial/cookie-params.md` ( #11410 )
2024-04-19 14:30:26 -05:00
github-actions
e00d29e784
📝 Update release notes
2024-04-19 15:30:04 +00:00
Omar Mokhtar
ce1fb1a23b
✏️ Fix typo in `security/http.py` ( #11455 )
2024-04-19 10:29:38 -05:00
github-actions
25c692d77d
📝 Update release notes
2024-04-19 01:03:14 +00:00
Sebastián Ramírez
2f686ce1e5
⬆️ Upgrade MkDocs Material and re-enable cards ( #11466 )
2024-04-18 19:56:59 -05:00
github-actions
14442d356f
📝 Update release notes
2024-04-19 00:46:03 +00:00
dependabot[bot]
11f95ddef6
⬆ Bump pillow from 10.2.0 to 10.3.0 ( #11403 )
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0 )
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-18 19:43:24 -05:00
github-actions
fb165a55f0
📝 Update release notes
2024-04-19 00:42:15 +00:00
Sebastián Ramírez
1aedc6e29d
🔧 Ungroup dependabot updates ( #11465 )
2024-04-18 19:41:55 -05:00
Sebastián Ramírez
be1e3faa63
🔖 Release version 0.110.2
2024-04-18 19:31:47 -05:00
github-actions
4ae63ae495
📝 Update release notes
2024-04-19 00:12:01 +00:00
Nils Lindemann
6d523d62d0
📝 Fix types in examples under `docs_src/extra_data_types` ( #10535 )
...
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>
2024-04-18 19:11:40 -05:00
github-actions
d84d6e03f4
📝 Update release notes
2024-04-18 23:59:09 +00:00
Sebastián Ramírez
a901e2f449
📝 Update references to UJSON ( #11464 )
2024-04-18 18:58:47 -05:00
github-actions
8a45645177
📝 Update release notes
2024-04-18 22:49:56 +00:00
Paul
74cc33d16b
♻️ Simplify Pydantic configs in OpenAPI models in `fastapi/openapi/models.py` ( #10886 )
...
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>
2024-04-18 17:49:33 -05:00
github-actions
5815fa58fb
📝 Update release notes
2024-04-18 21:57:19 +00:00
arjwilliams
09e4859cab
🐛 Fix support for query parameters with list types, handle JSON encoding Pydantic `UndefinedType` ( #9929 )
...
Co-authored-by: Andrew Williams <Andrew.Williams@contemi.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-04-18 16:56:59 -05:00
github-actions
071b8f27f9
📝 Update release notes
2024-04-18 21:53:48 +00:00
Waket Zheng
f08234f35a
🌐 Update Chinese translation for `docs/zh/docs/index.html` ( #11430 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-04-18 16:53:24 -05:00
github-actions
610534b703
📝 Update release notes
2024-04-18 19:53:46 +00:00
Nils Lindemann
ebc8ac7295
📝 Tweak docs and translations links, typos, format ( #11389 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-04-18 14:53:19 -05:00
github-actions
3cc5efc5de
📝 Update release notes
2024-04-18 19:41:22 +00:00
Sebastián Ramírez
27da0d02a7
✨ Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response ( #11461 )
2024-04-18 14:40:57 -05:00
github-actions
3425c834cc
📝 Update release notes
2024-04-06 15:44:16 +00:00
Anton Yakovlev
91606c3c38
🌐 Add Russian translation for `docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md` ( #11411 )
2024-04-06 10:43:55 -05:00