diff --git a/ChangeLog b/ChangeLog index 0f53a5a..3398fed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # SPDX-FileCopyrightText: Yorhel # SPDX-License-Identifier: MIT +2.9.2 - 2025-10-24 + - Still requires Zig 0.14 or 0.15 + - Fix hang on loading config file when compiled with Zig 0.15.2 + 2.9.1 - 2025-08-21 - Add support for building with Zig 0.15 - Zig 0.14 is still supported diff --git a/src/main.zig b/src/main.zig index f6e882e..7301586 100644 --- a/src/main.zig +++ b/src/main.zig @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: Yorhel // SPDX-License-Identifier: MIT -pub const program_version = "2.9.1"; +pub const program_version = "2.9.2"; const std = @import("std"); const model = @import("model.zig"); diff --git a/src/util.zig b/src/util.zig index b9b6fea..607dfb5 100644 --- a/src/util.zig +++ b/src/util.zig @@ -231,7 +231,8 @@ pub const LineReader = if (@hasDecl(std.io, "bufferedReader")) struct { } pub fn read(s: *@This()) !?[]u8 { - // Avoid takeDelimiterExclusive() for now, it's bugged in 0.15.2: https://github.com/ziglang/zig/issues/25664 + // Can't use takeDelimiter() because that's not available in 0.15.1, + // Can't use takeDelimiterExclusive() because that changed behavior in 0.15.2. const r = &s.rd.interface; const result = r.peekDelimiterInclusive('\n') catch |err| switch (err) { error.EndOfStream => {