Repository navigation
Releases
lz4-java v1.14.0
Updating some java implementations to match the native impl. Technically a breaking change, but unlikely to affect anyone.
What's Changed
- Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.7.0 by @renovate[bot] in #174
- Reject blocks the native decoder rejects since lz4 1.11.0 by @Dominik-O22 in #175
- Fix JNI decompressor error messages for lz4 1.11.0 error codes by @yawkat in #176
- Match native end-of-block checks in fast decompressors and for MF_LIMIT by @yawkat in #177
- Use macos-15 runner for macOS aarch64 natives by @yawkat in #178
New Contributors
- @Dominik-O22 made their first contribution in #175
Full Changelog: v1.13.0...v1.14.0
lz4-java v1.13.0
Update to lz4 1.11.0.
What's Changed
- Update github/codeql-action action to v4.39.2 by @renovate[bot] in #171
- Update dependency org.jacoco:jacoco-maven-plugin to v0.8.16 by @renovate[bot] in #170
- Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.6.1 by @renovate[bot] in #169
- Update astral-sh/setup-uv action to v10.3.3 by @renovate[bot] in #168
- Update github/codeql-action action to v4.39.3 by @renovate[bot] in #173
- Update lz4 to 1.11.0 by @yawkat in #172
Full Changelog: v1.12.1...v1.13.0
lz4-java v1.12.1
Security release for GHSA-48mj-8f7c-7qfm.
What's Changed
- Update dependency me.qoomon:maven-git-versioning-extension to v9.12.3 by @renovate[bot] in #152
- Update dependency maven to v3.10.0 by @renovate[bot] in #153
- Update github/codeql-action action to v4.38.3 by @renovate[bot] in #156
- Update dependency org.sonatype.central:central-publishing-maven-plugin to v0.12.0 by @renovate[bot] in #159
- Update ossf/scorecard-action action to v2.5.0 by @renovate[bot] in #158
- Update astral-sh/setup-uv action to v10.3.0 by @renovate[bot] in #157
- Update actions/upload-artifact digest to cf430e0 by @renovate[bot] in #155
- Update actions/setup-java action to v6 by @renovate[bot] in #87
- Update actions/download-artifact digest to 9000827 by @renovate[bot] in #154
- Throw LZ4Exception for input shorter than the length prefix by @yawkat in #160
- Bound the compressed length of oversized LZ4 blocks by @yawkat in #162
- Update github/codeql-action action to v4.39.0 by @renovate[bot] in #163
- Use the buffer limit for the safe decompress(ByteBuffer, int, ByteBuffer, int) by @yawkat in #161
- Allocate stream block buffers only as block data arrives by @yawkat in #167
- Update astral-sh/setup-uv action to v10.3.1 by @renovate[bot] in #166
- Update github/codeql-action action to v4.39.1 by @renovate[bot] in #165
- Update dependency org.mvel:mvel2 to v2.6.0.Final by @renovate[bot] in #164
Full Changelog: v1.12.0...v1.12.1
lz4-java v1.12.0
Note that lz4-java v1.11.4, also released today, contains security fixes. This minor release contains some additional tightening of input validation that could in theory be breaking but should be fine for most if not all users. I recommend you upgrade to 1.12.0, but 1.11.4 is an option if that breaks.
What's Changed
- Render README tables on the website by @yawkat in #150
- Throw IOException for invalid or unsupported frame descriptors by @yawkat in #133
- Replace Codecov with a coverage badge from the documentation site by @yawkat in #151
- Reject short output in LZ4DecompressorWithLength safe paths by @yawkat in #126
- Make stream failures sticky in LZ4FrameInputStream and LZ4BlockInputStream by @yawkat in #145
Full Changelog: v1.11.4...v1.12.0
lz4-java v1.11.4
Security release for CVE-2026-106450, CVE-2026-106449 and CVE-2026-106451. Also includes general fixes for bugs found by AI.
What's Changed
- Update astral-sh/setup-uv action to v10.2.0 by @renovate[bot] in #97
- Update dependency com.carrotsearch.randomizedtesting:randomizedtesting-runner to v2.9.2 by @renovate[bot] in #98
- Update cloudflare/wrangler-action digest to 953926a by @renovate[bot] in #99
- Fix NPE in LZ4FrameInputStream on skippable-only streams by @yawkat in #125
- Release source critical array before throwing OOM in LZ4JNI by @yawkat in #124
- Fix stale OutOfMemoryError reference in XXHashJNI by @yawkat in #127
- Reject truncated block header in LZ4BlockInputStream by @yawkat in #128
- Don't restore the Maven cache in the release workflow by @yawkat in #132
- Read skippable frame size as unsigned in LZ4FrameInputStream by @yawkat in #131
- Only run test workflow on push to main by @yawkat in #136
- Document CPU cost of high HC compression levels by @yawkat in #141
- Fix int overflow in streaming XXHash update buffering check by @yawkat in #138
- docs: declare requires-python >= 3.12 in justfile scripts by @yawkat in #130
- Make docs manual-dispatch deploy branch explicit by @yawkat in #137
- Switch Maven wrapper to script-only and use strict checksums in CI by @yawkat in #144
- Verify SHA-256 of lz4 CLI downloaded in Windows release job by @yawkat in #134
- docs: validate version input and tag names before interpolating them by @yawkat in #142
- Test safe decompressors with destination offsets and buffer kinds by @yawkat in #146
- Document that StreamingXXHash32.asChecksum() returns only 28 bits by @yawkat in #140
- Declare explicit GITHUB_TOKEN permissions in workflows by @yawkat in #135
- Only publish to Central from v* tags by @yawkat in #139
- Test the darwin/aarch64 native library before publishing by @yawkat in #143
- Fix negative LZ4BlockInputStream.available() after an empty block by @yawkat in #129
- Delete .clinerules by @yawkat in #148
- Rework README, add contributing guide, Scorecard and coverage by @yawkat in #147
- Fix test compilation on main: remove duplicate testAvailableAfterEmptyBlock by @yawkat in #149
Full Changelog: v1.11.3...v1.11.4
lz4-java v1.11.3
Not a security release. This is the second attempt at this release due to a javadoc issue.
What's Changed
- Update junit-framework monorepo to v6.1.3 by @renovate[bot] in #80
- Update workflows to Java 25 by @yawkat in #82
- Update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.12.0 by @renovate[bot] in #68
- Update astral-sh/setup-uv action to v10 by @renovate[bot] in #84
- Update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.16.0 by @renovate[bot] in #89
- Update dependency org.mvel:mvel2 to v2.5.4.Final by @renovate[bot] in #88
- Update astral-sh/setup-uv action to v10.1.0 by @renovate[bot] in #85
- Update bnd.maven.plugin.version to v7.4.0 by @renovate[bot] in #86
- Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.6.2 by @renovate[bot] in #92
- Make default decompression limit configurable by @yawkat in #93
- Restore Javadoc output directory by @yawkat in #95
Full Changelog: v1.11.2...v1.11.3
lz4-java v1.11.2
Security release for CVE-2026-106453 and CVE-2026-106452.
What's Changed
- Update bnd.maven.plugin.version to v7.3.0 by @renovate[bot] in #59
- Update dependency me.qoomon:maven-git-versioning-extension to v9.12.1 by @renovate[bot] in #62
- Update dependency com.carrotsearch.randomizedtesting:randomizedtesting-runner to v2.9.1 by @renovate[bot] in #60
- Update dependency maven to v3.9.16 by @renovate[bot] in #57
- Update dependency com.code-intelligence:jazzer-junit to v0.30.0 by @renovate[bot] in #61
- Pin dependencies by @renovate[bot] in #56
- Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.6.1 by @renovate[bot] in #64
- Update dependency maven-wrapper to v3.3.4 by @renovate[bot] in #63
- Update dependency org.apache.maven.plugins:maven-source-plugin to v3.4.0 by @renovate[bot] in #69
- Update actions/checkout action to v7 by @renovate[bot] in #74
- Update junit-framework monorepo by @renovate[bot] in #72
- Update dependency org.apache.maven.plugins:maven-antrun-plugin to v3.2.0 by @renovate[bot] in #65
- Update dependency org.sonatype.central:central-publishing-maven-plugin to v0.11.0 by @renovate[bot] in #71
- Update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.15.0 by @renovate[bot] in #66
- Update dependency org.apache.maven.plugins:maven-jar-plugin to v3.5.1 by @renovate[bot] in #67
- Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.6 by @renovate[bot] in #70
- Update dependency org.apache.maven.plugins:maven-gpg-plugin to v3 by @renovate[bot] in #77
- Update GitHub Artifact Actions (major) by @renovate[bot] in #78
- Update junit-framework monorepo to v6 by @renovate[bot] in #79
- Update cloudflare/wrangler-action action to v4 by @renovate[bot] in #76
- Update astral-sh/setup-uv action to v9 by @renovate[bot] in #75
- Update 8BitJonny/gh-get-current-pr action to v4 by @renovate[bot] in #73
New Contributors
Full Changelog: v1.11.1...v1.11.2
lz4-java v1.11.1
lz4-java v1.11.0
What's Changed
- Add linux-riscv64 binary by @luhenry in #46
- Bump checkout action version by @TyomaVader in #47
- Add native fast reset compressors by @TyomaVader in #44
- Fix docs production deployment by @yawkat in #49
- Add testing on native amd64, arm, and riscv runners by @luhenry in #50
New Contributors
- @luhenry made their first contribution in #46
- @TyomaVader made their first contribution in #47
Full Changelog: v1.10.4...v1.11.0
lz4-java v1.10.4
What's Changed
- Tune Linux native build flags and xxhash compilation by @yawkat in #41
- Fix Linux native flags for non-x86 CI builds by @yawkat in #42
These changes attempt to fix the native performance regression in 1.9+. They should have no functional or security impact.
Full Changelog: v1.10.3...v1.10.4