Skip to content

Bump lz4_flex from 0.9.5 to 0.11.6#496

Merged
felixhekhorn merged 1 commit intomasterfrom
dependabot/cargo/lz4_flex-0.11.6
Mar 17, 2026
Merged

Bump lz4_flex from 0.9.5 to 0.11.6#496
felixhekhorn merged 1 commit intomasterfrom
dependabot/cargo/lz4_flex-0.11.6

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 16, 2026

Bumps lz4_flex from 0.9.5 to 0.11.6.

Release notes

Sourced from lz4_flex's releases.

0.11

Documentation

  • Docs: add decompress block example

Fixes

  • Handle empty input in Frame Format #120
Empty input was ignored previously and didn't write anything. Now an empty Frame is written. This improves compatibility with the reference implementation and some corner cases.
  • Fix: Small dict leads to panic #133
compress_into_with_dict panicked when the dict passed was smaller than 4 bytes. A match has the minimum length of 4 bytes, smaller dicts will be ignored now.

Features

  • [breaking] invert checked-decode to unchecked-decode #134
invert `checked-decode` feature flag to `unchecked-decode`
Previously setting `default-features=false` removed the bounds checks from the
`checked-decode` feature flag. `unchecked-decode` inverts this, so it will needs to be
deliberately deactivated.

To migrate, just remove the checked-decode feature flag.

  • Allow to pass buffer larger than size #78
This removes an unnecessary check in the decompression, when the passed buffer is too big.
  • Add auto_finish to FrameEncoder #95 #100
Empty input was ignored previously and didn't write anything. Now an empty Frame is written. This improves compatibility with the reference implementation and some corner cases.
  • Autodetect frame blocksize #81
The default blocksize of FrameInfo is now auto instead of 64kb, it will detect the blocksize
depending of the size of the first write call. This increases
compression ratio and speed for use cases where the data is larger than
64kb.
This adds in fluent API style construction for FrameInfo. Now you can do

let info = FrameInfo::new() .block_size(BlockSize::Max1MB) .content_checksum(true);

... (truncated)

Changelog

Sourced from lz4_flex's changelog.

0.11.6 (2026-03-14)

Security Fix

Invalid match offsets (offset == 0) during decompression were not properly
handled, which could lead to invalid memory reads on untrusted input.
Users on 0.11.x should upgrade to 0.11.6.

0.11.5 (2025-06-19)

  • Fix incorrect rust-version field name in Cargo.toml #187

0.11.4 (2025-06-14)

  • Upgrade to twox-hash 2.0#175
  • Better no_std compatibility #180

0.11.3 (2024-03-30)

  • Fix support for --deny=unsafe_code compilation #152
  • make get_maximum_output_size const #153

0.11.2 (2024-01-11)

  • Include license file in the published crate

0.11.1 (2023-06-19)

0.11.0 (2023-06-18)

Documentation

  • Docs: add decompress block example

Fixes

  • Handle empty input in Frame Format #120
Empty input was ignored previously and didn't write anything. Now an empty Frame is written. This improves compatibility with the reference implementation and some corner cases.
  • Fix: Small dict leads to panic #133
</tr></table> 

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [lz4_flex](https://github.com/pseitz/lz4_flex) from 0.9.5 to 0.11.6.
- [Release notes](https://github.com/pseitz/lz4_flex/releases)
- [Changelog](https://github.com/PSeitz/lz4_flex/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pseitz/lz4_flex/commits/0.11.6)

---
updated-dependencies:
- dependency-name: lz4_flex
  dependency-version: 0.11.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Rust extension related labels Mar 16, 2026
@felixhekhorn felixhekhorn merged commit 1070484 into master Mar 17, 2026
9 checks passed
@felixhekhorn felixhekhorn deleted the dependabot/cargo/lz4_flex-0.11.6 branch March 17, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Rust extension related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant