github moonrepo/proto v0.20.0
0.20.0

latest releases: v0.42.1, proto_core-v0.43.5, proto_cli-v0.42.1...
12 months ago

Release Notes

💥 Breaking

To ease the migration process, we've added a new migrate command. Simply run proto migrate v0.20 after upgrading proto!

  • The generated shims have moved to ~/.proto/shims from ~/.proto/bin. You'll need to manually update PATH in your shell profile if you'd like to continue using the "runtime version detection" functionality.

    export PROTO_HOME="$HOME/.proto"
    -export PATH="$PROTO_HOME/bin:$PATH"
    +export PATH="$PROTO_HOME/shims:$PROTO_HOME/bin:$PATH"

    Furthermore, we suggest deleting all files in ~/.proto/bin except for proto(.exe).

  • WASM API

    • Removed env_vars from ToolMetadataOutput and ToolContext. Use host_env! macro instead.

🚀 Updates

  • Reworked the ~/.proto/bin directory to now contain symlinks to the original tool executables. This is a non-shim based alternative that can be used stand-alone or in unison with our shims.
    • The globally pinned version is the version that's symlinked. This can be updated with proto install --pin.
    • This approach does not detect a version at runtime.
  • Added a proto migrate command for easily applying changes between breaking releases.
  • Added support for minisign checksum files. Can now verify .minisig signatures for downloaded tools.
  • Updated proto use to install tools in parallel.
  • Updated proto plugins and proto tools to load plugins in parallel.
  • Updated proto run to error when the tool attempts to self-upgrade outside of proto.
  • TOML API
    • Added a metadata setting.
    • Added a install.checksum-public-key setting.
  • WASM API
    • Added a self_upgrade_commands field to ToolMetadataOutput.
    • Added a checksum_public_key field to DownloadPrebuiltOutput.
    • Removed checksum from VerifyChecksumInput.

⚙️ Internal

  • Minor performance improvements to runtime version detection.
  • Improved error handling and messages.

Download proto_cli 0.20.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

Don't miss a new proto release

NewReleases is sending notifications on new releases.