Sebastián Ramírez
46fffc0e94
📝 Update release notes
2019-06-27 13:22:56 +02:00
cyril
1c2cdb97e9
📝 Add online SQLite browsers to docs ( #330 )
2019-06-27 13:12:38 +02:00
Sebastián Ramírez
76b6fd5c18
🔖 Release 0.30.0
2019-06-20 12:32:24 +02:00
Sebastián Ramírez
a2fb716035
📝 Update release notes
2019-06-20 12:30:54 +02:00
Sebastián Ramírez
aa84ac8e3e
✨ Implement support for Pydantic's ORM mode ( #322 )
...
* ✨ Implement support for Pydantic's ORM mode
* 🏗️ Re-structure/augment SQL tutorial source using ORM mode
* 📝 Update SQL docs with SQLAlchemy, ORM mode, relationships
* 🔥 Remove unused util in tutorial
* 📝 Add tutorials for simple dict bodies and responses
* 🔥 Remove old SQL tutorial
* ✅ Add/update tests for SQL tutorial
* ✅ Add tests for simple dicts (body and response)
* 🐛 Fix cloning field from original field
2019-06-20 11:31:32 +02:00
Sebastián Ramírez
4ed2bd1fea
📝 Update release notes
2019-06-18 13:54:36 +02:00
dmontagu
87b7a63ff2
🔥 Remove unused regex in routing.py ( #314 )
2019-06-18 13:52:34 +02:00
Sebastián Ramírez
06d0918c3d
📝 Update release notes
2019-06-18 09:49:43 +02:00
Eric Du
5b3adfe449
✨ Use default response status reasons in additional responses ( #313 )
...
* default the description of additional response to status reason phrase
* fix 404 description
* fix lint warning
* allow custom response status code
2019-06-18 09:46:57 +02:00
Sebastián Ramírez
bdd794a0e6
📝 Update release notes
2019-06-18 09:40:31 +02:00
James Kaplan
f0df79aa91
⬆️ Upgrade Pydantic to 0.28 ( #320 )
2019-06-18 09:37:40 +02:00
Sebastián Ramírez
c26f1760d4
🔖 Release 0.29.1
2019-06-13 18:47:43 +02:00
Sebastián Ramírez
e5fa4b0af6
📝 Update release notes
2019-06-13 18:39:17 +02:00
Sebastián Ramírez
a33c299fd7
🔧 Add format-imports script
2019-06-13 18:38:49 +02:00
Sebastián Ramírez
6939621730
bug: Fix handling an empty-body request with a required body param ( #311 )
...
* 🐛 Fix solving a required body param from an empty body request
* ✅ Add tests for receiving required body parameters with body not provided
2019-06-13 18:37:48 +02:00
dmontagu
120ab08360
📝 Update response-directly.md, fix link ( #306 )
2019-06-13 18:34:20 +02:00
Andrew Widdersheim
3f5521fdfb
📝 Fix default response model docs ( #288 )
...
Fix a discrepancy in the `tax` parameters default value between the docs
and the code example.
2019-06-13 18:31:48 +02:00
Sebastián Ramírez
7244e4b612
🔖 Release version 0.29.0
2019-06-06 14:31:50 +04:00
Sebastián Ramírez
d329745064
📝 Update release notes
2019-06-06 14:30:28 +04:00
Sebastián Ramírez
5f7fe926ab
✨ Add support for Response parameters to set headers, cookies, and status codes ( #294 )
...
* ✨ Add support for declaring a Response parameter to set headers and cookies
* ✅ Add source for docs and tests
* 📝 Add docs for setting headers, cookies and status code
* 📝 Add attribution to Hug for inspiring response parameters
2019-06-06 14:29:40 +04:00
Sebastián Ramírez
c8eea09664
📝 Update release notes
2019-06-05 21:20:12 +04:00
Sebastián Ramírez
5700d65188
🔖 Release 0.28.0
2019-06-05 21:13:32 +04:00
Sebastián Ramírez
46178a5347
📝 Update release notes
2019-06-05 21:09:11 +04:00
Sebastián Ramírez
bff5dbbf5d
✨ Implement dependency value cache per request ( #292 )
...
* ✨ Add dependency cache, with support for disabling it
* ✅ Add tests for dependency cache
* 📝 Add docs about dependency value caching
2019-06-05 21:00:54 +04:00
Sebastián Ramírez
09cd7c47a1
✨ Implement dependency overrides for testing ( #291 )
...
* ✨ Implement dependency overrides for testing
* ✅ Add docs source tests and extra tests for dependency overrides
* 📝 Add docs for testing dependencies with overrides
2019-06-05 15:43:18 +04:00
Sebastián Ramírez
e2fadcbc90
🔖 Release version 0.27.2
2019-06-03 22:03:24 +04:00
Sebastián Ramírez
b3bb29afa8
📝 Update relase notes
2019-06-03 22:01:09 +04:00
Sebastián Ramírez
c7db2ff858
🐛 Fix path and query parameters receiving dict as valid ( #287 )
...
* 🐛 Fix path and query parameters accepting dict
* ✅ Add several tests to ensure invalid types are not accepted
* 📝 Document (to include tested source) using query params with list
* 🐛 Fix OpenAPI schema in query with list tutorial
2019-06-03 21:59:40 +04:00
Sebastián Ramírez
2a7ef5504a
🔖 Release 0.27.1
2019-06-03 18:44:03 +04:00
Sebastián Ramírez
27964c5ffd
📝 Update release notes
2019-06-01 10:00:26 +04:00
Sebastián Ramírez
d262f6e929
🐛 Fix HTTP Bearer security auto-error ( #282 )
2019-06-01 09:57:45 +04:00
Sebastián Ramírez
d61f5e4b55
📝 Update release notes
2019-05-30 19:43:32 +04:00
Sebastián Ramírez
3ed112e8a9
🐛 Fix type declaration of HTTPException ( #279 )
2019-05-30 19:43:02 +04:00
Sebastián Ramírez
9da626eb2c
🔖 Release version 0.27.0
2019-05-30 17:48:52 +04:00
Sebastián Ramírez
6f74c7327b
📝 Update release notes
2019-05-30 17:45:38 +04:00
dmontagu
360a2797c1
🐛 Fix docs link in oauth2-scopes.md ( #275 )
...
#274
2019-05-30 17:43:18 +04:00
Sebastián Ramírez
0552977cd6
📝 Update release notes
2019-05-30 17:41:40 +04:00
Sebastián Ramírez
bd407cc4ed
✨ Refactor param extraction using Pydantic Field ( #278 )
...
* ✨ Refactor parameter dependency using Pydantic Field
* ⬆️ Upgrade required Pydantic version with latest Shape values
* ✨ Add tutorials and code for using Enum and Optional
* ✅ Add tests for tutorials with new types and extra cases
* ♻️ Format, clean, and add annotations to dependencies.utils
* 📝 Update tutorial for query parameters with list defaults
* ✅ Add tests for query param with list default
2019-05-30 17:40:43 +04:00
Sebastián Ramírez
83b1a117cc
🔖 Release version 0.26.0
2019-05-29 19:29:44 +04:00
Sebastián Ramírez
2a1ff213a0
📝 Update release notes
2019-05-29 16:33:19 +04:00
Sebastián Ramírez
62af6e0eeb
✨ Separate Pydantic's ValidationError handler and improve docs for error handling ( #273 )
...
* ✨ Implement separated ValidationError handlers and custom exceptions
* ✅ Add tutorial source examples and tests
* 📝 Add docs for custom exception handlers
* 📝 Update docs section titles
2019-05-29 16:27:55 +04:00
Sebastián Ramírez
15da01af5c
📝 Update release notes
2019-05-29 13:46:27 +04:00
William Hayes
d544bdf092
📝 Update docs for paths in path params ( #256 )
2019-05-29 13:43:41 +04:00
Sebastián Ramírez
703ade7967
🐛 Fix path in path parameters ( #272 )
2019-05-29 13:34:46 +04:00
Sebastián Ramírez
58f135ba2f
📝 Update link in release notes
2019-05-29 11:51:43 +04:00
Sebastián Ramírez
713d374484
📝 Update release notes
2019-05-29 11:47:46 +04:00
Sebastián Ramírez
24e9ea28d3
✅ Update testing docs, examples for testing POST, headers ( #271 )
2019-05-29 11:47:21 +04:00
Sebastián Ramírez
cae53138b2
📝 Update release notes
2019-05-27 21:56:49 +04:00
Sebastián Ramírez
a49d45eaa9
🐛 Fix response_model type to allow List[Model] ( #266 )
2019-05-27 21:56:20 +04:00
Sebastián Ramírez
3986f79029
🔖 Release version 0.25.0
2019-05-27 20:21:03 +04:00