]>
git.ipfire.org Git - thirdparty/fastapi/fastapi.git/log
Sebastián Ramírez [Sat, 13 Jun 2020 16:54:47 +0000 (18:54 +0200)]
📝 Update release notes
Yankee [Sat, 13 Jun 2020 16:53:31 +0000 (22:38 +0545)]
📝 Update docs for first-steps, links, rewordings (#1518)
* :pencil2: Typo/readability fixes for first-steps documentation
* 📝 Update link and small rewordings
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Sat, 13 Jun 2020 16:18:27 +0000 (18:18 +0200)]
📝 Update release notes
TiewKH [Sat, 13 Jun 2020 16:16:34 +0000 (00:16 +0800)]
✨ Enable showCommonExtensions and showExtensions in SwaggerUI (#1466)
* Set showExtensions and showCommonExtensions to true
* Clean up comma
Co-authored-by: tiewkeehui <keehuitiew@airasia.com>
Sebastián Ramírez [Sat, 13 Jun 2020 16:13:06 +0000 (18:13 +0200)]
📝 Update release notes
Richard Hoekstra [Sat, 13 Jun 2020 16:08:08 +0000 (09:08 -0700)]
✨ Export OAuth2PasswordRequestFormStrict from security (#1462)
* Update __init__.py
Fixes an import error:
from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestFormStrict
ImportError: cannot import name 'OAuth2PasswordRequestFormStrict'
* Simplify import of OAuth2PasswordRequestFormStrict
* Simplify import of OAuth2PasswordRequestFormStrict
Sebastián Ramírez [Sat, 13 Jun 2020 16:05:22 +0000 (18:05 +0200)]
📝 Update release notes
Roman Tezikov [Sat, 13 Jun 2020 16:02:45 +0000 (19:02 +0300)]
📝 Add docs for `default_response_class` (#1455)
* :heavy_plus_sign: Add docs to default_response_class
* :white_check_mark: create a tip
* ✅ fixing the tip
* :ambulance: grammar
* 📝 Update docs for default response class
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Sat, 13 Jun 2020 13:26:42 +0000 (15:26 +0200)]
📝 Update release notes
William Hayes [Sat, 13 Jun 2020 13:23:29 +0000 (09:23 -0400)]
📝 Document additional parameters for response_model (#1427)
* Documented additional parameters
These are included in a recent PR (https://github.com/tiangolo/fastapi/pull/1166) but not in the docs yet.
* response_model_exclude_none
* response_model_exclude_defaults
* 📝 Update note about response_model_exclude_defaults and response_model_exclude_none
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Sat, 13 Jun 2020 13:08:10 +0000 (15:08 +0200)]
📝 Update release notes
Koudai Aono [Sat, 13 Jun 2020 13:05:59 +0000 (22:05 +0900)]
📝 Add PyCharm Pydantic plugin to docs (#1420)
* add pydantic pycharm plugin in document
* 📝 Update PyCharm Pydantic plugin note
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Sat, 13 Jun 2020 12:51:21 +0000 (14:51 +0200)]
📝 Update release notes
Chen Rotem Levy [Sat, 13 Jun 2020 12:50:14 +0000 (15:50 +0300)]
🎨 Update and clarify testing function name (#1395)
test_create_existing_token -> test_create_existing_item
Sebastián Ramírez [Sat, 13 Jun 2020 12:47:03 +0000 (14:47 +0200)]
📝 Update release notes
obataku [Sat, 13 Jun 2020 12:44:51 +0000 (08:44 -0400)]
🐛 Fix duplicated headers set by indirect dependencies (#1386)
* Added test for repeating cookies in response headers
* update `response` headers, status code to match `sub_response` in `solve_dependencies` only if necessary; fix formatting of scottsmith2gmail's test
* restore code coverage, remove dead code from `solve_dependencies`
Co-authored-by: Scott Smith <scott.smith.2@gmail.com>
Sebastián Ramírez [Sat, 13 Jun 2020 12:39:58 +0000 (14:39 +0200)]
📝 Update release notes
Nick Rushton [Sat, 13 Jun 2020 12:38:08 +0000 (05:38 -0700)]
⬆ Upgrade Starlette dependency to 0.13.4 (#1361)
Sebastián Ramírez [Sat, 13 Jun 2020 12:36:27 +0000 (14:36 +0200)]
📝 Update release notes
Aviram Hassan [Sat, 13 Jun 2020 12:33:27 +0000 (15:33 +0300)]
✨ Add better JSON decode error handling, improve feedback for client after invalid JSON requests (#1354)
* Request body error, raise RequestValidationError instead of HTTPException in case JSON decode failure
* add missing test case for body general exception
Sebastián Ramírez [Sat, 13 Jun 2020 12:06:12 +0000 (14:06 +0200)]
📝 Update release notes
Sebastián Ramírez [Sat, 13 Jun 2020 12:02:58 +0000 (14:02 +0200)]
📝 Update Tags metadata title
Thomas Maschler [Sat, 13 Jun 2020 11:58:06 +0000 (07:58 -0400)]
✨ Add support for tag metadata in OpenAPI (#1348)
* Allow to add OpenAPI tag descriptions
* fix type hint
* fix type hint 2
* refactor test to assure 100% coverage
* 📝 Update tags metadata example
* 📝 Update docs for tags metadata
* ✅ Move tags metadata test to tutorial subdir
* 🎨 Update format in applications
* 🍱 Update docs UI image based on new example
* 🎨 Apply formatting after solving conflicts
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Sat, 13 Jun 2020 10:27:00 +0000 (12:27 +0200)]
📝 Update release notes
Sebastián Ramírez [Sat, 13 Jun 2020 10:26:15 +0000 (12:26 +0200)]
🔧 Add basic setup for Russian translations (#1566)
Sebastián Ramírez [Sat, 13 Jun 2020 07:47:36 +0000 (09:47 +0200)]
📝 Update release notes
Xie Wei [Sat, 13 Jun 2020 07:45:48 +0000 (15:45 +0800)]
🔥 Remove obsolete Chinese articles after translations (#1510)
Sebastián Ramírez [Fri, 12 Jun 2020 23:25:29 +0000 (01:25 +0200)]
📝 Update release notes
Rupsi Kaushik [Fri, 12 Jun 2020 23:22:30 +0000 (19:22 -0400)]
✨ Implement __repr__ methods for path parameters to simplify debugging (#1560)
* repr description added to Depends class
* repr description added to Security subclass
* get rid of __repr__ in security since it will inherit from super
* make code format consistent with rest
* add desc for rest of the classes
* Update fastapi/params.py
remove trailing whitespace
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
* Implement __repr__
* fix formatting
* formatting again
* ran formatting
* added basic testing
* basic tests added to rest of the classes
* added more test coverage and simplified test file
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Co-authored-by: Jayati Shrivastava <gaurijove@gmail.com>
Sebastián Ramírez [Fri, 12 Jun 2020 23:17:06 +0000 (01:17 +0200)]
🔖 Release version 0.56.1
Sebastián Ramírez [Fri, 12 Jun 2020 23:14:58 +0000 (01:14 +0200)]
📝 Update release notes
Kai Chen [Fri, 12 Jun 2020 23:12:59 +0000 (16:12 -0700)]
📝 Add link to Advanced User Guide: response status code (#1512)
Sebastián Ramírez [Fri, 12 Jun 2020 22:57:34 +0000 (00:57 +0200)]
📝 Update release notes
kota matsuoka [Fri, 12 Jun 2020 22:56:00 +0000 (07:56 +0900)]
🎨 Remove unused f-string (#1526)
Sebastián Ramírez [Fri, 12 Jun 2020 22:55:20 +0000 (00:55 +0200)]
📝 Update release notes
Xie Wei [Fri, 12 Jun 2020 22:53:00 +0000 (06:53 +0800)]
🌐 Add Chinese translation for query-params-str-validations.md (#1500)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Fri, 12 Jun 2020 22:50:22 +0000 (00:50 +0200)]
📝 Update release notes
Xie Wei [Fri, 12 Jun 2020 22:47:50 +0000 (06:47 +0800)]
🌐 Add Chinese translation for body.md (#1492)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Fri, 12 Jun 2020 22:43:07 +0000 (00:43 +0200)]
📝 Update release notes
Xie Wei [Fri, 12 Jun 2020 22:40:05 +0000 (06:40 +0800)]
🌐 Add Chinese translation for help-fastapi.md (#1465)
* add chinese translation for help-fastapi.md
* improve translations
Co-authored-by: Waynerv <wei.xie@woqutech.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Fri, 12 Jun 2020 22:29:43 +0000 (00:29 +0200)]
📝 Update release notes
Xie Wei [Fri, 12 Jun 2020 22:26:40 +0000 (06:26 +0800)]
🌐 Add Chinese translation for query-params.md (#1454)
Co-authored-by: Waynerv <wei.xie@woqutech.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Fri, 12 Jun 2020 22:21:53 +0000 (00:21 +0200)]
📝 Update release notes
Xie Wei [Fri, 12 Jun 2020 22:18:57 +0000 (06:18 +0800)]
🌐 Add Chinese translation for contributing.md (#1460)
Co-authored-by: Waynerv <wei.xie@woqutech.com>
Sebastián Ramírez [Fri, 12 Jun 2020 22:18:20 +0000 (00:18 +0200)]
📝 Update release notes
Xie Wei [Fri, 12 Jun 2020 22:14:58 +0000 (06:14 +0800)]
🌐 Add Chinese translation for path-params.md (#1453)
* add chinese translation for path-params.md
* improve translations
* improve translations
Co-authored-by: Waynerv <wei.xie@woqutech.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Fri, 12 Jun 2020 22:09:41 +0000 (00:09 +0200)]
📝 Update release notes
Kabir Khan [Fri, 12 Jun 2020 22:06:53 +0000 (15:06 -0700)]
📝 Add cookiecutter-spacy-fastapi to docs (#1390)
Sebastián Ramírez [Fri, 12 Jun 2020 21:46:05 +0000 (23:46 +0200)]
📝 Update release notes
yaegassy [Fri, 12 Jun 2020 21:44:23 +0000 (06:44 +0900)]
📝 Add docs in Python Types for Optional (#1377)
* docs: Fix pydantic example in python-types.md
* 📝 Update Python Types Intro to include Optional
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Fri, 12 Jun 2020 21:00:09 +0000 (23:00 +0200)]
📝 Update release notes
Micah Rosales [Fri, 12 Jun 2020 20:57:59 +0000 (15:57 -0500)]
🐛 Fix callable class generator dependencies (#1365)
* Fix callable class generator dependencies
* workaround to support asynccontextmanager backfill for pre python3.7
Co-authored-by: Micah Rosales <mrosales@users.noreply.github.com>
Sebastián Ramírez [Fri, 12 Jun 2020 20:47:37 +0000 (22:47 +0200)]
📝 Update release notes
Dylan Anthony [Fri, 12 Jun 2020 20:44:40 +0000 (16:44 -0400)]
🔇 Remove error log when parsing malformed JSON body as it's a client error (#1351)
Sebastián Ramírez [Fri, 12 Jun 2020 20:42:40 +0000 (22:42 +0200)]
📝 Update release notes
Xie Wei [Fri, 12 Jun 2020 20:39:26 +0000 (04:39 +0800)]
🌐 Translate doc first steps to Chinese (#1323)
* WIP:add Chinese translation for first steps doc
* add Chinese translation for first steps doc
* improve translations
Co-authored-by: Waynerv <wei.xie@woqutech.com>
Sebastián Ramírez [Fri, 12 Jun 2020 20:37:34 +0000 (22:37 +0200)]
📝 Update release notes
Nik [Fri, 12 Jun 2020 20:35:59 +0000 (23:35 +0300)]
🐛 Fix OpenAPI generation when using callbacks with routers including Pydantic models (#1322)
* drop model class from additional responses when generating openapi
* ♻️ Copy response to be mutated early in get_openapi_path
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Fri, 12 Jun 2020 20:01:22 +0000 (22:01 +0200)]
📝 Update release notes
Kazantcev Andrey [Fri, 12 Jun 2020 19:59:32 +0000 (22:59 +0300)]
:zap: Optimize regexp pattern in get_path_param_names (#1243)
Sebastián Ramírez [Fri, 12 Jun 2020 19:43:17 +0000 (21:43 +0200)]
📝 Update release notes
Pankaj Giri [Fri, 12 Jun 2020 19:41:44 +0000 (01:11 +0530)]
📝 Remove *, from functions where it's not needed #1234 (#1239)
* Fix for - [FEATURE] Remove *, where it's not needed #1234
* 🔥 Remove unnecessary arg *,
* 🎨 Update docs format highlight lines
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Fri, 12 Jun 2020 16:57:56 +0000 (18:57 +0200)]
📝 Update release notes
Cesare De Cal [Fri, 12 Jun 2020 16:53:52 +0000 (18:53 +0200)]
🌐 Generated new translation directory to support Italian docs (#1557)
* Generated new translation directory to support Italian docs
* ⬆️ Upgrade/pin pytest to >= 5.4.3
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Thu, 11 Jun 2020 22:22:17 +0000 (00:22 +0200)]
🔖 Release version 0.56.0
Sebastián Ramírez [Thu, 11 Jun 2020 22:05:17 +0000 (00:05 +0200)]
📝 Update release notes
Ingmar Steen [Thu, 11 Jun 2020 21:53:19 +0000 (23:53 +0200)]
✨ Add support for ASGI root_path for openapi docs (#1199)
* Use ASGI root_path when it is provided and openapi_prefix is empty.
* Strip trailing slashes from root_path.
* Please mypy.
* Fix extending openapi test.
* 📝 Add docs and tutorial for using root_path behind a proxy
* ♻️ Refactor application root_path logic, use root_path, deprecate openapi_prefix
* ✅ Add tests for Behind a Proxy with root_path
* ♻️ Refactor test
* 📝 Update/add docs for Sub-applications and Behind a Proxy
* 📝 Update Extending OpenAPI with openapi_prefix parameter
* ✅ Add test for deprecated openapi_prefix
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Sun, 7 Jun 2020 20:02:36 +0000 (22:02 +0200)]
📝 Update release notes
Sebastián Ramírez [Sun, 7 Jun 2020 20:00:15 +0000 (22:00 +0200)]
📝 Update help and issue templates (#1531)
* 📝 Update help docs: Gitter, issues, links
also fix Gitter tab padding
* 📝 Update new GitHub issue templates
* 📝 Add note about extra help required for new issues
Sebastián Ramírez [Fri, 5 Jun 2020 15:35:39 +0000 (17:35 +0200)]
📝 Update release notes
Sebastián Ramírez [Fri, 5 Jun 2020 15:34:43 +0000 (17:34 +0200)]
🔧 Update issue-manager GitHub action (#1520)
Sebastián Ramírez [Sun, 24 May 2020 06:48:52 +0000 (08:48 +0200)]
📝 Update release notes
Sebastián Ramírez [Sun, 24 May 2020 06:48:09 +0000 (08:48 +0200)]
📝 Add new links (#1467)
* 📝 Update opinions including Netflix and add format
* 📝 Add new external links
* 📝 Update README
Sebastián Ramírez [Sun, 24 May 2020 05:47:19 +0000 (07:47 +0200)]
📝 Update release notes
Xie Wei [Sun, 24 May 2020 05:43:26 +0000 (13:43 +0800)]
🌐 Add Chinese translation for docs/python-types.md (#1197)
* Add Chinese tranlation for docs/python-types.md
* improve translation
Sebastián Ramírez [Sat, 23 May 2020 16:59:02 +0000 (18:59 +0200)]
🔖 Release version 0.55.1
Sebastián Ramírez [Sat, 23 May 2020 16:58:17 +0000 (18:58 +0200)]
📝 Update release notes
Sebastián Ramírez [Sat, 23 May 2020 16:56:18 +0000 (18:56 +0200)]
🐛 Fix Enum handling with their own schema definitions (#1463)
* 🐛 Fix extra support for enum with its own schema
* ✅ Fix/update test for enum with its own schema
* 🐛 Fix type declarations
* 🔧 Update format and lint scripts to support locally installed Pydantic and Starlette
* 🐛 Add temporary type ignores while enum schemas are merged
Sebastián Ramírez [Sat, 23 May 2020 14:06:17 +0000 (16:06 +0200)]
🔖 Release version 0.55.0
Sebastián Ramírez [Sat, 23 May 2020 14:05:41 +0000 (16:05 +0200)]
📝 Update release notes
Sebastián Ramírez [Sat, 23 May 2020 14:04:25 +0000 (16:04 +0200)]
✅ Add test to support Enums with their own re-usable schema (#1461)
Sebastián Ramírez [Sun, 17 May 2020 14:04:35 +0000 (16:04 +0200)]
📝 Update release notes
Sebastián Ramírez [Sun, 17 May 2020 14:03:53 +0000 (16:03 +0200)]
📝 Add links to GitHub sponsors 💸 (#1425)
* 📝 Add links to GitHub sponsors
* ✏ Update link to sponsors
Sebastián Ramírez [Sun, 17 May 2020 11:51:46 +0000 (13:51 +0200)]
📝 Update release notes
retnikt [Sun, 17 May 2020 11:50:42 +0000 (12:50 +0100)]
✏ Fix minor erratum in Question issue template (#1344)
Sebastián Ramírez [Sun, 17 May 2020 11:50:05 +0000 (13:50 +0200)]
📝 Update release notes
Stavros Korokithakis [Sun, 17 May 2020 11:48:05 +0000 (14:48 +0300)]
📝 Add warning about storing user passwords (#1336)
Sebastián Ramírez [Sun, 17 May 2020 11:41:12 +0000 (13:41 +0200)]
📝 Update release notes
Chen Rotem Levy [Sun, 17 May 2020 11:40:55 +0000 (14:40 +0300)]
✏️ Fix typo in [en] tutorial: exception handeling (#1326)
* Fix typo
* ✏️ Fix typo
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Sun, 17 May 2020 11:36:04 +0000 (13:36 +0200)]
📝 Update release notes
Fabio Serrao [Sun, 17 May 2020 11:32:44 +0000 (08:32 -0300)]
🌐 Add Portuguese translation for alternatives.md (#1325)
* Portuguese translation for alternatives.md
* 🔥 Remove file not yet translated
* ✏️ Add small format and wording changes
* 🔧 Update Portuguese MkDocs
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Sun, 17 May 2020 10:59:17 +0000 (12:59 +0200)]
📝 Update release notes
Xie Wei [Sun, 17 May 2020 10:56:57 +0000 (18:56 +0800)]
✏ Fix 2 typos in docs (#1324)
Sebastián Ramírez [Sun, 17 May 2020 10:50:00 +0000 (12:50 +0200)]
📝 Update release notes
Sebastián Ramírez [Sun, 17 May 2020 10:46:57 +0000 (12:46 +0200)]
📝 Update release notes
Derek Bekoe [Sun, 17 May 2020 10:48:02 +0000 (03:48 -0700)]
📝 Update cors.md - CORS max_age 600 (#1301)
Update max_age documentation from 60 to the actual default value of 600.
https://github.com/encode/starlette/blob/master/starlette/middleware/cors.py#L23
Related PR https://github.com/encode/starlette/pull/909
Fabio Serrao [Sun, 17 May 2020 10:46:22 +0000 (07:46 -0300)]
🌐 Add Portuguese translation for index.md (#1300)
* Portuguese Translation for index.md
* ✏️ Update * for consistency with recent changes
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Sun, 17 May 2020 10:38:10 +0000 (12:38 +0200)]
📝 Update release notes
Chris Allnutt [Sun, 17 May 2020 10:37:15 +0000 (06:37 -0400)]
✏ Re-word and clarify docs for extra info in body-fields (#1299)
* Fixed Typo in [EN] tutorial: body-fields
- remove duplicate of examples text
* ✏️ Re-word and clarify extra info docs
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Sun, 17 May 2020 10:30:00 +0000 (12:30 +0200)]
📝 Update release notes