oxcrow
August 25, 2025, 10:41am
1
Hi,
Zig is a new language and often times makes breaking changes in its standard library and build system.
Please provide older versions on snap so we can build our code on different machines, without breaking.
The code I wrote few weeks ago for a work project using Zig 0.14.1
does not compile anymore on Zig 0.15.1
.
I was able to solve this issue temporarily by reverting to Zig 0.14.1
.
However it does not seem possible to revert on other machines because the snap repo does not provide the older versions of the compiler/stdlib anymore. We need to either install from the beta
or edge
channel, and they always contain the latest release. Which prevents us from building our old code.
I submitted a request for this on github.
Thanks.
opened 10:29AM - 25 Aug 25 UTC
Hi,
Zig is a new language and often times makes breaking changes in its standar… d library and build system.
**_Please provide older versions on snap so we can build our code on different machines, without breaking._**
However zig's snap seems to only provide `beta` and `edge` versions.
The problem is, this breaks builds on different machines.
```bash
$ snap info zig
channels:
latest/stable: –
latest/candidate: –
latest/beta: 0.15.1 2025-08-20 (14937) 77MB classic
latest/edge: 0.16.0-dev.27+83f773fc6 2025-08-25 (14972) 77MB classic
installed: 0.14.1 (14333) 68MB classic
```
Few days ago I reported and solved an issue regarding zig snap automatically updating itself, and me having to revert it. https://github.com/jayschwa/snapcraft-zig/issues/12
I was able to revert it because the machine I was working on had the `0.14.1` version installed on it. However on other machines it was not possible for me to revert, because the older version `0.14.1` don't seem to be available anymore.
Since Zig makes incompatible changes over different releases, it might seems necessary to allow the user to download the older versions of zig, if necessary.
Example, in blender, we can download many different older versions.
Requesting for something like this.
Thanks.
```bash
$ snap info blender
channels:
latest/stable: 4.5.2 2025-08-20 (6514) 420MB classic
latest/candidate: 4.5.2 2025-08-20 (6514) 420MB classic
latest/beta: ↑
latest/edge: 5.0.0 2025-08-25 (6530) 421MB classic
4.5lts/stable: 4.5.2 2025-08-20 (6514) 420MB classic
4.5lts/candidate: 4.5.2 2025-08-25 (6529) 420MB classic
4.5lts/beta: 4.5.0 2025-07-08 (6385) 420MB classic
4.5lts/edge: ↑
4.3/stable: 4.3.1 2024-12-10 (5647) 421MB classic
4.3/candidate: ↑
4.3/beta: ↑
4.3/edge: ↑
4.2lts/stable: 4.2.13 2025-08-20 (6513) 398MB classic
4.2lts/candidate: 4.2.13 2025-08-25 (6528) 398MB classic
4.2lts/beta: ↑
4.2lts/edge: ↑
4.1/stable: 4.1.0 2024-03-26 (4697) 371MB classic
4.1/candidate: ↑
4.1/beta: ↑
4.1/edge: ↑
4.0/stable: 4.0.2 2023-12-05 (4300) 338MB classic
4.0/candidate: 4.0.3 2024-01-15 (4458) 338MB classic
4.0/beta: 4.0.0 2023-11-09 (4196) 337MB classic
4.0/edge: ↑
```
You can grab all the releases from here:
4 Likes
floooh
August 25, 2025, 11:02am
3
FWIW, a version manager like zvm or zigup might be the better solution:
Download and manage zig compilers.
zvm (Zig Version Manager) lets you easily install/upgrade between different versions of Zig.
Those automatically support all versions from the download page exposed via this json: https://ziglang.org/download/index.json
5 Likes
oxcrow
August 25, 2025, 11:12am
4
1 Like