]>
git.ipfire.org Git - thirdparty/fastapi/fastapi.git/log
James Addison [Sun, 24 Nov 2019 13:23:33 +0000 (05:23 -0800)]
:bug: Fixing validator-caused incorrect output key order (#637)
Sebastián Ramírez [Sun, 24 Nov 2019 13:18:03 +0000 (14:18 +0100)]
:memo: Update release notes
Daniel Brotsky [Sun, 24 Nov 2019 13:15:39 +0000 (05:15 -0800)]
:sparkles: Generate correct OpenAPI docs for responses with no content (#621)
Sebastián Ramírez [Sat, 23 Nov 2019 22:00:52 +0000 (23:00 +0100)]
:memo: Update release notes
Nico Stapelbroek [Sat, 23 Nov 2019 21:59:15 +0000 (22:59 +0100)]
:memo: Remove $ sign from bash codeblocs in markdown (#613)
Sebastián Ramírez [Sat, 23 Nov 2019 21:57:47 +0000 (22:57 +0100)]
:memo: Update release notes
Sebastián Ramírez [Sat, 23 Nov 2019 21:46:32 +0000 (22:46 +0100)]
:memo: Update release notes
svalouch [Sat, 23 Nov 2019 21:50:58 +0000 (22:50 +0100)]
:pencil: Add documentation for self-serving static Swagger UI (#112) (#557)
François Voron [Sat, 23 Nov 2019 21:43:43 +0000 (22:43 +0100)]
🚨 Fix black linting (#682)
Sebastián Ramírez [Wed, 9 Oct 2019 18:16:45 +0000 (13:16 -0500)]
:bookmark: Release version 0.42.0: Answer to the Ultimate Question of Life, the Universe, and Everything
Sebastián Ramírez [Wed, 9 Oct 2019 18:13:04 +0000 (13:13 -0500)]
:memo: Update release notes
Sebastián Ramírez [Wed, 9 Oct 2019 18:01:58 +0000 (13:01 -0500)]
:sparkles: Add dependencies with yield (used as context managers) (#595)
* :heavy_plus_sign: Add development/testing dependencies for Python 3.6
* :sparkles: Add concurrency submodule with contextmanager_in_threadpool
* :sparkles: Add AsyncExitStack to ASGI scope in FastAPI app call
* :sparkles: Use async stack for contextmanager-able dependencies
including running in threadpool sync dependencies
* :white_check_mark: Add tests for contextmanager dependencies
including internal raise checks when exceptions should be handled and when not
* :white_check_mark: Add test for fake asynccontextmanager raiser
* :bug: Fix mypy errors and coverage
* :mute: Remove development logs and prints
* :white_check_mark: Add tests for sub-contextmanagers, background tasks, and sync functions
* :bug: Fix mypy errors for Python 3.7
* :speech_balloon: Fix error texts for clarity
* :memo: Add docs for dependencies with yield
* :sparkles: Update SQL with SQLAlchemy tutorial to use dependencies with yield
and add an alternative with a middleware (from the old tutorial)
* :white_check_mark: Update SQL tests to remove DB file during the same tests
* :white_check_mark: Add tests for example with middleware
as a copy from the tests with dependencies with yield, removing the DB in the tests
* :pencil2: Fix typos with suggestions from code review
Co-Authored-By: dmontagu <35119617+dmontagu@users.noreply.github.com>
Sebastián Ramírez [Wed, 9 Oct 2019 17:48:01 +0000 (12:48 -0500)]
:memo: Update release notes
Samuel Colvin [Wed, 9 Oct 2019 17:45:44 +0000 (18:45 +0100)]
:bug: Fix sitemap.xml in website, fix #597 (#598)
Sebastián Ramírez [Mon, 7 Oct 2019 11:44:07 +0000 (06:44 -0500)]
:bookmark: Release version 0.41.0
Sebastián Ramírez [Sat, 5 Oct 2019 18:19:10 +0000 (13:19 -0500)]
:memo: Update release notes
Sebastián Ramírez [Sat, 5 Oct 2019 18:17:15 +0000 (13:17 -0500)]
:arrow_up: Upgrade Starlette to 0.12.9 and add State (#593)
Sebastián Ramírez [Sat, 5 Oct 2019 01:21:53 +0000 (20:21 -0500)]
:memo: Update release notes
dmontagu [Sat, 5 Oct 2019 00:23:35 +0000 (17:23 -0700)]
:sparkles: Add better support for request body access/manipulation with custom classes (#589)
Sebastián Ramírez [Fri, 4 Oct 2019 21:36:54 +0000 (16:36 -0500)]
:memo: Update release notes
dmontagu [Fri, 4 Oct 2019 21:35:20 +0000 (14:35 -0700)]
:bug: Fix preserving route_class when calling include_router (#538)
Sebastián Ramírez [Fri, 4 Oct 2019 20:38:03 +0000 (15:38 -0500)]
:bookmark: Release 0.40.0
Sebastián Ramírez [Fri, 4 Oct 2019 20:35:09 +0000 (15:35 -0500)]
:memo: Update release notes
sliptonic [Fri, 4 Oct 2019 20:33:42 +0000 (15:33 -0500)]
:pencil: Add notes about installing python-multipart for forms (#574)
Sebastián Ramírez [Fri, 4 Oct 2019 20:11:04 +0000 (15:11 -0500)]
:memo: Update release notes
dmontagu [Fri, 4 Oct 2019 20:08:41 +0000 (13:08 -0700)]
:sparkles: Sort schemas alphabetically (#554)
Modify openapi spec generation to include schemas in alphabetical order.
Sebastián Ramírez [Fri, 4 Oct 2019 20:07:22 +0000 (15:07 -0500)]
:memo: Update release notes
svalouch [Fri, 4 Oct 2019 20:02:40 +0000 (22:02 +0200)]
:sparkles: Allow docstrings to be truncated before being used for OpenAPI (#556)
Sebastián Ramírez [Fri, 4 Oct 2019 00:37:23 +0000 (19:37 -0500)]
:memo: Update release notes
Trim21 [Fri, 4 Oct 2019 00:35:44 +0000 (08:35 +0800)]
:bug: Fix doctype in docs (#537)
Sebastián Ramírez [Fri, 4 Oct 2019 00:10:34 +0000 (19:10 -0500)]
:memo: Update release notes
tsouvarev [Fri, 4 Oct 2019 00:08:29 +0000 (03:08 +0300)]
:bug: Fix setting 4XX overriding default 422 validation errors(#517)
Sebastián Ramírez [Fri, 4 Oct 2019 00:04:41 +0000 (19:04 -0500)]
:memo: Update release notes
prostomarkeloff [Fri, 4 Oct 2019 00:01:41 +0000 (03:01 +0300)]
:pencil2: Fix typo in HTTP Basic auth tutorial (#514)
Sebastián Ramírez [Fri, 4 Oct 2019 00:00:13 +0000 (19:00 -0500)]
:memo: Update release notes
Fedor Ignatov [Thu, 3 Oct 2019 23:57:49 +0000 (02:57 +0300)]
:pencil: Fix incorrect example in docs - first steps (#511)
Sebastián Ramírez [Thu, 3 Oct 2019 23:43:15 +0000 (18:43 -0500)]
:memo: Update release notes
Zamir Amir [Thu, 3 Oct 2019 23:41:04 +0000 (01:41 +0200)]
:sparkles: Add support for setting Swagger UI initOAuth configs (clientId, appName) (#499)
Sebastián Ramírez [Sun, 29 Sep 2019 22:17:44 +0000 (17:17 -0500)]
:bookmark: Release 0.39.0
Sebastián Ramírez [Sun, 29 Sep 2019 22:09:37 +0000 (17:09 -0500)]
:memo: Update release notes
jonathanunderwood [Sun, 29 Sep 2019 22:03:16 +0000 (23:03 +0100)]
:sparkles: Allow defaults in path parameters (and don't use them) (#450) (#464)
This allows using parameters that can have defaults (e.g. `None`) that can be used as query parameters.
But can also be used in routers with that include those parameters as part of the path.
Sebastián Ramírez [Sun, 29 Sep 2019 21:50:00 +0000 (16:50 -0500)]
:memo: Update release notes
toppk [Sun, 29 Sep 2019 21:47:35 +0000 (17:47 -0400)]
:sparkles: Add support for specifying a default_response_class (#467)
Sebastián Ramírez [Sun, 29 Sep 2019 21:24:52 +0000 (16:24 -0500)]
:memo: Update release notes
dmontagu [Sun, 29 Sep 2019 21:19:09 +0000 (14:19 -0700)]
:sparkles: Add support for strings and __future__ type annotations (#451)
* Add support for strings and __future__ annotations
* Add comments indicating reason for string annotations
* Fix ignores (including removing some unused ignores)
Sebastián Ramírez [Sun, 1 Sep 2019 12:56:37 +0000 (07:56 -0500)]
:bookmark: Release 0.38.1
Sebastián Ramírez [Sun, 1 Sep 2019 12:53:20 +0000 (07:53 -0500)]
:memo: Update release notes
Kamal Gill [Sun, 1 Sep 2019 12:51:42 +0000 (05:51 -0700)]
:bug: Use proper import for Request -- fixes #492 (#493)
Sebastián Ramírez [Sat, 31 Aug 2019 01:40:50 +0000 (20:40 -0500)]
:bookmark: Release version 0.38.0.Support for Pydantic 0.32.2 and Starlette 0.12.8
Sebastián Ramírez [Sat, 31 Aug 2019 01:37:39 +0000 (20:37 -0500)]
:memo: Update release notes
Sebastián Ramírez [Sat, 31 Aug 2019 01:35:34 +0000 (20:35 -0500)]
:memo: Add recent articles and opinions (#490)
Sebastián Ramírez [Sat, 31 Aug 2019 00:47:17 +0000 (19:47 -0500)]
:memo: Update release notes
dmontagu [Sat, 31 Aug 2019 00:45:01 +0000 (17:45 -0700)]
:arrow_up: Upgrade Starlette support range to include 0.12.8 (#477)
Sebastián Ramírez [Sat, 31 Aug 2019 00:34:34 +0000 (19:34 -0500)]
:memo: Update release notes
dmontagu [Sat, 31 Aug 2019 00:30:03 +0000 (17:30 -0700)]
:arrow_up: Upgrade support to Pydantic version 0.32.2 (breaking change) (#463)
Sebastián Ramírez [Sat, 31 Aug 2019 00:10:43 +0000 (19:10 -0500)]
:bookmark: Release version 0.37.0
Sebastián Ramírez [Sat, 31 Aug 2019 00:09:12 +0000 (19:09 -0500)]
:memo: Update release notes
dmontagu [Sat, 31 Aug 2019 00:05:59 +0000 (17:05 -0700)]
:sparkles: Add support for custom route class (#468)
Sebastián Ramírez [Sat, 31 Aug 2019 00:02:29 +0000 (19:02 -0500)]
:memo: Update release notes
b1-luettje [Sat, 31 Aug 2019 00:00:55 +0000 (02:00 +0200)]
:sparkles: Allow disabling Google fonts in ReDoc (#481)
Sebastián Ramírez [Fri, 30 Aug 2019 23:59:08 +0000 (18:59 -0500)]
:memo: Update release notes
dmontagu [Fri, 30 Aug 2019 23:56:14 +0000 (16:56 -0700)]
:lock: Ensure `skip_defaults` doesn't cause extra fields to be serialized (#485)
Sebastián Ramírez [Fri, 30 Aug 2019 23:37:42 +0000 (18:37 -0500)]
:memo: Update release notes
Aliaksei Urbanski [Fri, 30 Aug 2019 23:34:49 +0000 (02:34 +0300)]
:white_check_mark: Enable tests for Python 3.8-dev (#465)
Sebastián Ramírez [Fri, 30 Aug 2019 23:15:08 +0000 (18:15 -0500)]
:memo: Update release notes
dconathan [Fri, 30 Aug 2019 23:12:15 +0000 (18:12 -0500)]
:sparkles: Add support and tests for Pydantic dataclasses in response_model (#454)
Sebastián Ramírez [Fri, 30 Aug 2019 22:40:14 +0000 (17:40 -0500)]
:memo: Update release notes
Pablo Marti [Fri, 30 Aug 2019 22:35:52 +0000 (23:35 +0100)]
:pencil2: Fix typo in oauth2-jwt.md (#447)
Sebastián Ramírez [Fri, 30 Aug 2019 22:34:45 +0000 (17:34 -0500)]
:memo: Update release notes
Zoltan Papp [Fri, 30 Aug 2019 22:32:39 +0000 (01:32 +0300)]
:bug: use media_type from Body params for OpenAPI requestBody (Fixes: #431) (#439)
Sebastián Ramírez [Fri, 30 Aug 2019 22:02:40 +0000 (17:02 -0500)]
:memo: Update release notes
naxty [Fri, 30 Aug 2019 22:00:00 +0000 (00:00 +0200)]
:memo: Add article: Deploying a scikit-learn model with ONNX and FastAPI (#438)
Sebastián Ramírez [Fri, 30 Aug 2019 21:48:53 +0000 (16:48 -0500)]
:memo: Update release notes
Zoltan Papp [Fri, 30 Aug 2019 21:46:05 +0000 (00:46 +0300)]
:sparkles: Allow using custom 422 validation error and use media type from response class in schema (#437)
* media_type of additional responses from the response_class
* Use HTTPValidationError only if a custom one is not defined (Fixes: #429)
Sebastián Ramírez [Fri, 30 Aug 2019 21:36:18 +0000 (16:36 -0500)]
:memo: Update release notes
Sebastián Ramírez [Fri, 30 Aug 2019 21:34:47 +0000 (16:34 -0500)]
:bug: Fix "default" extra response with extra status codes (#489)
* :bug: Fix lowercase "default" extra response
* :bug: Fix model for responses, to allow "default" plus status codes
* :white_check_mark: Add test for "default" extra response
Sebastián Ramírez [Fri, 30 Aug 2019 16:30:52 +0000 (11:30 -0500)]
:memo: Update release notes
Zoltan Papp [Fri, 30 Aug 2019 16:17:42 +0000 (19:17 +0300)]
:sparkles: Allow additional responses to use status ranges and "default" (#435)
Sebastián Ramírez [Mon, 26 Aug 2019 13:28:33 +0000 (08:28 -0500)]
:bookmark: Release 0.36.0
Sebastián Ramírez [Mon, 26 Aug 2019 13:27:31 +0000 (08:27 -0500)]
:memo: Update release notes
dmontagu [Mon, 26 Aug 2019 13:24:58 +0000 (06:24 -0700)]
:bug: Fix skip_defaults implementation when returning a Pydantic model (#422)
Sebastián Ramírez [Sun, 25 Aug 2019 03:08:10 +0000 (22:08 -0500)]
:memo: Update release notes
dmontagu [Sun, 25 Aug 2019 02:55:25 +0000 (19:55 -0700)]
:bug: Use caching logic to determine OpenAPI spec for duplicate dependencies (#417)
Sebastián Ramírez [Sun, 25 Aug 2019 01:08:04 +0000 (20:08 -0500)]
:memo: Update release notes
Sebastián Ramírez [Sun, 25 Aug 2019 01:05:44 +0000 (20:05 -0500)]
:bug: Fix mypy route errors after merging #415 (#462)
Vitaliy Kucheryaviy [Sun, 25 Aug 2019 00:39:48 +0000 (03:39 +0300)]
:sparkles: Allow empty routed path (issue #414) (#415)
Sebastián Ramírez [Wed, 7 Aug 2019 19:12:15 +0000 (14:12 -0500)]
:bookmark: Release 0.35.0
Sebastián Ramírez [Wed, 7 Aug 2019 19:09:50 +0000 (14:09 -0500)]
:memo: Update release notes
Pablo Marti [Wed, 7 Aug 2019 19:03:11 +0000 (21:03 +0200)]
:pencil2: Fix typo in assert statement (#419)
Bronsen [Wed, 7 Aug 2019 19:01:31 +0000 (19:01 +0000)]
:memo: Fix plural-s without apostrophe in docs (#411)
Sebastián Ramírez [Wed, 7 Aug 2019 18:57:41 +0000 (13:57 -0500)]
:memo: Update release notes
Koudai Aono [Wed, 7 Aug 2019 18:55:33 +0000 (03:55 +0900)]
Fix request body parsing with Union (#400)
Sebastián Ramírez [Tue, 6 Aug 2019 12:22:06 +0000 (07:22 -0500)]
:bookmark: Release 0.34.0 upgrading Starlette
Sebastián Ramírez [Tue, 6 Aug 2019 12:13:24 +0000 (07:13 -0500)]
:memo: Update Release Notes
David De Sousa [Tue, 6 Aug 2019 12:10:29 +0000 (14:10 +0200)]
:arrow_up: Upgrade Starlette max range to 0.12.7 (#367)
Sebastián Ramírez [Sat, 13 Jul 2019 00:15:21 +0000 (19:15 -0500)]
:memo: Update release notes
Sebastián Ramírez [Sat, 13 Jul 2019 00:13:28 +0000 (19:13 -0500)]
:white_check_mark: Add test from @dmontagu in #333 for duplicate models (#385)
Sebastián Ramírez [Sat, 13 Jul 2019 00:01:27 +0000 (19:01 -0500)]
:bookmark: Release 0.33.0, including Pydantic 0.30.0
Sebastián Ramírez [Fri, 12 Jul 2019 23:58:09 +0000 (18:58 -0500)]
:memo: Update release notes
James Kaplan [Fri, 12 Jul 2019 23:56:25 +0000 (16:56 -0700)]
:arrow_up: Upgrade Pydantic to 0.30 (#384)
* bump pydantic to 0.30
* :pushpin: Pin Pydantic to 0.30 as 0.31 hasn't been released