0.10.0
0.10.0 Summary
🚀Features
datetime
refactored to be timezone aware #79 #82 (thanks @mithun2003)passlib
replaced withbcrypt
for password hashing #74- pydantic
validator
moved to v2field_Validator
#72 - config port data type consistency #69 (thanks @luca-medeiros)
- pyproject.toml moved to the root folder #65
- Tests folder moved to core, imports changed to relative imports #65
📝Docs
- Now there's the option to use a template for
.env
,docker-compose.yml
andDockerfile
:
Tip
If you are in a hurry, you may use one of the following templates (containing a .env
, docker-compose.yml
and Dockerfile
):
- Running locally with uvicorn
- Runing in staging with gunicorn managing uvicorn workers
- Running in production with NGINX
Warning
Do not forget to place docker-compose.yml
and Dockerfile
in the root
folder, while .env
should be in the src
folder.
- Docs to run with NGINX were revised and are clearer now
🔎Bug fixes
- CRUDBase count method fixed when kwargs is none #81
- pydantic
allow_reuse
removed #70 - pagination bug fixed #66
- mypy multiple type hint fixes
What's Changed
- Update README.md by @igorbenav in #64
- Folder structure by @igorbenav in #65
- pagination bug fixed by @igorbenav in #66
- config.py port datatype consistency by @luca-medeiros in #69
- pydantic allow_reuse removed, one less warning for tests by @igorbenav in #70
- commented non essential services in docker compose by @igorbenav in #71
- pydantic validators migrated to v2 by @igorbenav in #72
- added return type hint to rate limit validator by @igorbenav in #73
- passlib replaced with bcrypt for password hashing by @igorbenav in #74
- Update README.md by @igorbenav in #77
- Update README.md by @igorbenav in #78
- CRUDBase count method bug fix by @igorbenav in #81
- Refactor datetime.utcnow() to datetime.now(timezone.utc) by @mithun2003 in #80
- 79 datetimeutcnow is deprecated as of python 312 by @igorbenav in #82
New Contributors🎉
- @luca-medeiros made their first contribution in #69
- @mithun2003 made their first contribution in #80
Full Changelog: v0.9.0...v0.10.0