Zig breaking change – initial Writergate
10 months ago
- #Zig
- #API Changes
- #GitHub
- Notifications require signing in to change settings.
- GitHub issue #24329 involves merging 38 commits into the master branch from writergate.
- Changes include unifying msghdr definitions across Linux architectures and rearranging std.io namespace.
- Deprecations and breaking changes in std.fmt and std.io APIs, with new std.io.Reader and std.io.Writer interfaces.
- Upgrade guide provided for transitioning to new APIs, including using -freference-trace for format string breakage.
- New features include memoizing file handle information in std.fs.File.Reader and std.fs.File.Writer.
- Future changes planned for I/O as an Interface and Async/Await Resurrection, not included in this branch.