You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.