Changelog

v1.2.2 (2024-02-04)

  • Support platformdirs v4.0

  • Migrated from setuptools to hatch

  • Support cachecontrol v0.14

v1.2.1 (2023-11-09)

v1.2.0 (2023-09-23)

  • Support platformdirs v3.0

  • Update pydantic to v2.0

v1.1.1 (2023-06-01)

  • Support Python 3.11

  • Support cachecontrol 0.13

v1.1.0 (2021-11-08)

  • Use pydantic internally for parsing & validating version databases

  • eol_date() and is_eol() now accept major and micro versions

v1.0.0 (2021-11-04)

  • Support Python 3.10

  • Drop support for Python 3.6

  • Support for fetching information on PyPy versions has been added. With it come the following changes:

    • The schema used by the database (and thus the URL for the default database) has been modified

    • PyVersionInfo has been renamed to CPythonVersionInfo

    • A new PyPyVersionInfo class has been added

    • A new VersionDatabase class has been added, containing a CPythonVersionInfo instance and a PyPyVersionInfo instance

    • get_pyversion_info() is now VersionDatabase.fetch()

    • The command-line interface now takes a --pypy option for showing details about PyPy versions

  • The unreleased argument to major_versions(), minor_versions(), micro_versions(), and subversions() has been removed; the methods now return all known versions, released & unreleased

  • release_date() now returns None for any known version whose release date is unknown, whether it’s been released yet or not. Use is_released() to determine whether such a version has been released.

  • eol_date() now returns None for any known version whose EOL date is unknown, whether it’s EOL yet or not. Use is_eol() to determine whether such a version has reached end-of-life.

  • Moved documentation from README file to a Read the Docs site

v0.4.0 (2021-10-03)

v0.3.0 (2021-10-01)

  • Add type annotations

  • Switch from appdirs to platformdirs

v0.2.0 (2020-12-13)

  • Support Python 3.8 and 3.9

  • Add a note to the README about the possibility of release deadlines being missed

  • Drop support for Python 2.7, 3.4, and 3.5

  • Properly close the requests session after downloading the database

v0.1.0 (2019-04-23)

Initial release