Skip to content

chore: migrate to Zig 0.17.0 - #16

Merged
vmvarela merged 5 commits into
masterfrom
chore/zig-0.17
Oct 13, 2026
Merged

vmvarela merged 5 commits into
masterfrom
chore/zig-0.17

Conversation

@vmvarela

@vmvarela vmvarela commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

Migrate oci.zig from Zig 0.16.0 to Zig 0.17.0 with the smallest compatibility surface required by the compiler and tests.

Changes

  • bump minimum_zig_version and all CI Zig pins to 0.17.0
  • replace removed array repetition syntax (**) with @splat
  • migrate enum reflection from .fields to Zig 0.17 .field_names
  • migrate URI host extraction from removed Uri.getHost / getHostAlloc APIs to std.Io.net.HostName.fromUri
  • update current Zig-version references in README, SPEC, and source comments
  • keep historical references to std.Io being introduced in Zig 0.16 where they remain accurate

Validation

CI is green on Zig 0.17.0 for:

  • unit tests on Linux
  • unit tests on macOS
  • unit tests on Windows
  • integration tests against zot
  • public-registry smoke tests against Docker Hub

No dependency changes and no unrelated refactors.

Closes #15

@vmvarela
vmvarela merged commit 0c17633 into master Oct 13, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate to Zig 0.17.0

1 participant