Skip to content

build(zstd): single zstd-platform dependency (0.3)#169

Merged
dfa1 merged 1 commit into
mainfrom
chore/zstd-platform-0.3
Jun 26, 2026
Merged

build(zstd): single zstd-platform dependency (0.3)#169
dfa1 merged 1 commit into
mainfrom
chore/zstd-platform-0.3

Conversation

@dfa1

@dfa1 dfa1 commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Summary

Bumps io.github.dfa1.zstd to 0.3 and replaces the three OS-activated zstd-native-<platform> profiles with a single dependency on the zstd-platform marker jar (new in 0.3, packaging=jar), which transitively brings the zstd binding plus the native libzstd for every supported platform.

What changed

  • zstd.version 0.2 → 0.3.
  • Removed the 3 native profiles (zstd-native-osx-aarch64, -linux-x86_64, -windows-x86_64).
  • Added zstd-platform as an optional runtime dep at the parent level — mirrors the zstd binding's opt-in nature, so it is not forced on downstream consumers. Pinned in dependencyManagement + the BOM.
  • CHANGELOG: consumers now declare a single zstd-platform dependency.

Testing

  • zstd encoder/decoder unit tests green (real native compress/decompress round-trip).
  • Full unit suite (all modules) green — dependency resolves everywhere.
  • 5 zstd Rust-interop ITs green (Rust reads Java-written zstd files): zstd_i64, zstd_utf8, zstd_nullableI64, zstd_nullableUtf8, cascading_withZstd_f64.

🤖 Generated with Claude Code

Bump io.github.dfa1.zstd to 0.3 and collapse the three OS-activated
zstd-native-<platform> profiles into one dependency on the zstd-platform
marker jar, which transitively brings the zstd binding plus the native
libzstd for every supported platform. Declared optional/runtime at the
parent level (mirroring the zstd binding's opt-in nature) so it is not
forced on downstream consumers, and added to the BOM + dependencyManagement.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dfa1 dfa1 merged commit ef97417 into main Jun 26, 2026
6 checks passed
@dfa1 dfa1 deleted the chore/zstd-platform-0.3 branch June 26, 2026 18:02
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