Skip to content

3.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Sep 08:58
· 3 commits to main since this release
Immutable release. Only release title and notes can be modified.
3493fee

ℹ️ Note that python-minifier depends on the python interpreter for parsing source code,
and will output source code compatible with the version of the interpreter it is run with.

This means that if you minify code written for Python 3.11 using python-minifier running with Python 3.12,
the minified code may only run with Python 3.12.

Added

  • Python 3.15 support, including:
    • PEP 810 lazy imports
    • PEP 798 unpacking in comprehensions

Fixed

  • The combine imports transform now combines all runs of from imports that can be combined.
    Previously only a leading run of imports from the same module was combined.