12 KiB
12 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
0.4.42 - 2026-04-21
Other
0.4.41 - 2026-02-25
Fixed
- On error the encoder/decoder now emit everything it was able to decode. (#454)
0.4.40 - 2026-02-18
Other
- Fix update of bytes read in the encoder state machine. (#456)
- (deps) update rand requirement from 0.9 to 0.10 (#449)
0.4.39 - 2026-02-07
Other
- Revert "Fix decoding of empty response streams." (#446)
0.4.38 - 2026-02-06
Other
- Fix decoding of empty response streams. (#444)
- (deps) update proptest-derive requirement from 0.7 to 0.8 (#442)
0.4.37 - 2026-01-10
Other
- Set async-compression msrv (#440)
- Fix BufWriter::flush_buf: propagate error before reset (#438)
- Switch futures_core::ready to standard library api (#436)
0.4.36 - 2025-12-11
Other
- updated the following local packages: compression-codecs
0.4.35 - 2025-12-07
Other
- updated the following local packages: compression-codecs
0.4.34 - 2025-11-21
Added
- Add uninitialized output buffer support (#414)
Other
- Simplify
AsyncBufWrite(#423) - Refactor
bufread::decoder: Extract poll ready check (#418) - Optimize condition for removing written data in BufWriter (#415)
0.4.33 - 2025-11-06
Fixed
UnexpectedEofon truncated input (#412)
Other
- Update async-compression to use codecs v2 (#410)
- Dedup
write::Encoderand simplifywrite::Decoderimpl (#409) - Dedup
write::Decoder::poll_write(#408) - Optimize
BufWriter::poll_*method (#407) - Dedup
write::{AsyncBufWriter, BufWriter, Decoder}(#406) - Early return in
do_poll_readinstead of keep polling (#404) - Deduplicate
bufread::Encoderimpl (#402) - Rename
impl_do_poll_read!toimpl_decoder!(#403) - (deps) update proptest-derive requirement from 0.6 to 0.7 (#399)
- Deduplicate
generic::bufread::Decoderimpl of tokio/futures-io (#391) - Disable nightly feature
doc_auto_cfgon docsrs (#392)
0.4.32 - 2025-09-25
Other
- updated the following local packages: compression-codecs
0.4.31 - 2025-09-25
Other
- Flush compressed data out of encoders more often (#383)
0.4.30 - 2025-08-31
Other
- rm unused dep from async-compression and compression-codecs (#381)
0.4.29 - 2025-08-28
Other
0.4.28 - 2025-08-23
Fixed
- fix wasi ci testing and update doc in README (#367)
Other
- Fix Cargo.toml: add back version for async-compression (#372)
- Have separate package.version field for compression-* (#369)
- Re-export compression_codecs as codecs (#368)
- Fix breaking API change (#366)
- Fix docs.rs build for compression-codecs (#365)
- Separate codecs as a separate crate, allow direct configuration (#363)
- (deps) bump actions/checkout from 4 to 5 (#360)
- Fix doc link for futures-io (#361)
0.4.27 - 2025-07-13
Fixed
- Zstd fastest level now does compression. (#357)
0.4.26 - 2025-07-13
Features
- Add multi-thread support for XZ. (#353)
0.4.25 - 2025-06-17
Changed
- Update
bzip2dependency to0.6. (#350)
0.4.24 - 2025-06-09
Other
- Fix clippy error
- narrow tokio requirement to account for RUSTSEC-2025-0023
- move constructors back to top of rustdoc pages
0.4.23 - 2025-04-21
Changed
- Update
brotlidependency to8.0. - Update
liblzmadependency to0.4.
0.4.22 - 2025-03-25
Added
- Add LZ4 encoders and decoders.
- Expose
DeflateEncoder::{total_in, total_out}()methods.
0.4.21 - 2025-03-15
Fixed
- When flate encoding, do not mark internal state as flushed if it ran out of buffer space.
- Add debug assertion in
producemethod to check buffer capacity in implementations forBufWriter.
0.4.20 - 2025-02-28
Added
- Add support for
wasm32-wasip1-*targets.
0.4.19 - 2025-02-27
Changed
- Update
bzip2dependency to0.5.
Fixed
- Ensure that flush finishes before continuing.
0.4.18 - 2024-11-23
Fixed
- Adjust
Level::Preciseclamp range for flate2.
0.4.17 - 2024-10-20
Fixed
- Fix occasional panics when consuming from pending buffers.
0.4.16 - 2024-10-16
Other
- Implement pass-through
AsyncBufReadon write-based encoders & decoders.
0.4.15 - 2024-10-13
Feature
- Implement pass-through
AsyncReadorAsyncWritewhere appropriate. - Relax
AsyncRead/AsyncWritebounds on*::{get_ref, get_mut, get_pin_mut, into_inner}()methods.
0.4.14 - 2024-10-10
Fixed
- In Tokio-based decoders, attempt to decode from internal state even if nothing was read.
0.4.13 - 2024-10-02
Feature
- Update
brotlidependency to to7.
0.4.12 - 2024-07-21
Feature
- Enable customizing Zstd decoding parameters.
0.4.11 - 2024-05-30
Other
- Expose total_in/total_out from underlying flate2 encoder types.
0.4.10 - 2024-05-09
Other
- (deps) update brotli requirement from 5.0 to 6.0 (#274)
- Fix pipeline doc: Warn on unexpected cfgs instead of error (#276)
- Update name of release-pr.yml
- Create release.yml
- Create release-pr.yml
0.4.9
- bump dep brotli from 4.0 to 5.0
0.4.8
- bump dep brotli from 3.3 to 4.0
0.4.7
- Flush available data in decoder even when there's no incoming input.
0.4.6
- Return errors instead of panicking in all encode and decode operations.
0.4.5
- Add
{Lzma, Xz}Decoder::with_mem_limit()methods.
0.4.4
- Update
zstddependency to0.13.
0.4.3
- Implement
Defaultforbrotli::EncoderParams.
0.4.2
- Add top-level
brotlimodule containing stablebrotlicrate wrapper types. - Add
BrotliEncoder::with_quality_and_params()constructors. - Add
Deflate64Decoderbehind new crate featuredeflate64.
0.4.1 - 2023-07-10
- Add
Zstd{Encoder,Decoder}::with_dict()constructors. - Add
zstdmtcrate feature that enableszstd-safe/zstdmt, allowing multi-threaded functionality to work as expected.
0.4.0 - 2023-05-10
Level::Precisevariant now takes ai32instead ofu32.- Add top-level
zstdmodule containing stablezstdcrate wrapper types. - Add
ZstdEncoder::with_quality_and_params()constructors. - Update
zstddependency to0.12. - Remove deprecated
stream,futures-bufreadandfutures-writecrate features. - Remove Tokio 0.2.x and 0.3.x support (
tokio-02andtokio-03crate features).
0.3.15 - 2022-10-08
Level::Default::into_zstd()now returns zstd's default value3.- Fix endianness when reading the
extrafield of a gzip header.