Releases: 15r10nk/pysource-minimize
Releases · 15r10nk/pysource-minimize
v0.10.1
v0.10.0
Feat
- 3.14: added support for template-strings
Fix
- try to minimize Subscript to Name in Store context
v0.9.0
Feat
- implemented minimize_all()
- better minimization for ast.AnnAssign
- better minimization for ast.AugAssign
- try to replace every ast.expr with ast.Constant(0)
- replace names with unique_name_N if possible to show where a common name matters
Refactor
- fixed typos
v0.8.0
v0.8.0 (2025-04-16)
Feat
- new cli with visual feedback
minimize.mp4
Fix
- minimize MatchValue.value
- minimize Raise.exc
- minimize Call.func
- also minimize left side of an assertion
- improved comprehesion minimization
- NamedConstant has been removed in 3.14
Refactor
- improved pattern minimization
Full Changelog: v0.7.0...v0.8.0
v0.7.0
v0.6.3
What's Changed
- Improve error reporting when source cannot be minimized (#16) @AlexWaygood
- Complete type hints for public API (#15) @AlexWaygood
Full Changelog: v0.6.2...v0.6.3
v0.6.2
What's Changed
fixed some corner cases with yield, MatchClass, default args and slices
Full Changelog: v0.6.1...v0.6.2
v0.6.1
v0.6.0
What's Changed
Feat
- removed python 3.7 support
- minimize strings, bytes, int, float, boolean values
- minimize nonlocal and global names
- minimize type comments
Fix
- fix crash when minimizing raise statements
- remove the upper dependency bounds in pyproject.toml
- minimize kw_defaults correctly
- minimize function defaults correctly
- added py.typed
Full Changelog: v0.5.0...v0.6.0