Skip to content

build(deps): bump zstd.version from 0.10 to 0.12 - #318

Merged
dfa1 merged 1 commit into
mainfrom
build/bump-zstd-java-0.12
Jul 26, 2026
Merged

build(deps): bump zstd.version from 0.10 to 0.12#318
dfa1 merged 1 commit into
mainfrom
build/bump-zstd-java-0.12

Conversation

@dfa1

@dfa1 dfa1 commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Bumps io.github.dfa1.zstd:zstd/zstd-platform (the vortex.zstd FFM binding) from 0.10 to 0.12, the latest stable release.
  • v0.11 and v0.12 migrated several public APIs (compression level, byte sizes, window log, frame header fields, Zstd.version()) from naked int/long/String to validated value types. Every API vortex-java actually calls — the zero-copy MemorySegment compress/decompress overloads, Zstd.compress(byte[]), ZstdDictionary.of(byte[]) — kept its signature unchanged across both releases, so this is a version-only bump with no source changes.
  • Supersedes dependabot PR build(deps): Bump zstd.version from 0.10 to 0.11 #312 (0.10 → 0.11); closing that one as superseded.

Test plan

  • ./mvnw verify -DskipTests -U (full reactor compile, force-refresh past the stale negative-resolution cache for the new native-platform jars)
  • ./mvnw test (full unit suite across all modules, including zstd encoder/decoder/binding-guard tests)
  • ./mvnw verify -pl integration -am -Dit.test="JavaWritesRustReadsIntegrationTest#javaWriter_rustReader_zstd*" (real Rust-interop round trip against the actual libzstd 0.12 native binding)

🤖 Generated with Claude Code

Latest stable io.github.dfa1.zstd:zstd/zstd-platform. v0.11 and v0.12
migrated several public APIs (compression level, byte sizes, window
log, frame header fields, Zstd.version()) from naked int/long/String
to validated value types (ZstdByteSize, ZstdCompressionLevel,
ZstdWindowLog, ZstdVersion, ...), but every API vortex-java actually
calls - the zero-copy MemorySegment compress/decompress overloads,
Zstd.compress(byte[]), ZstdDictionary.of(byte[]) - kept its signature
unchanged across both releases, so no source changes are needed here.

Verified: full reactor build, full unit test suite (including the
zstd encoder/decoder/binding-guard tests), and the Rust-interop
javaWriter_rustReader_zstd_* integration tests (real libzstd 0.12
native binding) all pass unmodified.

Supersedes dependabot PR #312 (0.10 -> 0.11).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@dfa1
dfa1 merged commit 23b4bf3 into main Jul 26, 2026
6 checks passed
@dfa1
dfa1 deleted the build/bump-zstd-java-0.12 branch July 26, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant