github moonrepo/proto v0.28.0-rc.1
Version 0.28.0-rc.1

latest releases: v0.41.1, proto_core-v0.41.1, proto_cli-v0.41.1...
pre-release8 months ago

Release Notes

💥 Breaking

  • WASM API
    • Refactored the HostLogInput enum into a struct (this should be transparent if using the host_log! macro).
    • Removed support for old and deprecated APIs: locate_bins, create_shims.
    • Removed get_proto_user_config and format_bin_name functions.
    • Updated get_tool_id to return a Result<String> instead of String.
  • WASM test utils
    • Removed WasmTestWrapper::set_environment() method. Use create_plugin_with_config and pass a config object instead.
// 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 and to_virtual_path host functions.
    • Added virtual_path! and real_path! macros.
    • Added ExecCommandInput.working_dir field.

⚙️ 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

Don't miss a new proto release

NewReleases is sending notifications on new releases.