Releases: szeweq/mc-repack
Releases · szeweq/mc-repack
MC-Repack 0.27.0
- Breaking change: Reimplemented
EntryReader
andEntrySaver
- CLI uses
rayon
library to manage tasks.
Full Changelog: v0.26.0...v0.27.0
MC-Repack 0.26.0
- Cleared warnings
- Default minimum size for compression was raised to 24
- Recompress JAR-in-JAR archives (and ignore directories)
- Added newline checker (replacing
/r/n
to/n
), enabled for Java Manifest files
Full Changelog: v0.25.0...v0.26.0
MC-Repack 0.25.0
- The CLI now requires
--in
and--out
args forfiles
command - PNG minifier will not replace buffered
Vec
s - Reduced iterations without improvement (for Zopfli) from 6 to 5
- OGG Vorbis vendor strings are now classified as a comment, thus the config will delete or ignore them
- Changed NBT recompression by implementing a custom
NBTReader
Full Changelog: v0.24.0...v0.25.0
MC-Repack 0.24.0
- Added
--report
option for CLI - Core library removes line comments next to text
- Optimized JSON trimming, skipping BOM check
- Loosen MSRV to version 1.75.0
- Apply minifiers based on previously checked "known" file formats.
Full Changelog: v0.23.1...v0.24.0
MC-Repack 0.23.1
- Code cleanup
- Error collecting moved to
RepackOpts
Full Changelog: v0.23.0...v0.23.1
MC-Repack 0.23.0
- Breaking change: The
mc-repack
CLI has subcommands. The calls to process JAR files has changed. Usemc-repack jars
to process them. - MC-Repack can now fully process files in your file system, not just ZIP/JAR files.
- Removed
FileType
(for repacked.jar
detection). Now the user has to control where repacked files are saved. - Changed the order of file operations (blacklist comes first, then minifiers, then pass).
FSEntryReader
is fixed and requires anExactSizeIterator
.- Used
walkdir
crate for recursive directory read.
Full Changelog: v0.22.0...v0.23.0
MC-Repack 0.22.0
Updated the zip
crate version. There was a yanked version used in MC-Repack.
Full Changelog: v0.21.0...v0.22.0
MC-Repack 0.21.0
Features
- Added OGG optimizer
- Added support for passing numbers for
use_zopfli
config option - Better compression check (3 steps): Determined minimum size -> Entropy -> Read
DeflateEncoder
output count - Added
--check
option (it checks current config file; creates a new config file when needed) - Added
--keep-dirs
option (MC-Repack ignores directory entries in ZIP/JAR files by default) - Added
--zopfli
option (with number) to enable ZIP/JAR file repacking with Zopfli - Added configuration for blacklisting file types
- Added new file types for default blacklist, including Git files, backup types,
.lnk
and more - New
EntryReaderSpec
andEntrySaverSpec
traits. Now free fromcrossbeam-channel
crate
Breaking changes
anyhow
crate is now required- No
optimizer
module inmc-repack-core
Full Changelog: v0.20.1...v0.21.0
MC-Repack 0.20.1
- Enabled Zopfli options for CLI
- Better docs for types implementing
AcceptsConfig
- Re-exported
optimizer
items inmc-repack-core
crate
Full Changelog: v0.20.0...v0.20.1
MC-Repack 0.20.0
Big version bump for big changes:
- NEW NBT optimizer!
- Using Zopfli where possible (currently as a core feature, not in CLI)
- Reading config from
mc-repack.toml
file (or one specified by--config
option) - Configurable minifiers (JSON, TOML, Zopfli when available)
- Optimized required file size limits for
Store
instead ofDeflate
- Fix: Remove
.cache/
properly - Breaking change: Deprecate
optimize_archive
andoptimize_fs_copy
And many more!
Full Changelog: v0.18.1...v0.20.0