Release Notes
🚀 Updates
- Updated
proto versionsto accept any version specification as the filter, instead of only a requirement.- Ranges show every matching version, for example
proto versions node "^20 || ^22". - Fully-qualified versions and
canaryonly show themselves. Previously a version like20.1.0was treated as the requirement~20.1.0. - Aliases only show the version they resolve to, for example
proto versions node latest.
- Ranges show every matching version, for example
- Updated versions, requirements, and ranges to be ordered semantically across the board.
- Calendar and semantic versions are now compared by their numbers, instead of all calendar versions ordering before semantic versions. This affects which version is the highest when a tool publishes both kinds.
- Requirements and ranges are now compared by the versions they match, instead of by their string. This may reorder the records in
.protolockfiles.
🐞 Fixes
- Fixed a regression where
proto runwould not track usage, set version environment variables, or run pre-run hooks for a tool version it had just auto-installed, preventing that version from being cleaned when no longer used. - Fixed scoped versions failing to parse as the bounds of a range, for example
temurin-17.0.1 - temurin-21.0.0.
🔩 Backends
- npm
- Fixed loading versions failing with npm v12, as
npm view --jsonnow wraps objects in an array.
- Fixed loading versions failing with npm v12, as
🛠️ Tools
- Deno
- Added
package.jsondevEngines.runtimesupport for version detection, pinning, and unpinning.
- Added
- yarn
- Fixed Yarn v6 downloads on glibc Linux by always using the musl build.
⚙️ Internal
- Added a
MatchesRequirementtrait toversion_spec, which checks whether a range overlaps a requirement. - Updated dependencies.
Install proto_cli 0.62.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/moonrepo/proto/releases/download/v0.62.3/proto_cli-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/moonrepo/proto/releases/download/v0.62.3/proto_cli-installer.ps1 | iex"Download proto_cli 0.62.3
| 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 |