2.0.0
Highlights of this release:
- Support for Python 3.10, 3.11, and 3.9.
- Deprecation of Python 3.6 and 2.7.
- The last Python 3.6 and 2.7 images are available in Docker Hub, but they won't be updated or maintained anymore.
- The last images with a date tag are
python3.6-2022-11-25
andpython2.7-2022-11-25
.
- Upgraded versions of all the dependencies.
- Small improvements and fixes.
Features
- ✨ Add support for Python 3.11. PR #171 by @tiangolo.
- ✨ Add support for Python 3.10 and upgrade uWSGI to
2.0.20
. PR #127 by @tiangolo. - ⬆️ Update pip install command with flag --no-cache-dir to reduce disk used. PR #120 by @tiangolo.
- ✨ Quit Supervisor on errors, to allow orchestrators to handle it. PR #110 by @tiangolo.
- ✨ Add Python 3.9. PR #101 by @sjadema.
Breaking Changes
- 🔥 Deprecate and remove Python 3.6 and 2.7. PR #164 by @tiangolo.
- 🔥 Remove support for Python 2.7. PR #123 by @tiangolo.
Upgrades
- ⬆️ Upgrade Nginx to the latest version 1.23.2, and Debian to bullseye. PR #163 by @tiangolo.
- ⬆️ Bump uwsgi from 2.0.20 to 2.0.21. PR #159 by @dependabot[bot].
- ⬆ Upgrade Nginx to version 1.21.6 and Alpine to version 3.13. PR #148 by @haley-comet.
- ⬆ Upgrade Nginx to the latest version of the official images. PR #107 by @tiangolo.
Docs
- 📝 Add note to discourage Alpine with Python. PR #124 by @tiangolo.
- 📝 Add Kubernetes warning, when to use this image. PR #122 by @tiangolo.
- ✏️ Fix typo duplicate "Note" in Readme. PR #121 by @tiangolo.
- 🐛 Fix broken link to TechEmpower benchmarks. PR #96 by @tiangolo.
Internal
- ⬆️ Update autoflake requirement from ^1.3.1 to ^2.0.0. PR #166 by @dependabot[bot].
- ⬆️ Update mypy requirement from ^0.971 to ^0.991. PR #167 by @dependabot[bot].
- ⬆️ Update docker requirement from ^5.0.3 to ^6.0.1. PR #168 by @dependabot[bot].
- ⬆️ Update black requirement from ^20.8b1 to ^22.10. PR #169 by @dependabot[bot].
- ⬆️ Upgrade CI OS. PR #170 by @tiangolo.
- 🔧 Update Dependabot config. PR #165 by @tiangolo.
- ⬆️ Bump tiangolo/issue-manager from 0.2.0 to 0.4.0. PR #112 by @dependabot[bot].
- 👷 Add scheduled CI. PR #162 by @tiangolo.
- 👷 Add alls-green GitHub Action. PR #161 by @tiangolo.
- ⬆️ Update black requirement from ^19.10b0 to ^20.8b1. PR #116 by @dependabot[bot].
- ⬆️ Update isort requirement from ^4.3.21 to ^5.8.0. PR #118 by @dependabot[bot].
- ⬆️ Update docker requirement from ^4.2.0 to ^5.0.3. PR #126 by @dependabot[bot].
- ⬆️ Bump actions/setup-python from 1 to 4.1.0. PR #155 by @dependabot[bot].
- ⬆️ Update mypy requirement from ^0.770 to ^0.971. PR #156 by @dependabot[bot].
- ⬆️ Update pytest requirement from ^5.4.1 to ^7.0.1. PR #138 by @dependabot[bot].
- ⬆️ Bump actions/checkout from 2 to 3.1.0. PR #157 by @dependabot[bot].
- 🔧 Run tests only on PRs or when pushing on master to avoid double CI. PR #149 by @tiangolo.
- 👷 Update Latest Changes GitHub Action. PR #119 by @tiangolo.
- 👷 Add Dependabot and external dependencies, to get automatic upgrade PRs. PR #111 by @tiangolo.
- 👷 Add GitHub Action latest-changes, update issue-manager. PR #92 by @tiangolo.
- Fix Python 3.8 Alpine environment for installed packages. PR #84.