1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2026-01-29 09:06:58 +00:00
Commit graph

12 commits

Author SHA1 Message Date
renerocksai
a0f67ffc6e
Update to Zig 0.16.0-dev (master) compatibility
Adapt codebase to breaking API changes in Zig 0.16.0-dev:

std.Io introduction:
- std.io namespace renamed to std.Io (capitalization)
- std.http.Client now requires io field
- Create std.Io.Threaded at entry points, pass io to functions
- Use std.Io.Writer.fixed() for fixed buffer writers
- Use std.Io.Dir.cwd().access(io, ...) for file access checks

Sleep API:
- std.Thread.sleep / std.time.sleep removed
- Use std.posix.nanosleep(seconds, nanoseconds) instead

JSON API:
- std.json.stringify() -> std.json.Stringify.value()

Time API:
- std.time.nanoTimestamp() removed
- Use std.time.Instant.now() with .since() for durations

File API:
- readFileAlloc parameter order changed, uses std.Io.Limit

Debug API:
- std.debug.writeStackTrace signature changed (removed debugInfo)
- Capture traces by pointer with |*trace| pattern

Refactored Io pattern in tests/examples to create Threaded once
at entry points and pass io: std.Io to helper functions, following
Zig's new convention of treating Io like allocators.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-06 16:11:10 +01:00
renerocksai
0a582433a5
upgrade announceybot to 0.15.1 2025-08-28 19:45:13 +02:00
Rene Schallner
9a80747cdd
docs, announceybot: switch to using zig fetch 2024-10-14 23:01:09 +02:00
Rene Schallner
fed9633121 make zap master build with zig master 2024-06-27 19:33:04 +02:00
Rene Schallner
8cfd190fb2
Merge branch 'zig-0.12.0' into zig-0.12.0 2024-04-21 13:59:47 +02:00
Andreas Stocker
44af23827e fix breaking changes as of 14-4-24 2024-04-14 18:19:18 +02:00
Rene Schallner
8cf48ddfc1 zig master: exit, get_env fixes 2024-03-23 22:23:13 +01:00
Rene Schallner
82323f835e 0.12.0 ready 2023-12-29 23:34:33 +01:00
Rene Schallner
9378bd7279 fix announceybot help msg, delete python version 2023-05-22 21:19:47 +02:00
Rene Schallner
a0994b4c6c zig announceybot update-readme works 2023-05-22 21:19:47 +02:00
Rene Schallner
318472be03 zig announceybot splits long announcements for discord, prints
release-notes
2023-05-22 21:19:47 +02:00
Rene Schallner
10e9eb6a13 announceybot in zig can send announcements 2023-05-22 21:19:47 +02:00