Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump lz4_flex from 0.9.5 to 0.11.3 #19

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 17, 2024

Bumps lz4_flex from 0.9.5 to 0.11.3.

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.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
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

... (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 will merge this PR once it's up-to-date and CI passes on it, as requested by @viluon.


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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jun 17, 2024
@dependabot dependabot bot force-pushed the dependabot/cargo/lz4_flex-0.11.3 branch 2 times, most recently from eecf475 to ef3e895 Compare June 19, 2024 07:09
@viluon
Copy link
Owner

viluon commented Jun 19, 2024

@dependabot squash and merge

Bumps [lz4_flex](https://github.com/pseitz/lz4_flex) from 0.9.5 to 0.11.3.
- [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)

---
updated-dependencies:
- dependency-name: lz4_flex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/lz4_flex-0.11.3 branch from ef3e895 to c53c6f2 Compare June 19, 2024 07:10
@dependabot dependabot bot merged commit 9f9e803 into main Jun 19, 2024
1 check passed
@dependabot dependabot bot deleted the dependabot/cargo/lz4_flex-0.11.3 branch June 19, 2024 07:14
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 Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant