All notable changes to this project will be documented in this file.
0.8.2 - 2024-12-17
- (deflate) fix (#159) - (e3536a7) (fix for bug accidentally introduced in the previous release causing panics in some cases)- Matthew Deville
0.8.1 - 2024-12-17
- (fuzzing) update fuzzing to work again - (b7a5908) - user
- (deflate) use built in fill instead of custom memset function - (c0662f1) - oyvindln
- (inflate) use smaller types in inflate struct, split up huffman table arrays to make struct smaller, make zlib level 0 if using rle, other minor tweaks - (c5f8f76) - oyvindln
- (inflate) use function instead of lookup table for distance extra bits for tiny space/perf saving and fix clippy warnings - (9f1fc5e) - oyvindln
- (inflate) use inputwrapper struct instead of iter to simplify input reading and change some data types for performance - (423bdf8) - oyvindln
- (inflate) don't use lookup table on aarch64 and loong since we have bit rev instruction there, fix clippy warnings and fix conditional in tree_lookup that seemed to break perf - (083e4b3) - oyvindln
- (inflate) fill fast lookup table with invalid code value instead of zero so we can avoid check in hot code path givin a small performance boost - (f73e6a4) - oyvindln
- (inflate) skip pointlessly clearing unused huffman code length tree - (b3b1604) - oyvindln
- (inflate) use built in fill instead of custom memset function - (e6ee54e) - oyvindln
- (tests) change workflow to use rust 1.56.0 - (7258c06) - oyvindln
- (deflate) set min window bits in inflate header when using rle - (02a8857) - oyvindln
- (inflate) Derive Clone for InflateState to allow random-access reads (#157) - (0a33eff) - Phil Hord
0.8.0 - 2024-08-08
This release changes to using the forked adler2 crate as the original adler crate has not seen any updates in the last 3 years and the repositories have been marked as archived. The minimum rust version has also been bumped slightly to make room for future improvements.
- (miniz_oxide) update edition, make more functions const, fix warning, update to adler2 - (b212371) - oyvindln
0.7.4 - 2024-06-18
- (miniz_oxide) simplify init_tree a little and use a smaller lookup table for bit reversal - (2ba520a) - oyvindln
- (miniz_oxide) evade bounds checks in record_match to improve compression performance a little - (d1de8db) - oyvindln
- (deflate) evade a bounds check in deflate for a small perf improvement - (b4baed3) - oyvindln
- disable c miniz part in miniz_oxide_c_api of bench - (2f0a9a3) - oyvindln
0.7.3 - 2024-05-17
- (miniz_oxide) Fix version specification for simd-adler32 (#150) - (35c71e1) - Daniel Müller
- Fix clippy lints (#151) - (7c758d4) - Gnome!
- (miniz_oxide) Remove lookup table from rustc-std builds (#152) - (434d9ab) - Gnome!
0.7.2 - 2024-02-03
- (inflate) Return MZError::Buf when calling inflate with MZFlush::Finish in line with orig miniz and zlib - (0f50464) - oyvindln
- (miniz_oxide) fix tests when with-alloc is not enabled (running with --no-default-features) and make add test run of it to ci - (4fd32da) - oyvindln
- (miniz_oxide) fix compiler and clippy warnings - (657c5b2) - oyvindln
- Code size reduction from panic reduction (#145) - (201ef39) - Kornel
- Optimize match_len == 3 (#146) - (10ff5a0) - Kornel
- inflate:
- Fix for older versions of Rust (thanks jasonish) (a65d0751)
Yanked release
Yanked release due to version requirement bump
- inflate:
- move debug assert condition to if stmt (thanks connorskees) (b6d8824a)
Yanked release due to version requirement bump
- inflate:
- deflate:
- Remove #[inline(always)] from CompressorOxide::default() (thanks jrmuizel) (c7643aa2)
- inflate:
- various typo/doc/ci fixes (thanks LollipopFt, striezel, jarede-dev)
- Add std feature to allow error trait for DecompressError and other stuff later down the line
- impl Display for DecompressError
- Make building with --no-default-features actually work
- inflate:
Clippy warnings and doc fixes (thanks @hellow554 and @MichaelMcDonnell)
- core: Don't use simd-adler32 when building as part of std (5869904c)
- inflate: Don't return HasMoreOutput if we are waiting for more input to read adler32 (5869904c)
- inflate: Add decompress_slice_iter_to_slice function. (a359d678)
Doc updates and minor refactor
-
core:
-
inflate:
- core:
- Add automatic alloc detection (0c67dc5c)
- inflate:
- Add missing pub to FullReset's data format (743d6d37)
-
inflate:
-
core:
- Add an optional feature for 1.34.2 backwards compatibility (d18e847d)
- core: