Skip to content

0.4.0

Compare
Choose a tag to compare
@tiangolo tiangolo released this 25 Nov 21:42
· 68 commits to master since this release

Highlights of this release:

  • Support for Python 3.9 and 3.8.
  • 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 and python2.7-2022-11-25.
  • Upgraded versions of all the dependencies.
  • Small improvements and fixes.

Features

  • ♻️ Add pip flag --no-cache-dir to reduce disk size used. PR #38 by @tiangolo.
  • ✨ Add support for Python 3.9 and Python 3.9 Alpine. PR #24 by @gv-collibris.
  • Add Python 3.8 with Alpine 3.11. PR #16.
  • Add support for Python 3.8. PR #15.

Breaking Changes

  • 🔥 Deprecate and remove Python 3.6 and Python 2.7. PR #75 by @tiangolo.
  • 🔥 Remove support for Python 2.7. PR #41 by @tiangolo.

Docs

  • 📝 Add note about why Python 3.10 and 3.11 are note supported. PR #83 by @tiangolo.
  • 📝 Add note to discourage Alpine with Python. PR #42 by @tiangolo.
  • 📝 Add Kubernetes warning, when to use this image. PR #40 by @tiangolo.
  • ✏️ Fix typo duplicate "Note" in Readme. PR #39 by @tiangolo.

Internal

  • ⬆️ Update mypy requirement from ^0.971 to ^0.991. PR #80 by @dependabot[bot].
  • ⬆️ Update black requirement from ^20.8b1 to ^22.10. PR #79 by @dependabot[bot].
  • ⬆️ Update docker requirement from ^5.0.3 to ^6.0.1. PR #78 by @dependabot[bot].
  • ⬆️ Update autoflake requirement from ^1.3.1 to ^2.0.0. PR #77 by @dependabot[bot].
  • ⬆️ Upgrade CI OS. PR #81 by @tiangolo.
  • 🔧 Update Dependabot config. PR #76 by @tiangolo.
  • 👷 Add scheduled CI. PR #74 by @tiangolo.
  • 👷 Add alls-green GitHub Action. PR #73 by @tiangolo.
  • 👷 Do not run double CI for PRs, run on push only on master. PR #72 by @tiangolo.
  • ⬆️ Update docker requirement from ^4.2.0 to ^5.0.3. PR #43 by @dependabot[bot].
  • ⬆️ Update isort requirement from ^4.3.21 to ^5.8.0. PR #32 by @dependabot[bot].
  • ⬆️ Update mypy requirement from ^0.770 to ^0.971. PR #69 by @dependabot[bot].
  • ⬆️ Bump actions/checkout from 2 to 3.1.0. PR #70 by @dependabot[bot].
  • ⬆️ Update pytest requirement from ^5.4.1 to ^7.0.1. PR #55 by @dependabot[bot].
  • ⬆️ Update black requirement from ^19.10b0 to ^20.8b1. PR #35 by @dependabot[bot].
  • ⬆️ Bump tiangolo/issue-manager from 0.2.0 to 0.4.0. PR #30 by @dependabot[bot].
  • ⬆️ Bump actions/setup-python from 1 to 4.3.0. PR #71 by @dependabot[bot].
  • 🔥 Remove unnecessary Travis backup file. PR #45 by @tiangolo.
  • 👷 Update Latest Changes GitHub Action. PR #37 by @tiangolo.
  • 👷 Add Dependabot and external requirements to get automated upgrade PRs. PR #29 by @tiangolo.
  • 👷 Add latest-changes GitHub Action, update issue-manager, and add sponsors funding. PR #21 by @tiangolo.
  • Refactor build setup:
    • Migrate to GitHub Actions for CI.
    • Centralize and simplify code and configs.
    • Update tests and types.
    • Move from Pipenv to Poetry.
    • PR #14.