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
Each tool's primary executable file name is no longer based on the plugin's identifier, and is now based on what's configured in the new LocateExecutablesOutput.exes setting.
We've reworked how the ~/.proto/bin directory works. Instead of only symlinking globally pinned versions (from ~/.proto/.prototools), we now create a symlink for every tool executable, and every major + minor version installed within that tool. For example, when we install node, we may have the following:
~/.proto/bin/node - Points to the highest installed version.
~/.proto/bin/node-<major> - Points to the highest version within that major range (~major). Is created for each separate major version, for example: node-20, node-22.
~/.proto/bin/node-<major>.<minor> - Points to the highest version within that major + minor range (~major.minor). Is created for each separate major + minor version, for example: node-20.1, node-22.4.
~/.proto/bin/node-canary - Points to a canary install, if it exists.
This change is not retroactive. Run proto regen after upgrading.
WASM API
Deprecated LocateExecutablesOutput.primary and LocateExecutablesOutput.secondary (use exes instead).
Updated ToolMetadataOutput.plugin_version to a Version type instead of String.
π Updates
Added support for JSON and YAML based configurations for non-WASM schema based plugins. This is an alternative to TOML, but supports all the same settings.
We now cache all text-based HTTP requests made from WASM plugins for 12 hours. This should greatly reduce the overhead cost of making requests, and will help for situations where an internet connection is lost.
WASM API
Added ExecutableConfig.primary.
Added LocateExecutablesOutput.exes.
Added ToolMetadataOutput.minimum_proto_version.
Added ParseVersionFileInput.path.
π Fixes
Fixed an issue where proto upgrade would pin proto to ~/.proto/.prototools.