Release Notes
💥 Breaking
- WASM API
- Removed
env
from all inputs. Useget_proto_environment
function orcontext
input instead.
- Removed
🚀 Updates
- Added a
proto uninstall-global
command for uninstalling a global dependency from a tool. - Updated the
proto plugins
command to include the plugin's version when applicable. - TOML API
- Added
globals.uninstall-args
to schema, allowing globals to be uninstalled.
- Added
- WASM API
- Added
install_global
,uninstall_global
,native_uninstall
, andsync_shell_profile
plugin functions. - Added
pre_install
,post_install
,pre_run
, andpost_run
plugin hooks. - Added
plugin_version
field toToolMetadataOutput
. - Added a
VirtualPath
enum for working with virtual and real paths. AllPathBuf
inputs have been updated to this new type. - Added a
context
field to some inputs, that includes the plugin ID, tool directory, and current version. - Added a
get_tool_id
function for accessing the current plugin ID. - Added a
get_proto_environment
function for accessing information about the host and proto environment.
- Added
🐞 Fixes
- Fixed an issue where some error messages would be obfuscated.
⚙️ Internal
- The
proto_cli
crate can no longer be used as a library, useproto_core
instead.
Download proto_cli 0.15.0
proto_cli-aarch64-apple-darwin.tar.xz | checksum |
proto_cli-x86_64-apple-darwin.tar.xz | checksum |
proto_cli-x86_64-pc-windows-msvc.zip | checksum |
proto_cli-x86_64-unknown-linux-gnu.tar.xz | checksum |