This is an automated email from the ASF dual-hosted git repository.
zeroshade pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-go.git
The following commit(s) were added to refs/heads/main by this push:
new a9f35df1 chore: Bump github.com/pierrec/lz4/v4 from 4.1.33 to 4.1.34
(#1699)
a9f35df1 is described below
commit a9f35df1f88a0bbfe290b1b476e9aa1c78249951
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Fri Nov 27 13:45:20 2026 -0500
chore: Bump github.com/pierrec/lz4/v4 from 4.1.33 to 4.1.34 (#1699)
Bumps [github.com/pierrec/lz4/v4](https://github.com/pierrec/lz4) from
4.1.33 to 4.1.34.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pierrec/lz4/blob/v4/CHANGELOG.md">github.com/pierrec/lz4/v4's
changelog</a>.</em></p>
<blockquote>
<p>v4.1.34 were reconstructed from the git history; numbers are pull
requests or
issues in this repository.</p>
<h2>Unreleased</h2>
<h3>Added</h3>
<ul>
<li>The package documentation and README describe dictionaries and how
to build
one, with examples for <code>CompressBlockWithDict</code> and
<code>DictionaryOption</code>.
In CI, the <code>lz4</code> command and this package decode each other's
frames
compressed with a dictionary; a fuzzer in <code>bench</code> checks
blocks against
liblz4.</li>
<li>Compression with a dictionary supports the HC levels:
<code>DictionaryOption</code>
works with <code>Fast</code> and <code>Level1</code> to
<code>Level9</code>, and <code>CompressorHC</code> gains
<code>CompressBlockWithDict</code>. Compressing pg1661.txt after its
first 64 KiB, in
64 KiB blocks with those 64 KiB as the dictionary, <code>Level9</code>
output shrinks
from 52.0% to 45.3% of the input.</li>
<li><code>DictionaryIDOption</code> sets the ID of the dictionary:
<code>Writer</code> and
<code>CompressingReader</code> write it in the frame descriptor, as the
C library does
when its <code>dictID</code> preference is set, and a
<code>Reader</code> refuses a frame with
another ID with <code>ErrInvalidFrameDescriptor</code>, as decoding with
the wrong
dictionary produces garbage that only a content checksum would catch.
<code>Writer</code> and <code>CompressingReader</code> return
<code>ErrOptionNotApplicable</code> for an ID
without a dictionary.</li>
<li><code>CompressorCCompatHC</code> and the levels
<code>CCompatLevel2</code> to <code>CCompatLevel12</code>
port the C library's <code>LZ4_compress_HC</code> and produce the same
blocks at each
of its levels: level 2 (<code>lz4mid</code>), the hash chain with
lookahead of levels
3 to 9, and the optimal parser of levels 10 to 12. Unlike
<code>Level1</code> to
<code>Level9</code>, which differ in search depth only and give almost
the same
output, they trade speed for ratio as C's levels do (<a
href="https://redirect.github.com/pierrec/lz4/issues/219">#219</a>). Set
<code>CompressorCCompatHC.Level</code> to one of them; it refuses
<code>Level1</code> to
<code>Level9</code>. In <code>CompressorHC.Level</code>, they would be
search depths of 2 to 12.</li>
<li><code>LICENSE-lz4</code> holds the BSD 2-Clause License of the C
library, whose code
<code>CompressorCCompat</code> and <code>CompressorCCompatHC</code>
port; the ported files and the
README name it. Programs distributed in binary form should reproduce it
with this package's license.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>A dictionary no longer turns off concurrency. <code>Writer</code>
compresses blocks
with a dictionary concurrently, writing the same frame as without
concurrency, and <code>Reader</code> decodes independent blocks with one
concurrently.</li>
<li><code>Reader</code> decodes frames with linked blocks, such as
<code>lz4 -BD</code> writes, without
allocating: it keeps the last 64 KiB of output instead of copying every
block
into a new buffer. Decoding the Silesia corpus is about 30% faster from
64 KiB blocks and 13% faster from 4 MiB blocks on a Zen 3 core (<a
href="https://redirect.github.com/pierrec/lz4/issues/308">#308</a>).</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>Writer</code> and <code>CompressingReader</code> keep the size
from <code>SizeOption</code> when they</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pierrec/lz4/commit/bad30f6f7a24a1d1457205843374689dde64f06b"><code>bad30f6</code></a>
Merge pull request <a
href="https://redirect.github.com/pierrec/lz4/issues/294">#294</a> from
honeycombio/lizf.changelog-4.1.34</li>
<li><a
href="https://github.com/pierrec/lz4/commit/3cdcc568f60169b8ad94495ce875996c23b483f9"><code>3cdcc56</code></a>
Merge pull request <a
href="https://redirect.github.com/pierrec/lz4/issues/300">#300</a> from
honeycombio/writer-readfrom-buffer</li>
<li><a
href="https://github.com/pierrec/lz4/commit/7c2297752db94b01d1f71a95d783833163eec803"><code>7c22977</code></a>
CHANGELOG: add the Writer.ReadFrom and lz4c fixes to v4.1.34</li>
<li><a
href="https://github.com/pierrec/lz4/commit/a82803bbec0c94a28f681c766e0b6682cc04cc15"><code>a82803b</code></a>
lz4: buffer Writer.ReadFrom input like Write</li>
<li><a
href="https://github.com/pierrec/lz4/commit/747f52fc3e2795bba29fca3fc93af406325b16fe"><code>747f52f</code></a>
Merge pull request <a
href="https://redirect.github.com/pierrec/lz4/issues/299">#299</a> from
perfloop-oss/perfloop-pr-open-379qhnjeek</li>
<li><a
href="https://github.com/pierrec/lz4/commit/a9e93724f6ba8f3f785b52ce42f2db2193441421"><code>a9e9372</code></a>
cmd/lz4c: reset the writer before applying per-file options</li>
<li><a
href="https://github.com/pierrec/lz4/commit/8bbd9778866f036e932a403b46c656ed75cebbfd"><code>8bbd977</code></a>
Merge pull request <a
href="https://redirect.github.com/pierrec/lz4/issues/297">#297</a> from
perfloop-oss/perfloop-pr-open-v7trybcztd</li>
<li><a
href="https://github.com/pierrec/lz4/commit/7496097c8497e697ed7b61e410959e6eaf9871ea"><code>7496097</code></a>
cmd/lz4c: truncate outputs after rejecting input aliases</li>
<li><a
href="https://github.com/pierrec/lz4/commit/026cc94d271c74d9e0d17d1a858881ccec0bee3f"><code>026cc94</code></a>
CHANGELOG: add dictionary support and the retractions to v4.1.34</li>
<li><a
href="https://github.com/pierrec/lz4/commit/35976251339c01d649496a51e9de573693d42a7b"><code>3597625</code></a>
Merge pull request <a
href="https://redirect.github.com/pierrec/lz4/issues/286">#286</a> from
AdamMagued/fix-issue-204</li>
<li>Additional commits viewable in <a
href="https://github.com/pierrec/lz4/compare/v4.1.33...v4.1.34">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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)
</details>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot]
<49699333+dependabot[bot]@users.noreply.github.com>
---
go.mod | 2 +-
go.sum | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/go.mod b/go.mod
index e60ecce7..79cc1008 100644
--- a/go.mod
+++ b/go.mod
@@ -36,7 +36,7 @@ require (
github.com/hamba/avro/v2 v2.31.0
github.com/klauspost/compress v1.20.5
github.com/klauspost/cpuid/v2 v2.4.2
- github.com/pierrec/lz4/v4 v4.1.33
+ github.com/pierrec/lz4/v4 v4.1.34
github.com/pterm/pterm v0.12.84
github.com/stoewer/go-strcase v1.4.0
github.com/stretchr/testify v1.12.1
diff --git a/go.sum b/go.sum
index 7a2f3954..2078a6db 100644
--- a/go.sum
+++ b/go.sum
@@ -80,8 +80,8 @@ github.com/modern-go/reflect2 v1.0.2
h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9G
github.com/modern-go/reflect2 v1.0.2/go.mod
h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/ncruces/go-strftime v1.1.0
h1:vtPmPWMkb539RGV9WpWT9EwJGvrOCKvMNI4obWL47Hk=
github.com/ncruces/go-strftime v1.1.0/go.mod
h1:yVaq7iwCN09vHRrKBrrflXT0M9tTMG2KmZ9Fj7xeG/g=
-github.com/pierrec/lz4/v4 v4.1.33
h1:GjG1TJ1V4IzKP8L96muuuDNpTwd7D+l2ccXrjAbe014=
-github.com/pierrec/lz4/v4 v4.1.33/go.mod
h1:7SE9MC2STkNtL4PIwGhjmyVwvILaGI9/COYQNBhKM/c=
+github.com/pierrec/lz4/v4 v4.1.34
h1:5cPY8+z/ffHDpF6Pvv5FffjtZOJJQEiG75267Ol3QtU=
+github.com/pierrec/lz4/v4 v4.1.34/go.mod
h1:R7aiqKav9M7+k1JW19D7y7rcavDvw9Te/YTdFJyNXBs=
github.com/pmezard/go-difflib v1.0.0/go.mod
h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/pterm/pterm v0.12.84 h1:DA9943h1RfwlpcGWCIbD6f6nRTLCe09gK7w6GDXaIzE=
github.com/pterm/pterm v0.12.84/go.mod
h1:LVerZ1tFVFZrTv7lRbLdbrrTLSLAB5oZY8z3IY/z+IQ=