fastapi-mvc

Developer productivity tool for making high-quality FastAPI production-ready APIs.

MIT License

Downloads
728
Stars
580
Committers
7

Bot releases are hidden (Show)

fastapi-mvc - v0.13.1

Published by rszamszur over 2 years ago

Security

  • CVE-2022-24065 OS Command Injection in cookiecutter. Update vulnerable dependency:
    • cookiecutter (1.7.3 -> 2.1.1)
fastapi-mvc - v0.13.0

Published by rszamszur over 2 years ago

Features

  • Add support for binding gunicorn server to a UNIX socket #25. PR #105

Fixed

  • Missing cookiecutter kwarg in generator template #102. PR #103

Internal

  • Add generators feature documentation #75. PR #101
  • Add integration tests for generators #76. PR #104
fastapi-mvc - v0.12.0

Published by rszamszur over 2 years ago

Features

  • Add Sphinx autodoc documentation for project template #89. PR #99

Internal

  • Extend and improve k8s integration workflow #93. PR #94
  • Improve generators implementation #96. PR #97
  • Refactor fastapi-mvc project template into generators submodule #77. PR #98
  • Refactor and improve project template structure #90. PR #99
  • Increase project template unit tests coverage to 100%. PR #99
  • Update package dependencies:
    • click (7.1.2 -> 8.1.3)
    • black (21.12b0 -> 22.3.0)
  • Update project template dependencies:
    • click (7.1.2 -> 8.1.3)
    • black (21.12b0 -> 22.3.0)
fastapi-mvc - v0.11.1

Published by rszamszur over 2 years ago

Fixed

  • Controller generator creating duplicates entries in config/router.py #78. PR #92

Internal

  • Remove redundant # -*- coding: utf-8 -*- in file headers #66. PR #91
fastapi-mvc - v0.11.0

Published by rszamszur over 2 years ago

Features

  • Implement controller generator #47. PR #70
  • Implement generator generator #68. PR #70
  • Implement logic for loading user generators into fastapi-mvc CLI at RunTime #69. PR #70

Internal

  • Implement global except hook, refactor current exceptions handling #73. PR #70
  • Refactor Invoker class with using queue #71. PR #70
  • Refactor fastapi_mvc.commands to be more generic #72. PR #70
  • Refactor existing documentation with Sphinx #74. PR #83
  • Migrate to install-poetry.py script prior Poetry 1.2.x release migration #87. PR #88

Fixed

  • CLI fastapi-mvc run command doesn't distinguish whether project is installed or crashed due to error #82. PR #86
  • CLI fastapi-mvc run command should use absolute path to poetry binary #84. PR #86
fastapi-mvc - v0.10.0

Published by rszamszur over 2 years ago

Fixed

Features

  • Add nix shell config for local development environment #57. PR #58
  • Allow overriding poetry version for make install target via env variable: $POETRY_VERSION #59. PR #58

Internal

  • Update template dependencies:
    • fastapi (0.70.0 -> 0.75.0)
    • uvicorn (0.15.0 -> 0.17.0)
  • Add minor ShellUtils unit test case improvement.
  • Add python 3.10 in CI tests #62. PR #61 by @Merinorus
fastapi-mvc - v0.9.0

Published by rszamszur over 2 years ago

Fixed

  • CLIfastapi-mvc run command implementation #48. PR #52
  • GitHub main workflow package coverage sources. PR #52

Internal

  • Implement all 1fastapi-mvc.ini parser properties #50. PR #52
  • Refactor execution logic from CLI into command design pattern #51. PR #52
fastapi-mvc - v0.8.0

Published by rszamszur over 2 years ago

Features

  • Implement CLI fastapi-mvc run command for running uvicorn development server #14, #31. PR #35

Fixed

  • New project doesn't install correctly if created from activated virtualenv #37. PR #40
  • CLI fastapi-mvc new --license option value is not passed to cookiecutter #39. PR #42

Internal

  • Refactor logic from CLI commands to separate classes #38. PR #40
  • Add documentation #9. PR #33
  • Add make template-checks target for running metrics and tests on template.
  • Add make pre-commit target for running package and template checks.
  • Add make test target for running package unit and integration tests.
  • Improve make scripts logging information.
fastapi-mvc - v0.7.0

Published by rszamszur over 2 years ago

Features

  • Implement new template CLI serve command options #24. PR #27

Fixed

  • Incomplete command in template build/unit-test.sh make script #28. PR #27
  • Debian snapshot repository is expired causing container image build failure #29. PR #27

Internal

  • Lint tests. PR #30
fastapi-mvc - v0.6.0

Published by rszamszur over 2 years ago

Features

  • Implement all major HTTP methods in aiohttp utility #17. PR #22
  • Make container image reproducible both for package and template #15. PR #23 by @r2r-dev

Fixed

  • Template style guide: W293 error. PR #20

Internal

  • Improve make scripts both for package and template #18. PR #20
  • Do not run as a root user inside container #16. PR #23 by @r2r-dev
fastapi-mvc - v0.5.0

Published by rszamszur almost 3 years ago

Features

  • Refactor project from the pure template into the package which generates fastapi-mvc projects from cookiecutter template (#6). PR #10

Fixed

  • Add missing FASTAPI_USE_REDIS env var in Helm chart config map and deployment.

Internal

  • Rename project to fastapi-mvc.
  • Add FASTAPI_DEBUG env var in Helm chart config map and deployment.
  • Add K8s integration test workflow.
  • Rename Test workflow to CI.
  • Extend make targets for package and template.
  • Add minor improvements to package and template GitHub CI workflows.
  • Add GitHub workflows for publishing to PyPi (#8). PR #11
fastapi-mvc - v0.5.0rc1

Published by rszamszur almost 3 years ago

Features

  • Refactor project from the pure template into the package which generates fastapi-mvc projects from cookiecutter template (#6). PR #10

Fixed

  • Add missing FASTAPI_USE_REDIS env var in Helm chart config map and deployment.

Internal

  • Rename project to fastapi-mvc.
  • Add FASTAPI_DEBUG env var in Helm chart config map and deployment.
  • Add K8s integration test workflow.
  • Rename Test workflow to CI.
  • Extend make targets for package and template.
  • Add minor improvements to package and template GitHub CI workflows.
  • Add GitHub workflows for release and publish (#8). PR #11
fastapi-mvc - v0.4.0

Published by rszamszur almost 3 years ago

Features

  • Implement model for error response rendering.
  • Implement custom HTTPException, and its handler to have freedom to define returned response body.
  • Extend application configuration from environment variables.
  • Add and utilize gunicorn.conf.py file for better WSGI configuration.

Internal

  • Update project dependencies:
    • fastapi (0.66.0 -> 0.70.0)
    • aioredis (2.0.0a1 -> 2.0.0)
    • aiohttp (3.7.4.post0 -> 3.8.1)
    • uvicorn (0.14.0 -> 0.15.0)
  • Improve submodules import paths.
  • Move fastapi_mvc_template.app.config submodule to fastapi_mvc_template.config.
  • Refactor application and redis config with using pydantic.BaseSetting.
  • Extend unit tests, and increase coverage to 99%.
  • Change RedisClient.ping() method to return false instead of raising an RedisError exception.
fastapi-mvc - v0.3.0

Published by rszamszur almost 3 years ago

Features

  • Add python-poetry pyproject.toml and poetry.lock for dependency management and packaging.
  • Reduce container image size by ~500 MB using multi-stage build.

Internal

  • Remove setup.py and requirements.txt.
  • Refactor make install to utilize poetry instead of pip.
  • Update base container image digest sha.
  • Improve GitHub Test workflow.
fastapi-mvc - v0.2.0

Published by rszamszur almost 3 years ago

Features

  • Implement make dev-env target for bootstrapping a local Kubernetes cluster with High Availability Redis cluster and deploy the application.
  • Add Helm charts for fastapi-mvc-template.
  • Add Vagrantfile.

Internal

  • Add manifests for spotathome/redis-operator.
  • Fix minor documentation/comments typos.
fastapi-mvc - v0.1.0

Published by rszamszur about 3 years ago

  • Initial release
Package Rankings
Top 9.05% on Pypi.org
Badges
Extracted from project README
CI ❄️ Nix CI ❄️ codecov K8s integration Code style: black