Skip to content

Releases: szeweq/mc-repack

MC-Repack 0.26.0

25 Jun 00:40
Compare
Choose a tag to compare
  • 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

18 Jun 00:35
Compare
Choose a tag to compare
  • The CLI now requires --in and --out args for files command
  • PNG minifier will not replace buffered Vecs
  • 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

11 Jun 21:17
Compare
Choose a tag to compare
  • 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

04 Jun 20:48
Compare
Choose a tag to compare
  • Code cleanup
  • Error collecting moved to RepackOpts

Full Changelog: v0.23.0...v0.23.1

MC-Repack 0.23.0

03 Jun 14:42
Compare
Choose a tag to compare
  • Breaking change: The mc-repack CLI has subcommands. The calls to process JAR files has changed. Use mc-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 an ExactSizeIterator.
  • Used walkdir crate for recursive directory read.

Full Changelog: v0.22.0...v0.23.0

MC-Repack 0.22.0

28 May 04:57
Compare
Choose a tag to compare

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

22 May 00:24
Compare
Choose a tag to compare

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 and EntrySaverSpec traits. Now free from crossbeam-channel crate

Breaking changes

  • anyhow crate is now required
  • No optimizer module in mc-repack-core

Full Changelog: v0.20.1...v0.21.0

MC-Repack 0.20.1

15 May 18:52
Compare
Choose a tag to compare
  • Enabled Zopfli options for CLI
  • Better docs for types implementing AcceptsConfig
  • Re-exported optimizer items in mc-repack-core crate

Full Changelog: v0.20.0...v0.20.1

MC-Repack 0.20.0

14 May 20:42
Compare
Choose a tag to compare

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 of Deflate
  • Fix: Remove .cache/ properly
  • Breaking change: Deprecate optimize_archive and optimize_fs_copy

And many more!
Full Changelog: v0.18.1...v0.20.0

MC-Repack 0.18.1

06 Mar 13:06
Compare
Choose a tag to compare
  • Updated dependencies
  • Added toml feature (enabled by default)
  • Set stripping BOM (Byte Order Mark) outside of minifying
  • Stopped mapping SendError to locally selected error type
  • Better error wrapping (depends on feature)
  • Added methods for filling EntryType without using .into()