Skip to content

Releases: tristanisham/zvm

v0.8.1

14 Nov 18:11
Compare
Choose a tag to compare

Full Changelog: v0.8.0...v0.8.1

Oops, forgot to look for a .exe extension on Windows 😳

v0.8.0

14 Nov 17:50
Compare
Choose a tag to compare

What's Changed

New Contributors

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

28 Oct 19:35
Compare
Choose a tag to compare

Full Changelog: v0.7.8...v0.7.9

v0.7.8

28 Oct 14:48
Compare
Choose a tag to compare

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:

  1. Open your ZVM settings file: '~/.zvm/settings.json'
  2. 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

25 Oct 02:29
Compare
Choose a tag to compare

What's Changed

  • Use ZLS release worker for selecting builds by @no-realm in #102

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

27 Sep 19:33
Compare
Choose a tag to compare

What's Changed

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

13 Sep 01:58
Compare
Choose a tag to compare

What's Changed

New Contributors

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

01 Aug 20:36
Compare
Choose a tag to compare

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

23 Jun 05:11
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.2...v0.7.3

v0.7.2

21 Jun 06:05
Compare
Choose a tag to compare

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