What problem does it solve?
Keeps AI-assisted development and code generation aligned with Zig language and standard library changes introduced in 0.13.0 and 0.14.0, preventing outdated API usage, compilation errors, and deprecated patterns from being produced.
Core Features & Use Cases
- Breaking change reference: Enumerates language-level changes such as labeled switch, decl literals, @branchHint, removed @fence, calling convention overhaul, and anon-struct removals.
- Stdlib and allocator updates: Documents DebugAllocator, unmanaged containers, remap API, runtime page size, and API renames like StaticStringMap and ArrayListUnmanaged.
- Build system guidance: Covers root_module API, --watch behavior, package hash format, and other build.zig changes useful when migrating projects or generating build scripts.
- Use case: Load this patch before editing or generating Zig code to find and fix callsites that use renamed types, deprecated functions, or old build APIs.
Quick Start
Load the zig-knowledge-patch and list every location in my project that must change to be compatible with Zig 0.14.0.