Skip to content

Commit 6698d95

Browse files
committed
🔖 2.8.1
1 parent 3d0cadb commit 6698d95

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
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.8.1] - 2023-03-15
8+
9+
### Fixed
10+
- A bug shortening names in the iterable of a comprehension when the original name was also used as a target in the comprehension
11+
e.g. `def f(x): return [x for x in x]` would be incorrectly minified to `def f(x):return[A for A in A]`, instead of `def f(x):return[A for A in x]`.
12+
713
## [2.8.0] - 2022-12-27
814

915
### Added
@@ -157,6 +163,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
157163
- python-minifier package
158164
- pyminify command
159165

166+
[2.8.1]: https://github.com/dflook/python-minifier/compare/2.8.0...2.8.1
160167
[2.8.0]: https://github.com/dflook/python-minifier/compare/2.7.0...2.8.0
161168
[2.7.0]: https://github.com/dflook/python-minifier/compare/2.6.0...2.7.0
162169
[2.6.0]: https://github.com/dflook/python-minifier/compare/2.5.0...2.6.0

0 commit comments

Comments
 (0)