Release Notes
💥 Breaking
- Backend managed tools must now include the backend prefix when configuring in
[tools]
, to avoid naming collisions with non-backend tools. Example:[tools."asdf:zig"]
instead of[tools.zig]
.- We'll temporarily support the old format until the next release, in which it will be removed completely.
- WASM API
- Removed
RegisterToolOutput.config_schema
field. Usedefine_tool_config
instead.
- Removed
🚀 Updates
- Added a new command,
proto exec
, that can be used to execute a command in the context of a temporarily activated proto environment. A list of tools and versions can be provided, and the command will run with those tools available inPATH
.- Example:
proto exec node@20 npm@10 -- node --version
- Example:
- Improved backend plugin support.
- Added a
[backends.<id>]
setting for configuring the backend (not the tool) itself. - Improved interoperability between plugins.
- Added a
- Added a mechanism for plugins to setup the environment during activation and execution workflows.
- WASM API
- Added a
get_backend_config
helper function to retrieve the backend configuration. - Added a
define_tool_config
,define_backend_config
, andactivate_environment
plugin (guest) functions. - Added a
DefineToolConfigOutput
,DefineBackendConfigOutput
,ActivateEnvironmentInput
, andActivateEnvironmentOutput
types. - Added a
ToolInventoryOptions.scoped_backend_dir
field. - Added a
NativeInstallInput.force
field.
- Added a
🐞 Fixes
- Fixed an issue where shims that belong to a backend (like
asdf
) would fail to run.- You may need to regenerate your shims or reinstall the tool to mitigate this.
⚙️ Internal
- Updated Rust to v1.90.0.
- Updated dependencies.
Download proto_cli 0.53.0
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 |