Releases: dflook/python-minifier
Releases · dflook/python-minifier
2.5.0
Added
- Support for Python 3.10, including pattern matching syntax
Changed
- Makes better decisions about when renaming is space efficient
2.4.2
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
Changed
- When the remove annotation transformation is enabled, annotations are preserved on detected usage of TypedDict or NamedTuple
2.4.0
Added
- Support for Python 3.9, including:
- PEP 614 - Relaxing Grammar Restrictions On Decorators
2.3.2
Fixed
await
keyword can now be used in f-string expression parts
2.3.1
Fixed
args
and kwargs
could have been renamed incorrectly in Python 2.6/2.7, particularly when reminifying a file
2.3.0
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
Fixed
- Unnecessary spaces after ';' in minified output have been removed
- Fixed PendingDeprecationWarnings
2.1.2
Changed
- Improved renaming performance
2.1.1
Changed
- Removed redundant parentheses from comprehension iteration values