Releases: dflook/python-minifier
Releases · dflook/python-minifier
2.6.0
10 Apr 17:44
Immutable
release. Only release title and notes can be modified.
Added
A new option to preserve the shebang line from the source file, which is enabled by default
More flexible file processing options for the pyminify
command:
A new --output
argument for writing the minified output to a file without having to use shell redirection
A new --in-place
option which overwrites the specified path with the minified output
path
arguments may be directories, which minifies all *.py files below that directory
Multiple path
arguments may be specified, which will all be minified
Type information is included in the package to enable type checking of the public functions
Fixed
No longer assumes files read from stdin are utf-8.
2.5.0
06 Oct 14:19
Immutable
release. Only release title and notes can be modified.
Added
Support for Python 3.10, including pattern matching syntax
Changed
Makes better decisions about when renaming is space efficient
2.4.2
28 Jun 19:37
Immutable
release. Only release title and notes can be modified.
Fixed
Rare Exceptions when encountering empty f-string str parts
Missing required parentheses in return statements for iterable unpacking in python <3.8
Missing parentheses in some complex dict expansions
Removed
2.4.1
17 Oct 10:15
Immutable
release. Only release title and notes can be modified.
Changed
When the remove annotation transformation is enabled, annotations are preserved on detected usage of TypedDict or NamedTuple
2.4.0
15 Oct 08:14
Immutable
release. Only release title and notes can be modified.
Added
Support for Python 3.9, including:
PEP 614 - Relaxing Grammar Restrictions On Decorators
2.3.2
11 Oct 16:59
Immutable
release. Only release title and notes can be modified.
Fixed
await
keyword can now be used in f-string expression parts
2.3.1
04 May 14:47
Immutable
release. Only release title and notes can be modified.
Fixed
args
and kwargs
could have been renamed incorrectly in Python 2.6/2.7, particularly when reminifying a file
2.3.0
18 Nov 16:22
Immutable
release. Only release title and notes can be modified.
Added
Optional source transform:
convert positional only arguments to normal arguments, enabled by default
Fixed
Unnecessary spaces after ',' in tuple values
Removing annotations for positional-only arguments (Thanks luk3yx !)
--no-remove-annotations
argument to pyminify
had no effect
2.2.1
03 Nov 15:34
Immutable
release. Only release title and notes can be modified.
Fixed
Unnecessary spaces after ';' in minified output have been removed
Fixed PendingDeprecationWarnings
2.1.2
27 Jun 21:52
Immutable
release. Only release title and notes can be modified.
Changed
Improved renaming performance