@weezy20/zv 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.4.0 → v0.5.0
4
+ ## ✨ Features
5
+ - **`zv install`**: Install without setting a zig version as active.
6
+ - Uses same flags as `zv use` i.e. `-f` to force using ziglang.org as a download source.
7
+ - Shorthand: **`zv i <version>`** installs the specified version without setting it as active.
8
+ - Can also install multiple versions which are comma separated list: `zv i 0.11,master,stable,latest`
9
+ - De-duplication for zigversions is handled internally so if you specify `zv i latest,stable` then it only installs one version, provided cached index stable == remote index stable which is true for 99.99% of the time.
10
+
3
11
  ## v0.3.1 → v0.4.0
4
12
 
5
13
  ## ✨ Features
package/README.md CHANGED
@@ -128,7 +128,7 @@ From now on, use the `zv` installed in `ZV_DIR/bin`.
128
128
 
129
129
  **Simple update (Recommended):**
130
130
  ```sh
131
- zv update
131
+ zv update # Installs latest stable release on supported targets*.
132
132
  ```
133
133
 
134
134
  This command checks for new releases on GitHub and updates `zv` in place. It works whether you're running from `ZV_DIR/bin/zv` or from an external location (like cargo install).
@@ -136,6 +136,8 @@ This command checks for new releases on GitHub and updates `zv` in place. It wor
136
136
  **Options:**
137
137
  ```sh
138
138
  zv update --force # Force reinstall even if already on the latest version
139
+ zv upgrade # Alias for update
140
+ zv update --rc # Update to latest pre-release (release candidate) version
139
141
  ```
140
142
 
141
143
 
@@ -190,6 +192,8 @@ zv use 0.14 -f # Use a version (auto-completes to 0
190
192
  zv use master # Use master branch build (queries network to find the latest master build)
191
193
  zv use stable # Use latest stable release (refers to cached index)
192
194
  zv use latest # Use latest stable release (queries network to fetch the latest stable)
195
+ zv install <version,*> [-f ] # Install one or more Zig versions without switching to it. Use -f to download from ziglang.org instead of community mirrors.
196
+ zv i 0.15.1,0.14.0,master # Install multiple versions at once using a comma-separated list
193
197
 
194
198
  # Per-project Zig config
195
199
  zig +<version> [...zig args] # Run Zig using a specific <version> (fetches and downloads version if not present locally)
@@ -206,7 +210,7 @@ zv rm master # Clean up the `master` branch toolchain.
206
210
  zv rm master --outdated # Clean up any older master versions in the master folder that don't match latest `master`
207
211
  zv setup # Set up shell environment for zv with interactive prompts (use --no-interactive for automation)
208
212
  zv sync # Resync community mirrors list from [ziglang.org/download/community-mirrors.txt]; also force resync of index to fetch latest nightly builds. Replaces `ZV_DIR/bin/zv` if outdated against current invocation.
209
- zv update # Update zv to the latest release only if present in GH Releases: https://github.com/weezy20/zv/releases
213
+ zv upgrade | update # Update zv to the latest release only if present in GH Releases: https://github.com/weezy20/zv/releases
210
214
  zv help # Detailed instructions for zv. Use `--help` for long help or `-h` for short help with a subcommand.
211
215
  ```
212
216
 
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@weezy20/zv",
26
- "version": "0.4.0"
26
+ "version": "0.5.0"
27
27
  },
28
28
  "node_modules/@isaacs/balanced-match": {
29
29
  "engines": {
@@ -896,5 +896,5 @@
896
896
  }
897
897
  },
898
898
  "requires": true,
899
- "version": "0.4.0"
899
+ "version": "0.5.0"
900
900
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/weezy20/zv/releases/download/v0.4.0",
2
+ "artifactDownloadUrl": "https://github.com/weezy20/zv/releases/download/v0.5.0",
3
3
  "author": "Abhishek Shah <abhishekshah3@gmail.com>",
4
4
  "bin": {
5
5
  "zv": "run-zv.js"
@@ -105,7 +105,7 @@
105
105
  "zipExt": ".tar.gz"
106
106
  }
107
107
  },
108
- "version": "0.4.0",
108
+ "version": "0.5.0",
109
109
  "volta": {
110
110
  "node": "18.14.1",
111
111
  "npm": "9.5.0"