0.22.0
·
930 commits
to master
since this release
Release Notes
π Updates
- Refactored and standardized how executables (bins and shims) are managed.
- Binaries (
~/.proto/bin) and shims (~/.proto/shims) now share the same internal data structures. - For the most part, is a 1:1 relation. There will be a shim for every binary, and vice versa.
- Reduced the amount of WASM calls to locate executables to 1 call.
- Removed the concept of local shims (was a hidden implementation detail).
- Binaries (
- Reworked the
proto bincommand.- By default returns an absolute path to the real executable (
~/.proto/tools/<tool>/<version>/bin). - Pass
--binto return the~/.proto/binpath. - Pass
--shimto return the~/.proto/shimspath.
- By default returns an absolute path to the real executable (
- Updated
proto clean --purgeandproto uninstallto accurately delete all executables. - Updated
proto uninstallto support removing the tool entirely (simply omit the version). - Updated internet connection checks to only check during critical workflows.
- Will no longer happen if we have a fully-qualified version (primarily for
proto run). - Will still happen for partial versions, as we need to resolve to a fully-qualified.
- Will always happen for install, upgrade, and other flows that must download files.
- Will no longer happen if we have a fully-qualified version (primarily for
- TOML API
- Added
install.no_binandinstall.no_shimfields.
- Added
- WASM API
- Added
locate_executablesfunction. - Added
LocateExecutablesInput,LocateExecutablesOutput,ExecutableConfigstructs. - Deprecated
locate_binsandcreate_shimsfunctions. - Deprecated
LocateBinsInput,LocateBinsOutput,CreateShimsInput,CreateShimsOutput,ShimConfigstructs.
- Added
π Fixes
- Fixed an issue where config files in the user home directory were not loaded.
π§© Plugins
- Updated
bun_pluginto v0.5. - Updated
deno_pluginto v0.5. - Updated
go_pluginto v0.5. - Updated
node_pluginandnode_depman_pluginto v0.5. - Updated
python_pluginto v0.2. - Updated
rust_pluginto v0.4. - Updated
schema_plugin(TOML) to v0.5. - Node
- Updated the
npmtool to create thenpxshim instead of thenodetool. - Updated symlinked binaries to use the shell scripts instead of the source
.jsfiles (when applicable).
- Updated the
βοΈ Internal
- Plugin versions are now pinned and tied to proto releases to avoid unintended drift and API changes.
Download proto_cli 0.22.0
| File | Platform | Checksum |
|---|---|---|
| proto_cli-aarch64-apple-darwin.tar.xz | macOS Apple Silicon | checksum |
| proto_cli-x86_64-apple-darwin.tar.xz | macOS Intel | checksum |
| proto_cli-x86_64-pc-windows-msvc.zip | Windows x64 | checksum |
| proto_cli-x86_64-unknown-linux-gnu.tar.xz | Linux x64 | checksum |
| proto_cli-x86_64-unknown-linux-musl.tar.xz | musl Linux x64 | checksum |