github moonrepo/proto v0.40.0
0.40.0

latest releases: v0.42.1, proto_core-v0.43.5, proto_cli-v0.42.1...
2 months ago

Release Notes

💥 Breaking

  • Removed --include-global and --only-local flags from all applicable commands. Use the new --config-mode instead.
  • WASM API
    • Removed the ToolMetadataOutput.inventory.disable_progress_bars field.
    • Removed the is_musl function. Use the host environment instead.
    • Migrated testing APIs to async instead of sync.
    • Deprecated many functions.

🚀 Updates

  • Added a new --config-mode (-c) global option that controls how configuration are loaded.
    • Supports the following values:
      • global - Only load ~/.proto/.prototools.
      • local - Only load ./.prototools in the current directory.
      • upwards - Load .prototools while traversing upwards, but do not load ~/.proto/.prototools.
      • upwards-global / all - Load .prototools while traversing upwards, and do load ~/.proto/.prototools.
    • When not provided, the default mode is dependent on the command being ran.
      • For activate, install, outdated, status -> upwards
      • Everything else -> upwards-global
  • Updated proto install to show detailed progress bars.
    • Includes downloaded bytes / total bytes stats.
    • Displays the current phase of the install (download, unpack, etc).
    • Displays multiple progress bars when installing many tools.
  • Updated HTTP requests that occur from WASM to utilize the same HTTP client that proto does. This allows for the [settings.http] settings to be used, which weren't previously.
    • This only applies to built-in plugins. Community plugins will need to update to the new APIs.
  • WASM API
    • Added ToolMetadataOutput.config_schema, which can be used to define a JSON schema for the plugins configuration.
    • Added a new send_request host function, that uses the same HTTP client as proto does.
    • Added fetch_bytes, fetch_json, and fetch_text functions that use this new host function.

🧩 Plugins

  • Updated bun_tool to v0.13.
  • Updated deno_tool to v0.12.
  • Updated go_tool to v0.13.
  • Updated node_tool to v0.12.
  • Updated node_depman_tool to v0.13.
  • Updated python_tool to v0.11.
  • Updated rust_tool to v0.11.
  • Updated schema_tool to v0.15.

⚙️ Internal

  • We now provide a plugin for proto itself, so you can now do proto install proto. However, this doesn't link bins/shims and is primarily used internally for upgrade/install flows.

Download proto_cli 0.40.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

Don't miss a new proto release

NewReleases is sending notifications on new releases.