Skip to content

Update sevenz-rust2 requirement from 0.25 to 0.27 - #6

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/sevenz-rust2-0.27
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/sevenz-rust2-0.27

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on sevenz-rust2 to permit the latest version.

Changelog

Sourced from sevenz-rust2's changelog.

0.27.0 - 2026-11-26

Added

  • ExtractLimits and the decompress_*limits() helpers reject an archive whose declared total size or entry count exceeds a limit before extracting it, and bound the memory used to read it.
  • Breaking change: Error::EntryLimitExceeded and Error::TotalSizeLimitExceeded report an exceeded extraction limit.

0.26.0 - 2026-11-25

Changed

  • Bumped lzma-rust2 to 0.26.

Added

  • ArchiveReader::into_inner() returns the underlying reader.

Fixed

  • Extracting a file applies its stored Unix file mode.
  • Extracting a file replaces an existing file or symbolic link at its path and never writes through a symbolic link.
  • Compressing from the filesystem stores the Unix file mode.
  • Compressing a directory follows symbolic links.
  • Recover an archive with a zeroed start header. A crafted archive can no longer make this recovery take very long.
  • A crafted files info can no longer make the header parse take very long.

0.25.0 - 2026-11-06

Changed

  • Bumped lzma-rust2 to 0.25.
  • An LZMA entry hands out the data it decoded before a decoding error.

Fixed

  • Bound each decoded entry by its declared size and reject surplus output.
  • read_file verifies the block CRC of an entry that is the only entry with data in its block.
  • Reject an entry whose decoded data ends before its declared size. for_each_entries, BlockDecoder::for_each_entries and read_file returned such an entry as complete and skipped its CRC check. With a wrong password, read_file could return an empty entry.
  • Restore BCJ2 block framing and reject unconsumed input streams after decoding.
  • Keep reporting checksum and decoder errors when a callback ignores the first error.
  • Decode and verify the unread data of the last entry of a block when iteration continues, and reject a block whose decoded size differs from its declared size.
  • Reject at read time an archive whose number of files with a stream differs from its number of

... (truncated)

Commits
  • f4f532c chore: release v0.27.0
  • ee8443a feat: add opt-in extraction limits for total size, entry count and memory
  • 364fa0a chore: release v0.26.0
  • 8c99eb4 fix: parse one candidate when searching for the end header and count empty st...
  • 18c7b7a fix: store the Unix file mode when compressing from the filesystem (#165)
  • 15d66d3 fix: follow symbolic links when compressing a directory
  • 6f6486f feat: Implement into_inner method for ArchiveReader (#163)
  • fb91063 fix: apply the Unix file mode 7-Zip stores when extracting files
  • See full diff in compare view

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)

Updates the requirements on [sevenz-rust2](https://github.com/hasenbanck/sevenz-rust) to permit the latest version.
- [Changelog](https://github.com/hasenbanck/sevenz-rust2/blob/main/CHANGELOG.md)
- [Commits](hasenbanck/sevenz-rust2@v0.25.0...v0.27.0)

---
updated-dependencies:
- dependency-name: sevenz-rust2
  dependency-version: 0.27.0
  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 Pull requests that update rust code labels Dec 1, 2026

This branch has not been deployed

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

0 participants