Releases: tiangolo/uvicorn-gunicorn-docker
Releases · tiangolo/uvicorn-gunicorn-docker
0.8.0
Features
- ✨ Add support for multi-arch builds, including support for
arm64
(e.g. Mac M1). PR #195 by @tiangolo.
Docs
Refactors
Upgrades
- ⬆️ Bump gunicorn from 20.1.0 to 21.2.0. PR #185 by @dependabot[bot].
- ⬆️ Bump uvicorn[standard] from 0.20.0 to 0.21.0. PR #174 by @dependabot[bot].
Internal
- ⬆️ Bump actions/checkout from 3.3.0 to 4.1.0. PR #189 by @dependabot[bot].
- ⬆️ Update mypy requirement from ^0.991 to ^1.1. PR #173 by @dependabot[bot].
- ⬆️ Update black requirement from ^22.10 to ^23.1. PR #171 by @dependabot[bot].
- ⬆️ Bump actions/checkout from 3.1.0 to 3.3.0. PR #170 by @dependabot[bot].
- 👷 Update latest changes token. PR #178 by @tiangolo.
- 👷 Add GitHub Action to update Docker Hub description, fix. PR #168 by @tiangolo.
- 👷 Add GitHub Action for Docker Hub description. PR #167 by @tiangolo.
0.7.0
The highlights of this release are:
- 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.11. PR #159 by @tiangolo.
- ⬆️ Upgrade Uvicorn version. PR #161 by @tiangolo.
- ✨ Add support for Python 3.10. PR #99 by @tiangolo.
- ⬆️ Upgrade Uvicorn to the last version supporting Python 3.6. PR #155 by @tiangolo.
- ✨ Add Python 3.9 and Alpine Python 3.9. PR #52 by @graue70.
- ⬆️ Install uvicorn[standard] to include uvloop and Gunicorn support. PR #54 by @tiangolo.
Breaking Changes
Docs
- ✏️ Fix typo, delete repeated line in README. PR #147 by @jiyeonseo.
- 📝 Add note to discourage Alpine with Python. PR #96 by @tiangolo.
- 📝 Add warning for Kubernetes, when to use this image. PR #95 by @tiangolo.
- ✏️ Fix typo duplicate "Note" in Readme. PR #92 by @tiangolo.
- ✏️ Fix typo (type annotation) in tests. PR #55 by @tiangolo.
Internal
- ⬆️ Update mypy requirement from ^0.971 to ^0.991. PR #166 by @dependabot[bot].
- ⬆️ Update autoflake requirement from ^1.3.1 to ^2.0.0. PR #165 by @dependabot[bot].
- ⬆️ Update black requirement from ^20.8b1 to ^22.10. PR #164 by @dependabot[bot].
- ⬆️ Update docker requirement from ^5.0.3 to ^6.0.1. PR #163 by @dependabot[bot].
- 🔧 Update Dependabot config. PR #162 by @tiangolo.
- 👷 Add scheduled CI every Monday. PR #158 by @tiangolo.
- 👷 Do not run double CI for PRs, run on push only on master. PR #157 by @tiangolo.
- 👷 Add GitHub Action alls-green. PR #156 by @tiangolo.
- ⬆️ Update black requirement from ^19.10b0 to ^20.8b1. PR #87 by @dependabot[bot].
- ⬆️ Update mypy requirement from ^0.770 to ^0.971. PR #143 by @dependabot[bot].
- ⬆️ Update docker requirement from ^4.2.0 to ^5.0.3. PR #97 by @dependabot[bot].
- ⬆️ Bump actions/setup-python from 1 to 4.1.0. PR #142 by @dependabot[bot].
- ⬆️ Update isort requirement from ^4.3.21 to ^5.8.0. PR #88 by @dependabot[bot].
- ⬆️ Bump tiangolo/issue-manager from 0.2.0 to 0.4.0. PR #85 by @dependabot[bot].
- ⬆️ Update pytest requirement from ^5.4.1 to ^7.0.1. PR #123 by @dependabot[bot].
- ⬆️ Bump actions/checkout from 2 to 3.1.0. PR #145 by @dependabot[bot].
- 📌 Add external dependencies and Dependabot to get automatic upgrade PRs. PR #84 by @tiangolo.
- 👷 Update Latest Changes. PR #83 by @tiangolo.
- 🔥 Remove unused Travis and old GitHub Actions configs. PR #56 by @tiangolo.
- 👷 Add GitHub Action latest-changes, update issue-manager, add funding. PR #53 by @tiangolo.
0.6.0
- Add docs about installing and pinning dependencies. PR #41.
- Add
slim
version. PR #40. - Remove leftover unneeded config for tests. PR #39.
- Add extra configs, tests, and docs for:
WORKER_CLASS
TIMEOUT
KEEP_ALIVE
GRACEFUL_TIMEOUT
ACCESS_LOG
ERROR_LOG
GUNICORN_CMD_ARGS
MAX_WORKERS
- PR #38
- Set up CI using GitHub actions, they provide more free instances, so builds finish faster (4 min vs 9 min). PR #37.
- Add support for Python 3.8. PR #36.
- Refactor tests to remove custom testing Dockerfiles, generate them during tests. PR #35.
- Refactor and simplify build process to reduce code duplication. PR #34.
- Disable
pip
cache during installation with--no-cache-dir
. PR #13 by @pmav99. - Migrate local development from Pipenv to Poetry. PR #31.
- Add tests and docs for custom
PRE_START_PATH
env var. PR #30. - Add support for custom
PRE_START_PATH
env var. PR #12 by @mgfinch.
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 #5.