Version 0.28.0-rc.1
Pre-release
Pre-release
·
780 commits
to master
since this release
Release Notes
💥 Breaking
- WASM API
- Refactored the
HostLogInputenum into a struct (this should be transparent if using thehost_log!macro). - Removed support for old and deprecated APIs:
locate_bins,create_shims. - Removed
get_proto_user_configandformat_bin_namefunctions. - Updated
get_tool_idto return aResult<String>instead ofString.
- Refactored the
- WASM test utils
- Removed
WasmTestWrapper::set_environment()method. Usecreate_plugin_with_configand 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_pathandto_virtual_pathhost functions. - Added
virtual_path!andreal_path!macros. - Added
ExecCommandInput.working_dirfield.
- Added
⚙️ Internal
- Updated extism (plugin runtime) to v1 (from v0.5).
Download proto_cli 0.28.0-rc.1
| 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 |