Skip to content

chore(deps): update lzma-rust2 requirement from 0.22.0 to 0.23.0 - #363

Merged
kylebarron merged 1 commit into
mainfrom
dependabot/cargo/lzma-rust2-0.23.0
Oct 22, 2026
Merged

kylebarron merged 1 commit into
mainfrom
dependabot/cargo/lzma-rust2-0.23.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 21, 2026

Copy link
Copy Markdown
Contributor

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

Changelog

Sourced from lzma-rust2's changelog.

0.23.0 - 2026-10-18

Added

  • Add xz_uncompressed_size to read the uncompressed size of XZ data from its stream indexes, without decoding it.
  • Add optional strict completion and deferred error delivery to LzmaReader.
  • Add XzStream::set_stop_after_stream_header and XzStream::streams_started to read the check type of every concatenated stream.

Changed

  • Breaking change: LzipStream::new and LzipStream::new_mem_limit take allow_multiple_members, like XzStream.

Fixed

  • Reject XZ blocks in XzReaderMt that do not end at the index before allocating them.
  • Read any number of empty XZ streams in XzReader without growing the call stack.
  • Read any number of empty XZ blocks in XzReaderMt without growing the call stack.
  • Read the XZ index record by record without collecting the records in memory.
  • Finish Lzma2ReaderMt on empty input with empty output.

0.22.0 - 2026-10-11

Added

  • Add a bounded, streaming Bcj2Writer with four raw outputs and configurable branch conversion limits.
  • Add Bcj2Reader::finish for strict input completion.
  • Add Bcj2Reader::try_new for checked stream counts.
  • Add LzipReaderMt::new_mem_limit to limit decoder and member-buffer memory per LZIP member.
  • Add cooperative cancellation to Lzma2WriterMt, reported as EncoderCancelled.

Fixed

  • Allow the range encoder to defer more than 4 GiB of bytes in very long streams.
  • Bound pending worker jobs and ordered results in multi-threaded writers and the LZIP reader.
  • Join workers after completion, errors, and drop; return thread-spawn failures as I/O errors.
  • Synchronize worker queue closure to prevent missed shutdown wakeups.
  • Read consecutive empty LZIP members without growing the LzipReaderMt call stack.
  • Return OutOfMemory instead of panicking when a LZIP member requests an impossible allocation.
  • Reject malformed LZIP MT member spans before decoding an embedded second member.
  • Stop active LZIP member decoding when the worker pool shuts down.
  • Retry interrupted BCJ2 reads without losing fragmented branch addresses.
  • Reject truncated BCJ2 streams and incomplete branch addresses.
  • Validate the BCJ2 range stream even when the declared output is empty.
  • Preserve BCJ2 input errors after returning decoded bytes.
  • Reject invalid BCJ2 stream counts without panicking.
  • Keep BCJ2 output sizes above 4 GiB intact on 32-bit targets.
  • Wrap BCJ2 instruction positions at 32 bits.
  • Fix LzmaOptions::get_memory_usage() mixing bytes with KiB and undercounting hash-table memory.
  • Fix LzmaOptions::get_memory_usage() underestimating memory for custom lc and lp values.

... (truncated)

Commits
  • 79f8509 chore: prepare release v0.23.0
  • 06f0b5e Finish Lzma2ReaderMt on empty input
  • 7e2111c Read the XZ index record by record
  • f130461 Read empty XZ blocks in XzReaderMt without recursion
  • f866aee Read empty XZ streams in XzReader without recursion
  • dfbb2a4 Fix clippy warnings
  • aee6a0f Reject XZ index records past the index in XzReaderMt
  • d6268a2 Let LzipStream stop after the first member
  • b314d45 Let XzStream stop after each stream header
  • 3fb3ad2 Fix declared-end validation and make error deferral opt-in
  • Additional commits viewable 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 [lzma-rust2](https://github.com/hasenbanck/lzma-rust2) to permit the latest version.
- [Changelog](https://github.com/hasenbanck/lzma-rust2/blob/master/CHANGELOG.md)
- [Commits](hasenbanck/lzma-rust2@v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: lzma-rust2
  dependency-version: 0.23.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 Oct 21, 2026
@ds-release-bot ds-release-bot Bot added the chore label Oct 21, 2026
@kylebarron
kylebarron merged commit 145ce80 into main Oct 22, 2026
17 checks passed
@kylebarron
kylebarron deleted the dependabot/cargo/lzma-rust2-0.23.0 branch October 22, 2026 03:23
weiji14 added a commit that referenced this pull request Oct 22, 2026
Also fix python/Cargo.lock file that wasn't locked after #363
Comment thread Cargo.toml
jpeg2k = { version = "0.10.1", optional = true }
lerc = { version = "0.2.1", optional = true }
lzma-rust2 = { version = "0.22.0", optional = true, features = ["xz"] }
lzma-rust2 = { version = "0.23.0", optional = true, features = ["xz"] }

@weiji14 weiji14 Oct 22, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, I think we also need to update the python/Cargo.lock file to use lzma-rust2=0.23 (realized this when running some uv commands). I did it in 3418386

weiji14 added a commit that referenced this pull request Oct 22, 2026
* chore(deps): bump certifi from 2025.1.31 to 2026.10.19 in /python

Bumps [certifi](https://github.com/certifi/python-certifi) from 2025.1.31 to 2026.10.19.
- [Commits](certifi/python-certifi@2025.01.31...2026.10.19)

---
updated-dependencies:
- dependency-name: certifi
  dependency-version: 2026.10.19
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump to uv lockfile version 1, revision 5

Also fix python/Cargo.lock file that wasn't locked after #363

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

2 participants