dependabot[bot] opened a new pull request, #1699: URL: https://github.com/apache/arrow-go/pull/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> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
