All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Use camelcase in
Response
attributes, e.g.errMsg
instead oferr_msg
- Body fat endpoints accept generic inputs now, and process atomically. One error does not cause the others to fail, or return empty.
- Using
Sanic
instead ofFlask
, andasync
controller functions - Local
PostgreSQL
configuration for Linux/macOS (support startup service) - Use
Sanic
instead ofFlask
for server - Support for
nginx
and ssl - Refactored controllers & services to more closely align with
MVC
design pattern - No more
message
parameter onresponse
, it has moved toresponse.data
and usually only as anerr_msg
value, e.g.response.data.error
- Response
class
is now a functiondef
, which acceptskwargs
instead of only arequest
andresponse_type
parameter - Access members through module reference, rather than importing all individually
- Graceless crashes when
postgres
server was unreachable; now we operate in cowardly mode - Configuration issues with systemctl service and
env
vars on the deployment server - Better error handling inside the Postgres module, and
exc_req()
method
- Unit tests, with special
requirements-test.txt
file - BMR & other calculations for female users
- One rep maxes, and algebra to calculate also:
{1, 2, 3, 5, 8, 10, 12, 15, 20}
- Links to all
GET
requests on home page - Better comments,
TODO
notes, and organized files generally - Information about CLI on main route
/
(server landing page) - Systematic logging (logging module)
- Nginx config
- Coverage and other configs in
setup.cfg
- A
deploy-dev
GitHub workflow, on self-hosted runner
- Shop functions (controller for orders/products,
cache
layer, Postman collection) - Specific
/bmr/<name_of_equation>
endpoints, in favor of a general/bmr
one - Slack message integrations (not the most production worthy mechanism)
- Packages
usps
,py3dbp
(and other references toFlask
..gunicorn
,Werkzeug
)
- Initial release
- Support for most endpoints
Postgres
database driver and bindings- Add
@auth
annotation