THIS DOES NOT WORK YET, DO NOT USE!
Release Notes
💥 Breaking
- WASM API
- Removed support for old and deprecated APIs:
locate_bins
,create_shims
. - Removed
get_proto_user_config
andformat_bin_name
functions. - Updated
get_tool_id
to return aResult<String>
instead ofString
.
- Removed support for old and deprecated APIs:
- WASM test utils
- Removed
WasmTestWrapper::set_environment()
method. Usecreate_plugin_with_config
and pass a config object instead.
- Removed
// Before
let mut plugin = create_plugin("test-id", sandbox.path());
plugin.set_environment(HostEnvironment {
arch: HostArch::Arm64,
os: HostOS::Linux,
..Default::default()
});
// After
let plugin = create_plugin_with_config(
"test-id",
sandbox.path(),
HashMap::from_iter([map_config_environment(HostOS::Linux, HostArch::Arm64)]),
);
🚀 Updates
- WASM API
- Added
from_virtual_path
andto_virtual_path
host functions. - Added
virtual_path!
andreal_path!
macros.
- Added
⚙️ Internal
- Updated extism (plugin runtime) to v1 (from v0.5).
Download proto_cli 0.28.0-rc.0
File | Platform | Checksum |
---|---|---|
proto_cli-aarch64-apple-darwin.tar.xz | macOS Apple Silicon | checksum |
proto_cli-aarch64-unknown-linux-gnu.tar.xz | Linux arm64 | checksum |
proto_cli-aarch64-unknown-linux-musl.tar.xz | musl Linux arm64 | 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 |