56 Commits

Author SHA1 Message Date
Sebastián Ramírez 92c825be6a 🔖 Release 0.2.0 2019-02-08 16:09:48 +04:00
euri10 32438c85f6 Using pydantic custom encoders (#21)
Add support for Pydantic custom JSON encoders.
2019-02-08 16:06:19 +04:00
Sebastián Ramírez 6d9fc08a7e 🚀 Bump version and add Release Notes 2019-02-01 14:23:20 +04:00
euri10 5c9c088a2a Upgrade Starlette version (#17)
Upgrade Starlette version
2019-02-01 14:14:23 +04:00
Sebastián Ramírez 3d2c0993c1 📌 Pin versions of dependencies and bump version 2019-01-23 18:57:48 +04:00
Sebastián Ramírez e5b341c7dd 🔖 Bump version after fix for constrained bytes 2019-01-05 17:38:59 +04:00
Sebastián Ramírez 577c5a84db 🐛 Fix constrained bytes, from defaults in Pydantic
#2
2019-01-05 17:30:27 +04:00
Sebastián Ramírez 3c08b05ea6 🔖 Bump version, after query and header as lists
and bug fixes for Python 3.7
2018-12-30 21:46:49 +04:00
Sebastián Ramírez 60599bad99 🐛 Fix Python 3.7 specific list query handling 2018-12-30 21:43:34 +04:00
Sebastián Ramírez ca0652aebf 🐛 Fix type checks for Python 3.7 2018-12-30 00:14:39 +04:00
Sebastián Ramírez be957e7c99 ✨ Allow lists of query or header params
and add tests for them
2018-12-30 00:07:31 +04:00
Sebastián Ramírez 90af868146 ✨ Add security checks for HTTP utils
and tests for them
2018-12-29 23:04:54 +04:00
Sebastián Ramírez 5278314f2f 🔖 Bump version, new security features and bug fixes 2018-12-28 20:40:40 +04:00
Sebastián Ramírez 4a0316bcfe 🎨 Add missing type definition 2018-12-28 20:39:04 +04:00
Sebastián Ramírez 0393a093d3 ✨ Improve security utilities and add tests 2018-12-28 20:35:48 +04:00
Sebastián Ramírez 804ec460fc ⬆️ Add tests, fix issues and update Pydantic 2018-12-28 16:10:29 +04:00
Sebastián Ramírez 098e629344 🔖 Bump version, after changes in OAuth2 utils 2018-12-24 20:21:28 +04:00
Sebastián Ramírez 4a0922ebab ♻️ Update OAuth2 class utilities to be dependencies 2018-12-24 20:20:21 +04:00
Sebastián Ramírez bc3e7f2bbc 🔖 Version bump, fixing several issues, lots of docs and tests 2018-12-24 09:35:20 +04:00
Sebastián Ramírez cfb65d0e15 🐛 Fix utility OAuth2PasswordRequestForm to use forms
and be used as a dependency
2018-12-24 09:34:28 +04:00
Sebastián Ramírez 510fec9bee ♻️ Refactor jsonable_encoder and test it
with nested arbitrary classes
2018-12-22 17:15:04 +04:00
Sebastián Ramírez a73709507c ✅ Add docs, tests and fixes for extra data types
including refactor of jsonable_encoder to allow other object and model types
2018-12-22 14:35:48 +04:00
Sebastián Ramírez 75407b9295 🚨 Fix mypy type errors 2018-12-22 09:05:13 +04:00
Sebastián Ramírez 748dc375db 🐛 Fix Form and File params must always be embeded
and add tests for forms and files
2018-12-22 08:24:48 +04:00
Sebastián Ramírez c25a71e352 🐛 Re-implement check for body as a workaround
while encode/starlette#287 is merged
2018-12-22 07:40:56 +04:00
Sebastián Ramírez b097a538ab 🔖 Bump version, after fix for email_validator and docs 2018-12-21 16:33:45 +04:00
Sebastián Ramírez d5e782074f 🐛 Fix email_validator error, generated by autoflake 2018-12-21 14:51:17 +04:00
Sebastián Ramírez 7da9625505 💚 Revert to flit install and re-format
As it has shown to be more reliable, and closer to final user environments
2018-12-18 22:36:04 +04:00
Sebastián Ramírez 00e2e544c7 ♻️ Re-format tutorials, files names and tests
for tutorial files
2018-12-18 21:59:06 +04:00
Sebastián Ramírez dcb076b752 🐛 Fix optional bodies raising an error
when not provided in the request
2018-12-18 21:11:24 +04:00
Sebastián Ramírez acc15230ea ✅ Update query tests, application type checks
and temporarily disable coverage fail, to allow publishing docs from Travis
2018-12-17 15:48:38 +04:00
Sebastián Ramírez 8d29a28f82 📝 Update docs, stubs and structure 2018-12-15 21:52:28 +04:00
Sebastián Ramírez ddf20e8977 📝 Add request body tutorial 2018-12-14 15:30:43 +04:00
Sebastián Ramírez 4eb2950626 🐛 Fix error location for required parameters 2018-12-14 14:27:29 +04:00
Sebastián Ramírez 9febe9af2a ✨ Update OAuth2 Form model and add strict version 2018-12-14 10:01:33 +04:00
Sebastián Ramírez f9c876802f 🎨 Update param names for main FastAPI app and types 2018-12-14 10:00:49 +04:00
Sebastián Ramírez d9fbead646 🎨 Remove un-used imports, add auto-flake 2018-12-13 21:48:03 +04:00
Sebastián Ramírez 948a39af95 🎨 Re-order parameters 2018-12-13 20:05:35 +04:00
Sebastián Ramírez a2c87f3652 🔖 Bump version for release 2018-12-11 00:31:02 +04:00
Sebastián Ramírez 8c66b3a492 🐛 Add ValidationError schema even if only bodies
are declared in the defined endpoints
2018-12-11 00:30:15 +04:00
Sebastián Ramírez 26ccb7620a 🔖 Bump version for release 2018-12-10 20:13:13 +04:00
Sebastián Ramírez ece3252385 ✨ Add util class for OAuth2 Password Bearer scheme 2018-12-10 20:11:14 +04:00
Sebastián Ramírez 26ffa5d9c8 ⬆️ Update JS CDN to cdn.jsdelivr.net
as unpkg.com seems to have been down all day
2018-12-10 20:09:08 +04:00
Sebastián Ramírez 64e904b12e 🐛 Fix indentation bug 2018-12-10 18:20:55 +04:00
Sebastián Ramírez 9458d699cb 🐛 Un-hide inner HTTPException errors 2018-12-10 18:17:42 +04:00
Sebastián Ramírez 6f68666e0e 🐛 Fix int query parameters with default
being treated as body
2018-12-10 18:08:08 +04:00
Sebastián Ramírez 9a6fcdd13c 🔊 Log body parsing errors 2018-12-10 17:54:53 +04:00
Sebastián Ramírez b763a44328 🐛 Fix import of email_validator from Pydantic 2018-12-10 17:49:39 +04:00
Sebastián Ramírez da166b7967 🔒 Fix constraining return values to model 2018-12-10 16:46:40 +04:00
Sebastián Ramírez 8cc9ccab92 🎨 Update main imports (and exports) 2018-12-10 07:59:17 +04:00