Releases: moonrepo/proto
Releases Β· moonrepo/proto
0.40.1
Release Notes
π Updates
- Improved Nushell generated syntax.
π Fixes
- Fixed
--help
not showing possible values for --config-mode
.
Download proto_cli 0.40.1
0.40.0
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
0.39.7
Release Notes
π Updates
- We rewrote our self-upgrade to account for more edge cases and based its functionality on other implementations in the Rust ecosystem. It should be more reliable moving foward, but if you're on a broken version of proto that can't self-upgrade, reinstall proto entirely to pull the latest version.
π Fixes
- Fixed a "Failed to copy" or "Text file busy" error when self-upgrading proto.
Download proto_cli 0.39.7
0.39.6
Release Notes
π Fixes
- Fixed a potential race condition with the auto-clean that was triggering a file rename/move error.
Download proto_cli 0.39.6
0.39.5
Release Notes
π₯ Breaking
- We've discovered a bug with the new "pin proto version" feature that will require non-trivial amount of work to resolve correctly. However, to resolve the bug at this time, the pinning functionality will now only work if you run
proto activate
in your shell.
π Updates
- Improved performance slightly for
proto activate
.
- Improved the logic around cleaning the
~/.proto/tools/proto
directory.
- Updated the
auto-clean
setting to automatically run in more contexts.
Download proto_cli 0.39.5
0.39.4
Release Notes
π Fixes
- Fixed an issue where
proto activate --include-global
would not pass arguments down to its child processes.
Download proto_cli 0.39.4
0.39.3
Release Notes
π Updates
- Added
--check
and --json
options to proto upgrade
.
- Added an explicit version argument to upgrade/downgrade to for
proto upgrade
.
π Fixes
- Fixed an issue where
proto upgrade
may error with access denied when renaming binaries.
𧩠Plugins
- Updated
node_tool
to v0.11.8.
- Fixed macOS nightly detection.
Download proto_cli 0.39.3
0.39.2
Release Notes
π Updates
- Updated
proto diagnose
to check the current proto version.
π Fixes
- Disabled the version check requests for
proto activate
.
𧩠Plugins
- Updated
deno_plugin
to v0.11.4.
- Updated canary to find an applicable release based on the current os/arch combination.
- Updated
node_plugin
to v0.11.7.
- Updated canary to find an applicable release based on the current os/arch combination.
Download proto_cli 0.39.2
0.39.1
Release Notes
π Updates
- Updated
proto activate
to set PROTO_HOME
if it is not defined in the current shell.
π Fixes
- Fixed a performance regression on
proto activate
. Should exit immediately now.
Download proto_cli 0.39.1
0.39.0
Release Notes
π₯ Breaking
- Updated
proto activate
to not include tools without a configured version and to not include global tools found in ~/.proto/.prototools
by default.
- If you would like to include global tools, pass
--include-global
.
- Do be aware that having a lot of global tools will cause considerable performance loss when activation is triggered.
π Updates
- Added a new setting to
.prototools
, settings.builtin-plugins
, that can be used to disable all built-in plugins, or only allow a few select plugins.
- Supports a boolean or list of plugin names.
- All are enabled by default for backwards compatibility.
- Added
PROTO_NO_MODIFY_PROFILE
and PROTO_NO_MODIFY_PATH
environment variables to proto setup
(for automated workflows).
- Updated
proto status
to display and include versions from ecosystem files (.nvmrc
, etc).
- Updated
github://
plugin locators to support monorepos. Append the project name (that tags are prefixed with) to the path: github://moonrepo/tools/node_tool
- Merged
proto use
and proto install
commands. If no arguments are provided to proto install
, it will install all configured tools.
- You can now pin a version of proto itself within
.prototools
, and proto shims will attempt to run proto using that configured version, instead of the global version.
𧩠Plugins
- Updated
go_plugin
to v0.12.
- Changed the
gobin
setting to false
by default.
- Updated
node_depman_plugin
to v0.12.
- Added a
dist-url
config setting, allowing the download host to be customized.
βοΈ Internal
Download proto_cli 0.39.0