Release Notes
💥 Breaking
- WASM API
- Renamed
err!
macro toplugin_err!
. - Renamed
get_tool_id
toget_plugin_id
. - Renamed
get_proto_environment
toget_host_environment
. - Renamed
/workspace
virtual path to/cwd
. - Renamed
ExecCommandInput.env_vars
toenv
. - Removed
HostEnvironment.proto_dir
field. - Updated
plugin_err!
result to not be wrapped inErr
. - Updated
VirtualPath::join
to returnVirtualPath
instead ofPathBuf
.
- Renamed
🚀 Updates
- Added
env
andtools.*.env
settings to.prototools
to support environment variables.- Will automatically set variables when a tool is executed.
- Allows for directory-level and tool-specific variables.
- Added support for environment based config files, like
.prototools.production
.- Takes higher precedence than
.prototools
. - Can be enabled with the
PROTO_ENV
environment variable.
- Takes higher precedence than
- Updated
proto tool info
to display aliases and environment variables. - Updated WASM logs to be shown alongside proto's
--log
output (under theextism::pdk
namespace). - WASM API
- Added color support to error and host log messages through an HTML-like tag syntax.
- Added
real_path!(buf, ..)
andvirtual_path!(buf, ..)
macro variants for working withPath
andPathBuf
. - Added a
fetch_url_bytes
function. - Improved the implementation of many PDK macros.
🧩 Plugins
- Updated
bun_plugin
to v0.9. - Updated
deno_plugin
to v0.9. - Updated
go_plugin
to v0.9. - Updated
node_plugin
andnode_depman_plugin
to v0.9.- Changed the
bundled-npm
andintercept-globals
settings to befalse
by default (instead oftrue
).
- Changed the
- Updated
python_plugin
to v0.7. - Updated
rust_plugin
to v0.8. - Updated
schema_plugin
(TOML) to v0.9.- Added
globals.bin
setting, for customizing the bin used for installs/uninstalls.
- Added
Download proto_cli 0.29.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 |