Releases: tristanisham/zvm
v0.8.1
Full Changelog: v0.8.0...v0.8.1
Oops, forgot to look for a .exe extension on Windows 😳
v0.8.0
What's Changed
- feat: add "run" command to invoke a compiler by @sweetbbak in #105
New Contributors
- @sweetbbak made their first contribution in #105
Full Changelog: v0.7.9...v0.8.0
Run installed version of Zig without switching your default
If you want to run a version of Zig without setting it as your default, the new run
command is your friend.
zig version
# 0.13.0
zvm run 0.11.0 version
# 0.11.0
zig version
# 0.13.0
This can be helpful if you want to test your project on a newer version of Zig without having to switch between bins, or on alternative flavor of Zig.
How to use with alternative VMUs
Make sure you switch your VMU before using run
.
zvm vmu zig mach
run mach-latest version
# 0.14.0-dev.1911+3bf89f55c
If you would like to run the currently set Zig, please keep using the standard zig
command.
v0.7.9
Full Changelog: v0.7.8...v0.7.9
v0.7.8
HOTFIX
This release provides a hotfix for a bug introduced in v0.7.7 when trying to install ZLS on master.
Problem: ZVM v0.7.7 may have saved an invalid 'zlsVersionMapUrl' to your settings,
which causes this error. The latest version, v0.7.8, can fix this issue by using the correct URL.
To resolve this:
- Open your ZVM settings file: '~/.zvm/settings.json'
- Remove the 'zlsVersionMapUrl' key & value from the file (if present).
What happens next: ZVM will automatically use the correct version map the next time you run it
If the issue persists, please double-check your settings and try again, or create a GitHub Issue.
Full Changelog: v0.7.7...v0.7.8
v0.7.7
What's Changed
New Contributors
Full Changelog: v0.7.6...v0.7.7
Updated Version Map Setting
Set Version Map Source
ZVM lets choose your vendor for Zig and ZLS. This is great if your company hosts it's own internal fork of Zig, you prefer a different flavor of the language, like Mach.
zvm vmu zig "https://machengine.org/zig/index.json" # Change the source ZVM pulls Zig release information from.
zvm vmu zls https://validurl.local/vmu.json
# ZVM only supports schemas that match the offical version map schema.
# Run `vmu default` to reset your version map.
zvm vmu zig default # Resets back to default Zig releases.
zvm vmu zig mach # Sets ZVM to pull from Mach nominated Zig.
zvm vmu zls default # Resets back to default ZLS releases.
You can now use zvm list --vmu
to see set version maps
v0.7.6
What's Changed
- improve next steps echo output by @jimkring in #98
- go fmt + gopls suggestions by @timodempwolf in #99
Force Install
- Install zig and zls only if version is not already installed by @timodempwolf in #100
- Added
alwaysForceInstall
field to settings.json to enable old force behavior
As of v0.7.6
ZVM will now skip downloading a version if it is already installed. You can always force an install with the --force
or -f
flag.
zvm i --force master
You can also enable the old behavior by setting the new alwaysForceInstall
field to true
in
~/.zvm/settings.json
.
New Contributors
Full Changelog: v0.7.5...v0.7.6
v0.7.5
What's Changed
- Add option for wget2 by @timodempwolf in #95
New Contributors
- @timodempwolf made their first contribution in #95
Full Changelog: v0.7.4...v0.7.5
Added support for hryx
and Mach
mirrors in case ziglang.org goes offline. ZVM should now be even more reliable.
v0.7.4 - Stopped printing the upgrade notice after running the upgrade command
Full Changelog: v0.7.3...v0.7.4
This release addresses issue #91. ZVM will no longer print the upgrade notice after successfully running ZVM upgrade.
v0.7.3
What's Changed
- 🐛 Remove "bin" from zls rename location by @KeithBrown39423 in #86
- Recursively search for ZLS before installing by @siniarskimar in #88
New Contributors
- @KeithBrown39423 made their first contribution in #86
Full Changelog: v0.7.2...v0.7.3
v0.7.2
Full Changelog: v0.7.1...v0.7.2
I've updated the CLI and README to help make using the app easier. If you didn't know, you can run zvm help
to get a full list of all the commands and global flags, then you can run zvm help <any-of-those-commands>
and you'll get a printout of the command, a description, and information on any sub flags.
zvm help
Or use it to dive deeper into a specific command.
zvm help list
NAME:
zvm list - list installed Zig versions. Flag `--all` to see remote options
USAGE:
zvm list [command options] [arguments...]
OPTIONS:
--all, -a list remote Zig versions available for download, based on your version map (default: false)
--help, -h show help