Skip to content

Releases: leodevian/modern-python

v5.0.0

02 Dec 22:25

Choose a tag to compare

Release notes

Removed

  • Remove unnecessary pre-commit hooks.

Added

  • Add pre-commit hook to check documentation sources.

Changed

  • Add mkdocstrings-python to the docs dependency group and set its lower version boundary to 2.0.0.
  • Bump the lower version boundary for Black to 25.11.0.
  • Bump the lower version boundary for Click to 8.3.0.
  • Bump the lower version boundary for Material for MkDocs to 9.7.0.
  • Bump the lower version boundary for Towncrier to 25.8.0.
  • Bump the lower version boundary for Typer to 0.20.0.
  • Bump the lower version boundary for pre-commit to 4.5.0.
  • Bump the lower version boundary for pytest-xdist to 3.8.0.
  • Refactor the reference section of the MkDocs documentation.
  • Remove syntax highlighting for commands.
  • Rename the MkDocs configuration file from mkdocs.yaml to mkdocs.yml.
  • Turn on show_root_heading, type_parameter_headings and show_signature_type_parameters for mkdocstrings-python.
  • Update pre-commit hooks.

Fixed

  • Add TOML support for Coverage.py.

v4.11.0

25 Nov 22:44

Choose a tag to compare

Release notes

Changed

  • Improve scripts/release.py. It can now pass arguments or options to uv version and create GitHub releases.
  • Remove the trailing slash from the documentation URL.

v4.10.0

16 Nov 21:45

Choose a tag to compare

Release notes

Removed

  • Remove the short version flag -V for all command-line interfaces.
  • Stop formatting documentation sources.

Changed

  • Bump the lower version boundary for Cyclopts to 4.0.0.
  • Bump the lower version boundary for pytest to 9.0.0.
  • Make Cyclopts applications return an exit code.
  • Update pre-commit hooks.
  • Use [tool.pytest] to provide pytest settings and turn on the new strict mode.
  • Use typer.echo to print the version.
  • Use blacken-docs to format Python code blocks in documentation files.

v4.9.0

15 Nov 14:32

Choose a tag to compare

Release notes

Changed

  • Remove if __name__ == "__main__": from __main__.py.
  • Stop turning warnings into errors when serving the documentation locally.
  • Use raw strings in mkdocs.yaml.

v4.8.0

11 Nov 14:29

Choose a tag to compare

Release notes

Changed

  • Turn off live logs when running tests.

v4.7.0

02 Nov 13:53

Choose a tag to compare

Release notes

Changed

  • Format pyproject.toml.
  • Stop reading VERSION.txt to set the version attribute.

v4.6.0

17 Oct 20:13

Choose a tag to compare

Release notes

Changed

  • Update pre-commit hooks.

v4.5.0

17 Oct 19:40

Choose a tag to compare

Release notes

Changed

  • Add .gitignore to the package root to ignore VERSION.txt.
  • Bump the lower version boundary for Coverage.py to 7.11.0.
  • Edit docstring in scripts/release.py.

Fixed

  • Fix command in Nox session typecheck.

v4.4.0

15 Oct 19:40

Choose a tag to compare

Release notes

Changed

  • Rename dependency group tests into test.

v4.3.0

12 Oct 19:05

Choose a tag to compare

Release notes

Added

  • Run tests under Python 3.14.

Changed

  • Drop support for Python 3.9 and add support for Python 3.14.