Skip to content

Commit 86ea914

Browse files
committed
🔖 3.2.0
1 parent 835fc1d commit 86ea914

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ and will output source code compatible with the version of the interpreter it is
1010
This means that if you minify code written for Python 3.11 using python-minifier running with Python 3.12,
1111
the minified code may only run with Python 3.12.
1212

13+
## [3.2.0] - 2025-12-31
14+
15+
### Added
16+
- New `--prefer-single-line` option to use semicolons instead of newlines between top-level statements when there is no difference in output size. This doesn't make the output any smaller, but may be preferred.
17+
- Constant folding can now fold unary operators (e.g. `-1`, `not True`, `~0`) in addition to binary operators.
18+
1319
## [3.1.1] - 2025-12-11
1420

1521
### Fixed
@@ -311,6 +317,7 @@ the minified code may only run with Python 3.12.
311317
- python-minifier package
312318
- pyminify command
313319

320+
[3.2.0]: https://github.com/dflook/python-minifier/compare/3.1.1...3.2.0
314321
[3.1.1]: https://github.com/dflook/python-minifier/compare/3.1.0...3.1.1
315322
[3.1.0]: https://github.com/dflook/python-minifier/compare/3.0.0...3.1.0
316323
[3.0.0]: https://github.com/dflook/python-minifier/compare/2.11.3...3.0.0

0 commit comments

Comments
 (0)