github moonrepo/proto v0.22.0
0.22.0

latest releases: v0.41.1, proto_core-v0.41.1, proto_cli-v0.41.1...
10 months ago

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).
  • Reworked the proto bin command.
    • By default returns an absolute path to the real executable (~/.proto/tools/<tool>/<version>/bin).
    • Pass --bin to return the ~/.proto/bin path.
    • Pass --shim to return the ~/.proto/shims path.
  • Updated proto clean --purge and proto uninstall to accurately delete all executables.
  • Updated proto uninstall to 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.
  • TOML API
    • Added install.no_bin and install.no_shim fields.
  • WASM API
    • Added locate_executables function.
    • Added LocateExecutablesInput, LocateExecutablesOutput, ExecutableConfig structs.
    • Deprecated locate_bins and create_shims functions.
    • Deprecated LocateBinsInput, LocateBinsOutput, CreateShimsInput, CreateShimsOutput, ShimConfig structs.

🐞 Fixes

  • Fixed an issue where config files in the user home directory were not loaded.

🧩 Plugins

  • Updated bun_plugin to v0.5.
  • Updated deno_plugin to v0.5.
  • Updated go_plugin to v0.5.
  • Updated node_plugin and node_depman_plugin to v0.5.
  • Updated python_plugin to v0.2.
  • Updated rust_plugin to v0.4.
  • Updated schema_plugin (TOML) to v0.5.
  • Node
    • Updated the npm tool to create the npx shim instead of the node tool.
    • Updated symlinked binaries to use the shell scripts instead of the source .js files (when applicable).

⚙️ 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

Don't miss a new proto release

NewReleases is sending notifications on new releases.