Release Notes
🚀 Updates
- We now pass an applicable GitHub token to all github.com or githubusercontent.com requests. To scope it to proto, use
PROTO_GITHUB_TOKEN, otherwise we inheritGITHUB_TOKEN. - Updated the plugin registry and new version check requests to use the same HTTP client as downloads, so they now respect
settings.http(proxies, certificates, user agent) and.netrc, and retry transient failures.
🛠️ Tools
- Bun
- Fixed a
package.jsonwith a field that can't be parsed, like"version": "1.0"or an unusual
dependency range, losing itsengines.bun,devEngines.runtimeorpackageManagerpin. Those
fields are now skipped. - Fixed a cycle in
volta.extendsoverflowing the stack. - Fixed pinning a version to
package.jsonreplacing adevEngines.runtimelist, like one for
Node.js and Bun, with only the pinned tool's entry. - Fixed a
packageManagerURL, which Corepack accepts, being cut off at its first@.
- Fixed a
- Deno
- Fixed a
package.jsonwith a field that can't be parsed, like"version": "1.0"or an unusual
dependency range, losing itsdevEngines.runtimepin. Those fields are now skipped. - Removed
DENO_HOMEfrom the globals directories, as Deno doesn't read it. - Fixed pinning a version to
package.jsonreplacing adevEngines.runtimelist, like one for
Node.js and Bun, with only the pinned tool's entry.
- Fixed a
- Node
- Fixed a
package.jsonwith a field that can't be parsed, like"version": "1.0"or an unusual
dependency range, losing itsengines.node,devEngines.runtimeorvolta.nodepin. Those
fields are now skipped. - Fixed a cycle in
volta.extendsoverflowing the stack. - Fixed pinning a version to
package.jsonreplacing adevEngines.runtimelist, like one for
Node.js and Bun, with only the pinned tool's entry. - Fixed an entry in nodejs.org's index that can't be parsed failing version loading and canary
installs. It's now skipped.
- Fixed a
- Node package managers
- Nub globals are now also found in its
globalBinDirsetting (NPM_CONFIG_GLOBAL_BIN_DIR) and
$XDG_DATA_HOME/../bin, where nub v0.9+ links them. - Yarn now runs with
YARN_IGNORE_PATH=1, so the configured version wins over a committed
yarnPath, whichyarn set versionwrites. Repos whoseyarnPathdisagrees with their Yarn
version now run a different Yarn. - Yarn 1–5's executable directory now comes first on
PATH, ahead of globals directories like
~/.yarn/binand Node.js'sbin, which can hold another Yarn, like Corepack's. - Fixed Yarn 6 running Yarn Switch, which runs the Yarn that
packageManagerasks for, and Yarn 1
without one, instead of the installed Yarn. The switch is now removed from the install directory. - Fixed a
package.jsonwith a field that can't be parsed, like"version": "1.0"or an unusual
dependency range, losing itspackageManagerordevEngines.packageManagerpin. Those fields are
now skipped. - Fixed a cycle in
volta.extendsoverflowing the stack. - Fixed pinning a version to
package.jsonreplacing adevEngines.packageManagerlist, like one
for npm and pnpm, with only the pinned package manager's entry. - Fixed a
packageManagerURL, which Corepack accepts, being cut off at its first@. - Fixed an entry in nodejs.org's index that can't be parsed failing the npm
bundledalias. It's
now skipped.
- Nub globals are now also found in its
- Rust
- Fixed a toolchain without
rustcandcargocounting as installed. In a folder with a
rust-toolchain.toml,rustup toolchain listfilled the folder that proto creates with only that
file's components and targets.
- Fixed a toolchain without
🐞 Fixes
- Fixed the globals directories of a tool taking precedence over the executable directories of other tools in
proto activate,proto exec,proto run, and shims, when multiple tools are active. For example, a package installed into the globals directory that npm shares with Node.js could shadow Node.js itself. The executable directories of every tool now come before any globals directories. - Fixed the directory of a tool's primary executable being added to
PATHbyproto activate,proto exec,proto run, and shims, when the plugin doesn't create a bin or shim for it (like proto itself). - Fixed HTTP responses with a non-standard status code (600 or higher) failing immediately instead of being retried. For example, GitHub release downloads may intermittently respond with a 618 when they redirect to an already expired URL, which a retry resolves.
⚙️ Internal
- Updated dependencies.
- Added
LocatorResponse.use_exe_file_dir, which is true when the primary executable provides a bin or shim.
Install proto_cli 0.64.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/moonrepo/proto/releases/download/v0.64.2/proto_cli-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/moonrepo/proto/releases/download/v0.64.2/proto_cli-installer.ps1 | iex"Download proto_cli 0.64.2
| File | Platform | Checksum |
|---|---|---|
| proto_cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| proto_cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| proto_cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| proto_cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| proto_cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| proto_cli-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| proto_cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |