Skip to content

Releases: dflook/python-minifier

2.5.0

06 Oct 14:19
0008fdf
Compare
Choose a tag to compare

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
1b1b958
Compare
Choose a tag to compare

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

  • Python 2.6 support

2.4.1

17 Oct 10:15
6cc0fbd
Compare
Choose a tag to compare

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
Compare
Choose a tag to compare

Added

  • Support for Python 3.9, including:
    • PEP 614 - Relaxing Grammar Restrictions On Decorators

2.3.2

11 Oct 16:59
f10d58a
Compare
Choose a tag to compare

Fixed

  • await keyword can now be used in f-string expression parts

2.3.1

04 May 14:47
f0f60b6
Compare
Choose a tag to compare

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
0f878c3
Compare
Choose a tag to compare

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
5aaf5ca
Compare
Choose a tag to compare

Fixed

  • Unnecessary spaces after ';' in minified output have been removed
  • Fixed PendingDeprecationWarnings

2.1.2

27 Jun 21:52
c8cd280
Compare
Choose a tag to compare

Changed

  • Improved renaming performance

2.1.1

07 Apr 18:53
b9bf31c
Compare
Choose a tag to compare

Changed

  • Removed redundant parentheses from comprehension iteration values