Skip to content

3.0.0

Choose a tag to compare

@dflook dflook released this 13 Aug 15:38
· 28 commits to main since this release
Immutable release. Only release title and notes can be modified.
d24f6fe

ℹ️ 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.

Fixed

  • Better support of unicode on platforms that do not use UTF-8 as the default encoding.
    This should fix issues with minifying files on Windows, and possibly other platforms with very old Python versions.

    If you are still using Python 2.7 this could be a breaking change - the pyminify command is unchanged, but the minify() function now returns unicode strings.