Skip to content

ShaderSmith v0.2.0

Choose a tag to compare

@SalyyS1 SalyyS1 released this 14 Nov 06:38
· 3 commits to main since this release

ShaderSmith v0.2.0

Highlights

  • Overlay-Aware Multi-Version Validation (pack.mcmeta Overlays): Parses overlays.entries across legacy [min, max], {min_inclusive, max_inclusive}, and modern min_format/max_format schemas, stacks matching overlay assets/... files per target version during check --mc and check --mc-range, and reports diagnostics at exact physical file paths for IDE and GitHub SARIF annotations.
  • New Shader & Post-Effect Rules (SM032, SM064, SM074): Validates custom-namespace #include / #moj_import targets across overlays (SM032), verifies custom post-effect .vsh/.fsh pass sources (SM064), and flags missing or empty overlays.entries directories (SM074).
  • Asset-Preserving .zip Migration & Deterministic --zip Output: Fixes .zip migration so binary textures, fonts, models, and pack.mcmeta are safely extracted and preserved (with zip-slip path traversal guards), adds --zip <out.zip> byte-reproducible archive output, and prints resource-pack-sha1=<hex> for server.properties.
  • Composite GitHub Action (action.yml): Run SalyyS1/shadersmith@v0.2.0 directly in GitHub Actions workflows with SARIF v2.1.0 Code Scanning integration.

Verification

  • 39/39 JUnit tests passing on Java 21 (./gradlew build --no-daemon).