Releases: trifectatechfoundation/zlib-rs
Releases · trifectatechfoundation/zlib-rs
v0.4.0
What's Changed
- Clippy update by @squell in #178
- It is time to have a security policy by @squell in #177
- wasm: add a
compare256
wasm simd implementation by @folkertdev in #179 - inline
copy_match_help
by @folkertdev in #180 - inflate: use custom
Writer
by @folkertdev in #181 - simplify
struct Table
by @folkertdev in #182 - Inflate cache opts by @folkertdev in #183
- add chunked and adler32 measurements by @folkertdev in #184
- unroll
copy_chunk_unchecked
by @folkertdev in #185 - cleanup
Writer
api usage by @folkertdev in #186 - Extend from window by @folkertdev in #187
- add specific tests for
copy_match
by @folkertdev in #188 - remove adler32 COPY variant (memcpy is faster) by @folkertdev in #189
- remove casting noise around
drop_bits
by @folkertdev in #191 - Writer tuning by @folkertdev in #192
- remove
libz-sys
dependency fromzlib-rs
crate by @folkertdev in #194 - use wider loads/stores in
Writer
on aarch64 by @folkertdev in #196 - wasm: use wider loads/stores in
copy_match
by @folkertdev in #197 - wasm: SIMD adler32 by @folkertdev in #198
- wasm: SIMD
slide_hash
by @folkertdev in #199 - wasm: allow unaligned reads in
longest_match
by @folkertdev in #202 - fix UB in
inflate::State::extra
by @folkertdev in #203 - Reenable deflate::test::insufficient_compress_space under Miri by @inahga in #204
- move the repository (and fix links) by @folkertdev in #208
- Add Prossimo as initiator by @erikjee in #209
- fix for reading/writing uninitialized memory by @folkertdev in #211
- try this codecov thing by @folkertdev in #215
- fix bug in inflate_fast when refilling by @folkertdev in #216
- run more
deflate::
tests under miri by @folkertdev in #214 - set
head.done = -1
if a gzip header was configured but the input is not gzip data by @folkertdev in #217 - Run test-libz-rs-sys tests on wasm in CI by @bjorn3 in #220
- fix panic in the stored algorithm by @folkertdev in #221
- fix panic in crc32 hash calc by @folkertdev in #222
- optimize the
medium
algorithm by @folkertdev in #223 - Replace usage of LD_PRELOAD with LD_LIBRARY_PATH by @bjorn3 in #227
- Fix a couple of warnings when building for wasm by @bjorn3 in #226
- Stop passing -fno-pic when building for wasm by @bjorn3 in #225
- fix 2 memory leaks in deflate tests by @folkertdev in #228
- gzip: make header functions unsafe and document preconditions by @inahga in #235
- just always initialize the window buffer with zeros by @folkertdev in #234
- crc32: mark some unsafe functions properly, add some safety documentation by @inahga in #236
- Miri stacked borrows improvements for inflate by @folkertdev in #237
- longest_match: handle underflow in assertion by @inahga in #240
- run deflate tests under stacked borrows by @folkertdev in #239
- adler32: document some unsafe blocks by @inahga in #238
- fuzzing: inflate fuzz suite for catching UB by @inahga in #231
- inflate/bitreader: fix unsoundness in advance() by @inahga in #242
- deflate: safety documentation, relax safety requirements of wasm intrinsics by @inahga in #241
- follow
MaybeUninit::slice_assume_init_ref
implementation by @folkertdev in #243 - inflate: some safety documentation by @inahga in #244
- libz-rs-sys: more safety requirements on inflate() and deflate() by @inahga in #245
- add section on using; change spelling to US by @squell in #247
- Loop plus match by @folkertdev in #248
New Contributors
- @squell made their first contribution in #178
- @inahga made their first contribution in #204
- @erikjee made their first contribution in #209
Full Changelog: v0.3.0...v0.4.0
v0.3.1
What's changed
- fix out-of-bounds write in Pending by @folkertdev
- fix UB in inflate::State::extra by @folkertdev
- backport ptr aliasing bugfix by @folkertdev
Full Changelog: v0.3.0...v0.3.1
Version 0.3.0
What's Changed
- add
custom-prefix
feature flag by @folkertdev in #125 - silence some warnings in dynamic-libz-sys by @folkertdev in #128
- use zlib-rs as a dynamic c library by @folkertdev in #127
- Update README.md by @rnijveld in #129
- Symbol visibility fixes by @folkertdev in #130
- add
ROADMAP.md
by @folkertdev in #131 - Simplify test suite 1 by @folkertdev in #132
- move libz-rs-sys tests into its own crate by @folkertdev in #133
- gate the
crc32_hash_calc
test on x86, x86_64 and aarch64 by @folkertdev in #137 - fix test suite on
s390x-unknown-linux-gnu
by @folkertdev in #138 - test
i686
ands390x
on CI by @folkertdev in #139 - clean up
hash_calc
selection logic by @folkertdev in #140 - Ci cross compile by @folkertdev in #141
- centralize fuzzing helpers by @folkertdev in #142
- guarantee that the alloc/free function pointer always point to the same thing by @folkertdev in #144
- handle
NULL
in adler32 and crc32 functions by @folkertdev in #145 - add safety comments & tests to (un)compress by @folkertdev in #146
- tests/comments for foundational inflate functions by @folkertdev in #147
- document the rest of the inflate functions by @folkertdev in #148
- Deflate docs by @folkertdev in #149
- test edge cases in the public C api by @folkertdev in #150
- handle partially uninitialized streams properly by @folkertdev in #151
- cover some uncovered paths by @folkertdev in #152
- switch the instruction used for acle crc32 calculation by @folkertdev in #154
- add more tests for
inflateGetHeader
by @folkertdev in #153 - mirror zlib-ng behavior for i686 by @folkertdev in #155
mod read_buf
: remove unused methods by @folkertdev in #158- refinements to unsafe code by @folkertdev in #157
- correct target features (based on miri) by @folkertdev in #159
- add target features for the SIMD compare256 operations by @folkertdev in #160
- correct target features in
hash_calc
by @folkertdev in #161 - quick algorithm quick cleanup by @folkertdev in #162
- fix bug in the quick algorithm (Z_BEST_SPEED) by @folkertdev in #165
- centralize cpu feature detection by @folkertdev in #167
- fix oversight in one of the quick deflate macros by @folkertdev in #170
- add a separate cdylib crate by @folkertdev in #168
- Use the "C-unwind" abi for functions we cannot guarantee won't panic by @folkertdev in #171
- fix issue 172 by @folkertdev in #173
- remove unneeded slice operation by @folkertdev in #175
Full Changelog: v0.2.1...v0.3.0
Version 0.2.1
What's Changed
- Fix inflate() flush modes and implement state.data_type by @cjgriscom in #113
- stop using crc32 hash on aarch64 by @folkertdev in #112
- fix
inflate::uncompress
bug by @folkertdev in #116 - include LICENSE file in published crates by @decathorpe in #118
inflate::reset_keep
: clear more fields by @folkertdev in #121- Refactor dynamic loading by @folkertdev in #122
- make
libz-rs-sys
andzlib-rs
use their local README.md for crates.io by @folkertdev in #120
New Contributors
- @cjgriscom made their first contribution in #113
- @decathorpe made their first contribution in #118
Full Changelog: v0.2.0...v0.2.1
Version 0.2.0
- Fix bug with window padding
- Add no_std support