Releases: tiangolo/uvicorn-gunicorn-fastapi-docker
Releases · tiangolo/uvicorn-gunicorn-fastapi-docker
0.8.0
Features
- ✨ Add support for multi-arch builds, including support for arm64 (e.g. Mac M1). PR #273 by @tiangolo.
Docs
- 📝 Update test badge in
README.md
. PR #275 by @alejsdev. - 📝 Update test badge in
README.md
. PR #274 by @alejsdev.
Upgrades
- ⬆ Bump gunicorn from 20.1.0 to 21.2.0. PR #270 by @dependabot[bot].
- ⬆️ Bump fastapi[all] from 0.87.0 to 0.88.0. PR #222 by @dependabot[bot].
Internal
- ⬆ Update mypy requirement from ^0.991 to ^1.4. PR #269 by @dependabot[bot].
- ⬆ Bump actions/checkout from 3 to 4. PR #266 by @dependabot[bot].
- ⬆ Bump peter-evans/dockerhub-description from 3 to 4. PR #267 by @dependabot[bot].
- ⬆ Bump actions/setup-python from 4.3.0 to 5.0.0. PR #265 by @dependabot[bot].
- ⬆ Bump tiangolo/issue-manager from 0.4.0 to 0.5.0. PR #264 by @dependabot[bot].
- 👷 Update dependabot. PR #253 by @tiangolo.
- 👷 Update token for latest changes. PR #247 by @tiangolo.
- 👷 Add GitHub Action for Docker Hub description. PR #221 by @tiangolo.
- ⬆️ Update mypy requirement from ^0.971 to ^0.991. PR #214 by @dependabot[bot].
- ⬆️ Update autoflake requirement from ^1.3.1 to ^2.0.0. PR #215 by @dependabot[bot].
0.7.0
Highlights of this release:
- Support for Python 3.10 and 3.11.
- Deprecation of Python 3.6.
- The last Python 3.6 image tag was pushed and is available in Docker Hub, but it won't be updated or maintained anymore.
- The last image with a date tag is
python3.6-2022-11-25
.
- Upgraded versions of all the dependencies.
Features
- ✨ Add support for Python 3.10 and 3.11. PR #220 by @tiangolo.
- ✨ Add Python 3.9 and Python 3.9 Alpine. PR #67 by @graue70.
Breaking Changes
Upgrades
- ⬆️ Upgrade FastAPI and Uvicorn versions. PR #212 by @tiangolo.
- ⬆️ Upgrade packages to the last version that supports Python 3.6. PR #207 by @tiangolo.
Docs
- 📝 Add note to discourage Alpine with Python. PR #122 by @tiangolo.
- 📝 Add warning for Kubernetes, when to use this image. PR #121 by @tiangolo.
- ✏ Fix typo, repeated word on README. PR #96 by @shelbylsmith.
Internal
- ⬆️ Update black requirement from ^20.8b1 to ^22.10. PR #216 by @dependabot[bot].
- ⬆️ Update docker requirement from ^5.0.3 to ^6.0.1. PR #217 by @dependabot[bot].
- 🔥 Remove old Travis file. PR #219 by @tiangolo.
- ⬆️ Upgrade CI OS. PR #218 by @tiangolo.
- 🔧 Update Dependabot config. PR #213 by @tiangolo.
- 👷 Add scheduled CI. PR #210 by @tiangolo.
- 👷 Add alls-green GitHub Action. PR #209 by @tiangolo.
- 👷 Do not run double CI, run on push only on master. PR #208 by @tiangolo.
- ⬆️ Bump actions/setup-python from 4.1.0 to 4.3.0. PR #201 by @dependabot[bot].
- ⬆️ Update black requirement from ^19.10b0 to ^20.8b1. PR #113 by @dependabot[bot].
- ⬆️ Update docker requirement from ^4.2.0 to ^5.0.3. PR #125 by @dependabot[bot].
- ⬆️ Bump actions/checkout from 2 to 3.1.0. PR #194 by @dependabot[bot].
- ⬆️ Update mypy requirement from ^0.770 to ^0.971. PR #184 by @dependabot[bot].
- ⬆️ Update isort requirement from ^4.3.21 to ^5.8.0. PR #116 by @dependabot[bot].
- ⬆️ Bump tiangolo/issue-manager from 0.2.0 to 0.4.0. PR #110 by @dependabot[bot].
- ⬆️ Bump actions/setup-python from 1 to 4.1.0. PR #182 by @dependabot[bot].
- ⬆️ Update pytest requirement from ^5.4.1 to ^7.0.1. PR #153 by @dependabot[bot].
- 📌 Add external dependencies and Dependabot to get automatic upgrade PRs. PR #109 by @tiangolo.
- 👷 Update Latest Changes. PR #108 by @tiangolo.
- 👷 Allow GitHub workflow dispatch to trigger test and deploy. PR #93 by @tiangolo.
- 👷 Add latest-changes GitHub action, update issue-manager, add funding. PR #70 by @tiangolo.
0.6.0
- Add docs about installing and pinning dependencies. PR #41.
- Add
slim
version. PR #40. - Update and refactor bringing all the new features from the base image. Includes:
- Centralize, simplify, and deduplicate code and setup
- Move CI to GitHub actions
- Add Python 3.8 (and Alpine)
- Add new configs and docs:
WORKER_CLASS
TIMEOUT
KEEP_ALIVE
GRACEFUL_TIMEOUT
ACCESS_LOG
ERROR_LOG
GUNICORN_CMD_ARGS
MAX_WORKERS
- PR #39.
- Disable pip cache during installation. PR #38.
- Migrate local development from Pipenv to Poetry. PR #34.
- Add docs for custom
PRE_START_PATH
env var. PR #33.
0.5.0
0.4.0
0.3.0
- Set
WORKERS_PER_CORE
by default to1
, as it shows to have the best performance on benchmarks. - Make the default web concurrency, when
WEB_CONCURRENCY
is not set, to a minimum of 2 workers. This is to avoid bad performance and blocking applications (server application) on small machines (server machine/cloud/etc). This can be overridden usingWEB_CONCURRENCY
. This applies for example in the case whereWORKERS_PER_CORE
is set to1
(the default) and the server has only 1 CPU core. PR #6 and PR #5 in parent image.
0.2.0
From upstream image: https://github.com/tiangolo/uvicorn-gunicorn-docker
- Make
/start.sh
run independently, reading and generating used default environment variables. And remove/entrypoint.sh
as it doesn't modify anything in the system, only reads environment variables. PR #4.