Skip to content

Update to Zig 0.15.1 and remove managed secret#6

Merged
eligrubb merged 2 commits intotrunkfrom
0.15.1
Aug 27, 2025
Merged

Update to Zig 0.15.1 and remove managed secret#6
eligrubb merged 2 commits intotrunkfrom
0.15.1

Conversation

@eligrubb
Copy link
Owner

This PR updates the library's Zig version to 0.15.1. The 0.14.1 can still be found under branches.

The primary break change is, like std.ArrayList, the zecrecy library is moving to a soley unmanaged memory model. All methods that impact memory management now require an allocator as a parameter.

  • The Secret interface no longer stores an allocator field.
  • The SecretUnmanaged and SecretStringUnmanaged interfaces have been removed.

Additionally, the SecretString interface has been renamed to SecretBytes to better reflect typical use.

@eligrubb eligrubb merged commit f5d5a4d into trunk Aug 27, 2025
1 check passed
@eligrubb eligrubb deleted the 0.15.1 branch August 27, 2025 00:38
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