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 #312 by @tiangolo.
- ✨ Add support for Python 3.10. PR #253 by @tiangolo.
- ♻ Add pip flag --no-cache-dir to reduce disk size used. PR #242 by @tiangolo.
- ✨ Add Python 3.9 image. PR #232 by @tiangolo.
Breaking Changes
- 🔥 Deprecate and remove Python 3.6. PR #304 by @tiangolo.
- 🔥 Remove support for Python 2.7. PR #246 by @tiangolo.
Upgrades
- ⬆️ Bump flask from 2.0.1 to 2.2.2 in /docker-images. PR #296 by @dependabot[bot].
- ⬆️ Upgrade Flask to the latest version to support Python 3.6. PR #301 by @tiangolo.
- ⬆️ Upgrade Nginx and Alpine (in the base images). PR #283 by @tiangolo.
Docs
- ✏️ Fix typo: otherwhise -> otherwise in README. PR #211 by @timgates42.
- 📝 Add note to discourage Alpine with Python. PR #247 by @tiangolo.
- 📝 Add Kubernetes warning, when to use this image. PR #245 by @tiangolo.
- ✏️ ️Fix typo duplicate "Note" in Readme. PR #243 by @tiangolo.
- Fix example for Python 3.8. PR #186 by @ericboucher.
Internal
- ⬆️ Update autoflake requirement from ^1.3.1 to ^2.0.0. PR #307 by @dependabot[bot].
- ⬆️ Update black requirement from ^20.8b1 to ^22.10. PR #308 by @dependabot[bot].
- ⬆️ Update docker requirement from ^5.0.3 to ^6.0.1. PR #309 by @dependabot[bot].
- ⬆️ Update mypy requirement from ^0.971 to ^0.991. PR #310 by @dependabot[bot].
- ⬆️ Upgrade CI OS. PR #311 by @tiangolo.
- 🔧 Update Dependabot config. PR #306 by @tiangolo.
- 🔥 Remove Travis backup file. PR #254 by @tiangolo.
- ⬆️ Bump tiangolo/issue-manager from 0.2.0 to 0.4.0. PR #234 by @dependabot[bot].
- 👷 Add scheduled CI. PR #303 by @tiangolo.
- 👷 Add alls-green GitHub Action. PR #302 by @tiangolo.
- ⬆️ Bump actions/setup-python from 4.2.0 to 4.3.0. PR #299 by @dependabot[bot].
- ⬆️ Update black requirement from ^19.10b0 to ^20.8b1. PR #236 by @dependabot[bot].
- ⬆️ Update docker requirement from ^4.2.0 to ^5.0.3. PR #250 by @dependabot[bot].
- ⬆️ Update isort requirement from ^4.3.21 to ^5.8.0. PR #237 by @dependabot[bot].
- ⬆️ Update pytest requirement from ^5.4.1 to ^7.0.1. PR #270 by @dependabot[bot].
- ⬆️ Bump actions/checkout from 2 to 3.1.0. PR #298 by @dependabot[bot].
- ⬆️ Update mypy requirement from ^0.770 to ^0.971. PR #292 by @dependabot[bot].
- ⬆️ Bump actions/setup-python from 1 to 4.2.0. PR #293 by @dependabot[bot].
- 👷 Run tests only on PRs or when pushing on master to avoid double CI. PR #284 by @tiangolo.
- 👷 Update Latest Changes GitHub Action. PR #241 by @tiangolo.
- 👷 Add Dependabot and external dependencies to get automated upgrade PRs. PR #233 by @tiangolo.
- 👷 Add GitHub Action latest-changes. PR #210 by @tiangolo.