+9
languages/ziglang/0.15/README.md
+9
languages/ziglang/0.15/README.md
···
2
2
3
3
[release notes](https://ziglang.org/download/0.15.1/release-notes.html)
4
4
5
+
## issue tracking
6
+
7
+
zig moved from github to codeberg. old issues (≤25xxx) are on github, new issues (30xxx+) are on codeberg.org/ziglang/zig.
8
+
9
+
query via API:
10
+
```bash
11
+
curl -s "https://codeberg.org/api/v1/repos/ziglang/zig/issues?state=all&q=flate"
12
+
```
13
+
5
14
## notes
6
15
7
16
- [arraylist](./arraylist.md) - ownership patterns (toOwnedSlice vs deinit)
+15
languages/ziglang/0.15/io.md
+15
languages/ziglang/0.15/io.md
···
77
77
## when you don't need to flush
78
78
79
79
the high-level apis handle this for you. `http.Server`'s `request.respond()` flushes internally. `http.Client` flushes when the request completes. you only need manual flushes when working with raw streams or tls directly.
80
+
81
+
## gzip decompression bug (0.15.x only)
82
+
83
+
http.Client panics when decompressing certain gzip responses on x86_64-linux. the deflate decompressor sets up a Writer with `unreachableRebase` but can hit a code path that calls `rebase` when the buffer fills.
84
+
85
+
**workaround:**
86
+
```zig
87
+
_ = try client.fetch(.{
88
+
.location = .{ .url = url },
89
+
.response_writer = &aw.writer,
90
+
.headers = .{ .accept_encoding = .{ .override = "identity" } },
91
+
});
92
+
```
93
+
94
+
fixed in 0.16. see: [zat/xrpc.zig](https://tangled.sh/zzstoatzz.io/zat/tree/main/src/internal/xrpc.zig#L88)
+10
languages/ziglang/build/dependencies.md
+10
languages/ziglang/build/dependencies.md
···
104
104
105
105
fails gracefully when pkg-config isn't available.
106
106
107
+
## tangled packages
108
+
109
+
tangled.sh hosts zig packages. fetch without `.tar.gz` extension:
110
+
111
+
```bash
112
+
zig fetch --save https://tangled.sh/zzstoatzz.io/zat/archive/main
113
+
```
114
+
115
+
`zig fetch` checks Content-Type headers to determine archive format - tangled handles this server-side.
116
+
107
117
sources:
108
118
- [ghostty/build.zig.zon](https://github.com/ghostty-org/ghostty/blob/main/build.zig.zon)
109
119
- [ghostty/pkg/](https://github.com/ghostty-org/ghostty/tree/main/pkg)