Skip to content

Commit 5fd495c

Browse files
committed
🔖 2.6.0
1 parent 9b8a048 commit 5fd495c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ 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.6.0] - 2022-04-10
8+
9+
### Added
10+
- A new option to preserve the shebang line from the source file, which is enabled by default
11+
- More flexible file processing options for the `pyminify` command:
12+
- A new `--output` argument for writing the minified output to a file without having to use shell redirection
13+
- A new `--in-place` option which overwrites the specified path with the minified output
14+
- `path` arguments may be directories, which minifies all *.py files below that directory
15+
- Multiple `path` arguments may be specified, which will all be minified
16+
- Type information is included in the package to enable type checking of the public functions
17+
18+
### Fixed
19+
- No longer assumes files read from stdin are utf-8.
20+
721
## [2.5.0] - 2021-10-06
822

923
### Added
@@ -120,6 +134,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
120134
- python-minifier package
121135
- pyminify command
122136

137+
[2.6.0]: https://github.com/dflook/python-minifier/compare/2.5.0...2.6.0
123138
[2.5.0]: https://github.com/dflook/python-minifier/compare/2.4.2...2.5.0
124139
[2.4.2]: https://github.com/dflook/python-minifier/compare/2.4.1...2.4.2
125140
[2.4.1]: https://github.com/dflook/python-minifier/compare/2.4.0...2.4.1

0 commit comments

Comments
 (0)